wok diff openssh/receipt @ rev 16615

libgd: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 08 17:42:56 2014 +0000 (2014-05-08)
parents 99f12c8f02ec
children 0d8a1a3edc72
line diff
     1.1 --- a/openssh/receipt	Fri Feb 28 15:26:37 2014 +0000
     1.2 +++ b/openssh/receipt	Thu May 08 17:42:56 2014 +0000
     1.3 @@ -9,22 +9,28 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.openssh.org/"
     1.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     1.7 -TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
     1.8 +TAGS="ssh security"
     1.9 +HOST_ARCH="i486 arm"
    1.10 +
    1.11  PROVIDE="ssh"
    1.12 -TAGS="ssh"
    1.13 -
    1.14  DEPENDS="sftp-server libcrypto zlib"
    1.15  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
    1.16 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	cd $src
    1.22 -	./configure --prefix=/usr --sysconfdir=/etc/ssh --without-pam \
    1.23 -		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
    1.24 +	unset LD # for cross compiling with --disable-strip
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--sysconfdir=/etc/ssh \
    1.28  		--libexecdir=/usr/sbin \
    1.29 +		--with-privsep-user=nobody \
    1.30 +		--with-privsep-path=/var/run/sshd \
    1.31 +		--without-pam \
    1.32 +		--disable-strip \
    1.33  		$CONFIGURE_ARGS &&
    1.34 -	make &&
    1.35 +	make STRIP_OPT="" &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38