wok rev 16381

ARM: add openvpn, openssh, fuse, sshfs-fuse and more
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 04:46:37 2014 +0200 (2014-04-15)
parents bfa161af9356
children 964f02720633
files fuse-dev/receipt fuse/receipt lzo-dev/receipt lzo/receipt lzop/receipt openssh/receipt openvpn-down-root/receipt openvpn-pam/receipt openvpn/receipt orc-dev/receipt orc/receipt parcellite/receipt parted-dev/receipt parted/receipt sshfs-fuse/receipt
line diff
     1.1 --- a/fuse-dev/receipt	Tue Apr 15 03:48:06 2014 +0200
     1.2 +++ b/fuse-dev/receipt	Tue Apr 15 04:46:37 2014 +0200
     1.3 @@ -7,10 +7,10 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://fuse.sourceforge.net/"
     1.7 +HOST_ARCH="i486 arm"
     1.8 +
     1.9  WANTED="fuse"
    1.10  
    1.11 -DEPENDS="fuse pkg-config"
    1.12 -
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
     2.1 --- a/fuse/receipt	Tue Apr 15 03:48:06 2014 +0200
     2.2 +++ b/fuse/receipt	Tue Apr 15 04:46:37 2014 +0200
     2.3 @@ -10,16 +10,14 @@
     2.4  WEB_SITE="http://fuse.sourceforge.net/"
     2.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.6  TAGS="filesystem"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12 -	cd $src
    2.13 -	./configure --prefix=/usr --infodir=/usr/share/info \
    2.14 -		--mandir=/usr/share/man \
    2.15 +	./configure \
    2.16  		$CONFIGURE_ARGS &&
    2.17 -	make &&
    2.18 -	make DESTDIR=$DESTDIR install
    2.19 +	make && make install
    2.20  }
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/lzo-dev/receipt	Tue Apr 15 03:48:06 2014 +0200
     3.2 +++ b/lzo-dev/receipt	Tue Apr 15 04:46:37 2014 +0200
     3.3 @@ -6,10 +6,10 @@
     3.4  SHORT_DESC="Data compression development library."
     3.5  MAINTAINER="erjo@slitaz.org"
     3.6  LICENSE="GPL2"
     3.7 +WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
     3.8 +HOST_ARCH="i486 arm"
     3.9 +
    3.10  WANTED="lzo"
    3.11 -WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
    3.12 -
    3.13 -DEPENDS="lzo"
    3.14  
    3.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.16  genpkg_rules()
     4.1 --- a/lzo/receipt	Tue Apr 15 03:48:06 2014 +0200
     4.2 +++ b/lzo/receipt	Tue Apr 15 04:46:37 2014 +0200
     4.3 @@ -9,13 +9,14 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
     4.6  WGET_URL="http://www.oberhumer.com/opensource/lzo/download/$TARBALL"
     4.7 +HOST_ARCH="i486 arm"
     4.8  
     4.9  # Rules to configure and make the package.
    4.10  compile_rules()
    4.11  {
    4.12 -	cd $src
    4.13  	./configure \
    4.14 -	--enable-shared $CONFIGURE_ARGS &&
    4.15 +		--enable-shared \
    4.16 +		$CONFIGURE_ARGS &&
    4.17  	make &&	make install
    4.18  }
    4.19  
     5.1 --- a/lzop/receipt	Tue Apr 15 03:48:06 2014 +0200
     5.2 +++ b/lzop/receipt	Tue Apr 15 04:46:37 2014 +0200
     5.3 @@ -9,6 +9,7 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.5  WEB_SITE="http://www.lzop.org/"
     5.6  WGET_URL="${WEB_SITE}download/$TARBALL"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  DEPENDS="lzo"
    5.10  BUILD_DEPENDS="lzo-dev"
    5.11 @@ -16,9 +17,8 @@
    5.12  # Rules to configure and make the package.
    5.13  compile_rules()
    5.14  {
    5.15 -	cd $src
    5.16 -	./configure --prefix=/usr --infodir=/usr/share/info \
    5.17 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    5.18 +	./configure \
    5.19 +		$CONFIGURE_ARGS &&
    5.20  	make
    5.21  }
    5.22  
     6.1 --- a/openssh/receipt	Tue Apr 15 03:48:06 2014 +0200
     6.2 +++ b/openssh/receipt	Tue Apr 15 04:46:37 2014 +0200
     6.3 @@ -9,22 +9,28 @@
     6.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.5  WEB_SITE="http://www.openssh.org/"
     6.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     6.7 -TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
     6.8 +TAGS="ssh security"
     6.9 +HOST_ARCH="i486 arm"
    6.10 +
    6.11  PROVIDE="ssh"
    6.12 -TAGS="ssh"
    6.13 -
    6.14  DEPENDS="sftp-server libcrypto zlib"
    6.15  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
    6.16 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
    6.17  
    6.18  # Rules to configure and make the package.
    6.19  compile_rules()
    6.20  {
    6.21 -	cd $src
    6.22 -	./configure --prefix=/usr --sysconfdir=/etc/ssh --without-pam \
    6.23 -		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
    6.24 +	unset LD # for cross compiling with --disable-strip
    6.25 +	./configure \
    6.26 +		--prefix=/usr \
    6.27 +		--sysconfdir=/etc/ssh \
    6.28  		--libexecdir=/usr/sbin \
    6.29 +		--with-privsep-user=nobody \
    6.30 +		--with-privsep-path=/var/run/sshd \
    6.31 +		--without-pam \
    6.32 +		--disable-strip \
    6.33  		$CONFIGURE_ARGS &&
    6.34 -	make &&
    6.35 +	make STRIP_OPT="" &&
    6.36  	make DESTDIR=$DESTDIR install
    6.37  }
    6.38  
     7.1 --- a/openvpn-down-root/receipt	Tue Apr 15 03:48:06 2014 +0200
     7.2 +++ b/openvpn-down-root/receipt	Tue Apr 15 04:46:37 2014 +0200
     7.3 @@ -3,12 +3,13 @@
     7.4  PACKAGE="openvpn-down-root"
     7.5  VERSION="2.3.2"
     7.6  CATEGORY="network"
     7.7 -SHORT_DESC="plugin for OpenVPN."
     7.8 +SHORT_DESC="The down-root plugin for OpenVPN."
     7.9  MAINTAINER="pascal.bellard@slitaz.org"
    7.10  LICENSE="GPL2"
    7.11  WEB_SITE="http://openvpn.net/"
    7.12  WANTED="openvpn"
    7.13  TAGS="vpn tunnel"
    7.14 +HOST_ARCH="i486 arm"
    7.15  
    7.16  DEPENDS="openvpn"
    7.17  
     8.1 --- a/openvpn-pam/receipt	Tue Apr 15 03:48:06 2014 +0200
     8.2 +++ b/openvpn-pam/receipt	Tue Apr 15 04:46:37 2014 +0200
     8.3 @@ -7,9 +7,10 @@
     8.4  MAINTAINER="pascal.bellard@slitaz.org"
     8.5  LICENSE="GPL2"
     8.6  WEB_SITE="http://openvpn.net/"
     8.7 +TAGS="vpn tunnel"
     8.8 +HOST_ARCH="i486 arm"
     8.9 +
    8.10  WANTED="openvpn"
    8.11 -TAGS="vpn tunnel"
    8.12 -
    8.13  PROVIDE="openvpn:pam"
    8.14  DEPENDS="openvpn pam"
    8.15  
     9.1 --- a/openvpn/receipt	Tue Apr 15 03:48:06 2014 +0200
     9.2 +++ b/openvpn/receipt	Tue Apr 15 04:46:37 2014 +0200
     9.3 @@ -10,9 +10,10 @@
     9.4  WEB_SITE="http://openvpn.net/"
     9.5  WGET_URL="http://swupdate.openvpn.net/community/releases/$TARBALL"
     9.6  TAGS="vpn tunnel network"
     9.7 +HOST_ARCH="i486 arm"
     9.8  
     9.9 -DEPENDS="lzo openssl"
    9.10 -BUILD_DEPENDS="lzo-dev openssl-dev libcrypto-dev pam-dev"
    9.11 +DEPENDS="lzo libcrypto openssl"
    9.12 +BUILD_DEPENDS="lzo-dev libcrypto-dev openssl-dev pam-dev"
    9.13  
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    10.1 --- a/orc-dev/receipt	Tue Apr 15 03:48:06 2014 +0200
    10.2 +++ b/orc-dev/receipt	Tue Apr 15 04:46:37 2014 +0200
    10.3 @@ -6,10 +6,10 @@
    10.4  SHORT_DESC="Oil runtime compiler devel files"
    10.5  MAINTAINER="domcox@slitaz.org"
    10.6  LICENSE="BSD"
    10.7 +WEB_SITE="http://code.entropywave.com/orc"
    10.8 +HOST_ARCH="i486 arm"
    10.9 +
   10.10  WANTED="orc"
   10.11 -WEB_SITE="http://code.entropywave.com/orc"
   10.12 -
   10.13 -DEPENDS="orc pkg-config"
   10.14  
   10.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.16  genpkg_rules()
    11.1 --- a/orc/receipt	Tue Apr 15 03:48:06 2014 +0200
    11.2 +++ b/orc/receipt	Tue Apr 15 04:46:37 2014 +0200
    11.3 @@ -6,11 +6,10 @@
    11.4  SHORT_DESC="The Oil Runtime Compiler"
    11.5  MAINTAINER="domcox@slitaz.org"
    11.6  LICENSE="BSD"
    11.7 -DEPENDS=""
    11.8 -BUILD_DEPENDS=""
    11.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.10  WEB_SITE="http://code.entropywave.com/"
   11.11  WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
   11.12 +HOST_ARCH="i486 arm"
   11.13  
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
    12.1 --- a/parcellite/receipt	Tue Apr 15 03:48:06 2014 +0200
    12.2 +++ b/parcellite/receipt	Tue Apr 15 04:46:37 2014 +0200
    12.3 @@ -9,21 +9,20 @@
    12.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    12.5  WEB_SITE="http://parcellite.sourceforge.net/"
    12.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    12.7 +HOST_ARCH="i486 arm"
    12.8  
    12.9  DEPENDS="gtk+ xorg-libX11 xorg-libXdamage"
   12.10 -BUILD_DEPENDS="xorg-dev gtk+-dev intltool autoconf automake"
   12.11 +BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
   12.12  
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {	
   12.16 -	cd $src
   12.17  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
   12.18  	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
   12.19  	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
   12.20  	./configure \
   12.21 -		--prefix=/usr \
   12.22  		$CONFIGURE_ARGS &&
   12.23 -	make && make DESTDIR=$DESTDIR install
   12.24 +	make && make install
   12.25  }
   12.26  
   12.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    13.1 --- a/parted-dev/receipt	Tue Apr 15 03:48:06 2014 +0200
    13.2 +++ b/parted-dev/receipt	Tue Apr 15 04:46:37 2014 +0200
    13.3 @@ -8,6 +8,7 @@
    13.4  LICENSE="GPL3"
    13.5  WANTED="parted"
    13.6  WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
    13.7 +HOST_ARCH="i486 arm"
    13.8  
    13.9  DEPENDS="pkg-config"
   13.10  
    14.1 --- a/parted/receipt	Tue Apr 15 03:48:06 2014 +0200
    14.2 +++ b/parted/receipt	Tue Apr 15 04:46:37 2014 +0200
    14.3 @@ -9,6 +9,7 @@
    14.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    14.5  WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
    14.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    14.7 +HOST_ARCH="i486 arm"
    14.8  
    14.9  DEPENDS="util-linux-uuid util-linux-blkid"
   14.10  BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev"
   14.11 @@ -16,7 +17,6 @@
   14.12  # Rules to configure and make the package.
   14.13  compile_rules()
   14.14  {
   14.15 -	cd $src
   14.16  	grep -qs 'define u8' libparted/arch/linux.c ||
   14.17  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
   14.18  		libparted/arch/linux.c
    15.1 --- a/sshfs-fuse/receipt	Tue Apr 15 03:48:06 2014 +0200
    15.2 +++ b/sshfs-fuse/receipt	Tue Apr 15 04:46:37 2014 +0200
    15.3 @@ -9,9 +9,10 @@
    15.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    15.5  WEB_SITE="http://fuse.sourceforge.net/sshfs.html"
    15.6  WGET_URL="$SF_MIRROR/fuse/$TARBALL"
    15.7 +HOST_ARCH="i486 arm"
    15.8  
    15.9  DEPENDS="fuse openssh glib"
   15.10 -BUILD_DEPENDS="fuse-dev gettext glib glib-dev pkg-config"
   15.11 +BUILD_DEPENDS="fuse-dev gettext glib-dev pkg-config"
   15.12  
   15.13  # Rules to configure and make the package.
   15.14  compile_rules()