wok-next rev 20748

Update (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 30 20:13:48 2018 +0300 (2018-05-30)
parents 6a95413e91b0
children 342b30daff76
files libxklavier/receipt pluma/receipt vpnc-cert/receipt vpnc/description.txt vpnc/receipt workerfm/receipt
line diff
     1.1 --- a/libxklavier/receipt	Wed May 30 16:54:11 2018 +0300
     1.2 +++ b/libxklavier/receipt	Wed May 30 20:13:48 2018 +0300
     1.3 @@ -33,15 +33,12 @@
     1.4  	case $PACKAGE in
     1.5  		libxklavier)
     1.6  			copy @std
     1.7 -			DEPENDS="glib libffi liblzma libxml2 pcre xorg-libX11 xorg-libXau \
     1.8 -			xorg-libXdmcp xorg-libXext xorg-libXi xorg-libxcb xorg-libxkbfile \
     1.9 -			zlib   iso-codes"
    1.10 +			DEPENDS="glib libxml2 xorg-libX11 xorg-libXi xorg-libxkbfile \
    1.11 +			   iso-codes"
    1.12  			;;
    1.13  		*-dev)
    1.14  			copy @dev
    1.15 -			DEPENDS="libxklavier glib-dev libffi-dev libxml2-dev pcre-dev \
    1.16 -			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.17 -			xorg-libXi-dev xorg-libxcb-dev xorg-libxkbfile-dev xz-dev zlib-dev"
    1.18 +			DEPENDS="libxklavier glib-dev libxml2-dev"
    1.19  			;;
    1.20  	esac
    1.21  }
     2.1 --- a/pluma/receipt	Wed May 30 16:54:11 2018 +0300
     2.2 +++ b/pluma/receipt	Wed May 30 20:13:48 2018 +0300
     2.3 @@ -28,30 +28,21 @@
     2.4  	case $PACKAGE in
     2.5  		*-dev)
     2.6  			copy @dev
     2.7 -			DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
     2.8 -			enchant-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
     2.9 -			gobject-introspection-dev gtk+3-dev gtksourceview3-dev \
    2.10 -			harfbuzz-dev libffi-dev libpeas-dev libpng16-dev libxml2-dev \
    2.11 -			pango-dev pcre-dev util-linux-blkid-dev util-linux-mount-dev \
    2.12 -			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
    2.13 -			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
    2.14 -			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    2.15 +			DEPENDS="pluma pluma-plugins gtksourceview3-dev libpeas-dev"
    2.16  			;;
    2.17  		*-plugins)
    2.18  			copy plugins/ @rm
    2.19  			find $fs -name '*.la' -delete
    2.20 -			DEPENDS="pluma enchant python"
    2.21 +			DEPENDS="pluma enchant gdk-pixbuf glib gtk+3 gtksourceview3 \
    2.22 +			libpeas libpeas-gtk libxml2 pango python"
    2.23  			CAT="text|plugins"
    2.24  			;;
    2.25  		pluma)
    2.26  			copy @std @rm
    2.27  			rm -r $fs/usr/lib # -> plugins
    2.28 -			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
    2.29 -			gobject-introspection gtk+3 gtksourceview3 libffi libharfbuzz \
    2.30 -			liblzma libpeas libpeas-gtk libpng16 libxml2 pango pcre \
    2.31 -			util-linux-blkid util-linux-mount util-linux-uuid xorg-libICE \
    2.32 -			xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
    2.33 -			xorg-libXrender xorg-libxcb xorg-pixman zlib"
    2.34 +			DEPENDS="atk cairo gdk-pixbuf glib gobject-introspection gtk+3 \
    2.35 +			gtksourceview3 libpeas libpeas-gtk pango xorg-libICE xorg-libSM \
    2.36 +			xorg-libX11"
    2.37  			;;
    2.38  	esac
    2.39  	TAGS="MATE"
     3.1 --- a/vpnc-cert/receipt	Wed May 30 16:54:11 2018 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,54 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="vpnc-cert"
     3.7 -SOURCE="vpnc"
     3.8 -VERSION="0.5.3"
     3.9 -CATEGORY="network"
    3.10 -SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
    3.11 -MAINTAINER="pascal.bellard@slitaz.org"
    3.12 -LICENSE="GPL2"
    3.13 -TARBALL="$SOURCE-$VERSION.tar.gz"
    3.14 -WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
    3.15 -WGET_URL="$WEB_SITE$TARBALL"
    3.16 -CONFIG_FILES="/etc/vpnc"
    3.17 -TAGS="vpn tunnel"
    3.18 -PROVIDE="vpnc"
    3.19 -
    3.20 -DEPENDS="libgcrypt libgpg-error glibc-base perl openssl"
    3.21 -BUILD_DEPENDS="libgcrypt-dev openssl-dev perl"
    3.22 -
    3.23 -# Rules to configure and make the package.
    3.24 -compile_rules()
    3.25 -{
    3.26 -	cd $src
    3.27 -	sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license
    3.28 -	sed -i "s|perl -w .*|&\\n	sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
    3.29 -	make && make DESTDIR=$DESTDIR install
    3.30 -	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
    3.31 -	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
    3.32 -	install -d -m 755 $DESTDIR/usr/share/doc &&
    3.33 -	install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
    3.34 -	install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
    3.35 -	install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
    3.36 -}
    3.37 -
    3.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.39 -genpkg_rules()
    3.40 -{
    3.41 -	mkdir -p $fs/usr $fs/var/run/vpnc
    3.42 -	cp -a $install/etc $fs
    3.43 -	cp -a $install/usr/local/bin $fs/usr
    3.44 -	cp -a $install/usr/local/sbin $fs/usr
    3.45 -	sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
    3.46 -}
    3.47 -
    3.48 -# Pre and post install commands for Tazpkg.
    3.49 -post_install()
    3.50 -{
    3.51 -	cat <<EOT
    3.52 --------------
    3.53 -You can now update /etc/vpnc/default.conf
    3.54 --------------
    3.55 -EOT
    3.56 -}
    3.57 -
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/vpnc/description.txt	Wed May 30 20:13:48 2018 +0300
     4.3 @@ -0,0 +1,18 @@
     4.4 +# vpnc - client for cisco vpn concentrator
     4.5 +
     4.6 +vpnc is supposed to work with:
     4.7 +
     4.8 +  - Cisco VPN concentrator 3000 Series
     4.9 +  - Cisco IOS routers
    4.10 +  - Cisco PIX / ASA Zecurity Appliances
    4.11 +  - Juniper/Netscreen
    4.12 +
    4.13 +Supported Authentications: Hybrid, Pre-Shared-Key + XAUTH, Pre-Shared-Key
    4.14 +
    4.15 +Supported IKE DH-Groups: dh1 dh2 dh5
    4.16 +
    4.17 +Supported Hash Algo (IKE/IPSEC): md5 sha1
    4.18 +
    4.19 +Supported Encryptions (IKE/IPSEC): (null) (1des) 3des aes128 aes192 aes256
    4.20 +
    4.21 +Perfect Forward Secrecy: nopfs dh1 dh2 dh5
     5.1 --- a/vpnc/receipt	Wed May 30 16:54:11 2018 +0300
     5.2 +++ b/vpnc/receipt	Wed May 30 20:13:48 2018 +0300
     5.3 @@ -1,51 +1,57 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="vpnc"
     5.8  VERSION="0.5.3"
     5.9  CATEGORY="network"
    5.10 -SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
    5.11 +SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment"
    5.12  MAINTAINER="pascal.bellard@slitaz.org"
    5.13  LICENSE="GPL2"
    5.14 +WEB_SITE="https://www.unix-ag.uni-kl.de/~massar/vpnc/"
    5.15 +
    5.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.17 -WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
    5.18  WGET_URL="$WEB_SITE$TARBALL"
    5.19 -CONFIG_FILES="/etc/vpnc"
    5.20 -TAGS="vpn tunnel"
    5.21  
    5.22 -DEPENDS="libgcrypt libgpg-error glibc-base perl"
    5.23  BUILD_DEPENDS="libgcrypt-dev openssl-dev perl"
    5.24 +SPLIT="vpnc-cert:cert"
    5.25  
    5.26 -# Rules to configure and make the package.
    5.27 -compile_rules()
    5.28 -{
    5.29 -	cd $src
    5.30 +compile_rules() {
    5.31 +	case $SET in
    5.32 +		cert) sed -i 's|^#OPENSSL|OPENSSL|' Makefile;; # breaks GPL license
    5.33 +	esac
    5.34  	sed -i "s|perl -w .*|&\\n	sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
    5.35 -	make && make DESTDIR=$DESTDIR install
    5.36 -	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
    5.37 -	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
    5.38 -	install -d -m 755 $DESTDIR/usr/share/doc &&
    5.39 -	install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
    5.40 -	install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
    5.41 -	install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
    5.42 +
    5.43 +	make \
    5.44 +		PREFIX=/usr \
    5.45 +		DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
    5.46 +		DESTDIR=$DESTDIR \
    5.47 +		install || return 1
    5.48 +
    5.49 +	mkdir -p $install/var/run/vpnc
    5.50 +
    5.51 +	cook_pick_docs README TODO
    5.52  }
    5.53  
    5.54 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.55 -genpkg_rules()
    5.56 -{
    5.57 -	mkdir -p $fs/usr $fs/var/run/vpnc
    5.58 -	cp -a $install/etc $fs
    5.59 -	cp -a $install/usr/local/bin $fs/usr
    5.60 -	cp -a $install/usr/local/sbin $fs/usr
    5.61 -	sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
    5.62 +genpkg_rules() {
    5.63 +	copy @std
    5.64 +	CONFIG_FILES="/etc/vpnc/"
    5.65 +	TAGS="vpn tunnel"
    5.66 +	case $PACKAGE in
    5.67 +		vpnc)
    5.68 +			DEPENDS="libgcrypt   libgpg-error perl"
    5.69 +			;;
    5.70 +		vpnc-cert)
    5.71 +			DEPENDS="libgcrypt openssl   libgpg-error perl"
    5.72 +			PROVIDE="vpnc"
    5.73 +			CAT="network|with OpenSSL support"
    5.74 +			;;
    5.75 +	esac
    5.76  }
    5.77  
    5.78 -# Pre and post install commands for Tazpkg.
    5.79 -post_install()
    5.80 -{
    5.81 -	cat <<EOT
    5.82 --------------
    5.83 -You can now update /etc/vpnc/default.conf
    5.84 --------------
    5.85 +post_install() {
    5.86 +	[ -n "$quiet" ] || cat <<EOT
    5.87 +
    5.88 +	.-------------------------------------------.
    5.89 +	| You can now update /etc/vpnc/default.conf |
    5.90 +	'-------------------------------------------'
    5.91  EOT
    5.92  }
    5.93 -
     6.1 --- a/workerfm/receipt	Wed May 30 16:54:11 2018 +0300
     6.2 +++ b/workerfm/receipt	Wed May 30 20:13:48 2018 +0300
     6.3 @@ -18,11 +18,12 @@
     6.4  	./configure \
     6.5  		--disable-silent-rules \
     6.6  		$CONFIGURE_ARGS &&
     6.7 -	make && make install
     6.8 +	make &&
     6.9 +	make install
    6.10  }
    6.11  
    6.12  genpkg_rules() {
    6.13  	copy @std
    6.14 -	DEPENDS="avfs dbus-glib freetype hal libmagic xorg-libX11 xorg-libXft \
    6.15 -	xorg-libXinerama xorg-xmessage"
    6.16 +	DEPENDS="avfs dbus hal libmagic xorg-libX11 xorg-libXinerama \
    6.17 +	   xorg-xmessage"
    6.18  }