wok rev 22777

updated freeradius and freeradius-pam (2.1.12 -> 3.0.20)
author Hans-G?nter Theisgen
date Sun Jan 26 08:17:30 2020 +0100 (2020-01-26)
parents 34fee0670dce
children 3e707eb411a7
files freeradius-pam/receipt freeradius/receipt
line diff
     1.1 --- a/freeradius-pam/receipt	Sat Jan 25 18:37:55 2020 +0100
     1.2 +++ b/freeradius-pam/receipt	Sun Jan 26 08:17:30 2020 +0100
     1.3 @@ -1,23 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="freeradius-pam"
     1.7 -VERSION="2.1.12"
     1.8 +VERSION="3.0.20"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="pam module for radius server"
    1.11 +SHORT_DESC="Pam module for radius server."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2"
    1.14 -WEB_SITE="http://www.freeradius.org/"
    1.15 +WEB_SITE="https://www.freeradius.org/"
    1.16 +
    1.17 +SOURCE="freeradius-server"
    1.18 +
    1.19 +PROVIDE="freeradius:pam"
    1.20 +DEPENDS="freeradius pam"
    1.21  WANTED="freeradius"
    1.22 -SOURCE="freeradius-server"
    1.23 -PROVIDE="freeradius:pam"
    1.24 -
    1.25 -DEPENDS="freeradius pam"
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	mkdir -p $fs/usr/lib $fs/etc/raddb/modules
    1.31 -	cp -a $install/usr/lib/rlm_pam*.so* $fs/usr/lib
    1.32 -	cp -a $install/etc/raddb/modules/pam $fs/etc/raddb/modules
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	mkdir -p $fs/etc/raddb/modules
    1.35 +
    1.36 +	cp -a $install/usr/lib/rlm_pam*.so*	$fs/usr/lib
    1.37 +	cp -a $install/etc/raddb/mods-available/pam \
    1.38 +		$fs/etc/raddb/modules
    1.39  }
    1.40 -                
     2.1 --- a/freeradius/receipt	Sat Jan 25 18:37:55 2020 +0100
     2.2 +++ b/freeradius/receipt	Sun Jan 26 08:17:30 2020 +0100
     2.3 @@ -1,30 +1,34 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="freeradius"
     2.7 -VERSION="2.1.12"
     2.8 +VERSION="3.0.20"
     2.9  CATEGORY="security"
    2.10 -SHORT_DESC="radius server"
    2.11 +SHORT_DESC="Radius server."
    2.12  MAINTAINER="sdaigl@lacitec.on.ca"
    2.13  LICENSE="GPL2 LGPL2"
    2.14 +WEB_SITE="https://www.freeradius.org/"
    2.15 +
    2.16  SOURCE="freeradius-server"
    2.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.freeradius.org/"
    2.19  WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL"
    2.20 +
    2.21 +DEPENDS="cyrus-sasl gdbm libcomerr3 libkrb5 libldap libltdl 
    2.22 +	libmysqlclient libssl libunixODBC python readline"
    2.23 +BUILD_DEPENDS="gdbm-dev krb5-dev libpcap-dev libtool openldap-dev 
    2.24 +	openssl-dev pam-dev talloc-dev"
    2.25 +
    2.26  CONFIG_FILES="/etc/raddb"
    2.27  
    2.28 -DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \
    2.29 -libkrb5 libcomerr3 libmysqlclient gdbm"
    2.30 -BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \
    2.31 -libtool"
    2.32 -
    2.33  # Rules to configure and make the package.
    2.34  compile_rules()
    2.35  {
    2.36  	export CFLAGS="$CFLAGS -fno-strict-aliasing"
    2.37 -	./configure --sysconfdir=/etc \
    2.38 -		--localstatedir=/var \
    2.39 -		--with-system-libtool \
    2.40 -		--with-system-libltdl \
    2.41 +
    2.42 +	./configure			\
    2.43 +		--sysconfdir=/etc	\
    2.44 +		--localstatedir=/var	\
    2.45 +		--with-system-libtool	\
    2.46 +		--with-system-libltdl	\
    2.47  		$CONFIGURE_ARGS &&
    2.48  	make -j1 &&
    2.49  	make R=$DESTDIR install
    2.50 @@ -33,14 +37,17 @@
    2.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.52  genpkg_rules()
    2.53  {
    2.54 -	mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd
    2.55 +	mkdir -p $fs/usr/lib
    2.56 +	mkdir -p $fs/usr/share
    2.57 +	mkdir -p $fs/etc/init.d
    2.58 +	mkdir -p $fs/var/run/radiusd
    2.59  
    2.60 -	cp -a $install/usr/bin $fs/usr
    2.61 -	cp -a $install/usr/sbin $fs/usr
    2.62 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.63 -	cp -a $install/usr/share/freeradius $fs/usr/share
    2.64 -	cp -a $install/etc $fs
    2.65 -	cp -a $install/var $fs
    2.66 -	rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
    2.67 -	cp -a $stuff/freeradius $fs/etc/init.d/
    2.68 +	cp -a $install/usr/bin			$fs/usr
    2.69 +	cp -a $install/usr/sbin			$fs/usr
    2.70 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    2.71 +	cp -a $install/usr/share/freeradius	$fs/usr/share
    2.72 +	cp -a $install/etc			$fs
    2.73 +	cp -a $install/var			$fs
    2.74 +	rm -f $fs/usr/lib/rlm_pam*		$fs/etc/raddb/modules/pam
    2.75 +	cp -a $stuff/freeradius			$fs/etc/init.d
    2.76  }