wok-6.x view freeradius/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | b12961aba199 |
children | b53e18d1978e |
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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
26 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 export CFLAGS="$CFLAGS -fno-strict-aliasing"
34 ./configure \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --with-system-libtool \
38 --with-system-libltdl \
39 $CONFIGURE_ARGS &&
40 make -j1 &&
41 make -j1 R=$DESTDIR install
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* $fs/etc/raddb/modules/pam
59 cp -a $stuff/freeradius $fs/etc/init.d
60 }