wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="3.0.20"
5 CATEGORY="security"
6 SHORT_DESC="Radius server."
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 LICENSE="GPL2 LGPL2"
9 WEB_SITE="https://www.freeradius.org/"
11 SOURCE="freeradius-server"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
15 DEPENDS="cyrus-sasl gdbm libcomerr3 libkrb5 libldap libltdl
16 libmysqlclient libssl libunixODBC python readline"
17 BUILD_DEPENDS="gdbm-dev krb5-dev libpcap-dev libtool openldap-dev
18 openssl-dev pam-dev talloc-dev"
20 CONFIG_FILES="/etc/raddb"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CFLAGS="$CFLAGS -fno-strict-aliasing"
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --with-system-libtool \
31 --with-system-libltdl \
32 $CONFIGURE_ARGS &&
33 make -j1 &&
34 make -j1 R=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share
42 mkdir -p $fs/etc/init.d
43 mkdir -p $fs/var/run/radiusd
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/share/freeradius $fs/usr/share
49 cp -a $install/etc $fs
50 cp -a $install/var $fs
51 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
52 cp -a $stuff/freeradius $fs/etc/init.d
53 }