wok-6.x rev 23179

updated mgetty and mgetty-voicetools (1.1.37 -> 1.2.1)
author Hans-G?nter Theisgen
date Thu Mar 19 13:45:58 2020 +0100 (2020-03-19)
parents 74c050f1ea1e
children fa14bf00ffaa
files mgetty-voicetools/receipt mgetty/receipt
line diff
     1.1 --- a/mgetty-voicetools/receipt	Wed Mar 18 11:26:52 2020 +0100
     1.2 +++ b/mgetty-voicetools/receipt	Thu Mar 19 13:45:58 2020 +0100
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mgetty-voicetools"
     1.7 -VERSION="1.1.37"
     1.8 +VERSION="1.2.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Convertion tool set for vgetty."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://mgetty.greenie.net/"
    1.14 +
    1.15  DEPENDS="mgetty"
    1.16  WANTED="mgetty"
    1.17  
    1.18 @@ -14,5 +15,5 @@
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr
    1.22 -	cp -a $install/usr/bin $fs/usr
    1.23 +	cp -a $install/usr/bin	$fs/usr
    1.24  }
     2.1 --- a/mgetty/receipt	Wed Mar 18 11:26:52 2020 +0100
     2.2 +++ b/mgetty/receipt	Thu Mar 19 13:45:58 2020 +0100
     2.3 @@ -1,25 +1,31 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mgetty"
     2.7 -VERSION="1.1.37"
     2.8 +VERSION="1.2.1"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="reliable and proven fax send and receive solution."
    2.11 +SHORT_DESC="Reliable and proven fax send and receive solution."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 -TARBALL="$PACKAGE$VERSION-Jun05.tar.gz"
    2.15  WEB_SITE="http://mgetty.greenie.net/"
    2.16 +
    2.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18  WGET_URL="ftp://mgetty.greenie.net/pub/$PACKAGE/source/${VERSION%.*}/$TARBALL"
    2.19 +
    2.20  DEPENDS="slitaz-base-files"
    2.21 +
    2.22  CONFIG_FILES="/etc/mgetty+sendfax"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 +	chmod a+x mkidirs
    2.28 +
    2.29  	[ -f Makefile.dist ] && mv -f Makefile.dist Makefile
    2.30  	cp Makefile Makefile.dist
    2.31  	cp Makefile Makefile.install
    2.32  	cp policy.h-dist policy.h
    2.33 -	sed -i  -e 's|/* #define AUTO_PPP */|#define AUTO_PPP|' policy.h
    2.34 +	sed -i  -e 's|/* #define AUTO_PPP */|#define AUTO_PPP|' \
    2.35 +		policy.h
    2.36  	sed -i  -e "s|^prefix=/usr/local|prefix=/usr|" \
    2.37  		-e "s|^spool=/var/spool|spool=/var/spool|" \
    2.38  		-e "s|^CONFDIR=.*|CONFDIR=/etc/mgetty+sendfax|" \
    2.39 @@ -31,30 +37,31 @@
    2.40  		-e 's|/man/|/share&|' \
    2.41  		-e 's|^INSTALL=install .*|INSTALL=install -c -o root -g root|' \
    2.42  		Makefile.install
    2.43 -	make -j 1 bin-all vgetty
    2.44 -	mkdir -p $DESTDIR/var/spool $DESTDIR/usr/share/man/man1 \
    2.45 -		$DESTDIR/usr/share/man/man8
    2.46 +	make bin-all vgetty
    2.47 +	mkdir -p $DESTDIR/var/spool $DESTDIR/usr/share/man/man1
    2.48 +	mkdir -p $DESTDIR/usr/share/man/man8
    2.49  	mv -f Makefile.install Makefile
    2.50  	sed -i 's|chown|echo chown|' Makefile fax/Makefile
    2.51 -	make -k -j 1 install.bin vgetty-install
    2.52 +	make -k install.bin vgetty-install
    2.53  }
    2.54  
    2.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.56  genpkg_rules()
    2.57  {
    2.58  	mkdir -p $fs/usr
    2.59 -	cp -a $install/usr/lib $fs/usr
    2.60 -	cp -a $install/usr/sbin $fs/usr
    2.61 -	cp -a $install/etc $fs
    2.62 -	cp -a $install/var $fs
    2.63 -	chmod 755 $fs/var/spool/fax
    2.64 +	cp -a $install/usr/lib	$fs/usr
    2.65 +	cp -a $install/usr/sbin	$fs/usr
    2.66 +	cp -a $install/etc	$fs
    2.67 +	cp -a $install/var	$fs
    2.68 +	chmod 755		$fs/var/spool/fax
    2.69  }
    2.70  
    2.71  # Pre and post install commands for Tazpkg.
    2.72  post_install()
    2.73  {
    2.74          # adduser fax if needed
    2.75 -	if ! grep -q fax "$1/etc/passwd"; then
    2.76 +	if ! grep -q fax "$1/etc/passwd"
    2.77 +	  then
    2.78  		echo
    2.79  		echo -n "Adding user fax..."
    2.80  		chroot "$1/" adduser fax -D -H -S