* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2021-05-03 0:07 Quentin Retornaz
0 siblings, 0 replies; 8+ messages in thread
From: Quentin Retornaz @ 2021-05-03 0:07 UTC (permalink / raw
To: gentoo-commits
commit: 1198fa92db935074e88aa77ae7c2c599c3af740e
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Sun May 2 23:30:26 2021 +0000
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sun May 2 23:30:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=1198fa92
net-dialup/freeradius: remove libressl USE flag
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
net-dialup/freeradius/freeradius-3.0.20-r1.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index 3342018..7a83429 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="
- debug firebird iodbc kerberos ldap libressl memcached mysql mongodb odbc oracle pam
+ debug firebird iodbc kerberos ldap memcached mysql mongodb odbc oracle pam
pcap postgres python readline redis rest samba sqlite ssl systemd
"
RESTRICT="test firebird? ( bindist )"
@@ -55,10 +55,7 @@ RDEPEND="acct-group/radius
rest? ( dev-libs/json-c:= )
samba? ( net-fs/samba )
sqlite? ( dev-db/sqlite:3 )
- ssl? (
- !libressl? ( dev-libs/openssl:0=[-bindist] )
- libressl? ( dev-libs/libressl:0= )
- )
+ ssl? ( dev-libs/openssl:0=[-bindist] )
systemd? ( sys-apps/systemd )"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2023-04-13 20:17 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2023-04-13 20:17 UTC (permalink / raw
To: gentoo-commits
commit: d8cdb9cc6a9a45f77908fa43f83de6e91b58aa65
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Apr 13 19:17:54 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Thu Apr 13 19:17:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=d8cdb9cc
net-dialup/freeradius: disable py3.8
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/freeradius-3.0.25-r2.ebuild | 4 ++--
net-dialup/freeradius/metadata.xml | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
index 8e473f0..df95f1c 100644
--- a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
inherit autotools pam python-single-r1 systemd
MY_PV=$(ver_rs 1- "_")
diff --git a/net-dialup/freeradius/metadata.xml b/net-dialup/freeradius/metadata.xml
index 2ae2372..a97e6b2 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -19,4 +19,7 @@
Include support for MongoDB database
</flag>
</use>
+ <upstream>
+ <remote-id type="github">FreeRADIUS/freeradius-server</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2023-07-04 3:42 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2023-07-04 3:42 UTC (permalink / raw
To: gentoo-commits
commit: 034b1cce3cc66a75ecf1ee00e41c8232d21828f3
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Jul 4 03:37:37 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Jul 4 03:37:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=034b1cce
net-dialup/freeradius: sync ::gentoo
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/freeradius-3.2.2.ebuild | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild b/net-dialup/freeradius/freeradius-3.2.2.ebuild
index 0d66ea7..d4927c6 100644
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.2.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
IUSE="
debug firebird iodbc kerberos ldap memcached mysql mongodb odbc oracle pam
- postgres python readline redis samba sqlite ssl systemd
+ postgres python readline redis samba selinux sqlite ssl systemd
"
RESTRICT="firebird? ( bindist )"
@@ -37,7 +37,8 @@ RESTRICT="firebird? ( bindist )"
# TODO: unconditional json-c for now as automagic dep despite efforts to stop it
# ditto libpcap. Can restore USE=rest, USE=pcap if/when fixed.
-RDEPEND="acct-group/radius
+DEPEND="
+ acct-group/radius
acct-user/radius
!net-dialup/cistronradius
dev-libs/libltdl
@@ -67,8 +68,12 @@ RDEPEND="acct-group/radius
samba? ( net-fs/samba )
sqlite? ( dev-db/sqlite:3 )
ssl? ( >=dev-libs/openssl-1.0.2:=[-bindist(-)] )
- systemd? ( sys-apps/systemd:= )"
-DEPEND="${RDEPEND}"
+ systemd? ( sys-apps/systemd:= )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-radius )
+"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2024-01-16 21:14 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2024-01-16 21:14 UTC (permalink / raw
To: gentoo-commits
commit: a5ba195b3624111271c62658ddfe2b23eb1a68d4
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Jan 16 21:06:51 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Jan 16 21:07:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=a5ba195b
net-dialup/freeradius: sync ::gentoo
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/freeradius-3.2.2.ebuild | 6 +++---
net-dialup/freeradius/freeradius-3.2.3.ebuild | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild b/net-dialup/freeradius/freeradius-3.2.2.ebuild
index d4927c6..d25e02d 100644
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-AUTOTOOLS_DEPEND=">=sys-devel/autoconf-2.69"
+PYTHON_COMPAT=( python3_{10..11} )
+AUTOTOOLS_DEPEND=">=dev-build/autoconf-2.69"
inherit autotools pam python-single-r1 systemd
MY_PN=${PN}-server
diff --git a/net-dialup/freeradius/freeradius-3.2.3.ebuild b/net-dialup/freeradius/freeradius-3.2.3.ebuild
index a46fc9b..00eeeee 100644
--- a/net-dialup/freeradius/freeradius-3.2.3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-AUTOTOOLS_DEPEND=">=sys-devel/autoconf-2.69"
+AUTOTOOLS_DEPEND=">=dev-build/autoconf-2.69"
inherit autotools pam python-single-r1 systemd
MY_PN=${PN}-server
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2024-08-01 22:34 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2024-08-01 22:34 UTC (permalink / raw
To: gentoo-commits
commit: a51f911851b2ca2fa6bf2c3761b20fd9efa070c4
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Aug 1 22:05:18 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Thu Aug 1 22:30:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=a51f9118
net-dialup/freeradius: enable py3.12
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/freeradius-3.2.2.ebuild | 2 +-
net-dialup/freeradius/freeradius-3.2.3.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild b/net-dialup/freeradius/freeradius-3.2.2.ebuild
index d25e02d..5740a33 100644
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
AUTOTOOLS_DEPEND=">=dev-build/autoconf-2.69"
inherit autotools pam python-single-r1 systemd
diff --git a/net-dialup/freeradius/freeradius-3.2.3.ebuild b/net-dialup/freeradius/freeradius-3.2.3.ebuild
index 00eeeee..21a681c 100644
--- a/net-dialup/freeradius/freeradius-3.2.3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
AUTOTOOLS_DEPEND=">=dev-build/autoconf-2.69"
inherit autotools pam python-single-r1 systemd
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2024-11-12 18:30 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2024-11-12 18:30 UTC (permalink / raw
To: gentoo-commits
commit: 914522ca453e191526d81e7b64006390efbd4a85
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Nov 12 18:16:14 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Nov 12 18:16:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=914522ca
net-dialup/freeradius: stabilize 3.2.3 for amd64, arm64, x86
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/freeradius-3.2.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-dialup/freeradius/freeradius-3.2.3.ebuild b/net-dialup/freeradius/freeradius-3.2.3.ebuild
index 21a681c..0f7f048 100644
--- a/net-dialup/freeradius/freeradius-3.2.3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
IUSE="
debug firebird iodbc kerberos ldap memcached mysql mongodb odbc oracle pam
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2025-01-04 19:07 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2025-01-04 19:07 UTC (permalink / raw
To: gentoo-commits
commit: ddfc5c5cc1b5be4ac0f1425fb0ee352ae03abe77
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Jan 4 16:03:57 2025 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sat Jan 4 16:03:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=ddfc5c5c
net-dialup/freeradius: update maintainers
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/metadata.xml | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/net-dialup/freeradius/metadata.xml b/net-dialup/freeradius/metadata.xml
index f88a6ec..197c539 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -1,19 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="memcached">
- Include <pkg>dev-libs/libmemcached</pkg> in caching drivers
- </flag>
- <flag name="redis">
- Include support for Redis database
- </flag>
- <flag name="mongodb">
- Include support for MongoDB database
- </flag>
- </use>
- <upstream>
- <remote-id type="github">FreeRADIUS/freeradius-server</remote-id>
- </upstream>
+ <maintainer type="person" proxied="yes">
+ <email>jaco@uls.co.za</email>
+ <name>Jaco Kroon</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="memcached">
+ Include <pkg>dev-libs/libmemcached</pkg> in caching drivers
+ </flag>
+ <flag name="redis">
+ Include support for Redis database
+ </flag>
+ <flag name="mongodb">
+ Include support for MongoDB database
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">FreeRADIUS/freeradius-server</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/
@ 2025-01-04 19:07 orbea
0 siblings, 0 replies; 8+ messages in thread
From: orbea @ 2025-01-04 19:07 UTC (permalink / raw
To: gentoo-commits
commit: 1495269ea8a8c65e2459777c43331e7b4124f478
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Jan 4 16:03:43 2025 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sat Jan 4 16:03:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=1495269e
net-dialup/freeradius: drop 3.2.2
Signed-off-by: orbea <orbea <AT> riseup.net>
net-dialup/freeradius/Manifest | 1 -
net-dialup/freeradius/freeradius-3.2.2.ebuild | 315 --------------------------
2 files changed, 316 deletions(-)
diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 387fe37..ebb8015 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1 @@
-DIST freeradius-server-3.2.2.tar.bz2 3418998 BLAKE2B 584d1ff79cf3a75c79f5b24f9e47d7c8d8caee0d706eb47bb387300172f0699f904804d963aab8c252a21fe67f7885a47659b8cd9db5292a6d4db087d72e8e38 SHA512 91dc574560a1f75cafa8bc78c0676f0e3dae7154ecbb395e0e1f6738f78d8bcfe1bff122364452798fd0434c4056fd946799b8f29a1141398bf0542a37870689
DIST freeradius-server-3.2.3.tar.bz2 3454869 BLAKE2B 525204331a5b123dac7457c6adb755cbe9794dbff4a536ea665fc7d1cac97553e392b7b598741c2a9dd00c81decd00608499d6f25208e389b9f213f54977de84 SHA512 06767153e262a2baa2d0cc74099bc13c23b33c2316348b5dc8ec0f5834c028571bd09b8c01726a6eabeaab8fdc3050f40bfeba2d5b1c299585d1689abad365ce
diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild b/net-dialup/freeradius/freeradius-3.2.2.ebuild
deleted file mode 100644
index 5740a33..0000000
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ /dev/null
@@ -1,315 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-AUTOTOOLS_DEPEND=">=dev-build/autoconf-2.69"
-inherit autotools pam python-single-r1 systemd
-
-MY_PN=${PN}-server
-MY_P=${MY_PN}-${PV}
-MY_PV=$(ver_rs 1- "_")
-
-DESCRIPTION="Highly configurable free RADIUS server"
-HOMEPAGE="https://freeradius.org/"
-SRC_URI="https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${MY_PV}/${MY_P}.tar.bz2"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
-
-IUSE="
- debug firebird iodbc kerberos ldap memcached mysql mongodb odbc oracle pam
- postgres python readline redis samba selinux sqlite ssl systemd
-"
-
-RESTRICT="firebird? ( bindist )"
-
-# NOTE: Temporary freeradius doesn't support linking with mariadb client
-# libs also if code is compliant, will be available in the next release.
-# (http://lists.freeradius.org/pipermail/freeradius-devel/2018-October/013228.html)a
-
-# TODO: rlm_mschap works with both samba library or without. I need to avoid
-# linking of samba library if -samba is used.
-
-# TODO: unconditional json-c for now as automagic dep despite efforts to stop it
-# ditto libpcap. Can restore USE=rest, USE=pcap if/when fixed.
-
-DEPEND="
- acct-group/radius
- acct-user/radius
- !net-dialup/cistronradius
- dev-libs/libltdl
- dev-libs/libpcre
- dev-libs/json-c:=
- dev-lang/perl:=
- net-libs/libpcap
- net-misc/curl
- sys-libs/gdbm:=
- sys-libs/libcap
- sys-libs/talloc
- virtual/libcrypt:=
- firebird? ( dev-db/firebird )
- iodbc? ( dev-db/libiodbc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:= )
- memcached? ( dev-libs/libmemcached )
- mysql? ( dev-db/mysql-connector-c:= )
- mongodb? ( >=dev-libs/mongo-c-driver-1.13.0-r1 )
- odbc? ( dev-db/unixODBC )
- oracle? ( dev-db/oracle-instantclient[sdk] )
- pam? ( sys-libs/pam )
- postgres? ( dev-db/postgresql:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- redis? ( dev-libs/hiredis:= )
- samba? ( net-fs/samba )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( >=dev-libs/openssl-1.0.2:=[-bindist(-)] )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="
- ${DEPEND}
- selinux? ( sec-policy/selinux-radius )
-"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# bug #721040
-QA_SONAME="usr/lib.*/libfreeradius-.*.so"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.2.1-libressl.patch
- "${FILESDIR}"/${PN}-3.0.20-systemd-service.patch
-)
-
-pkg_setup() {
- if use python ; then
- python-single-r1_pkg_setup
- export PYTHONBIN="${EPYTHON}"
- fi
-}
-
-src_prepare() {
- default
-
- # Most of the configuration options do not appear as ./configure
- # switches. Instead it identifies the directories that are available
- # and run through them. These might check for the presence of
- # various libraries, in which case they are not built. To avoid
- # automagic dependencies, we just remove all the modules that we're
- # not interested in using.
- # TODO: shift more of these into configure args below as things
- # are a bit better now.
- use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; }
- use ldap || { rm -r src/modules/rlm_ldap || die ; }
- use kerberos || { rm -r src/modules/rlm_krb5 || die ; }
- use memcached || { rm -r src/modules/rlm_cache/drivers/rlm_cache_memcached || die ; }
- use pam || { rm -r src/modules/rlm_pam || die ; }
-
- # Drop support for python2
- rm -r src/modules/rlm_python || die
-
- use python || { rm -r src/modules/rlm_python3 || die ; }
- #use rest || { rm -r src/modules/rlm_rest || die ; }
- # Do not install ruby rlm module, bug #483108
- rm -r src/modules/rlm_ruby || die
-
- # These are all things we don't have in portage/I don't want to deal
- # with myself.
- #
- # Requires TNCS library
- rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die
- # Requires libeap-ikev2
- rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die
- # Requires some membership.h
- rm -r src/modules/rlm_opendirectory || die
- # ?
- rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
-
- # SQL drivers that are not part of experimental are loaded from a
- # file, so we have to remove them from the file itself when we
- # remove them.
- usesqldriver() {
- local flag=$1
- local driver=rlm_sql_${2:-${flag}}
-
- if ! use ${flag} ; then
- rm -r src/modules/rlm_sql/drivers/${driver} || die
- sed -i -e /${driver}/d src/modules/rlm_sql/stable || die
- fi
- }
-
- sed -i \
- -e 's:^#\tuser = :\tuser = :g' \
- -e 's:^#\tgroup = :\tgroup = :g' \
- -e 's:/var/run/radiusd:/run/radiusd:g' \
- -e '/^run_dir/s:${localstatedir}::g' \
- raddb/radiusd.conf.in || die
-
- # - Verbosity
- # - B uild shared libraries using jlibtool -shared
- sed -i \
- -e 's|--silent ||g' \
- -e 's:--mode=\(compile\|link\):& -shared:g' \
- scripts/libtool.mk || die
-
- # Crude measure to stop jlibtool from running ranlib and ar
- sed -i \
- -e '/LIBRARIAN/s|".*"|"true"|g' \
- -e '/RANLIB/s|".*"|"true"|g' \
- scripts/jlibtool.c || die
-
- usesqldriver mysql
- usesqldriver postgres postgresql
- usesqldriver firebird
- usesqldriver iodbc
- usesqldriver odbc unixodbc
- usesqldriver oracle
- usesqldriver sqlite
- usesqldriver mongodb mongo
-
- eautoreconf
-}
-
-src_configure() {
- # Do not try to enable static with static-libs; upstream is a
- # massacre of libtool best practices so you also have to make sure
- # to --enable-shared explicitly.
- local myeconfargs=(
- # Revisit confcache when not needing to use ac_cv anymore
- # for automagic deps.
- #--cache-file="${S}"/config.cache
-
- --enable-shared
- --disable-ltdl-install
- --disable-silent-rules
- --with-system-libtool
- --with-system-libltdl
-
- --enable-strict-dependencies
- --without-rlm_couchbase
- --without-rlm_securid
- --without-rlm_unbound
- --without-rlm_idn
- #--without-rlm_json
- #$(use_with rest libfreeradius-json)
-
- # Our OpenSSL should be patched. Avoid false-positive failures.
- --disable-openssl-version-check
- --with-ascend-binary
- --with-udpfromto
- --with-dhcp
- --with-pcre
- --with-iodbc-include-dir=/usr/include/iodbc
- --with-experimental-modules
- --with-docdir=/usr/share/doc/${PF}
- --with-logdir=/var/log/radius
-
- $(use_enable debug developer)
- $(use_with ldap edir)
- $(use_with redis rlm_cache_redis)
- $(use_with redis rlm_redis)
- $(use_with redis rlm_rediswho)
- $(use_with ssl openssl)
- $(use_with systemd systemd)
- )
-
- # bug #77613
- if has_version app-crypt/heimdal ; then
- myeconfargs+=( --enable-heimdal-krb5 )
- fi
-
- if use python ; then
- myeconfargs+=(
- --with-rlm-python3-bin=${EPYTHON}
- --with-rlm-python3-config-bin=${EPYTHON}-config
- )
- fi
-
- if ! use readline ; then
- export ac_cv_lib_readline=no
- fi
-
- #if ! use pcap ; then
- # export ac_cv_lib_pcap_pcap_open_live=no
- # export ac_cv_header_pcap_h=no
- #fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- # Verbose, do not generate certificates
- emake \
- Q='' ECHO=true \
- LOCAL_CERT_PRODUCTS=''
-}
-
-src_install() {
- dodir /etc
-
- diropts -m0750 -o root -g radius
- dodir /etc/raddb
-
- diropts -m0750 -o radius -g radius
- dodir /var/log/radius
-
- keepdir /var/log/radius/radacct
- diropts
-
- # - Verbose, do not install certificates
- # - Parallel install fails (bug #509498)
- emake -j1 \
- Q='' ECHO=true \
- LOCAL_CERT_PRODUCTS='' \
- R="${D}" \
- install
-
- if use pam ; then
- pamd_mimic_system radiusd auth account password session
- fi
-
- # bug #711756
- fowners -R radius:radius /etc/raddb
- fowners -R radius:radius /var/log/radius
-
- dodoc CREDITS
-
- rm "${ED}"/usr/sbin/rc.radiusd || die
-
- newinitd "${FILESDIR}"/radius.init-r4 radiusd
- newconfd "${FILESDIR}"/radius.conf-r6 radiusd
-
- if ! use systemd ; then
- # If systemd builtin is not enabled we need use Type=Simple
- # as systemd .service
- sed -i -e 's:^Type=.*::g' \
- -e 's:^WatchdogSec=.*::g' -e 's:^NotifyAccess=all.*::g' \
- "${S}"/debian/freeradius.service
- fi
-
- systemd_dounit "${S}"/debian/freeradius.service
-
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_config() {
- if use ssl ; then
- cd "${ROOT}"/etc/raddb/certs || die
-
- ./bootstrap || die "Error while running ./bootstrap script."
- chown root:radius "${ROOT}"/etc/raddb/certs || die
- chown root:radius "${ROOT}"/etc/raddb/certs/ca.pem || die
- chown root:radius "${ROOT}"/etc/raddb/certs/server.{key,crt,pem} || die
- fi
-}
-
-pkg_preinst() {
- if ! has_version ${CATEGORY}/${PN} && use ssl ; then
- elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able"
- elog "to start the radiusd service."
- fi
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-01-04 19:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 19:07 [gentoo-commits] repo/proj/libressl:master commit in: net-dialup/freeradius/ orbea
-- strict thread matches above, loose matches on Subject: below --
2025-01-04 19:07 orbea
2024-11-12 18:30 orbea
2024-08-01 22:34 orbea
2024-01-16 21:14 orbea
2023-07-04 3:42 orbea
2023-04-13 20:17 orbea
2021-05-03 0:07 Quentin Retornaz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox