wok annotate freeradius/receipt @ rev 24033
updated dialog-dev (1.3_20190211 -> 1.3_20210324)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 07 15:56:56 2021 +0100 (2021-04-07) |
parents | 3e707eb411a7 |
children | bfabe25c21ff |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="freeradius" |
Hans-G?nter@22777 | 4 VERSION="3.0.20" |
sdaigl@48 | 5 CATEGORY="security" |
Hans-G?nter@22777 | 6 SHORT_DESC="Radius server." |
pascal@13027 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
pascal@15215 | 8 LICENSE="GPL2 LGPL2" |
Hans-G?nter@22777 | 9 WEB_SITE="https://www.freeradius.org/" |
Hans-G?nter@22777 | 10 |
pascal@1302 | 11 SOURCE="freeradius-server" |
pascal@1302 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22778 | 13 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL" |
Hans-G?nter@22777 | 14 |
Hans-G?nter@22777 | 15 DEPENDS="cyrus-sasl gdbm libcomerr3 libkrb5 libldap libltdl |
Hans-G?nter@22777 | 16 libmysqlclient libssl libunixODBC python readline" |
Hans-G?nter@22777 | 17 BUILD_DEPENDS="gdbm-dev krb5-dev libpcap-dev libtool openldap-dev |
Hans-G?nter@22777 | 18 openssl-dev pam-dev talloc-dev" |
Hans-G?nter@22777 | 19 |
pascal@19366 | 20 CONFIG_FILES="/etc/raddb" |
sdaigl@48 | 21 |
sdaigl@48 | 22 # Rules to configure and make the package. |
sdaigl@48 | 23 compile_rules() |
sdaigl@48 | 24 { |
slaxemulator@9374 | 25 export CFLAGS="$CFLAGS -fno-strict-aliasing" |
Hans-G?nter@22777 | 26 |
Hans-G?nter@22777 | 27 ./configure \ |
Hans-G?nter@22777 | 28 --sysconfdir=/etc \ |
Hans-G?nter@22777 | 29 --localstatedir=/var \ |
Hans-G?nter@22777 | 30 --with-system-libtool \ |
Hans-G?nter@22777 | 31 --with-system-libltdl \ |
slaxemulator@10332 | 32 $CONFIGURE_ARGS && |
gokhlayeh@9224 | 33 make -j1 && |
Hans-G?nter@22780 | 34 make -j1 R=$DESTDIR install |
sdaigl@48 | 35 } |
sdaigl@48 | 36 |
sdaigl@48 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 38 genpkg_rules() |
sdaigl@48 | 39 { |
Hans-G?nter@22777 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@22777 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@22777 | 42 mkdir -p $fs/etc/init.d |
Hans-G?nter@22777 | 43 mkdir -p $fs/var/run/radiusd |
sdaigl@48 | 44 |
Hans-G?nter@22777 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22777 | 46 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22777 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22777 | 48 cp -a $install/usr/share/freeradius $fs/usr/share |
Hans-G?nter@22777 | 49 cp -a $install/etc $fs |
Hans-G?nter@22777 | 50 cp -a $install/var $fs |
Hans-G?nter@22777 | 51 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam |
Hans-G?nter@22777 | 52 cp -a $stuff/freeradius $fs/etc/init.d |
sdaigl@48 | 53 } |