wok-6.x view freeradius/receipt @ rev 24566
updated freeradius and freeradius-pam (3.0.20 -> 3.0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 26 07:43:46 2022 +0100 (2022-02-26) |
parents | bfabe25c21ff |
children | bc2b9d9bed6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="3.0.25"
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 libpcap libssl libunixODBC python readline
17 talloc"
18 BUILD_DEPENDS="gdbm-dev krb5-dev libpcap-dev libtool openldap-dev
19 openssl-dev pam-dev talloc-dev"
21 CONFIG_FILES="/etc/raddb"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
27 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 CFLAGS="$CFLAGS -fno-strict-aliasing" \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --with-system-libtool \
38 --with-system-libltdl \
39 $CONFIGURE_ARGS &&
40 make -j 1 &&
41 make install -j 1 R=$DESTDIR
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 mkdir -p $fs/usr/share
49 mkdir -p $fs/etc/init.d
50 mkdir -p $fs/var/run/radiusd
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/sbin $fs/usr
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/share/freeradius $fs/usr/share
56 cp -a $install/etc $fs
57 cp -a $install/var $fs
58 rm -f $fs/usr/lib/rlm_pam*
59 rm -f $fs/etc/raddb/modules/pam
60 cp -a $stuff/freeradius $fs/etc/init.d
61 }