diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-09 08:16:20 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-09 08:16:20 +0000 |
commit | 2deabedb6e998d3bd96fd910617461a24a11d73b (patch) | |
tree | c61c71fda6768404ccfde568d9fcb36c2e787f52 /cross-bootstrap/openssh.morph | |
parent | 895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff) | |
download | definitions-2deabedb6e998d3bd96fd910617461a24a11d73b.tar.gz |
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the
stratum containing each chunk. Also add a repo and ref field to the
chunk morphologies.
Any chunks which did not previously have chunk morphologies have now had
a morphology generated.
Diffstat (limited to 'cross-bootstrap/openssh.morph')
-rw-r--r-- | cross-bootstrap/openssh.morph | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cross-bootstrap/openssh.morph b/cross-bootstrap/openssh.morph new file mode 100644 index 00000000..a0b12d70 --- /dev/null +++ b/cross-bootstrap/openssh.morph @@ -0,0 +1,32 @@ +name: cross-bootstrap/openssh.morph +kind: chunk +repo: upstream:openssh +ref: 233514106dcde5ac61a70f1043de563122e2f1c9 +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 +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 +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" +build_depends: +- cross-bootstrap/groff.morph |