From 5c261eee00014199eb3d942758598041473f1ddd Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Wed, 13 Aug 2014 21:45:15 +0000 Subject: Organize definitions directory by morphologies This is the result to run organize-morphologies.py . The morphologies are clasified in clusters, systems, strata and chunks. - "clusters" contains all the cluster morphologies. - "systems" contains all the systems morphologies. - "strata" contains all the stratum morphologies and the chunks morphologies which are inside of their stratum morphology folder, if this chunks will not be autodetected on build time. --- strata/cross-bootstrap/openssh.morph | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 strata/cross-bootstrap/openssh.morph (limited to 'strata/cross-bootstrap/openssh.morph') diff --git a/strata/cross-bootstrap/openssh.morph b/strata/cross-bootstrap/openssh.morph new file mode 100644 index 00000000..2feb9180 --- /dev/null +++ b/strata/cross-bootstrap/openssh.morph @@ -0,0 +1,43 @@ +name: openssh +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoreconf -if +- | + OPENSSL_SEEDS_ITSELF=yes ./configure \ + --prefix="$PREFIX" --sysconfdir=/etc/ssh \ + --datadir="$PREFIX/share/sshd" \ + --libexecdir="$PREFIX/lib/openssh" \ + --with-privsep-path=/var/lib/sshd +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- | + sed -e "s|@prefix@|$PREFIX|g" \ + -e 's|@STARTUP_SCRIPT_SHELL@|/bin/sh|g' \ + -e 's|@sysconfdir@|/etc/ssh|g' \ + -e 's|@COMMENT_OUT_ECC@||g' \ + sshd-keygen.in >sshd-keygen +- sed -e "s|@prefix@|$PREFIX|g" opensshd.service.in >opensshd.service +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/$PREFIX/sbin" +- chmod go= "$DESTDIR"/var/lib/sshd +- install -m 744 sshd-keygen "$DESTDIR/$PREFIX/sbin/sshd-keygen" +- install -m 755 contrib/ssh-copy-id "$DESTDIR/$PREFIX/bin/ssh-copy-id" +- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants" +- install -m 644 opensshd.service "$DESTDIR/lib/systemd/system/opensshd.service" +- ln -s ../opensshd.service "$DESTDIR/lib/systemd/system/multi-user.target.wants/opensshd.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] -- cgit v1.2.1