wok-next rev 20612

Up autofs (5.1.4), c-ares, curl (7.58.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 23:07:29 2018 +0300 (2018-04-19)
parents c6e3836bf8b4
children 75d3dd3c761f
files autofs/receipt c-ares/receipt curl/receipt
line diff
     1.1 --- a/autofs/receipt	Thu Apr 19 21:54:31 2018 +0300
     1.2 +++ b/autofs/receipt	Thu Apr 19 23:07:29 2018 +0300
     1.3 @@ -1,46 +1,40 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="autofs"
     1.8 -VERSION="5.1.3"
     1.9 +VERSION="5.1.4"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="Linux automounter."
    1.12 +SHORT_DESC="Linux automounter"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14 +LICENSE="GPL2"
    1.15 +WEB_SITE="https://www.kernel.org/pub/linux/daemons/autofs/v5"
    1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/autofs.html"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 -LICENSE="GPL2"
    1.20 -WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
    1.21  WGET_URL="$WEB_SITE/$TARBALL"
    1.22 -TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
    1.23 -TAGS="filesystem"
    1.24  
    1.25 -DEPENDS="linux-autofs"
    1.26 -BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
    1.27 +BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev \
    1.28 +krb5-dev rpcsvc-proto libtirpc-dev coreutils-operations"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
    1.34 +compile_rules() {
    1.35 +	./configure \
    1.36 +		--with-libtirpc \
    1.37 +		$CONFIGURE_ARGS &&
    1.38 +	make autofsconfdir=/etc &&
    1.39 +	make autofsconfdir=/etc DESTDIR=$DESTDIR install || return 1
    1.40  
    1.41 -	./configure \
    1.42 -		--prefix=/usr \
    1.43 -		--infodir=/usr/share/info \
    1.44 -		--mandir=/usr/share/man \
    1.45 -		$CONFIGURE_ARGS &&
    1.46 -	make &&
    1.47 -	make DESTDIR=$DESTDIR install
    1.48 +	install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs
    1.49 +	install -Dm644 $stuff/etc/auto.master   $install/etc/auto.master
    1.50 +	install -Dm644 $stuff/etc/auto.misc     $install/etc/auto.misc
    1.51  }
    1.52  
    1.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.54 -genpkg_rules()
    1.55 -{
    1.56 -	mkdir -p $fs/usr
    1.57 -	mkdir -p $fs/etc/init.d
    1.58 -	cp -a $install/usr/sbin $fs/usr
    1.59 -	cp -a $install/usr/lib $fs/usr
    1.60 -	cp -a $stuff/etc/* $fs/etc
    1.61 +genpkg_rules() {
    1.62 +	copy @std
    1.63 +	rm $fs/usr/lib/autofs/lookup_nis.so # broken link
    1.64 +	DEPENDS="libkrb5 libldap libsasl libtirpc libxml2   linux-autofs"
    1.65 +	TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
    1.66 +	TAGS="filesystem"
    1.67  }
    1.68  
    1.69 -# Pre and post install commands for Tazpkg.
    1.70 -post_install()
    1.71 -{
    1.72 +post_install() {
    1.73  	mkdir -p "$1/mnt/auto" 2>/dev/null
    1.74  }
     2.1 --- a/c-ares/receipt	Thu Apr 19 21:54:31 2018 +0300
     2.2 +++ b/c-ares/receipt	Thu Apr 19 23:07:29 2018 +0300
     2.3 @@ -7,9 +7,10 @@
     2.4  MAINTAINER="pascal.bellard@slitaz.org"
     2.5  LICENSE="MIT"
     2.6  WEB_SITE="https://c-ares.haxx.se/"
     2.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/c-ares.html"
     2.8  
     2.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10 -WGET_URL="${WEB_SITE}download/$TARBALL"
    2.11 +WGET_URL="https://c-ares.haxx.se/download/$TARBALL"
    2.12  
    2.13  SPLIT="c-ares-dev"
    2.14  
    2.15 @@ -17,10 +18,12 @@
    2.16  	export CFLAGS=${CFLAGS/-D_GLIBCXX_USE_C99_MATH=1/}
    2.17  	export CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_C99_MATH=1"
    2.18  
    2.19 -	./configure $CONFIGURE_ARGS &&
    2.20 +	./configure \
    2.21 +		--disable-static \
    2.22 +		$CONFIGURE_ARGS &&
    2.23  	fix libtool &&
    2.24  	make &&
    2.25 -	make -j 1 DESTDIR=$DESTDIR install
    2.26 +	make -j1 DESTDIR=$DESTDIR install
    2.27  }
    2.28  
    2.29  genpkg_rules() {
     3.1 --- a/curl/receipt	Thu Apr 19 21:54:31 2018 +0300
     3.2 +++ b/curl/receipt	Thu Apr 19 23:07:29 2018 +0300
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="curl"
     3.7 -VERSION="7.55.1"
     3.8 +VERSION="7.58.0"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Tool and libs for transferring files with URL syntax"
    3.11  MAINTAINER="pankso@slitaz.org"