wok rev 23234

updated net-snmp and net-snmp-dev (5.6.1 -> 5.8)
author Hans-G?nter Theisgen
date Tue Mar 24 14:26:07 2020 +0100 (14 months ago)
parents fba21b999b62
children 4e6875d4e582
files net-snmp-dev/receipt net-snmp/receipt
line diff
     1.1 --- a/net-snmp-dev/receipt	Tue Mar 24 14:08:58 2020 +0100
     1.2 +++ b/net-snmp-dev/receipt	Tue Mar 24 14:26:07 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="net-snmp-dev"
     1.7 -VERSION="5.6.1"
     1.8 +VERSION="5.8"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="dev files for net-snmp"
    1.11 +SHORT_DESC="Development files for net-snmp."
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="http://net-snmp.sourceforge.net"
    1.15 -WANTED="net-snmp"
    1.16  
    1.17  DEPENDS="net-snmp"
    1.18 +WANTED="net-snmp"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 +
    1.28 +	cp -a $install/usr/lib/*.a	$fs/usr/lib
    1.29 +	cp -a $install/usr/lib/*.la	$fs/usr/lib
    1.30 +	cp -a $install/usr/include	$fs/usr
    1.31  }
     2.1 --- a/net-snmp/receipt	Tue Mar 24 14:08:58 2020 +0100
     2.2 +++ b/net-snmp/receipt	Tue Mar 24 14:26:07 2020 +0100
     2.3 @@ -1,41 +1,44 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="net-snmp"
     2.7 -VERSION="5.6.1"
     2.8 +VERSION="5.8"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="snmp tools"
    2.11 +TAGS="snmp"
    2.12 +SHORT_DESC="SNMP tools."
    2.13  MAINTAINER="allan316@gmail.com"
    2.14  LICENSE="BSD"
    2.15 +WEB_SITE="https://sourceforge.net/projects/net-snmp/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://net-snmp.sourceforge.net"
    2.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.20 -TAGS="snmp"
    2.21  
    2.22  DEPENDS="openssl"
    2.23 -BUILD_DEPENDS="perl openssl-dev file"
    2.24 +BUILD_DEPENDS="file openssl-dev perl"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	./configure \
    2.30 -		--prefix=/usr \
    2.31 -		--with-default-snmp-version="1" \
    2.32 -		--with-sys-contact="user@localhost" \
    2.33 -		--with-sys-location="unknown" \
    2.34 -		--with-logfile="/var/log/snmpd.log" \
    2.35 -		--with-persistent-directory="/var/net-snmp" \
    2.36 +	./configure						\
    2.37 +		--prefix=/usr					\
    2.38 +		--with-default-snmp-version="1"			\
    2.39 +		--with-sys-contact="user@localhost"		\
    2.40 +		--with-sys-location="unknown"			\
    2.41 +		--with-logfile="/var/log/snmpd.log"		\
    2.42 +		--with-persistent-directory="/var/net-snmp"	\
    2.43  		$CONFIGURE_ARGS &&
    2.44 -	make -j 1 && make -j 1 DESTDIR=$DESTDIR install
    2.45 +	make -j 1 &&
    2.46 +	make -j 1 DESTDIR=$DESTDIR install
    2.47  }
    2.48  
    2.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.50  genpkg_rules()
    2.51  {
    2.52  	mkdir -p $fs/usr/lib/ 
    2.53 -	cp -a $install/usr/bin $fs/usr
    2.54 -	cp -a $install/usr/sbin $fs
    2.55 -	cp -a $install/usr/share $fs/usr
    2.56 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    2.57 -	cp -a $install/usr/lib/perl5 $fs/usr/lib
    2.58 +
    2.59 +	cp -a $install/usr/bin		$fs/usr
    2.60 +	cp -a $install/usr/sbin		$fs
    2.61 +	cp -a $install/usr/share	$fs/usr
    2.62 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    2.63 +	cp -a $install/usr/lib/perl5	$fs/usr/lib
    2.64  }
    2.65