wok diff freeradius/receipt @ rev 19699
bash: patches in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 09:37:31 2017 +0100 (2017-02-14) |
parents | 7bb096863642 |
children | 2007d47b8aba |
line diff
1.1 --- a/freeradius/receipt Sat Sep 14 17:06:00 2013 +0000 1.2 +++ b/freeradius/receipt Tue Feb 14 09:37:31 2017 +0100 1.3 @@ -10,6 +10,7 @@ 1.4 TARBALL="$SOURCE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.freeradius.org/" 1.6 WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL" 1.7 +CONFIG_FILES="/etc/raddb" 1.8 1.9 DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \ 1.10 libkrb5 libcomerr3 libmysqlclient gdbm" 1.11 @@ -19,7 +20,6 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - cd $src 1.16 export CFLAGS="$CFLAGS -fno-strict-aliasing" 1.17 ./configure --sysconfdir=/etc \ 1.18 --localstatedir=/var \ 1.19 @@ -33,7 +33,7 @@ 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 - mkdir -p $fs/usr/lib $fs/usr/share 1.24 + mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd 1.25 1.26 cp -a $install/usr/bin $fs/usr 1.27 cp -a $install/usr/sbin $fs/usr 1.28 @@ -42,4 +42,5 @@ 1.29 cp -a $install/etc $fs 1.30 cp -a $install/var $fs 1.31 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam 1.32 + cp -a $stuff/freeradius $fs/etc/init.d/ 1.33 }