wok view freeradius/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents 5db546345599
children
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="3.2.3"
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 - https://github.com/FreeRADIUS/freeradius-server/releases 2>/dev/null | \
27 sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;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 }