dot

packages and services management
Log | Files | Refs | README

commit bcf941b9f24bde1a71d29e67bf9d20d7881d63c9
parent fceea078f3e5726d870846f75ed60c90f876c258
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  1 Oct 2017 11:44:29 +0200

openssh: simpler build, archiving former one to build.nero

Diffstat:
Mopenssh/build | 37++-----------------------------------
Copenssh/build -> openssh/build.nero | 0
2 files changed, 2 insertions(+), 35 deletions(-)

diff --git a/openssh/build b/openssh/build @@ -1,37 +1,4 @@ -#!/bin/sh -set -e +./configure --prefix="$PREFIX" --sbindir="$PREFIX/bin" -patch -p1 < "$PKGDIR"/openssh-sys_param.patch +make install -export CC="$CC -L$SYSROOT/lib -isystem $SYSROOT/include" - -[ -n "$CROSS_COMPILE" ] && CONFFLAGS="$CONFFLAGS --host=$CROSS_COMPILE" - -# prevent from installing some things (keysign and maybe others) setuid. -sed -i 's@-m 4711@-m 0750@g' Makefile.in - -CC="$CC -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \ -./configure $CONFFLAGS --prefix="$PREFIX" \ - --sbindir="$PREFIX"/bin --libexecdir="$PREFIX"/lib/ssh \ - --sysconfdir="$PREFIX"/etc/ssh \ - --with-sysroot="$SYSROOT" \ - --with-privsep-user=nobody \ - --with-xauth="$PREFIX"/bin/xauth \ - --with-ldflags="$LDFLAGS -Wl,-rpath-link=$SYSROOT$PREFIX/lib" \ - --without-stackprotect \ - --with-md5-passwords --with-mantype=man --mandir="$PREFIX"/share/man \ - --disable-strip --disable-lastlog --disable-utmp --disable-utmpx --disable-btmp \ - --disable-wtmp --disable-wtmpx --disable-pututline --disable-pututxline - -mkdir netinet -touch netinet/in_systm.h - -sed -i '/USE_BTMP/d' config.h -sed -i '/USE_UTMP/d' config.h -sed -i 's@HAVE_DECL_HOWMANY 1@HAVE_DECL_HOWMANY 0@' config.h - -make $MAKEFLAGS - -#key generation is disabled for packaging -#the sshd service will create the keys on service prereqs -make DESTDIR="$DESTDIR" install-nokeys diff --git a/openssh/build b/openssh/build.nero