[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/, net-dialup/freeradius/files/

2023-12-19 Thread Sam James
commit: eca476667dca94b2cf95205d40bbe9bd37c20325
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 19 11:02:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 19 11:03:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eca47666

net-dialup/freeradius: add 3.2.3

Closes: https://bugs.gentoo.org/900048
Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 .../files/freeradius-3.2.3-configure-c99.patch |  38 +++
 net-dialup/freeradius/freeradius-3.2.3.ebuild  | 321 +
 3 files changed, 360 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index f07da4b957ac..387fe37ebb2f 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 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/files/freeradius-3.2.3-configure-c99.patch 
b/net-dialup/freeradius/files/freeradius-3.2.3-configure-c99.patch
new file mode 100644
index ..395e97d84851
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.2.3-configure-c99.patch
@@ -0,0 +1,38 @@
+https://src.fedoraproject.org/rpms/freeradius/c/1793f410aa789704b5ac0be9cf7d0eaece906d1a?branch=rawhide
+https://github.com/FreeRADIUS/freeradius-server/pull/5246
+
+The backtrace_symbols function expects a pointer to an array of void *
+values, not a pointer to an array of a single element. Removing the
+address operator ensures that the right type is used.
+
+This avoids an unconditional failure of this probe with compilers that
+treat incompatible pointer types as a compilation error.
+
+Submitted upstream: 
+
+diff --git a/configure b/configure
+index ed01ee2bdd912f63..1e6d2284779cdd58 100755
+--- a/configure
 b/configure
+@@ -13390,7 +13390,7 @@ main (void)
+ {
+ 
+ void *sym[1];
+-backtrace_symbols(, sizeof(sym))
++backtrace_symbols(sym, sizeof(sym))
+   ;
+   return 0;
+ }
+diff --git a/configure.ac b/configure.ac
+index 76320213b51d7bb4..6a689711d6c90483 100644
+--- a/configure.ac
 b/configure.ac
+@@ -2168,7 +2168,7 @@ if test "x$ac_cv_header_execinfo_h" = "xyes"; then
+ #include 
+   ]], [[
+ void *sym[1];
+-backtrace_symbols(, sizeof(sym)) ]])],[
++backtrace_symbols(sym, sizeof(sym)) ]])],[
+ AC_MSG_RESULT(yes)
+ ac_cv_lib_execinfo_backtrace_symbols="yes"
+   ],[

diff --git a/net-dialup/freeradius/freeradius-3.2.3.ebuild 
b/net-dialup/freeradius/freeradius-3.2.3.ebuild
new file mode 100644
index ..56fff26e7876
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.2.3.ebuild
@@ -0,0 +1,321 @@
+# Copyright 1999-2023 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"
+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
+   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-06-28 Thread Sam James
commit: 1a8708033fa6281befc9a407e1635b5730809210
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 28 07:24:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 28 07:36:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a870803

net-dialup/freeradius: add missing selinux policy dep

Signed-off-by: Sam James  gentoo.org>

 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 c42360c89bca..00ea3f5bc11d 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} )"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-04-22 Thread John Helmert III
commit: 3ade792939afdce0a9b94ac7309ab8fade1653a4
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Apr 23 03:27:32 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Apr 23 03:28:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ade7929

net-dialup/freeradius: fix UnusedLocalUse

Signed-off-by: John Helmert III  gentoo.org>

 net-dialup/freeradius/metadata.xml | 6 --
 1 file changed, 6 deletions(-)

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index a97e6b26d249..f88a6ec95487 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -6,12 +6,6 @@
 
   Include dev-libs/libmemcached in caching drivers
 
-
-  Build the RADIUS sniffer which requires net-libs/libpcap.
-
-
-  Include support for sending and receiving HTTP requests
-
 
   Include support for Redis database
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-04-19 Thread John Helmert III
commit: b022e526a4edf6aa28f76069f42c7195c21e1e27
Author: John Helmert III  gentoo  org>
AuthorDate: Thu Apr 20 03:58:53 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Thu Apr 20 03:58:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b022e526

net-dialup/freeradius: drop 3.0.25-r2, 3.0.26, 3.2.0, 3.2.1

Bug: https://bugs.gentoo.org/891265
Signed-off-by: John Helmert III  gentoo.org>

 net-dialup/freeradius/Manifest|   4 -
 net-dialup/freeradius/freeradius-3.0.25-r2.ebuild | 267 ---
 net-dialup/freeradius/freeradius-3.0.26.ebuild| 267 ---
 net-dialup/freeradius/freeradius-3.2.0.ebuild | 309 -
 net-dialup/freeradius/freeradius-3.2.1.ebuild | 311 --
 5 files changed, 1158 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index ef9b716256c7..f07da4b957ac 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,5 +1 @@
-DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2697bdec7994485516ef338908b46f2168260b7acf1a7120a687e543f0381bb787567bb4d564b9d14a3eb464a0e9ed6
 SHA512 
13382a53e6a1a4495c6f53e662ce21b80d73b6134a72f099f05495b64c56ae1a6c1cd1281311f1c3695d8532207fe5bd3d2026ed2c45f3cb5adb1011f1505ee7
-DIST freeradius-3.0.26.tar.gz 5300930 BLAKE2B 
e8922182f69ff201af331a03ef109072d24fb169c14179c5e71910ed3f767526afd7efe6000fd8a3881fa2ddb0487ebd12f8fdf6845136fdc15fdcb8a83fdf39
 SHA512 
83825ce1dd3d2e005c11d10ebadd2b37884130c158d3ea43595fa52478e3d194725b15dc73633758b0b1e916e00ea9358d254c38c2b721c475c9a4235aa1a5a3
-DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d
-DIST freeradius-server-3.2.1.tar.bz2 3399164 BLAKE2B 
d0e69d468736d2a5dd85b32bb8b1fa44f2e56725ae525a3895df1b926f5ce525c70af08c2b76b62a9479d00d02c3e4915586fb1e5c7d42955c6b9e5cdeda8f6e
 SHA512 
0f9e98cbf0eff4c5af54731ec34a8c9070252eaf2f91ca0c87caae939f6356fa91a6e1ed98ba66dbf1c1bafecdfcf38603fb4f65a5955e88974f49a5b7885f7a
 DIST freeradius-server-3.2.2.tar.bz2 3418998 BLAKE2B 
584d1ff79cf3a75c79f5b24f9e47d7c8d8caee0d706eb47bb387300172f0699f904804d963aab8c252a21fe67f7885a47659b8cd9db5292a6d4db087d72e8e38
 SHA512 
91dc574560a1f75cafa8bc78c0676f0e3dae7154ecbb395e0e1f6738f78d8bcfe1bff122364452798fd0434c4056fd946799b8f29a1141398bf0542a37870689

diff --git a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
deleted file mode 100644
index 0218f364f4ec..
--- a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
+++ /dev/null
@@ -1,267 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit autotools pam python-single-r1 systemd
-
-MY_PV=$(ver_rs 1- "_")
-
-DESCRIPTION="Highly configurable free RADIUS server"
-HOMEPAGE="https://freeradius.org/;
-SRC_URI="https://github.com/FreeRADIUS/freeradius-server/archive/release_${MY_PV}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/freeradius-server-release_${MY_PV}"
-
-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
-   pcap postgres python readline redis rest samba sqlite ssl systemd
-"
-
-RESTRICT="test 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.
-RDEPEND="acct-group/radius
-   acct-user/radius
-   !net-dialup/cistronradius
-   dev-lang/perl:=
-   sys-libs/gdbm:=
-   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 )
-   pcap? ( net-libs/libpcap )
-   postgres? ( dev-db/postgresql:= )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   redis? ( dev-libs/hiredis:= )
-   rest? ( dev-libs/json-c:= )
-   samba? ( net-fs/samba )
-   sqlite? ( dev-db/sqlite:3 )
-   ssl? (
-   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-27 Thread Joonas Niilola
commit: 5f7880307126dc304dbab67b4669b983913580bb
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Feb 28 07:53:15 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Feb 28 07:53:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f788030

net-dialup/freeradius: Stabilize 3.2.2 amd64, #898040

Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/freeradius-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild 
b/net-dialup/freeradius/freeradius-3.2.2.ebuild
index 3861bc2421d5..394f84cd51da 100644
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.2.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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-27 Thread Joonas Niilola
commit: 2252933f670033d04ac149ff7e7abe5a93878c60
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Feb 28 07:53:37 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Feb 28 07:53:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2252933f

net-dialup/freeradius: Stabilize 3.2.2 x86, #898040

Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/freeradius-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild 
b/net-dialup/freeradius/freeradius-3.2.2.ebuild
index 394f84cd51da..d2a58e1f032a 100644
--- a/net-dialup/freeradius/freeradius-3.2.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.2.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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-27 Thread Joonas Niilola
commit: a624ea84bec7bafb42e92db83f493ddf96c35324
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb 27 09:03:34 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 09:03:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a624ea84

net-dialup/freeradius: add 3.2.2

Bug: https://bugs.gentoo.org/891265
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest|   1 +
 net-dialup/freeradius/freeradius-3.2.2.ebuild | 309 ++
 2 files changed, 310 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 43e60f45684a..ef9b716256c7 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -2,3 +2,4 @@ DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2
 DIST freeradius-3.0.26.tar.gz 5300930 BLAKE2B 
e8922182f69ff201af331a03ef109072d24fb169c14179c5e71910ed3f767526afd7efe6000fd8a3881fa2ddb0487ebd12f8fdf6845136fdc15fdcb8a83fdf39
 SHA512 
83825ce1dd3d2e005c11d10ebadd2b37884130c158d3ea43595fa52478e3d194725b15dc73633758b0b1e916e00ea9358d254c38c2b721c475c9a4235aa1a5a3
 DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d
 DIST freeradius-server-3.2.1.tar.bz2 3399164 BLAKE2B 
d0e69d468736d2a5dd85b32bb8b1fa44f2e56725ae525a3895df1b926f5ce525c70af08c2b76b62a9479d00d02c3e4915586fb1e5c7d42955c6b9e5cdeda8f6e
 SHA512 
0f9e98cbf0eff4c5af54731ec34a8c9070252eaf2f91ca0c87caae939f6356fa91a6e1ed98ba66dbf1c1bafecdfcf38603fb4f65a5955e88974f49a5b7885f7a
+DIST freeradius-server-3.2.2.tar.bz2 3418998 BLAKE2B 
584d1ff79cf3a75c79f5b24f9e47d7c8d8caee0d706eb47bb387300172f0699f904804d963aab8c252a21fe67f7885a47659b8cd9db5292a6d4db087d72e8e38
 SHA512 
91dc574560a1f75cafa8bc78c0676f0e3dae7154ecbb395e0e1f6738f78d8bcfe1bff122364452798fd0434c4056fd946799b8f29a1141398bf0542a37870689

diff --git a/net-dialup/freeradius/freeradius-3.2.2.ebuild 
b/net-dialup/freeradius/freeradius-3.2.2.ebuild
new file mode 100644
index ..3861bc2421d5
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.2.2.ebuild
@@ -0,0 +1,309 @@
+# Copyright 1999-2023 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"
+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 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.
+
+RDEPEND="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:= )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# bug #721040
+QA_SONAME="usr/lib.*/libfreeradius-.*.so"
+
+PATCHES=(
+   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-27 Thread Joonas Niilola
commit: 88befb5372fc96f806de06bef0caca0bf4488b6e
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Mon Feb 27 08:27:26 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 08:30:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88befb53

net-dialup/freeradius: add 3.0.26

Bug: https://bugs.gentoo.org/891265
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.26.ebuild | 267 +
 2 files changed, 268 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 50b41597c0d5..4580ae850f7a 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1,3 @@
 DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2697bdec7994485516ef338908b46f2168260b7acf1a7120a687e543f0381bb787567bb4d564b9d14a3eb464a0e9ed6
 SHA512 
13382a53e6a1a4495c6f53e662ce21b80d73b6134a72f099f05495b64c56ae1a6c1cd1281311f1c3695d8532207fe5bd3d2026ed2c45f3cb5adb1011f1505ee7
+DIST freeradius-3.0.26.tar.gz 5300930 BLAKE2B 
e8922182f69ff201af331a03ef109072d24fb169c14179c5e71910ed3f767526afd7efe6000fd8a3881fa2ddb0487ebd12f8fdf6845136fdc15fdcb8a83fdf39
 SHA512 
83825ce1dd3d2e005c11d10ebadd2b37884130c158d3ea43595fa52478e3d194725b15dc73633758b0b1e916e00ea9358d254c38c2b721c475c9a4235aa1a5a3
 DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d

diff --git a/net-dialup/freeradius/freeradius-3.0.26.ebuild 
b/net-dialup/freeradius/freeradius-3.0.26.ebuild
new file mode 100644
index ..a2e2c1dd3980
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.26.ebuild
@@ -0,0 +1,267 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..10} )
+inherit autotools pam python-single-r1 systemd
+
+MY_PV=$(ver_rs 1- "_")
+
+DESCRIPTION="Highly configurable free RADIUS server"
+HOMEPAGE="https://freeradius.org/;
+SRC_URI="https://github.com/FreeRADIUS/freeradius-server/archive/release_${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/freeradius-server-release_${MY_PV}"
+
+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
+   pcap postgres python readline redis rest samba sqlite ssl systemd
+"
+
+RESTRICT="test 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.
+RDEPEND="acct-group/radius
+   acct-user/radius
+   !net-dialup/cistronradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   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 )
+   pcap? ( net-libs/libpcap )
+   postgres? ( dev-db/postgresql:= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   redis? ( dev-libs/hiredis:= )
+   rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
+   sqlite? ( dev-db/sqlite:3 )
+   ssl? (
+   dev-libs/openssl:0=[-bindist(-)]
+   )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# 721040
+QA_SONAME="usr/lib.*/libfreeradius-.*.so"
+
+PATCHES=(
+   "${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() {
+   # 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.
+
+   eapply_user
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-27 Thread Joonas Niilola
commit: b3ba1ccdbb78b40fc07e108cd7a30f92bbc59d9f
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Mon Feb 27 08:28:14 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 08:30:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ba1ccd

net-dialup/freeradius: add 3.2.1

Bug: https://bugs.gentoo.org/891265
Closes: https://bugs.gentoo.org/897082
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/29342
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest|   1 +
 net-dialup/freeradius/freeradius-3.2.1.ebuild | 311 ++
 2 files changed, 312 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 4580ae850f7a..43e60f45684a 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1,4 @@
 DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2697bdec7994485516ef338908b46f2168260b7acf1a7120a687e543f0381bb787567bb4d564b9d14a3eb464a0e9ed6
 SHA512 
13382a53e6a1a4495c6f53e662ce21b80d73b6134a72f099f05495b64c56ae1a6c1cd1281311f1c3695d8532207fe5bd3d2026ed2c45f3cb5adb1011f1505ee7
 DIST freeradius-3.0.26.tar.gz 5300930 BLAKE2B 
e8922182f69ff201af331a03ef109072d24fb169c14179c5e71910ed3f767526afd7efe6000fd8a3881fa2ddb0487ebd12f8fdf6845136fdc15fdcb8a83fdf39
 SHA512 
83825ce1dd3d2e005c11d10ebadd2b37884130c158d3ea43595fa52478e3d194725b15dc73633758b0b1e916e00ea9358d254c38c2b721c475c9a4235aa1a5a3
 DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d
+DIST freeradius-server-3.2.1.tar.bz2 3399164 BLAKE2B 
d0e69d468736d2a5dd85b32bb8b1fa44f2e56725ae525a3895df1b926f5ce525c70af08c2b76b62a9479d00d02c3e4915586fb1e5c7d42955c6b9e5cdeda8f6e
 SHA512 
0f9e98cbf0eff4c5af54731ec34a8c9070252eaf2f91ca0c87caae939f6356fa91a6e1ed98ba66dbf1c1bafecdfcf38603fb4f65a5955e88974f49a5b7885f7a

diff --git a/net-dialup/freeradius/freeradius-3.2.1.ebuild 
b/net-dialup/freeradius/freeradius-3.2.1.ebuild
new file mode 100644
index ..86036194b49c
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.2.1.ebuild
@@ -0,0 +1,311 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+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 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.
+
+RDEPEND="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
+   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:= )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# bug #721040
+QA_SONAME="usr/lib.*/libfreeradius-.*.so"
+
+PATCHES=(
+   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-02-01 Thread Arthur Zamarin
commit: 2af819474ba84ac9ec65bda469198b4a5de1e1d3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb  1 09:51:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb  1 09:51:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af81947

net-dialup/freeradius: Stabilize 3.2.0 arm64, #886751

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dialup/freeradius/freeradius-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.2.0.ebuild 
b/net-dialup/freeradius/freeradius-3.2.0.ebuild
index 194ed44a2e91..30a0e6a740ac 100644
--- a/net-dialup/freeradius/freeradius-3.2.0.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.0.ebuild
@@ -17,7 +17,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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/files/, net-dialup/freeradius-client/

2023-01-10 Thread Sam James
commit: b9832472df5cd80f931ef2d6411a7b2a500918ad
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 10:48:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 10:52:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9832472

net-dialup/freeradius-client: fix configure w/ clang 16

Signed-off-by: Sam James  gentoo.org>

 .../freeradius-client-1.1.7-configure-clang16.patch | 17 +
 1.7-r2.ebuild => freeradius-client-1.1.7-r3.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git 
a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
 
b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
new file mode 100644
index ..58cf78c6ff23
--- /dev/null
+++ 
b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
@@ -0,0 +1,17 @@
+https://src.fedoraproject.org/rpms/freeradius-client/c/12ee8b567ce2a1b6637ad01e5806a15eeef410cc?branch=rawhide
+
+Add return type to main for autoconf check for C99 compliance.
+https://github.com/FreeRADIUS/freeradius-client/issues/113
+
+--- a/configure.in
 b/configure.in
+@@ -212,7 +212,7 @@ then
+   AC_TRY_RUN([
+   #include 
+   
+-  main(int argc, char **argv)
++  int main(int argc, char **argv)
+   {
+   struct utsname uts;
+   uts.domainname[0] = '\0';
+

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
similarity index 92%
rename from net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
rename to net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
index 447e44887dd1..45d79ae7e6ab 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,6 +28,7 @@ DOCS=(
 
 PATCHES=(
"${FILESDIR}/${PN}-1.1.7-ar-configure.in.patch"
+   "${FILESDIR}/${PN}-1.1.7-configure-clang16.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-01-08 Thread Joonas Niilola
commit: 05a2d986105b0eb15223ce4a8e6a52bc1785a0e7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jan  8 09:06:58 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jan  8 09:09:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a2d986

net-dialup/freeradius: Stabilize 3.2.0 amd64, #886751

Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/freeradius-3.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.2.0.ebuild 
b/net-dialup/freeradius/freeradius-3.2.0.ebuild
index 32e5bc79e5f8..7063c205a128 100644
--- a/net-dialup/freeradius/freeradius-3.2.0.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2023-01-08 Thread Joonas Niilola
commit: 25a6403658f4dcf4ce37576643ff129454c09702
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jan  8 09:08:56 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jan  8 09:09:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a64036

net-dialup/freeradius: MissingRemoteId

Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index 2ae23726ccd2..a97e6b26d249 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -19,4 +19,7 @@
   Include support for MongoDB database
 
   
+  
+FreeRADIUS/freeradius-server
+  
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-12-18 Thread Arthur Zamarin
commit: 4265d5567ae7a47e0c4a6da17ff902c00181f95f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 18 20:22:19 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 18 20:22:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4265d556

net-dialup/freeradius: Stabilize 3.2.0 x86, #886751

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dialup/freeradius/freeradius-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.2.0.ebuild 
b/net-dialup/freeradius/freeradius-3.2.0.ebuild
index 8bc300f849ea..32e5bc79e5f8 100644
--- a/net-dialup/freeradius/freeradius-3.2.0.ebuild
+++ b/net-dialup/freeradius/freeradius-3.2.0.ebuild
@@ -17,7 +17,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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/

2022-11-24 Thread Sam James
commit: ebef88938ec94e9bf3159dbbe54faa2aeb83beb5
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 25 05:22:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 25 05:22:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebef8893

net-dialup/freeradius: restore patch

Closes: https://bugs.gentoo.org/882883
Fixes: 85dea602dd8491d8b2457b933a36508bced8cb74
Signed-off-by: Sam James  gentoo.org>

 .../files/freeradius-3.0.20-systemd-service.patch  | 57 ++
 1 file changed, 57 insertions(+)

diff --git 
a/net-dialup/freeradius/files/freeradius-3.0.20-systemd-service.patch 
b/net-dialup/freeradius/files/freeradius-3.0.20-systemd-service.patch
new file mode 100644
index ..04223657d5f5
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.0.20-systemd-service.patch
@@ -0,0 +1,57 @@
+diff --git a/debian/freeradius.service b/debian/freeradius.service
+index 378702d184..ee33c2a294 100644
+--- a/debian/freeradius.service
 b/debian/freeradius.service
+@@ -7,7 +7,6 @@ Documentation=man:radiusd(8) man:radiusd.conf(5) 
http://wiki.freeradius.org/ htt
+ Type=notify
+ WatchdogSec=60
+ NotifyAccess=all
+-EnvironmentFile=-/etc/default/freeradius
+ 
+ # FreeRADIUS can do static evaluation of policy language rules based
+ # on environmental variables which is very useful for doing per-host
+@@ -25,16 +24,15 @@ MemoryLimit=2G
+ # Ensure the daemon can still write its pidfile after it drops
+ # privileges. Combination of options that work on a variety of
+ # systems. Test very carefully if you alter these lines.
+-RuntimeDirectory=freeradius
++RuntimeDirectory=radiusd
+ RuntimeDirectoryMode=0775
+ # This does not work on Debian Jessie:
+-User=freerad
+-Group=freerad
+-# This does not work on Ubuntu Bionic:
+-ExecStartPre=/bin/chown freerad:freerad /var/run/freeradius
++User=radius
++Group=radius
+ 
+-ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
+-ExecStart=/usr/sbin/freeradius -f $FREERADIUS_OPTIONS
++ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTIONS -Cx -lstdout
++ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTIONS
++ExecReload=/bin/kill -HUP $MAINPID
+ Restart=on-failure
+ RestartSec=5
+ 
+@@ -42,7 +40,7 @@ RestartSec=5
+ NoNewPrivileges=true
+ 
+ # Allow binding to secure ports, broadcast addresses, and raw interfaces.
+-#CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST 
CAP_NET_RAW CAP_SETUID CAP_SETGID CAP_CHOWN CAP_DAC_OVERRIDE
++CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST 
CAP_NET_RAW CAP_SETUID CAP_SETGID CAP_CHOWN CAP_DAC_OVERRIDE
+ 
+ # Private /tmp that isn't shared by other processes
+ PrivateTmp=true
+@@ -60,10 +58,10 @@ ProtectKernelTunables=true
+ SystemCallArchitectures=native
+ 
+ # We shouldn't be writing to the configuration directory
+-ReadOnlyDirectories=/etc/freeradius/
++ReadOnlyDirectories=/etc/raddb/
+ 
+ # We can read and write to the log directory.
+-ReadWriteDirectories=/var/log/freeradius/
++ReadWriteDirectories=/var/log/radius/
+ 
+ [Install]
+ WantedBy=multi-user.target



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2022-11-15 Thread Michał Górny
commit: b36c75033bcad48f871efdf74deb5267d7d9b175
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 15 18:13:42 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 15 18:16:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36c7503

net-dialup/freeradius: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-dialup/freeradius/Manifest|   3 -
 net-dialup/freeradius/files/radius.conf-r4|  16 --
 net-dialup/freeradius/files/radius.conf-r5|  18 --
 net-dialup/freeradius/files/radius.init-r3|  31 ---
 net-dialup/freeradius/freeradius-3.0.21-r5.ebuild | 267 --
 net-dialup/freeradius/freeradius-3.0.22-r4.ebuild | 267 --
 6 files changed, 602 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 0114b1e4c4fd..50b41597c0d5 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,5 +1,2 @@
 DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2697bdec7994485516ef338908b46f2168260b7acf1a7120a687e543f0381bb787567bb4d564b9d14a3eb464a0e9ed6
 SHA512 
13382a53e6a1a4495c6f53e662ce21b80d73b6134a72f099f05495b64c56ae1a6c1cd1281311f1c3695d8532207fe5bd3d2026ed2c45f3cb5adb1011f1505ee7
-DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312
-DIST freeradius-server-3.0.21.tar.gz 5028506 BLAKE2B 
3ccf9704a1f8b1ec5f6f066a475083fe7cefa793e8f53ecd287866fc505a832bf8031a4d07c2e07f79da6c6fb82e6a3435b0154d1f135167ebddfc9b8d401544
 SHA512 
85af1c305e99a56400b04be5c966900e7df8beb7b54626d6aa0cb300dc124817e43b424f9b27d86966bb76cca87dce741812ed8d681a568c7d7b63b3b53a9dfa
-DIST freeradius-server-3.0.22.tar.gz 5248422 BLAKE2B 
b48170a02a354562dc2dd27230476d2ce0823fa2f577dde3f3947ee14653d912a562eb480c2d2ed53b0ff536f63ce4482b24f2777b4a41ff2ed4aba88f4c196e
 SHA512 
8ee05350b1a5e811a51030a3ef0c511c58275407171f0ce41775e3695f3e9a4477e2fc288541015d314be5457154201d4e95f4c45cf7f503bc8829909c2551a8
 DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d

diff --git a/net-dialup/freeradius/files/radius.conf-r4 
b/net-dialup/freeradius/files/radius.conf-r4
deleted file mode 100644
index a5760d29f7b9..
--- a/net-dialup/freeradius/files/radius.conf-r4
+++ /dev/null
@@ -1,16 +0,0 @@
-# Config file for /etc/init.d/radiusd
-
-# see man pages for radiusd run `radiusd -h`
-# for valid cmdline options
-#RADIUSD_OPTS=""
-
-# Change this value if you change it in /etc/raddb/radiusd.conf
-pidfile=/var/run/radiusd/radiusd.pid
-
-# Change these values if you change them in /etc/raddb/radiusd.conf
-RADIUSD_USER=radius
-RADIUSD_GROUP=radius
-
-# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want
-# to uncomment the following line.
-#rc_use="logger"

diff --git a/net-dialup/freeradius/files/radius.conf-r5 
b/net-dialup/freeradius/files/radius.conf-r5
deleted file mode 100644
index 7114c32ef923..
--- a/net-dialup/freeradius/files/radius.conf-r5
+++ /dev/null
@@ -1,18 +0,0 @@
-# Config file for /etc/init.d/radiusd
-
-# see man pages for radiusd run `radiusd -h`
-# for valid cmdline options
-#RADIUSD_OPTS=""
-
-# Change this value if you change it in /etc/raddb/radiusd.conf
-pidfile=/var/run/radiusd/radiusd.pid
-
-# Change these values if you change them in /etc/raddb/radiusd.conf
-RADIUSD_USER=radius
-RADIUSD_GROUP=radius
-
-RADIUSD_LOGPATH=/var/log/radius
-
-# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want
-# to uncomment the following line.
-#rc_use="logger"

diff --git a/net-dialup/freeradius/files/radius.init-r3 
b/net-dialup/freeradius/files/radius.init-r3
deleted file mode 100644
index 9c16ac59b41e..
--- a/net-dialup/freeradius/files/radius.init-r3
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command=/usr/sbin/radiusd
-command_args="${RADIUSD_OPTS}"
-pidfile="${pidfile:-/run/radiusd/radiusd.pid}"
-extra_started_commands="reload"
-
-depend() {
-   need localmount
-   use dns
-}
-
-start_pre() {
-   if [ ! -f /etc/raddb/radiusd.conf ] ; then
-   eerror "No /etc/raddb/radiusd.conf file exists!"
-   return 1
-   fi
-
-   checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \
-   $(dirname ${pidfile}) /var/log/radius
-   checkpath -m0750 -o 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2022-11-15 Thread Michał Górny
commit: 85dea602dd8491d8b2457b933a36508bced8cb74
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 15 18:12:43 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 15 18:16:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85dea602

net-dialup/freeradius: Remove py3.8-only versions

Signed-off-by: Michał Górny  gentoo.org>

 .../files/freeradius-3.0.20-py3-fixes.patch| 472 -
 .../files/freeradius-3.0.20-systemd-service.patch  |  57 ---
 net-dialup/freeradius/freeradius-3.0.20-r5.ebuild  | 271 
 3 files changed, 800 deletions(-)

diff --git a/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch 
b/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch
deleted file mode 100644
index 83dc20090ed2..
--- a/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch
+++ /dev/null
@@ -1,472 +0,0 @@
-diff --git a/raddb/mods-available/python3 b/raddb/mods-available/python3
-index 246dfd74ce..0593c69f1a 100644
 a/raddb/mods-available/python3
-+++ b/raddb/mods-available/python3
-@@ -13,7 +13,7 @@ python3 {
-   #  item is GLOBAL TO THE SERVER.  That is, you cannot have two
-   #  instances of the python module, each with a different path.
-   #
--#python_path="/path/to/python/files:/another_path/to/python_files/"
-+# python_path="${modconfdir}/${.:name}:/another_path/to/python_files"
- 
-   module = example
- 
-diff --git a/src/modules/rlm_python3/configure.ac 
b/src/modules/rlm_python3/configure.ac
-index a00320fda4..295a2486d2 100644
 a/src/modules/rlm_python3/configure.ac
-+++ b/src/modules/rlm_python3/configure.ac
-@@ -8,128 +8,75 @@ if test x$with_[]modname != xno; then
-   AC_PROG_CC
-   AC_PROG_CPP
- 
--  dnl extra argument: --with-rlm-python3-bin
--  PYTHON3_BIN=
--  AC_ARG_WITH(rlm-python3-bin,
--  [  --with-rlm-python3-bin=PATH   Path to python3 binary []],
-+  dnl extra argument: --with-rlm-python3-config-bin
-+  PYTHON3_CONFIG_BIN=
-+  AC_ARG_WITH(rlm-python3-config-bin,
-+  [  --with-rlm-python3-config-bin=PATH   Path to python-config3 binary 
[]],
-   [ case "$withval" in
-   no)
--  AC_MSG_ERROR(Need rlm-python3-bin)
-+  AC_MSG_ERROR(Need rlm-python3-config-bin)
-   ;;
-   yes)
-   ;;
-   *)
--  PYTHON3_BIN="$withval"
-+  PYTHON3_CONFIG_BIN="$withval"
-   ;;
- esac ]
-   )
- 
--  if test "x$PYTHON3_BIN" = x; then
--  AC_CHECK_PROGS(PYTHON3_BIN, [ python3 ], not-found, 
[${PATH}:/usr/bin:/usr/local/bin])
-+  if test "x$PYTHON3_CONFIG_BIN" = x; then
-+  AC_CHECK_PROGS(PYTHON3_CONFIG_BIN, [ python3-config ], 
not-found, [${PATH}:/usr/bin:/usr/local/bin])
-   fi
- 
--  if test "x$PYTHON3_BIN" = "xnot-found"; then
--  fail="python-binary"
--  fi
--
--  dnl extra argument: --with-rlm-python3-lib-dir
--  PY_LIB_DIR=
--  AC_ARG_WITH(rlm-python3-lib-dir,
--  [  --with-rlm-python3-lib-dir=DIR   Directory for Python library 
files []],
--  [ case "$withval" in
--  no)
--  AC_MSG_ERROR(Need rlm-python3-lib-dir)
--  ;;
--  yes)
--  ;;
--  *)
--  PY_LIB_DIR="$withval"
--  ;;
--esac ]
--  )
--
--  dnl extra argument: --with-rlm-python3-include-dir
--  PY_INC_DIR=
--  AC_ARG_WITH(rlm-python3-include-dir,
--  [  --with-rlm-python3-include-dir=DIR   Directory for Python include 
files []],
--  [ case "$withval" in
--  no)
--  AC_MSG_ERROR(Need rlm-python3-include-dir)
--  ;;
--  yes)
--  ;;
--  *)
--  PY_INC_DIR="$withval"
--  ;;
--esac ]
--  )
--
--  if test x$fail = x; then
--  PY_PREFIX=`${PYTHON3_BIN} -c 'import sys ; print(sys.prefix)'`
--  AC_MSG_NOTICE([Python sys.prefix \"${PY_PREFIX}\"])
--
--  PY_EXEC_PREFIX=`${PYTHON3_BIN} -c 'import sys ; 
print(sys.exec_prefix)'`
--  AC_MSG_NOTICE([Python sys.exec_prefix \"${PY_EXEC_PREFIX}\"])
--
--  PY_SYS_VERSION=`${PYTHON3_BIN} -c 'import sys ; 
print(sys.version[[0:3]])'`
--  AC_MSG_NOTICE([Python sys.version \"${PY_SYS_VERSION}\"])
--
--  if test "x$PY_LIB_DIR" = "x"; then
--  
PY_LIB_DIR="$PY_EXEC_PREFIX/lib/python${PY_SYS_VERSION}/config"
--  
PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python${PY_SYS_VERSION}/config"
--  fi
--
--  
PY_MAKEFILE="$PY_EXEC_PREFIX/lib/python${PY_SYS_VERSION}/config/Makefile"
--  if test -f ${PY_MAKEFILE}; then
--  PY_LOCAL_MOD_LIBS=`sed -n -e 
's/^LOCALMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE | sed -e 's/[[[:blank:]]]/ /g;s/^ 
*//;s/ *$//'`
-- 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-06-10 Thread Sam James
commit: c42cf46c03f80f53bd1cad1d287c50064509567a
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 11 04:53:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 05:01:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42cf46c

net-dialup/freeradius: add 3.2.0

Closes: https://bugs.gentoo.org/805269
Closes: https://bugs.gentoo.org/779631
Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/Manifest|   1 +
 net-dialup/freeradius/freeradius-3.2.0.ebuild | 309 ++
 2 files changed, 310 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 9c312f87501d..0114b1e4c4fd 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -2,3 +2,4 @@ DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2
 DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312
 DIST freeradius-server-3.0.21.tar.gz 5028506 BLAKE2B 
3ccf9704a1f8b1ec5f6f066a475083fe7cefa793e8f53ecd287866fc505a832bf8031a4d07c2e07f79da6c6fb82e6a3435b0154d1f135167ebddfc9b8d401544
 SHA512 
85af1c305e99a56400b04be5c966900e7df8beb7b54626d6aa0cb300dc124817e43b424f9b27d86966bb76cca87dce741812ed8d681a568c7d7b63b3b53a9dfa
 DIST freeradius-server-3.0.22.tar.gz 5248422 BLAKE2B 
b48170a02a354562dc2dd27230476d2ce0823fa2f577dde3f3947ee14653d912a562eb480c2d2ed53b0ff536f63ce4482b24f2777b4a41ff2ed4aba88f4c196e
 SHA512 
8ee05350b1a5e811a51030a3ef0c511c58275407171f0ce41775e3695f3e9a4477e2fc288541015d314be5457154201d4e95f4c45cf7f503bc8829909c2551a8
+DIST freeradius-server-3.2.0.tar.bz2 3399380 BLAKE2B 
103cb1faf7efd78520dd613da51671ff37b870fcd356d7d11454d655cf460bcb4132cd91b99be70557242907dd5e4d741b6a776de81c37a24ab9d04a4fe5866b
 SHA512 
e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d

diff --git a/net-dialup/freeradius/freeradius-3.2.0.ebuild 
b/net-dialup/freeradius/freeradius-3.2.0.ebuild
new file mode 100644
index ..8bc300f849ea
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.2.0.ebuild
@@ -0,0 +1,309 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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 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.
+
+RDEPEND="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
+   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:= )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# bug #721040
+QA_SONAME="usr/lib.*/libfreeradius-.*.so"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.0.20-systemd-service.patch
+)
+

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-05-06 Thread Matt Turner
commit: 60bc7025606aa2dc4ae7ef342060507d80038eac
Author: orbea  riseup  net>
AuthorDate: Fri May  6 16:08:05 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri May  6 17:59:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60bc7025

net-dialup/freeradius: Fix typo in ebuild

It should be -shared and not --shared and this typo causes the
build to fail with slibtool.

Additionally it needs slibtool-shared and not rlibtool.

Bug: https://bugs.gentoo.org/786102
Closes: https://github.com/gentoo/gentoo/pull/25351
Signed-off-by: orbea  riseup.net>
Signed-off-by: Matt Turner  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.25-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
index 1577a0e55c8a..050f03a07fe2 100644
--- a/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
@@ -129,15 +129,15 @@ src_prepare() {
raddb/radiusd.conf.in || die
 
# verbosity
-   # build shared libraries using jlibtool --shared
+   # build shared libraries using jlibtool -shared
sed -i \
-e '/$(LIBTOOL)/s|--quiet ||g' \
-   -e 's:--mode=\(compile\|link\):& --shared:g' \
+   -e 's:--mode=\(compile\|link\):& -shared:g' \
Make.inc.in || die
 
sed -i \
-e 's|--silent ||g' \
-   -e 's:--mode=\(compile\|link\):& --shared:g' \
+   -e 's:--mode=\(compile\|link\):& -shared:g' \
scripts/libtool.mk || die
 
# crude measure to stop jlibtool from running ranlib and ar



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-03-22 Thread Sam James
commit: d2a485e0a9fe36e1eeb3c5f434ddd09d14f013a9
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 23 00:23:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 23 00:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2a485e0

net-dialup/freeradius: add subslot dep on OpenLDAP

New OpenLDAP breaks ABI (changes SONAME)

Signed-off-by: Sam James  gentoo.org>

 .../{freeradius-3.0.20-r4.ebuild => freeradius-3.0.20-r5.ebuild}  | 4 ++--
 .../{freeradius-3.0.21-r4.ebuild => freeradius-3.0.21-r5.ebuild}  | 4 ++--
 .../{freeradius-3.0.22-r3.ebuild => freeradius-3.0.22-r4.ebuild}  | 4 ++--
 .../{freeradius-3.0.25-r1.ebuild => freeradius-3.0.25-r2.ebuild}  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20-r4.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r5.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.20-r4.ebuild
rename to net-dialup/freeradius/freeradius-3.0.20-r5.ebuild
index be87dbf9966f..e1d17f101601 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r4.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r5.ebuild
@@ -41,9 +41,9 @@ RDEPEND="acct-group/radius
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
+   ldap? ( net-nds/openldap:= )
memcached? ( dev-libs/libmemcached )
-   mysql? ( dev-db/mysql-connector-c )
+   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] )

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r4.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r5.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.21-r4.ebuild
rename to net-dialup/freeradius/freeradius-3.0.21-r5.ebuild
index 896766f075a7..0446eb5f201c 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r4.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r5.ebuild
@@ -41,9 +41,9 @@ RDEPEND="acct-group/radius
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
+   ldap? ( net-nds/openldap:= )
memcached? ( dev-libs/libmemcached )
-   mysql? ( dev-db/mysql-connector-c )
+   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] )

diff --git a/net-dialup/freeradius/freeradius-3.0.22-r3.ebuild 
b/net-dialup/freeradius/freeradius-3.0.22-r4.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.22-r3.ebuild
rename to net-dialup/freeradius/freeradius-3.0.22-r4.ebuild
index 06341165e705..1f36dfb9b760 100644
--- a/net-dialup/freeradius/freeradius-3.0.22-r3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.22-r4.ebuild
@@ -41,9 +41,9 @@ RDEPEND="acct-group/radius
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
+   ldap? ( net-nds/openldap:= )
memcached? ( dev-libs/libmemcached )
-   mysql? ( dev-db/mysql-connector-c )
+   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] )

diff --git a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
rename to net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
index 47033376634e..1577a0e55c8a 100644
--- a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r2.ebuild
@@ -40,9 +40,9 @@ RDEPEND="acct-group/radius
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
+   ldap? ( net-nds/openldap:= )
memcached? ( dev-libs/libmemcached )
-   mysql? ( dev-db/mysql-connector-c )
+   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] )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-02-20 Thread Agostino Sarubbo
commit: cbe08e7cce9e503fa60d4e6b1c5426bafb6d192e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 20 09:15:46 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 20 09:15:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe08e7c

net-dialup/freeradius: x86 stable wrt bug #833705

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.25-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
index 5c9a03c69c81..47033376634e 100644
--- a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/freeradius-server-release_${MY_PV}"
 
 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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-02-19 Thread Arthur Zamarin
commit: 86d1fa1886b9576829cdac8168852d33228be461
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 13:33:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 13:33:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d1fa18

net-dialup/freeradius: Stabilize 3.0.25-r1 arm64, #833705

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.25-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
index b1a1dbc5acda..5c9a03c69c81 100644
--- a/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/freeradius-server-release_${MY_PV}"
 
 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



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2022-01-15 Thread Sam James
commit: 2d7f9ad3aecabf2da65986b89f1bfe4f13837885
Author: Marco Genasci  gmail  com>
AuthorDate: Fri Jan  7 12:55:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 15 21:50:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7f9ad3

net-dialup/freeradius: changed old oracle-instantclient-basic dependency

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Genasci  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../{freeradius-3.0.20-r3.ebuild => freeradius-3.0.20-r4.ebuild}  | 4 ++--
 .../{freeradius-3.0.21-r3.ebuild => freeradius-3.0.21-r4.ebuild}  | 4 ++--
 .../{freeradius-3.0.22-r2.ebuild => freeradius-3.0.22-r3.ebuild}  | 4 ++--
 .../{freeradius-3.0.25.ebuild => freeradius-3.0.25-r1.ebuild} | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20-r3.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r4.ebuild
similarity index 98%
rename from net-dialup/freeradius/freeradius-3.0.20-r3.ebuild
rename to net-dialup/freeradius/freeradius-3.0.20-r4.ebuild
index f544d277e524..be87dbf9966f 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -46,7 +46,7 @@ RDEPEND="acct-group/radius
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-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pam? ( sys-libs/pam )
pcap? ( net-libs/libpcap )
postgres? ( dev-db/postgresql:= )

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r3.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r4.ebuild
similarity index 98%
rename from net-dialup/freeradius/freeradius-3.0.21-r3.ebuild
rename to net-dialup/freeradius/freeradius-3.0.21-r4.ebuild
index e2af05f86df8..896766f075a7 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r3.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -46,7 +46,7 @@ RDEPEND="acct-group/radius
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-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pam? ( sys-libs/pam )
pcap? ( net-libs/libpcap )
postgres? ( dev-db/postgresql:= )

diff --git a/net-dialup/freeradius/freeradius-3.0.22-r2.ebuild 
b/net-dialup/freeradius/freeradius-3.0.22-r3.ebuild
similarity index 98%
rename from net-dialup/freeradius/freeradius-3.0.22-r2.ebuild
rename to net-dialup/freeradius/freeradius-3.0.22-r3.ebuild
index e0e9e91e1e60..06341165e705 100644
--- a/net-dialup/freeradius/freeradius-3.0.22-r2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.22-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -46,7 +46,7 @@ RDEPEND="acct-group/radius
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-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pam? ( sys-libs/pam )
pcap? ( net-libs/libpcap )
postgres? ( dev-db/postgresql:= )

diff --git a/net-dialup/freeradius/freeradius-3.0.25.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
similarity index 98%
rename from net-dialup/freeradius/freeradius-3.0.25.ebuild
rename to net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
index 9479f1209c3d..88d3a312f0ad 100644
--- a/net-dialup/freeradius/freeradius-3.0.25.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.25-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,7 +45,7 @@ RDEPEND="acct-group/radius
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-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pam? ( sys-libs/pam )
pcap? ( net-libs/libpcap )
postgres? ( dev-db/postgresql:= )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/, net-dialup/freeradius/files/

2021-12-30 Thread Matt Turner
commit: 5921dd829647c67b900a994522325dc2e0fcb1ed
Author: Tomáš Mózes  gmail  com>
AuthorDate: Thu Dec 23 12:16:17 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 30 20:52:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5921dd82

net-dialup/freeradius: bump to 3.0.25

Closes: https://bugs.gentoo.org/719984
Closes: https://bugs.gentoo.org/721040
Closes: https://bugs.gentoo.org/784143
Closes: https://bugs.gentoo.org/816972
Closes: https://bugs.gentoo.org/818205
Closes: https://github.com/gentoo/gentoo/pull/23479
Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/files/radius.conf-r6 |  22 ++
 net-dialup/freeradius/freeradius-3.0.25.ebuild | 267 +
 3 files changed, 290 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index b3bca2a66368..9c312f87501d 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1,4 @@
+DIST freeradius-3.0.25.tar.gz 5300245 BLAKE2B 
bf8908aa7bfabb9e15fa841457f176a4f2697bdec7994485516ef338908b46f2168260b7acf1a7120a687e543f0381bb787567bb4d564b9d14a3eb464a0e9ed6
 SHA512 
13382a53e6a1a4495c6f53e662ce21b80d73b6134a72f099f05495b64c56ae1a6c1cd1281311f1c3695d8532207fe5bd3d2026ed2c45f3cb5adb1011f1505ee7
 DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312
 DIST freeradius-server-3.0.21.tar.gz 5028506 BLAKE2B 
3ccf9704a1f8b1ec5f6f066a475083fe7cefa793e8f53ecd287866fc505a832bf8031a4d07c2e07f79da6c6fb82e6a3435b0154d1f135167ebddfc9b8d401544
 SHA512 
85af1c305e99a56400b04be5c966900e7df8beb7b54626d6aa0cb300dc124817e43b424f9b27d86966bb76cca87dce741812ed8d681a568c7d7b63b3b53a9dfa
 DIST freeradius-server-3.0.22.tar.gz 5248422 BLAKE2B 
b48170a02a354562dc2dd27230476d2ce0823fa2f577dde3f3947ee14653d912a562eb480c2d2ed53b0ff536f63ce4482b24f2777b4a41ff2ed4aba88f4c196e
 SHA512 
8ee05350b1a5e811a51030a3ef0c511c58275407171f0ce41775e3695f3e9a4477e2fc288541015d314be5457154201d4e95f4c45cf7f503bc8829909c2551a8

diff --git a/net-dialup/freeradius/files/radius.conf-r6 
b/net-dialup/freeradius/files/radius.conf-r6
new file mode 100644
index ..50d2a1ce1f14
--- /dev/null
+++ b/net-dialup/freeradius/files/radius.conf-r6
@@ -0,0 +1,22 @@
+# Config file for /etc/init.d/radiusd
+
+# see man pages for radiusd run `radiusd -h`
+# for valid cmdline options
+#RADIUSD_OPTS=""
+
+# Change this value if you change it in /etc/raddb/radiusd.conf
+pidfile=/run/radiusd/radiusd.pid
+
+# Change these values if you change them in /etc/raddb/radiusd.conf
+RADIUSD_USER=radius
+RADIUSD_GROUP=radius
+
+RADIUSD_LOGPATH=/var/log/radius
+
+# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want
+# to uncomment the following line.
+#rc_use="logger"
+
+# If you use ldap, start the ldap server prior to FreeRADIUS to avoid
+# startup crashes.
+#rc_use="ldap"

diff --git a/net-dialup/freeradius/freeradius-3.0.25.ebuild 
b/net-dialup/freeradius/freeradius-3.0.25.ebuild
new file mode 100644
index ..9479f1209c3d
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.25.ebuild
@@ -0,0 +1,267 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools pam python-single-r1 systemd
+
+MY_PV=$(ver_rs 1- "_")
+
+DESCRIPTION="Highly configurable free RADIUS server"
+HOMEPAGE="https://freeradius.org/;
+SRC_URI="https://github.com/FreeRADIUS/freeradius-server/archive/release_${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/freeradius-server-release_${MY_PV}"
+
+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
+   pcap postgres python readline redis rest samba sqlite ssl systemd
+"
+
+RESTRICT="test 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.
+RDEPEND="acct-group/radius
+   acct-user/radius
+   !net-dialup/cistronradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   virtual/libcrypt:=
+   firebird? ( dev-db/firebird )
+   iodbc? ( dev-db/libiodbc )
+   kerberos? ( virtual/krb5 )
+   ldap? ( net-nds/openldap )
+   memcached? ( 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-08-21 Thread Sam James
commit: 1f2061c02b0ce09b03b37235263ac760b12ed95b
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Thu Aug 19 08:23:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 22 03:16:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f2061c0

net-dialup/freeradius-client: Adding virtual/libcrypt as dependency

Closes: https://bugs.gentoo.org/808981
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/22041
Signed-off-by: Sam James  gentoo.org>

 ...dius-client-1.1.7-r1.ebuild => freeradius-client-1.1.7-r2.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
similarity index 94%
rename from net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
rename to net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
index 087811a91b4..447e44887dd 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
@@ -15,7 +15,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 
~riscv sparc x86"
 
 IUSE="scp shadow static-libs"
 
-DEPEND="!net-dialup/radiusclient-ng"
+DEPEND="
+   !net-dialup/radiusclient-ng
+   virtual/libcrypt:=
+"
 RDEPEND="${DEPEND}"
 
 DOCS=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-07-24 Thread Marek Szuba
commit: 9d0bf253438bf2b40d60edc2689080f1d8a1705d
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul 24 22:00:15 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul 24 23:02:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0bf253

net-dialup/freeradius-client: keyword 1.1.7-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 9076da43d6d..087811a91b4 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-06-30 Thread Sam James
commit: 897ec6f8524ca31b54c52e31f7c27fe7e98c6a93
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 30 18:39:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 30 18:39:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897ec6f8

net-dialup/freeradius: add missing libcrypt dependency

Signed-off-by: Sam James  gentoo.org>

 .../{freeradius-3.0.20-r2.ebuild => freeradius-3.0.20-r3.ebuild} | 1 +
 .../{freeradius-3.0.21-r2.ebuild => freeradius-3.0.21-r3.ebuild} | 1 +
 .../{freeradius-3.0.22-r1.ebuild => freeradius-3.0.22-r2.ebuild} | 1 +
 3 files changed, 3 insertions(+)

diff --git a/net-dialup/freeradius/freeradius-3.0.20-r2.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r3.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.20-r2.ebuild
rename to net-dialup/freeradius/freeradius-3.0.20-r3.ebuild
index 69b27bf0966..f544d277e52 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r3.ebuild
@@ -37,6 +37,7 @@ RDEPEND="acct-group/radius
dev-lang/perl:=
sys-libs/gdbm:=
sys-libs/talloc
+   virtual/libcrypt:=
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r2.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r3.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.21-r2.ebuild
rename to net-dialup/freeradius/freeradius-3.0.21-r3.ebuild
index 1f0f15c1ad7..e2af05f86df 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r3.ebuild
@@ -37,6 +37,7 @@ RDEPEND="acct-group/radius
dev-lang/perl:=
sys-libs/gdbm:=
sys-libs/talloc
+   virtual/libcrypt:=
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )

diff --git a/net-dialup/freeradius/freeradius-3.0.22-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.22-r2.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.22-r1.ebuild
rename to net-dialup/freeradius/freeradius-3.0.22-r2.ebuild
index ca4fdb2b630..e0e9e91e1e6 100644
--- a/net-dialup/freeradius/freeradius-3.0.22-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.22-r2.ebuild
@@ -37,6 +37,7 @@ RDEPEND="acct-group/radius
dev-lang/perl:=
sys-libs/gdbm:=
sys-libs/talloc
+   virtual/libcrypt:=
firebird? ( dev-db/firebird )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-05-31 Thread Sam James
commit: 3ede36b0e3a9f182994ae7d7e8854fa023d4d4bc
Author: Sam James  gentoo  org>
AuthorDate: Mon May 31 23:10:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 31 23:19:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ede36b0

net-dialup/freeradius: add 3.0.22

Closes: https://bugs.gentoo.org/793395
Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.22.ebuild | 266 +
 2 files changed, 267 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 340cc08e6df..b3bca2a6636 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1,3 @@
 DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312
 DIST freeradius-server-3.0.21.tar.gz 5028506 BLAKE2B 
3ccf9704a1f8b1ec5f6f066a475083fe7cefa793e8f53ecd287866fc505a832bf8031a4d07c2e07f79da6c6fb82e6a3435b0154d1f135167ebddfc9b8d401544
 SHA512 
85af1c305e99a56400b04be5c966900e7df8beb7b54626d6aa0cb300dc124817e43b424f9b27d86966bb76cca87dce741812ed8d681a568c7d7b63b3b53a9dfa
+DIST freeradius-server-3.0.22.tar.gz 5248422 BLAKE2B 
b48170a02a354562dc2dd27230476d2ce0823fa2f577dde3f3947ee14653d912a562eb480c2d2ed53b0ff536f63ce4482b24f2777b4a41ff2ed4aba88f4c196e
 SHA512 
8ee05350b1a5e811a51030a3ef0c511c58275407171f0ce41775e3695f3e9a4477e2fc288541015d314be5457154201d4e95f4c45cf7f503bc8829909c2551a8

diff --git a/net-dialup/freeradius/freeradius-3.0.22.ebuild 
b/net-dialup/freeradius/freeradius-3.0.22.ebuild
new file mode 100644
index 000..293d9f72af3
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.22.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit autotools pam python-single-r1 systemd
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   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 )"
+
+# 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.
+RDEPEND="acct-group/radius
+   acct-user/radius
+   !net-dialup/cistronradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   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-basic )
+   pam? ( sys-libs/pam )
+   pcap? ( net-libs/libpcap )
+   postgres? ( dev-db/postgresql:= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   redis? ( dev-libs/hiredis:= )
+   rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
+   sqlite? ( dev-db/sqlite:3 )
+   ssl? (
+   dev-libs/openssl:0=[-bindist]
+   )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${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() {
+   # 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.
+
+   eapply_user
+   default
+
+   use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || 
die ; }
+   use ldap || { 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-05-31 Thread Sam James
commit: 25ee051e9ad4593aaff647078971d762f99db62b
Author: Sam James  gentoo  org>
AuthorDate: Mon May 31 23:07:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 31 23:19:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ee051e

net-dialup/freeradius: add Python 3.9

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 2706b9bc43e..7dfd7fe3a31 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 inherit autotools pam python-single-r1 systemd
 
 MY_P="${PN}-server-${PV}"



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/

2021-05-03 Thread Sam James
commit: a392cec2c172819242ab72e4b98409fc0e8e843c
Author: Sam James  gentoo  org>
AuthorDate: Mon May  3 18:33:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  3 18:45:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a392cec2

net-dialup/freeradius: drop obsolete LibreSSL patch

Signed-off-by: Sam James  gentoo.org>

 .../files/freeradius-3.0.18-libressl.patch | 63 --
 1 file changed, 63 deletions(-)

diff --git a/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch 
b/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch
deleted file mode 100644
index 129e251d87b..000
--- a/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 39e4ac0cf8d415b41dc2ff1fc329de0522b135ca Mon Sep 17 00:00:00 2001
-From: Stefan Strogin 
-Date: Wed, 24 Apr 2019 09:16:12 +0300
-Subject: [PATCH] Fix build to LibreSSL
-
-Upstream-Status: Inappropriate
-[https://github.com/FreeRADIUS/freeradius-server/commit/9652affe38f41ba2484e013cf9d2c0bcb8c80d67]
-Signed-off-by: Stefan Strogin 

- src/main/tls.c| 9 ++---
- src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c | 3 ++-
- 2 files changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/src/main/tls.c b/src/main/tls.c
-index 9726953234..840724bf61 100644
 a/src/main/tls.c
-+++ b/src/main/tls.c
-@@ -1579,7 +1579,8 @@ done:
-   return 0;
- }
- 
--#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || \
-+  (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090100fL)
- static SSL_SESSION *cbtls_get_session(SSL *ssl, unsigned char *data, int len, 
int *copy)
- #else
- static SSL_SESSION *cbtls_get_session(SSL *ssl, const unsigned char *data, 
int len, int *copy)
-@@ -3379,14 +3380,16 @@ post_ca:
-*/
-   SSL_CTX_sess_set_cache_size(ctx, conf->session_cache_size);
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10101000L
-+/* Not implemented in LibreSSL 2.9.1 */
-+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
-   SSL_CTX_set_num_tickets(ctx, 1);
- #endif
- 
-   } else {
-   SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF);
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10101000L
-+/* Not implemented in LibreSSL 2.9.1 */
-+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
-   /*
-*  This controls the number of stateful or stateless 
tickets
-*  generated with TLS 1.3.  In OpenSSL 1.1.1 it's also
-diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 
b/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
-index fa9c58f3c3..a53341fc20 100644
 a/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
-+++ b/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
-@@ -44,7 +44,8 @@ static int openssl_get_keyblock_size(REQUEST *request, SSL 
*ssl)
- {
-   const EVP_CIPHER *c;
-   const EVP_MD *h;
--#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || \
-+  (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090100fL)
-   int md_size;
- 
-   if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL ||
--- 
-2.21.0
-



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-05-02 Thread Mikle Kolyada
commit: 382219a934fefb083285fa9767ec710bef079842
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 17:59:54 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 18:00:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382219a9

net-dialup/freeradius: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20-r1.ebuild | 6 ++
 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index c51cbce499e..2912599acd8 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 )"
@@ -56,8 +56,7 @@ RDEPEND="acct-group/radius
samba? ( net-fs/samba )
sqlite? ( dev-db/sqlite:3 )
ssl? (
-   !libressl? ( dev-libs/openssl:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=[-bindist]
)
systemd? ( sys-apps/systemd )"
 DEPEND="${RDEPEND}"
@@ -67,7 +66,6 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-3.0.18-libressl.patch
"${FILESDIR}"/${P}-systemd-service.patch
# Fix rlm_python3 build
# Backport from rlm_python changes to rlm_python3

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 0dac0d7ae67..2706b9bc43e 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-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 )"
@@ -56,8 +56,7 @@ RDEPEND="acct-group/radius
samba? ( net-fs/samba )
sqlite? ( dev-db/sqlite:3 )
ssl? (
-   !libressl? ( dev-libs/openssl:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=[-bindist]
)
systemd? ( sys-apps/systemd )"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-02-28 Thread Sam James
commit: a155c5531d97f9295d1c4549c6fd081c8dad347f
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 28 15:56:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 28 15:56:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a155c553

net-dialup/freeradius: Stabilize 3.0.21-r1 amd64, #771252

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 41e6e14d178..0dac0d7ae67 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-02-26 Thread Sam James
commit: 16bb8b9d904df482b36095cc053102429ef602cb
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 26 13:54:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 26 13:54:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bb8b9d

net-dialup/freeradius: Stabilize 3.0.21-r1 arm64, #771252

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 2c58d673139..41e6e14d178 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-02-25 Thread Agostino Sarubbo
commit: 5b27eee45d36b90156e9789dcaab1199133826f5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 25 13:53:59 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 25 13:53:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b27eee4

net-dialup/freeradius: x86 stable wrt bug #771252

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 0015672f213..2c58d673139 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-24 Thread Andreas Sturmlechner
commit: 12b3ca16b60d374e308c7695e42194949f69124b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Feb 24 17:32:23 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb 24 18:30:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b3ca16

net-dialup/freeradius-client: Drop 1.1.7 (r0)

Closes: https://bugs.gentoo.org/771255
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../freeradius-client-1.1.7.ebuild | 38 --
 1 file changed, 38 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
deleted file mode 100644
index 70cf54b3fda..000
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools-utils
-
-DESCRIPTION="FreeRADIUS Client framework"
-HOMEPAGE="http://wiki.freeradius.org/Radiusclient;
-SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-IUSE="scp shadow static-libs"
-
-DEPEND="!net-dialup/radiusclient
-   !net-dialup/radiusclient-ng"
-RDEPEND="${DEPEND}"
-
-DOCS=( BUGS doc/ChangeLog doc/login.example doc/release-method.txt )
-
-src_configure() {
-   local myeconfargs=(
-   $(use_enable scp)
-   $(use_enable shadow)
-   --with-secure-path
-   )
-   autotools-utils_src_configure
-}
-
-src_install() {
-   autotools-utils_src_install
-   dodoc README*
-   newdoc doc/README README.login.example
-   dohtml doc/instop.html
-}



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-19 Thread Sam James
commit: 6b0ace24c01c7ace3559004f220d53a2ddeaa49a
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 20:03:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 20:03:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0ace24

net-dialup/freeradius-client: Stabilize 1.1.7-r1 arm64, #771255

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index c3c1605431a..9076da43d6d 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-19 Thread Sam James
commit: 903e80b792ad3930d18071b71ca5427594be37a5
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 12:03:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 12:03:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903e80b7

net-dialup/freeradius-client: Stabilize 1.1.7-r1 amd64, #771255

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 28975313aa2..c3c1605431a 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-18 Thread Sam James
commit: 39ef2a8205d373ec3d79c5bed01b2f7918a5cc7b
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 02:39:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 02:39:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ef2a82

net-dialup/freeradius-client: Stabilize 1.1.7-r1 x86, #771255

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index e2b737e2f67..28975313aa2 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-18 Thread Sam James
commit: 057e8c8cae50a41e41542f2b23cb203f2c508166
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 23:27:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 23:27:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=057e8c8c

net-dialup/freeradius-client: Stabilize 1.1.7-r1 arm, #771255

Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 705d8c64d58..e2b737e2f67 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-18 Thread Sergei Trofimovich
commit: 91b838fc1cb258581c2c3684d904efd025f5a29c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Feb 18 20:01:51 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb 18 20:01:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b838fc

net-dialup/freeradius-client: stable 1.1.7-r1 for sparc

stable wrt bug #771255

Package-Manager: Portage-3.0.14, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 346fe4b23fa..705d8c64d58 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-18 Thread Sergei Trofimovich
commit: eb9ef6c171b1cad98fd999023713e59dda14278f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Feb 18 20:01:34 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb 18 20:01:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9ef6c1

net-dialup/freeradius-client: stable 1.1.7-r1 for ppc64

stable wrt bug #771255

Package-Manager: Portage-3.0.14, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 7e8e694a062..346fe4b23fa 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2021-02-18 Thread Sergei Trofimovich
commit: ca6046934913057b15afe8bb6fff10d05aa483e4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Feb 18 20:00:14 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb 18 20:00:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca604693

net-dialup/freeradius-client: stable 1.1.7-r1 for ppc

stable wrt bug #771255

Package-Manager: Portage-3.0.14, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index c22a345c3f2..7e8e694a062 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-01-22 Thread Mikle Kolyada
commit: 9b32516c0e63edc19030f21d2a72bc453cb7034f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jan 22 17:18:41 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jan 22 17:21:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b32516c

net-dialup/freeradius: install pam files unconditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20-r1.ebuild | 6 --
 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index f29428cfc91..ded90416b5b 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -226,7 +226,9 @@ src_install() {
R="${D}" \
install
 
-   pamd_mimic_system radiusd auth account password session
+   if use pam; then
+   pamd_mimic_system radiusd auth account password session
+   fi
 
# fix #711756
fowners -R radius:radius /etc/raddb

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 3c1737e539a..fb08136cb14 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -222,7 +222,9 @@ src_install() {
R="${D}" \
install
 
-   pamd_mimic_system radiusd auth account password session
+   if use pam; then
+   pamd_mimic_system radiusd auth account password session
+   fi
 
# fix #711756
fowners -R radius:radius /etc/raddb



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2021-01-22 Thread Mikle Kolyada
commit: 30b840623a76f23cec8fef8f704d6f19b2521b40
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jan 22 17:16:33 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jan 22 17:21:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b84062

net-dialup/freeradius: Drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.21.ebuild | 266 -
 1 file changed, 266 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.21.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21.ebuild
deleted file mode 100644
index be0bf1d2179..000
--- a/net-dialup/freeradius/freeradius-3.0.21.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools pam python-single-r1 systemd
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap libressl memcached mysql mongodb 
odbc oracle pam
-   pcap postgres python readline redis rest samba sqlite ssl systemd
-"
-RESTRICT="test 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.
-RDEPEND="acct-group/radius
-   acct-user/radius
-   !net-dialup/cistronradius
-   dev-lang/perl:=
-   sys-libs/gdbm:=
-   sys-libs/talloc
-   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-basic )
-   pam? ( sys-libs/pam )
-   pcap? ( net-libs/libpcap )
-   postgres? ( dev-db/postgresql:= )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   redis? ( dev-libs/hiredis:= )
-   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= )
-   )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${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() {
-   # 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.
-
-   eapply_user
-   default
-
-   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 of 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 ; }
-   use redis || { rm -r src/modules/rlm_redis{,who} || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
-
-   # sql drivers that are not part of experimental are loaded from a
-   # 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2020-11-06 Thread Matt Turner
commit: 0823e666186e722c7786a6ae5caaec47ee2b982e
Author: Daniel M. Weeks  danweeks  net>
AuthorDate: Mon Nov  2 16:53:58 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Nov  6 21:00:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0823e666

net-dialup/freeradius: Support alternate log path in initscript

Closes: https://github.com/gentoo/gentoo/pull/18112
Signed-off-by: Daniel M. Weeks  danweeks.net>
Signed-off-by: Matt Turner  gentoo.org>

 net-dialup/freeradius/files/radius.conf-r5|  18 ++
 net-dialup/freeradius/files/radius.init-r4|  31 +++
 net-dialup/freeradius/freeradius-3.0.21-r1.ebuild | 265 ++
 3 files changed, 314 insertions(+)

diff --git a/net-dialup/freeradius/files/radius.conf-r5 
b/net-dialup/freeradius/files/radius.conf-r5
new file mode 100644
index 000..7114c32ef92
--- /dev/null
+++ b/net-dialup/freeradius/files/radius.conf-r5
@@ -0,0 +1,18 @@
+# Config file for /etc/init.d/radiusd
+
+# see man pages for radiusd run `radiusd -h`
+# for valid cmdline options
+#RADIUSD_OPTS=""
+
+# Change this value if you change it in /etc/raddb/radiusd.conf
+pidfile=/var/run/radiusd/radiusd.pid
+
+# Change these values if you change them in /etc/raddb/radiusd.conf
+RADIUSD_USER=radius
+RADIUSD_GROUP=radius
+
+RADIUSD_LOGPATH=/var/log/radius
+
+# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want
+# to uncomment the following line.
+#rc_use="logger"

diff --git a/net-dialup/freeradius/files/radius.init-r4 
b/net-dialup/freeradius/files/radius.init-r4
new file mode 100644
index 000..dee1842e5cb
--- /dev/null
+++ b/net-dialup/freeradius/files/radius.init-r4
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/sbin/radiusd
+command_args="${RADIUSD_OPTS}"
+pidfile="${pidfile:-/run/radiusd/radiusd.pid}"
+extra_started_commands="reload"
+
+depend() {
+   need localmount
+   use dns
+}
+
+start_pre() {
+   if [ ! -f /etc/raddb/radiusd.conf ] ; then
+   eerror "No /etc/raddb/radiusd.conf file exists!"
+   return 1
+   fi
+
+   checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \
+   $(dirname ${pidfile}) "${RADIUSD_LOGPATH:-/var/log/radius}"
+   checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \
+   $(dirname ${pidfile}) /run/radiusd
+}
+
+reload() {
+   ebegin "Reloading radiusd"
+   kill -HUP $(cat ${pidfile})
+   eend $?
+}

diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
new file mode 100644
index 000..3c1737e539a
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
@@ -0,0 +1,265 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit autotools pam python-single-r1 systemd
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap libressl memcached mysql mongodb 
odbc oracle pam
+   pcap postgres python readline redis rest samba sqlite ssl systemd
+"
+RESTRICT="test 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.
+RDEPEND="acct-group/radius
+   acct-user/radius
+   !net-dialup/cistronradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   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-basic )
+   pam? ( sys-libs/pam )
+   pcap? ( net-libs/libpcap )
+   postgres? ( dev-db/postgresql:= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   redis? ( dev-libs/hiredis:= )
+   rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
+   sqlite? ( dev-db/sqlite:3 )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0=[-bindist] )
+   libressl? ( 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-10-17 Thread Joonas Niilola
commit: be67148802010c6065e170c4d1d43c3ef3967fe2
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Sep 18 10:11:44 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 17 13:19:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be671488

net-dialup/freeradius: Fix /etc/raddb permissions

Package-Manager: Portage-2.3.89, Repoman-2.3.22
Signed-off-by: Daniele Rondina  gmail.com>
Closes: https://bugs.gentoo.org/711756
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index b7e8e652bc8..eb74f42057c 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -228,6 +228,10 @@ src_install() {
 
pamd_mimic_system radiusd auth account password session
 
+   # fix #711756
+   fowners -R radius:radius /etc/raddb
+   fowners -R radius:radius /var/log/radius
+
dodoc CREDITS
 
rm "${ED}/usr/sbin/rc.radiusd" || die
@@ -246,6 +250,7 @@ src_install() {
systemd_dounit "${S}"/debian/freeradius.service
 
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+
 }
 
 pkg_config() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-10-17 Thread Joonas Niilola
commit: 6356751296e6c60246966303f8c3222c09d8ea6e
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Sep 18 12:06:27 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 17 13:19:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63567512

net-dialup/freeradius: Bump v.3.0.21

Package-Manager: Portage-2.3.89, Repoman-2.3.22
Signed-off-by: Daniele Rondina  gmail.com>
Closes: https://bugs.gentoo.org/725336
Closes: https://github.com/gentoo/gentoo/pull/17587
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.21.ebuild | 266 +
 2 files changed, 267 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index b0ca97f73df..340cc08e6df 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312
+DIST freeradius-server-3.0.21.tar.gz 5028506 BLAKE2B 
3ccf9704a1f8b1ec5f6f066a475083fe7cefa793e8f53ecd287866fc505a832bf8031a4d07c2e07f79da6c6fb82e6a3435b0154d1f135167ebddfc9b8d401544
 SHA512 
85af1c305e99a56400b04be5c966900e7df8beb7b54626d6aa0cb300dc124817e43b424f9b27d86966bb76cca87dce741812ed8d681a568c7d7b63b3b53a9dfa

diff --git a/net-dialup/freeradius/freeradius-3.0.21.ebuild 
b/net-dialup/freeradius/freeradius-3.0.21.ebuild
new file mode 100644
index 000..be0bf1d2179
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.21.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit autotools pam python-single-r1 systemd
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap libressl memcached mysql mongodb 
odbc oracle pam
+   pcap postgres python readline redis rest samba sqlite ssl systemd
+"
+RESTRICT="test 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.
+RDEPEND="acct-group/radius
+   acct-user/radius
+   !net-dialup/cistronradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   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-basic )
+   pam? ( sys-libs/pam )
+   pcap? ( net-libs/libpcap )
+   postgres? ( dev-db/postgresql:= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   redis? ( dev-libs/hiredis:= )
+   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= )
+   )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${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() {
+   # 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.
+
+   eapply_user
+   default
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2020-10-17 Thread Joonas Niilola
commit: 48cd44905411daf0c9914d0df63b387e29e75b10
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Sep 18 10:15:27 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 17 13:19:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48cd4490

net-dialup/freeradius: Bump v.3.0.20-r1

Drop unneeded systemd's tmpfiles

Package-Manager: Portage-2.3.89, Repoman-2.3.22
Signed-off-by: Daniele Rondina  gmail.com>
Bug: https://bugs.gentoo.org/630910
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/files/freeradius.tmpfiles  | 1 -
 .../freeradius/{freeradius-3.0.20.ebuild => freeradius-3.0.20-r1.ebuild} | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net-dialup/freeradius/files/freeradius.tmpfiles 
b/net-dialup/freeradius/files/freeradius.tmpfiles
deleted file mode 100644
index 21620c97706..000
--- a/net-dialup/freeradius/files/freeradius.tmpfiles
+++ /dev/null
@@ -1 +0,0 @@
-d /run/radiusd 0755 radius radius -

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
similarity index 99%
rename from net-dialup/freeradius/freeradius-3.0.20.ebuild
rename to net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index eb74f42057c..f29428cfc91 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
@@ -246,7 +246,6 @@ src_install() {
-e 's:^WatchdogSec=.*::g' -e 's:^NotifyAccess=all.*::g' 
\
"${S}"/debian/freeradius.service
fi
-   systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf
systemd_dounit "${S}"/debian/freeradius.service
 
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2020-09-02 Thread Sam James
commit: 7b90e1cfd844e462b100eef58cdefdae5df0145a
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep  2 20:41:04 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  2 20:41:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b90e1cf

net-dialup/freeradius-client: rename patch reference

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 564fb5f2205..c22a345c3f2 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -24,7 +24,7 @@ DOCS=(
 )
 
 PATCHES=(
-   "${FILESDIR}/${P}-ar-configure.in.patch"
+   "${FILESDIR}/${PN}-1.1.7-ar-configure.in.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/files/, net-dialup/freeradius-client/

2020-09-02 Thread Sam James
commit: 97cf65fd933a09edc3bd7282c4d8f10ab27fb227
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Mon Aug 31 19:27:17 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  2 20:40:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cf65fd

net-dialup/freeradius-client: respect AR

Closes: https://bugs.gentoo.org/730388
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/17351
Signed-off-by: Sam James  gentoo.org>

 .../files/freeradius-client-1.1.7-ar-configure.in.patch| 10 ++
 .../freeradius-client/freeradius-client-1.1.7-r1.ebuild| 14 ++
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git 
a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch
 
b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch
new file mode 100644
index 000..07d477bcc90
--- /dev/null
+++ 
b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch
@@ -0,0 +1,10 @@
+--- a/configure.in 2020-07-08 19:20:38.180447370 +0200
 b/configure.in 2020-07-08 19:21:00.840479965 +0200
+@@ -33,6 +33,6 @@
+ 
+ dnl Needed for normal compile
+-AC_PATH_PROG(AR, ar)
++AM_PROG_AR
+ AM_PROG_LIBTOOL
+ 
+ dnl HAVE_SHADOW_PASSWORDS

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 0b182155d46..564fb5f2205 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools toolchain-funcs
+inherit autotools
 
 DESCRIPTION="FreeRADIUS Client framework"
 HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient;
@@ -23,27 +23,25 @@ DOCS=(
README.{radexample,rst}
 )
 
+PATCHES=(
+   "${FILESDIR}/${P}-ar-configure.in.patch"
+)
+
 src_prepare() {
default
mv configure.in configure.ac || die \
"Renaming configure.in to configure.ac failed"
+
eautoreconf
 }
 
 src_configure() {
-   tc-export AR
-
local myeconfargs=(
$(use_enable scp)
$(use_enable shadow)
--with-secure-path
)
econf "${myeconfargs[@]}"
-
-   for MAKEFILE in $(find -name Makefile) libtool; do
-   sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \
-   die "Patching ${MAKEFILE} for ${AR} failed"
-   done
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2020-07-01 Thread Joonas Niilola
commit: 6c35e0080c2fcd69c99bee94e7d96c82d58a
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Jun 16 10:31:20 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul  1 06:38:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c35e008

net-dialup/freeradius-client: Avoid calling ar directly

Closes: https://bugs.gentoo.org/728332
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/16269
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index f9ac8661b09..0b182155d46 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools toolchain-funcs
 
 DESCRIPTION="FreeRADIUS Client framework"
 HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient;
@@ -31,12 +31,19 @@ src_prepare() {
 }
 
 src_configure() {
+   tc-export AR
+
local myeconfargs=(
$(use_enable scp)
$(use_enable shadow)
--with-secure-path
)
econf "${myeconfargs[@]}"
+
+   for MAKEFILE in $(find -name Makefile) libtool; do
+   sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \
+   die "Patching ${MAKEFILE} for ${AR} failed"
+   done
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2020-06-14 Thread Joonas Niilola
commit: ebb3f3e5b75db303953c6e5ea609a7f066ef0507
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Fri May  8 18:23:28 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 14 10:59:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb3f3e5

net-dialup/freeradius-client: Switching to EAPI 7

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/15716
Signed-off-by: Joonas Niilola  gentoo.org>

 .../freeradius-client-1.1.7-r1.ebuild  | 48 ++
 net-dialup/freeradius-client/metadata.xml  | 34 +--
 2 files changed, 70 insertions(+), 12 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
new file mode 100644
index 000..f9ac8661b09
--- /dev/null
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="FreeRADIUS Client framework"
+HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient;
+SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="scp shadow static-libs"
+
+DEPEND="!net-dialup/radiusclient-ng"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   BUGS doc/{ChangeLog,login.example,release-method.txt,instop.html}
+   README.{radexample,rst}
+)
+
+src_prepare() {
+   default
+   mv configure.in configure.ac || die \
+   "Renaming configure.in to configure.ac failed"
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   $(use_enable scp)
+   $(use_enable shadow)
+   --with-secure-path
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newdoc doc/README README.login.example
+
+   use static-libs || \
+   find "${ED}" -name '*.a' -delete
+}

diff --git a/net-dialup/freeradius-client/metadata.xml 
b/net-dialup/freeradius-client/metadata.xml
index 2a085401d81..597f77ab7b7 100644
--- a/net-dialup/freeradius-client/metadata.xml
+++ b/net-dialup/freeradius-client/metadata.xml
@@ -1,16 +1,26 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-FreeRADIUS Client is a framework and library for writing
-RADIUS Clients which additionally includes radlogin, a flexible RADIUS
-aware login replacement, a command line program to send RADIUS accounting
-records, a utility allowing to send RADIUS AAA requests from command
-line or from shell scripts and a utility to query the status of a (Merit)
-RADIUS server.
-
-   Add service type hints derived from username
-   prefix
-   Enable shadow password support
-
+   
+   ala...@swordarmor.fr
+   Alarig Le Lay
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   FreeRADIUS Client is a framework and library for writing RADIUS 
Clients
+   which additionally includes radlogin, a flexible RADIUS aware 
login
+   replacement, a command line program to send RADIUS accounting 
records, a
+   utility allowing to send RADIUS AAA requests from command line 
or from
+   shell scripts and a utility to query the status of a (Merit) 
RADIUS
+   server.
+   
+   
+   
+   Add service type hints derived from username prefix
+   
+   Enable shadow password support
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2020-04-17 Thread Joonas Niilola
commit: 8475a815d7bb356fa09d69b130833ae08f63873c
Author: Daniele Rondina  gmail  com>
AuthorDate: Thu Apr 16 16:44:49 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr 17 07:35:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8475a815

net-dialup/freeradius: Drop old

Package-Manager: Portage-2.3.69, Repoman-2.3.14
Bug: https://bugs.gentoo.org/685840
Signed-off-by: Daniele Rondina  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15369
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest |   4 -
 .../files/freeradius-3.0.18-systemd-service.patch  |  34 ---
 .../files/freeradius-3.0.19-systemd-service.patch  |  53 -
 net-dialup/freeradius/files/freeradius.service |  15 --
 net-dialup/freeradius/freeradius-3.0.15.ebuild | 227 ---
 net-dialup/freeradius/freeradius-3.0.17.ebuild | 240 
 net-dialup/freeradius/freeradius-3.0.18-r1.ebuild  | 244 -
 net-dialup/freeradius/freeradius-3.0.19.ebuild | 242 
 8 files changed, 1059 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 9b65bbd2cbf..b0ca97f73df 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,5 +1 @@
-DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
-DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79
-DIST freeradius-server-3.0.18.tar.gz 4884192 BLAKE2B 
21df490f5eba4e0eca42127181fa02a9451abf5fc2b0d7c5e6d0c5c287eda739585500a31f480dccc618c3bbb4096fbe9258c1b2d3a2047951abf85d68784862
 SHA512 
b81c40cd22170adb1126b9dde6dd84411dfafce33e27da6c4665cb4fc524aab854a7cd4c80757db50899604d7980aec7216e1c53b8184af482c7113692a26458
-DIST freeradius-server-3.0.19.tar.gz 4886632 BLAKE2B 
6e9b73eaa29344e4efca6ad19d8e86df8c625921441712b71cb54c2b0db78fc909748da42be837a9170fb6312be22f236956f0d2b169050a37ac8c4de143cc96
 SHA512 
8a914e2ad1fbeb4cf8c00aaf7eaa154ea17f70e4d58734716bfaf71b3ddef9f8f63a4d3217bdc07dfa776273e5bf090bc98f7bb16f5b565339ddc3b9c13e091f
 DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312

diff --git 
a/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch 
b/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
deleted file mode 100644
index 3da4b422f5d..000
--- a/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/debian/freeradius.service b/debian/freeradius.service
-index 99873c0..97efc66 100644
 a/debian/freeradius.service
-+++ b/debian/freeradius.service
-@@ -17,12 +17,26 @@ Environment=HOSTNAME=%H
- # a leak somewhere.
- MemoryLimit=2G
- 
--RuntimeDirectory=freeradius
-+RuntimeDirectory=radiusd
- RuntimeDirectoryMode=0775
--ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
--ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
-+Group=radius
-+User=radius
-+ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTS -Cx -lstdout
-+ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTS
-+ExecReload=/usr/sbin/radiusd -C $RADIUSD_OPTS
-+ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
- RestartSec=5
-+ReadOnlyDirectories=/etc/raddb/
-+ReadWriteDirectories=/var/log/radius/
-+# Security options 
(https://github.com/FreeRADIUS/freeradius-server/issues/2637)
-+NoNewPrivileges=true
-+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST 
CAP_NET_RAW
-+PrivateTmp=true
-+ProtectControlGroups=true
-+ProtectKernelModules=true
-+ProtectKernelTunables=true
-+SystemCallArchitectures=native
- 
- [Install]
- WantedBy=multi-user.target

diff --git 
a/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch 
b/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
deleted file mode 100644
index 37b67dfb21a..000
--- a/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
+++ /dev/null
@@ -1,53 +0,0 @@
 a/debian/freeradius.service2019-12-01 10:02:31.453150556 +0100
-+++ b/debian/freeradius.service2019-12-01 10:08:16.781370632 +0100
-@@ -4,11 +4,10 @@
- Documentation=man:radiusd(8) man:radiusd.conf(5) 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-03-31 Thread Mart Raudsepp
commit: 29657caec20343277b1f81aa4fb5bc79f0e4286a
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Mar 30 20:14:13 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Mar 31 17:51:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29657cae

net-dialup/freeradius: arm64 stable (bug #709804)

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index b7bb8b13efc..b7e8e652bc8 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-02-24 Thread Agostino Sarubbo
commit: 51c6060fd82590ff6ca73ddb8220f01f163e0a0d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 24 13:23:11 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 24 13:23:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c6060f

net-dialup/freeradius: x86 stable wrt bug #709804

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index 6b80e764770..b7bb8b13efc 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-02-18 Thread Agostino Sarubbo
commit: c51b20969a587cac745646c0bdfaf5295e876cbb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 18 16:24:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 18 16:24:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c51b2096

net-dialup/freeradius: amd64 stable wrt bug #709804

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index 5d43f28c636..6b80e764770 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2020-02-11 Thread Matt Turner
commit: f7f755690f196dc3aa10a4a83f9a7f3bd0e739a3
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 12 00:16:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 12 00:25:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f75569

net-dialup/freeradius: Apply patches earlier

src_prepare() selectively deletes subdirectories depending on USE flags
since configure.ac does not offer configurable switches. If a patch
applies changes to a directory that may be deleted, then src_prepare()
can fail depending on the USE flags that are set. This was the case with
USE=-python.

Avoid this possibility by applying patches before deleting directories.

Signed-off-by: Matt Turner  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.20.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild 
b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index 533b388bf6c..5d43f28c636 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -90,6 +90,7 @@ src_prepare() {
# not interested in using.
 
eapply_user
+   default
 
use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || 
die ; }
use ldap || { rm -r src/modules/rlm_ldap || die ; }
@@ -158,8 +159,6 @@ src_prepare() {
usesqldriver sqlite
usesqldriver mongodb mongo
 
-   default
-
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2020-02-11 Thread Matt Turner
commit: 2cc4267b345ed2589ecda8b7a35a0f68bff19bf8
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Feb  9 09:34:19 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Feb 11 19:13:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc4267b

net-dialup/freeradius: Bump v.3.0.20

Bug: https://bugs.gentoo.org/701822
Closes: https://bugs.gentoo.org/696458
Closes: https://bugs.gentoo.org/708970
Closes: https://github.com/gentoo/gentoo/pull/14488
Signed-off-by: Daniele Rondina  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 .../files/freeradius-3.0.20-py3-fixes.patch| 472 +
 .../files/freeradius-3.0.20-systemd-service.patch  |  57 +++
 net-dialup/freeradius/freeradius-3.0.20.ebuild | 267 
 net-dialup/freeradius/metadata.xml |   3 +
 5 files changed, 800 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index c997772def9..9b65bbd2cbf 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -2,3 +2,4 @@ DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79
 DIST freeradius-server-3.0.18.tar.gz 4884192 BLAKE2B 
21df490f5eba4e0eca42127181fa02a9451abf5fc2b0d7c5e6d0c5c287eda739585500a31f480dccc618c3bbb4096fbe9258c1b2d3a2047951abf85d68784862
 SHA512 
b81c40cd22170adb1126b9dde6dd84411dfafce33e27da6c4665cb4fc524aab854a7cd4c80757db50899604d7980aec7216e1c53b8184af482c7113692a26458
 DIST freeradius-server-3.0.19.tar.gz 4886632 BLAKE2B 
6e9b73eaa29344e4efca6ad19d8e86df8c625921441712b71cb54c2b0db78fc909748da42be837a9170fb6312be22f236956f0d2b169050a37ac8c4de143cc96
 SHA512 
8a914e2ad1fbeb4cf8c00aaf7eaa154ea17f70e4d58734716bfaf71b3ddef9f8f63a4d3217bdc07dfa776273e5bf090bc98f7bb16f5b565339ddc3b9c13e091f
+DIST freeradius-server-3.0.20.tar.gz 5002727 BLAKE2B 
f481ad22105694a4af3f0f0c1b4f6e395e8da0fe65274e32ebeed07e3c9b1869029e6ffbc655cfa41d5de2a1dcba54acee33a7a10d28bfbfce791b7ccd0fc57a
 SHA512 
513ed0a5d9e6b9a8d89a9b02c86ff528a9ff14d928f4c1040ca44702465abd711588fe6afa35554cb2c8e8bd7f19dd5be3dbc78445c62c7b00bf5cbc4c621312

diff --git a/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch 
b/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch
new file mode 100644
index 000..83dc20090ed
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.0.20-py3-fixes.patch
@@ -0,0 +1,472 @@
+diff --git a/raddb/mods-available/python3 b/raddb/mods-available/python3
+index 246dfd74ce..0593c69f1a 100644
+--- a/raddb/mods-available/python3
 b/raddb/mods-available/python3
+@@ -13,7 +13,7 @@ python3 {
+   #  item is GLOBAL TO THE SERVER.  That is, you cannot have two
+   #  instances of the python module, each with a different path.
+   #
+-#python_path="/path/to/python/files:/another_path/to/python_files/"
++# python_path="${modconfdir}/${.:name}:/another_path/to/python_files"
+ 
+   module = example
+ 
+diff --git a/src/modules/rlm_python3/configure.ac 
b/src/modules/rlm_python3/configure.ac
+index a00320fda4..295a2486d2 100644
+--- a/src/modules/rlm_python3/configure.ac
 b/src/modules/rlm_python3/configure.ac
+@@ -8,128 +8,75 @@ if test x$with_[]modname != xno; then
+   AC_PROG_CC
+   AC_PROG_CPP
+ 
+-  dnl extra argument: --with-rlm-python3-bin
+-  PYTHON3_BIN=
+-  AC_ARG_WITH(rlm-python3-bin,
+-  [  --with-rlm-python3-bin=PATH   Path to python3 binary []],
++  dnl extra argument: --with-rlm-python3-config-bin
++  PYTHON3_CONFIG_BIN=
++  AC_ARG_WITH(rlm-python3-config-bin,
++  [  --with-rlm-python3-config-bin=PATH   Path to python-config3 binary 
[]],
+   [ case "$withval" in
+   no)
+-  AC_MSG_ERROR(Need rlm-python3-bin)
++  AC_MSG_ERROR(Need rlm-python3-config-bin)
+   ;;
+   yes)
+   ;;
+   *)
+-  PYTHON3_BIN="$withval"
++  PYTHON3_CONFIG_BIN="$withval"
+   ;;
+ esac ]
+   )
+ 
+-  if test "x$PYTHON3_BIN" = x; then
+-  AC_CHECK_PROGS(PYTHON3_BIN, [ python3 ], not-found, 
[${PATH}:/usr/bin:/usr/local/bin])
++  if test "x$PYTHON3_CONFIG_BIN" = x; then
++  AC_CHECK_PROGS(PYTHON3_CONFIG_BIN, [ python3-config ], 
not-found, [${PATH}:/usr/bin:/usr/local/bin])
+   fi
+ 
+-  if test "x$PYTHON3_BIN" = "xnot-found"; then
+-  fail="python-binary"
+-  fi
+-
+-  dnl extra argument: --with-rlm-python3-lib-dir
+-  PY_LIB_DIR=
+-  AC_ARG_WITH(rlm-python3-lib-dir,
+-  [  

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/, net-dialup/freeradius/files/

2019-12-18 Thread Joonas Niilola
commit: 41fa8efcbdcf5a899806a609c4186f47b16ba8ec
Author: Daniele Rondina  gmail  com>
AuthorDate: Tue Dec 17 17:55:55 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 18 16:32:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fa8efc

net-dialup/freeradius: Bump v.3.0.19

Package-Manager: Portage-2.3.69, Repoman-2.3.14
Closes: https://github.com/gentoo/gentoo/pull/13463
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 .../files/freeradius-3.0.19-systemd-service.patch  |  53 +
 net-dialup/freeradius/freeradius-3.0.19.ebuild | 242 +
 3 files changed, 296 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 853b2a895bd..c997772def9 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1,4 @@
 DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79
 DIST freeradius-server-3.0.18.tar.gz 4884192 BLAKE2B 
21df490f5eba4e0eca42127181fa02a9451abf5fc2b0d7c5e6d0c5c287eda739585500a31f480dccc618c3bbb4096fbe9258c1b2d3a2047951abf85d68784862
 SHA512 
b81c40cd22170adb1126b9dde6dd84411dfafce33e27da6c4665cb4fc524aab854a7cd4c80757db50899604d7980aec7216e1c53b8184af482c7113692a26458
+DIST freeradius-server-3.0.19.tar.gz 4886632 BLAKE2B 
6e9b73eaa29344e4efca6ad19d8e86df8c625921441712b71cb54c2b0db78fc909748da42be837a9170fb6312be22f236956f0d2b169050a37ac8c4de143cc96
 SHA512 
8a914e2ad1fbeb4cf8c00aaf7eaa154ea17f70e4d58734716bfaf71b3ddef9f8f63a4d3217bdc07dfa776273e5bf090bc98f7bb16f5b565339ddc3b9c13e091f

diff --git 
a/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch 
b/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
new file mode 100644
index 000..37b67dfb21a
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
@@ -0,0 +1,53 @@
+--- a/debian/freeradius.service2019-12-01 10:02:31.453150556 +0100
 b/debian/freeradius.service2019-12-01 10:08:16.781370632 +0100
+@@ -4,11 +4,10 @@
+ Documentation=man:radiusd(8) man:radiusd.conf(5) http://wiki.freeradius.org/ 
http://networkradius.com/doc/
+ 
+ [Service]
+-Type=notify
+-WatchdogSec=60
+-NotifyAccess=all
+-PIDFile=/run/freeradius/freeradius.pid
+-EnvironmentFile=-/etc/default/freeradius
++# In 3.0.19 SystemD integration is broken.
++# Type=notify
++# WatchdogSec=60
++# NotifyAccess=all
+ 
+ # FreeRADIUS can do static evaluation of policy language rules based
+ # on environmental variables which is very useful for doing per-host
+@@ -26,17 +25,27 @@
+ # Ensure the daemon can still write its pidfile after it drops
+ # privileges. Combination of options that work on a variety of
+ # systems. Test very carefully if you alter these lines.
+-RuntimeDirectory=freeradius
++RuntimeDirectory=radiusd
+ RuntimeDirectoryMode=0775
+ # This does not work on Debian Jessie:
+-Group=freerad
+-# This does not work on Ubuntu Bionic:
+-ExecStartPre=/bin/chown freerad:freerad /var/run/freeradius
+-
+-ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
+-ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
++Group=radius
++User=radius
++ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTS -Cx -lstdout
++ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTS
++ExecReload=/usr/sbin/radiusd -C $RADIUSD_OPTS
++ExecReload=/bin/kill -HUP $MAINPID
+ Restart=on-failure
+ RestartSec=5
++ReadOnlyDirectories=/etc/raddb/
++ReadWriteDirectories=/var/log/radius/
++# Security options 
(https://github.com/FreeRADIUS/freeradius-server/issues/2637)
++NoNewPrivileges=true
++CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST 
CAP_NET_RAW
++PrivateTmp=true
++ProtectControlGroups=true
++ProtectKernelModules=true
++ProtectKernelTunables=true
++SystemCallArchitectures=native
+ 
+ [Install]
+ WantedBy=multi-user.target

diff --git a/net-dialup/freeradius/freeradius-3.0.19.ebuild 
b/net-dialup/freeradius/freeradius-3.0.19.ebuild
new file mode 100644
index 000..ce636555ba0
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.19.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-single-r1 systemd
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-12-18 Thread Joonas Niilola
commit: 5c12feae8190fc4f18d8cf5345809d5955ffa7e0
Author: Daniele Rondina  gmail  com>
AuthorDate: Tue Dec 17 17:55:14 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 18 16:32:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c12feae

net-dialup/freeradius: Right license is GPL-2+

Signed-off-by: Daniele Rondina  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.15.ebuild| 2 +-
 net-dialup/freeradius/freeradius-3.0.17.ebuild| 2 +-
 net-dialup/freeradius/freeradius-3.0.18-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index 79fb360a846..84422b0b316 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 HOMEPAGE="http://www.freeradius.org/;
 
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 
 IUSE="

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 43ff6595d37..1702f84ed3e 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 HOMEPAGE="http://www.freeradius.org/;
 
 KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 
 IUSE="

diff --git a/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
index a776acbe3b2..32a912bddae 100644
--- a/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 HOMEPAGE="http://www.freeradius.org/;
 
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 
 IUSE="



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-10-12 Thread Mikle Kolyada
commit: 5cc8d835aab9b209c814d6f297a23cc43e88c338
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 21:26:52 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 21:26:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc8d835

net-dialup/freeradius: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.15.ebuild| 2 +-
 net-dialup/freeradius/freeradius-3.0.17.ebuild| 2 +-
 net-dialup/freeradius/freeradius-3.0.18-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index f5339566e56..79fb360a846 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -37,7 +37,7 @@ RDEPEND="!net-dialup/cistronradius
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 0babd7284d5..43ff6595d37 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -40,7 +40,7 @@ RDEPEND="!net-dialup/cistronradius
mysql? ( dev-db/mysql-connector-c )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
rest? ( dev-libs/json-c:= )
samba? ( net-fs/samba )
redis? ( dev-libs/hiredis:= )

diff --git a/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
index 39a121657ad..a776acbe3b2 100644
--- a/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
@@ -40,7 +40,7 @@ RDEPEND="!net-dialup/cistronradius
mysql? ( dev-db/mysql-connector-c )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
rest? ( dev-libs/json-c:= )
samba? ( net-fs/samba )
redis? ( dev-libs/hiredis:= )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-06-13 Thread Aaron W. Swenson
commit: 18d1ec018374a5464d0fca47d40caa6356b5381b
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Jun  9 09:25:12 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Jun 13 19:50:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d1ec01

net-dialup/freeradius: Drop v.3.0.18

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Daniele Rondina  gmail.com>
Signed-off-by: Aaron W. Swenson  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.18.ebuild | 241 -
 1 file changed, 241 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18.ebuild
deleted file mode 100644
index 6b772f41f1f..000
--- a/net-dialup/freeradius/freeradius-3.0.18.ebuild
+++ /dev/null
@@ -1,241 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit autotools pam python-single-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
-   pcap postgres python readline rest samba sqlite ssl redis
-"
-RESTRICT="test 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)
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   dev-lang/perl:=
-   sys-libs/gdbm:=
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   memcached? ( dev-libs/libmemcached )
-   mysql? ( dev-db/mysql-connector-c )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   rest? ( dev-libs/json-c:= )
-   samba? ( net-fs/samba )
-   redis? ( dev-libs/hiredis:= )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   if use python ; then
-   python-single-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-   fi
-}
-
-src_prepare() {
-   # 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.
-
-   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 ; }
-   use python || { rm -r src/modules/rlm_python || die ; }
-   use rest || { rm -r src/modules/rlm_rest || die ; }
-   use redis || { rm -r src/modules/rlm_redis{,who} || die ; }
-   # can't just nuke rlm_mschap because many modules rely on smbdes.h
-   use samba || { rm -r src/modules/rlm_mschap/{configure,*.mk} || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   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() 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2019-06-13 Thread Aaron W. Swenson
commit: 9eb376c782868c81a284901adfdffe0143ee79d3
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Jun  9 09:21:32 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Jun 13 19:49:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb376c7

net-dialup/freeradius: Bump v.3.0.18-r1 and review freeradius.service

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Closes: https://bugs.gentoo.org/681696
Signed-off-by: Daniele Rondina  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11492
Signed-off-by: Aaron W. Swenson  gentoo.org>

 .../files/freeradius-3.0.18-systemd-service.patch  |  34 +++
 net-dialup/freeradius/freeradius-3.0.18-r1.ebuild  | 244 +
 2 files changed, 278 insertions(+)

diff --git 
a/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch 
b/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
new file mode 100644
index 000..3da4b422f5d
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
@@ -0,0 +1,34 @@
+diff --git a/debian/freeradius.service b/debian/freeradius.service
+index 99873c0..97efc66 100644
+--- a/debian/freeradius.service
 b/debian/freeradius.service
+@@ -17,12 +17,26 @@ Environment=HOSTNAME=%H
+ # a leak somewhere.
+ MemoryLimit=2G
+ 
+-RuntimeDirectory=freeradius
++RuntimeDirectory=radiusd
+ RuntimeDirectoryMode=0775
+-ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
+-ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
++Group=radius
++User=radius
++ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTS -Cx -lstdout
++ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTS
++ExecReload=/usr/sbin/radiusd -C $RADIUSD_OPTS
++ExecReload=/bin/kill -HUP $MAINPID
+ Restart=on-failure
+ RestartSec=5
++ReadOnlyDirectories=/etc/raddb/
++ReadWriteDirectories=/var/log/radius/
++# Security options 
(https://github.com/FreeRADIUS/freeradius-server/issues/2637)
++NoNewPrivileges=true
++CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST 
CAP_NET_RAW
++PrivateTmp=true
++ProtectControlGroups=true
++ProtectKernelModules=true
++ProtectKernelTunables=true
++SystemCallArchitectures=native
+ 
+ [Install]
+ WantedBy=multi-user.target

diff --git a/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
new file mode 100644
index 000..44d5b7baa7e
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.18-r1.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
+   pcap postgres python readline rest samba sqlite ssl redis
+"
+RESTRICT="test 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)
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   memcached? ( dev-libs/libmemcached )
+   mysql? ( dev-db/mysql-connector-c )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
+   redis? ( dev-libs/hiredis:= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0=[-bindist] )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-libressl.patch
+   "${FILESDIR}"/${P}-systemd-service.patch
+)
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   if use python ; then
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+   fi
+}
+
+src_prepare() {
+   # most of the configuration options do not appear as ./configure
+   # switches. Instead 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/files/, net-dialup/freeradius/

2019-04-24 Thread Aaron Bauman
commit: 38617412a915ab7a6e992f22205d1aaa7a9e90cf
Author: Stefan Strogin  gmail  com>
AuthorDate: Wed Apr 24 07:34:59 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Apr 24 21:53:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38617412

net-dialup/freeradius: add patch for LibreSSL support

Closes: https://bugs.gentoo.org/680066
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Stefan Strogin  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11811
Signed-off-by: Aaron Bauman  gentoo.org>

 .../files/freeradius-3.0.18-libressl.patch | 63 ++
 net-dialup/freeradius/freeradius-3.0.18.ebuild |  2 +
 2 files changed, 65 insertions(+)

diff --git a/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch 
b/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch
new file mode 100644
index 000..129e251d87b
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-3.0.18-libressl.patch
@@ -0,0 +1,63 @@
+From 39e4ac0cf8d415b41dc2ff1fc329de0522b135ca Mon Sep 17 00:00:00 2001
+From: Stefan Strogin 
+Date: Wed, 24 Apr 2019 09:16:12 +0300
+Subject: [PATCH] Fix build to LibreSSL
+
+Upstream-Status: Inappropriate
+[https://github.com/FreeRADIUS/freeradius-server/commit/9652affe38f41ba2484e013cf9d2c0bcb8c80d67]
+Signed-off-by: Stefan Strogin 
+---
+ src/main/tls.c| 9 ++---
+ src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c | 3 ++-
+ 2 files changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/src/main/tls.c b/src/main/tls.c
+index 9726953234..840724bf61 100644
+--- a/src/main/tls.c
 b/src/main/tls.c
+@@ -1579,7 +1579,8 @@ done:
+   return 0;
+ }
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x1010L || \
++  (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090100fL)
+ static SSL_SESSION *cbtls_get_session(SSL *ssl, unsigned char *data, int len, 
int *copy)
+ #else
+ static SSL_SESSION *cbtls_get_session(SSL *ssl, const unsigned char *data, 
int len, int *copy)
+@@ -3379,14 +3380,16 @@ post_ca:
+*/
+   SSL_CTX_sess_set_cache_size(ctx, conf->session_cache_size);
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
++/* Not implemented in LibreSSL 2.9.1 */
++#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
+   SSL_CTX_set_num_tickets(ctx, 1);
+ #endif
+ 
+   } else {
+   SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF);
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
++/* Not implemented in LibreSSL 2.9.1 */
++#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
+   /*
+*  This controls the number of stateful or stateless 
tickets
+*  generated with TLS 1.3.  In OpenSSL 1.1.1 it's also
+diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 
b/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
+index fa9c58f3c3..a53341fc20 100644
+--- a/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
 b/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
+@@ -44,7 +44,8 @@ static int openssl_get_keyblock_size(REQUEST *request, SSL 
*ssl)
+ {
+   const EVP_CIPHER *c;
+   const EVP_MD *h;
+-#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x1010L || \
++  (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090100fL)
+   int md_size;
+ 
+   if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL ||
+-- 
+2.21.0
+

diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18.ebuild
index 939365c85fc..6b772f41f1f 100644
--- a/net-dialup/freeradius/freeradius-3.0.18.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.18.ebuild
@@ -60,6 +60,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
+
 pkg_setup() {
enewgroup radius
enewuser radius -1 -1 /var/log/radius radius



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2019-04-22 Thread Aaron Bauman
commit: 639a3495dbf086059977041ea1975e1ecba38cfb
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr 22 23:31:30 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Apr 23 00:13:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639a3495

net-dialup/freeradius-client: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
index c902df0fe08..752ce7fbf63 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-04-22 Thread Aaron Bauman
commit: f622cd564501eb0560cad0015f653acf339ccb9d
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr 22 23:31:09 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Apr 23 00:13:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f622cd56

net-dialup/freeradius: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 36c59cc9a08..9b76437cb8b 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-16 Thread Agostino Sarubbo
commit: d6d34a13324a283fc40ec095565b4a2b467da6ba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar 16 21:38:04 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar 16 21:38:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d34a13

net-dialup/freeradius: amd64 stable wrt bug #680250

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 4d25cae11be..36c59cc9a08 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-13 Thread Patrice Clement
commit: da8be8f61ad2b43d8c738a50d6f4741bb95be513
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Mar 13 14:38:41 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Mar 13 14:40:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8be8f6

net-dialup/freeradius: restore v3.0.15.

Closes: https://bugs.gentoo.org/680092
Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --force

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.15.ebuild | 227 +
 2 files changed, 228 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 51e5d37febc..853b2a895bd 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1,3 @@
+DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79
 DIST freeradius-server-3.0.18.tar.gz 4884192 BLAKE2B 
21df490f5eba4e0eca42127181fa02a9451abf5fc2b0d7c5e6d0c5c287eda739585500a31f480dccc618c3bbb4096fbe9258c1b2d3a2047951abf85d68784862
 SHA512 
b81c40cd22170adb1126b9dde6dd84411dfafce33e27da6c4665cb4fc524aab854a7cd4c80757db50899604d7980aec7216e1c53b8184af482c7113692a26458

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
new file mode 100644
index 000..ede4f9100e1
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -0,0 +1,227 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( dev-db/mysql-connector-c:= )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || 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
+   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
+   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-11 Thread Lars Wendler
commit: a3b4f6fa483244743e02347f5493cb83a13e12d6
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar 11 11:37:54 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 11 11:38:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b4f6fa

net-dialup/freeradius: Fixed src_install

- Bumped ebuild to EAPI-7
- Added python3_7

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.18.ebuild | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18.ebuild
index c512a5894ee..939365c85fc 100644
--- a/net-dialup/freeradius/freeradius-3.0.18.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.18.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
 inherit autotools pam python-single-r1 systemd user
 
 MY_P="${PN}-server-${PV}"
@@ -189,13 +189,6 @@ src_compile() {
 }
 
 src_install() {
-   dodoc CREDITS
-
-   rm "${D}/usr/sbin/rc.radiusd" || die
-
-   systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf
-   systemd_dounit "${FILESDIR}"/freeradius.service
-
dodir /etc
diropts -m0750 -o root -g radius
dodir /etc/raddb
@@ -217,10 +210,17 @@ src_install() {
 
pamd_mimic_system radiusd auth account password session
 
+   dodoc CREDITS
+
+   rm "${ED}/usr/sbin/rc.radiusd" || die
+
newinitd "${FILESDIR}/radius.init-r3" radiusd
newconfd "${FILESDIR}/radius.conf-r4" radiusd
 
-   prune_libtool_files
+   systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf
+   systemd_dounit "${FILESDIR}"/freeradius.service
+
+   find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
 }
 
 pkg_config() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-10 Thread Patrice Clement
commit: 8953512cec62299e83a8ca783adc137f279535b7
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Mar  8 18:08:24 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar 10 23:01:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8953512c

net-dialup/freeradius: drop libtool from RDEPEND.

Closes: https://bugs.gentoo.org/675230
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Daniele Rondina  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 8aa7879f35c..4d25cae11be 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,6 @@ RESTRICT="test firebird? ( bindist )"
 #   
(http://lists.freeradius.org/pipermail/freeradius-devel/2018-October/013228.html)
 RDEPEND="!net-dialup/cistronradius
!net-dialup/gnuradius
-   sys-devel/libtool
dev-lang/perl:=
sys-libs/gdbm:=
sys-libs/talloc



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-10 Thread Patrice Clement
commit: bc284abb40fa5babc26fd80e590fcc565766e7ab
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Mar  8 18:11:57 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar 10 23:01:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc284abb

net-dialup/freeradius: version bump to v.3.0.18.

Signed-off-by: Daniele Rondina  gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Patrice Clement  gentoo.org>

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.18.ebuild | 239 +
 2 files changed, 240 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index bbff14070c2..51e5d37febc 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79
+DIST freeradius-server-3.0.18.tar.gz 4884192 BLAKE2B 
21df490f5eba4e0eca42127181fa02a9451abf5fc2b0d7c5e6d0c5c287eda739585500a31f480dccc618c3bbb4096fbe9258c1b2d3a2047951abf85d68784862
 SHA512 
b81c40cd22170adb1126b9dde6dd84411dfafce33e27da6c4665cb4fc524aab854a7cd4c80757db50899604d7980aec7216e1c53b8184af482c7113692a26458

diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild 
b/net-dialup/freeradius/freeradius-3.0.18.ebuild
new file mode 100644
index 000..c512a5894ee
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.18.ebuild
@@ -0,0 +1,239 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
+   pcap postgres python readline rest samba sqlite ssl redis
+"
+RESTRICT="test 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)
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   memcached? ( dev-libs/libmemcached )
+   mysql? ( dev-db/mysql-connector-c )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
+   redis? ( dev-libs/hiredis:= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0=[-bindist] )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   if use python ; then
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+   fi
+}
+
+src_prepare() {
+   # 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.
+
+   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 ; }
+   use python || { rm -r src/modules/rlm_python || die ; }
+   use rest || { rm -r src/modules/rlm_rest || die ; }
+   use redis || { rm -r src/modules/rlm_redis{,who} || die ; }
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2019-03-10 Thread Patrice Clement
commit: 5cc8b11d5071ded23edc8556cb3746b976362928
Author: Daniele Rondina  gmail  com>
AuthorDate: Fri Mar  8 18:02:17 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar 10 23:01:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc8b11d

net-dialup/freeradius: drop v.3.0.15.

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Daniele Rondina  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11304
Signed-off-by: Patrice Clement  gentoo.org>

 net-dialup/freeradius/Manifest |   1 -
 net-dialup/freeradius/freeradius-3.0.15.ebuild | 228 -
 2 files changed, 229 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index a82866d5b03..bbff14070c2 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1 @@
-DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
deleted file mode 100644
index bf595e6d93b..000
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-single-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
-"
-RESTRICT="test firebird? ( bindist )"
-
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   sys-devel/libtool
-   dev-lang/perl:=
-   sys-libs/gdbm:=
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   mysql? ( dev-db/mysql-connector-c:= )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   python-single-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-}
-
-src_prepare() {
-   # 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.
-
-   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 pam || { rm -r src/modules/rlm_pam || die ; }
-   use python || { rm -r src/modules/rlm_python || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_redis{,who} || die # requires redis
-   rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
-
-   # sql drivers that are not part of experimental are loaded 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-10-30 Thread Michał Górny
commit: 61773bc879afe76a4b00c2e5e0670b37fe956985
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Oct 21 07:05:44 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 30 08:51:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61773bc8

net-dialup/freeradius: Add support to redis and py3

Fix call to python-single-r1_pkg_setup only if use flag
python is set.

Signed-off-by: Daniele Rondina  gmail.com>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/10176
Signed-off-by: Michał Górny  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 14 +-
 net-dialup/freeradius/metadata.xml |  3 +++
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 92b83344ad5..8aa7879f35c 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 inherit autotools pam python-single-r1 systemd user
 
 MY_P="${PN}-server-${PV}"
@@ -21,7 +21,7 @@ SLOT="0"
 
 IUSE="
debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
-   pcap postgres python readline rest samba sqlite ssl
+   pcap postgres python readline rest samba sqlite ssl redis
 "
 RESTRICT="test firebird? ( bindist )"
 
@@ -44,6 +44,7 @@ RDEPEND="!net-dialup/cistronradius
pam? ( virtual/pam )
rest? ( dev-libs/json-c:= )
samba? ( net-fs/samba )
+   redis? ( dev-libs/hiredis:= )
ssl? (
!libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
@@ -64,8 +65,10 @@ pkg_setup() {
enewgroup radius
enewuser radius -1 -1 /var/log/radius radius
 
-   python-single-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
+   if use python ; then
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+   fi
 }
 
 src_prepare() {
@@ -83,6 +86,7 @@ src_prepare() {
use pam || { rm -r src/modules/rlm_pam || die ; }
use python || { rm -r src/modules/rlm_python || die ; }
use rest || { rm -r src/modules/rlm_rest || die ; }
+   use redis || { rm -r src/modules/rlm_redis{,who} || die ; }
# can't just nuke rlm_mschap because many modules rely on smbdes.h
use samba || { rm -r src/modules/rlm_mschap/{configure,*.mk} || die ; }
# Do not install ruby rlm module, bug #483108
@@ -93,7 +97,6 @@ src_prepare() {
rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_redis{,who} || die # requires redis
rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
 
# sql drivers that are not part of experimental are loaded from a
@@ -204,6 +207,7 @@ src_install() {
install
 
fowners -R root:radius /etc/raddb
+   fowners -R radius:radius /var/log/radius
 
pamd_mimic_system radiusd auth account password session
 

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index 14d04cc60c0..0f82cd9f9ed 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -19,5 +19,8 @@
 
   Include support for sending and receiving HTTP requests
 
+
+  Include support for Redis database
+
   
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-10-30 Thread Michał Górny
commit: e3bdfee3a7be1dac89d9cf775471aff6440e773e
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Oct 21 06:52:49 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 30 08:41:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3bdfee3

net-dialup/freeradius: Add proxy maintainer

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Signed-off-by: Daniele Rondina  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 net-dialup/freeradius/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index abccf790606..14d04cc60c0 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+  
+gea...@gmail.com
+Daniele Rondina
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 
   Include dev-libs/libmemcached in caching drivers



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-10-30 Thread Michał Górny
commit: dccc0234acaa189a4c9cf6000dc20998afa4bd09
Author: Daniele Rondina  gmail  com>
AuthorDate: Sun Oct 21 06:57:59 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 30 08:41:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccc0234

net-dialup/freeradius: Drop virtual/mysql from DEPEND

Bug: https://bugs.gentoo.org/665962
Closes: https://bugs.gentoo.org/665962
Signed-off-by: Daniele Rondina  gmail.com>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Signed-off-by: Michał Górny  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.15.ebuild | 2 +-
 net-dialup/freeradius/freeradius-3.0.17.ebuild | 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index 5fa08043378..bf595e6d93b 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -34,7 +34,7 @@ RDEPEND="!net-dialup/cistronradius
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
pcap? ( net-libs/libpcap )
-   mysql? ( virtual/mysql )
+   mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 59c9dfd3515..92b83344ad5 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -25,6 +25,9 @@ IUSE="
 "
 RESTRICT="test 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)
 RDEPEND="!net-dialup/cistronradius
!net-dialup/gnuradius
sys-devel/libtool
@@ -35,7 +38,7 @@ RDEPEND="!net-dialup/cistronradius
readline? ( sys-libs/readline:0= )
pcap? ( net-libs/libpcap )
memcached? ( dev-libs/libmemcached )
-   mysql? ( virtual/mysql )
+   mysql? ( dev-db/mysql-connector-c )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-06-17 Thread Michał Górny
commit: b955066a2726c734664fe8d000c4b05675557707
Author: Herb Miller Jr  industryweapon  com>
AuthorDate: Mon Jun 11 21:50:02 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 17 11:14:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b955066a

net-dialup/freeradius: Add samba USE flag.

The rlm_mschap module autodetects existence of samba. This
changes the behavior a little to only build the module if
the samba USE flag is specified.

Bug: https://bugs.gentoo.org/638396
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 4ba47a9caa3..59c9dfd3515 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -21,7 +21,7 @@ SLOT="0"
 
 IUSE="
debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
-   pcap postgres python readline rest sqlite ssl
+   pcap postgres python readline rest samba sqlite ssl
 "
 RESTRICT="test firebird? ( bindist )"
 
@@ -40,6 +40,7 @@ RDEPEND="!net-dialup/cistronradius
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
rest? ( dev-libs/json-c:= )
+   samba? ( net-fs/samba )
ssl? (
!libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
@@ -79,6 +80,8 @@ src_prepare() {
use pam || { rm -r src/modules/rlm_pam || die ; }
use python || { rm -r src/modules/rlm_python || die ; }
use rest || { rm -r src/modules/rlm_rest || die ; }
+   # can't just nuke rlm_mschap because many modules rely on smbdes.h
+   use samba || { rm -r src/modules/rlm_mschap/{configure,*.mk} || die ; }
# Do not install ruby rlm module, bug #483108
rm -r src/modules/rlm_ruby || die
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-06-17 Thread Michał Górny
commit: e009aad446d86af40332a3d22f0c716838407472
Author: Herb Miller Jr  hlmjr  com>
AuthorDate: Thu Jun 14 21:38:10 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 17 11:15:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e009aad4

net-dialup/freeradius: Update metadata

Adopt package as proxied maintainer.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dialup/freeradius/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index 566c67956c1..ff1258ca849 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+  
+h...@hlmjr.com
+Herb Miller Jr. (herbmillerjr)
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 
   Include dev-libs/libmemcached in caching drivers



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-06-17 Thread Michał Górny
commit: 8b1154ee1088d4a6d400e21d54036e396c227c5a
Author: Herb Miller Jr  hlmjr  com>
AuthorDate: Mon Jun 11 08:40:37 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 17 11:14:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1154ee

net-dialup/freeradius: Use memcached and rest flags

Only build memcached (dev-libs/memcached) or REST (dev-libs/json-c)
modules if appropriate use flags are set.

Bug: https://bugs.gentoo.org/656608
Package-Manager: Portage[mgorny]-2.3.24.1

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 8 ++--
 net-dialup/freeradius/metadata.xml | 6 ++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index ff88d4178f9..4ba47a9caa3 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -20,8 +20,8 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="
-   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
+   debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle 
pam
+   pcap postgres python readline rest sqlite ssl
 "
 RESTRICT="test firebird? ( bindist )"
 
@@ -34,10 +34,12 @@ RDEPEND="!net-dialup/cistronradius
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
pcap? ( net-libs/libpcap )
+   memcached? ( dev-libs/libmemcached )
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
+   rest? ( dev-libs/json-c:= )
ssl? (
!libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
@@ -73,8 +75,10 @@ src_prepare() {
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 ; }
use python || { rm -r src/modules/rlm_python || 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
 

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index fa9540c73dc..566c67956c1 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -3,8 +3,14 @@
 
   
   
+
+  Include dev-libs/libmemcached in caching drivers
+
 
   Build the RADIUS sniffer which requires net-libs/libpcap.
 
+
+  Include support for sending and receiving HTTP requests
+
   
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-06-16 Thread Pacho Ramos
commit: 50a92af2aa158e7fbdd5e9d0f1b0fbf879ce221a
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jun 16 18:16:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jun 16 18:33:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a92af2

net-dialup/freeradius: Needs openssl[-bindist] (#625524)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dialup/freeradius/freeradius-3.0.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index 2920c24ee94..ff88d4178f9 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -39,7 +39,7 @@ RDEPEND="!net-dialup/cistronradius
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
+   !libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
)
ldap? ( net-nds/openldap )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-06-16 Thread Pacho Ramos
commit: 962180652e32ad0a3a31de9a00e4207ffe2d8597
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jun 16 18:18:04 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jun 16 18:33:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96218065

net-dialup/freeradius: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dialup/freeradius/Manifest |   1 -
 net-dialup/freeradius/freeradius-3.0.16.ebuild | 227 -
 2 files changed, 228 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index cc371c460c6..a82866d5b03 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1,2 @@
 DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
-DIST freeradius-server-3.0.16.tar.gz 4833927 BLAKE2B 
48a991da9fec7594f1bd5bd9c713138755b746473b30d54bbbe2be06759375c1b1ba3925234ebf683a9686e5535a37122a38a708a058909c8cde22bd36641aeb
 SHA512 
ec2fa1d28fb722d84327eed8670931f5a9220e724e0c12965f0a217ae63b0bc089ea1cfb4878420c1f2a7cf9e2abbb8d3be645c4e21170732c915f1f2953d84b
 DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79

diff --git a/net-dialup/freeradius/freeradius-3.0.16.ebuild 
b/net-dialup/freeradius/freeradius-3.0.16.ebuild
deleted file mode 100644
index 2920c24ee94..000
--- a/net-dialup/freeradius/freeradius-3.0.16.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-single-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
-"
-RESTRICT="test firebird? ( bindist )"
-
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   sys-devel/libtool
-   dev-lang/perl:=
-   sys-libs/gdbm:=
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   mysql? ( virtual/mysql )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   python-single-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-}
-
-src_prepare() {
-   # 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.
-
-   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 pam || { rm -r src/modules/rlm_pam || die ; }
-   use python || { rm -r src/modules/rlm_python || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_redis{,who} || die 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-04-21 Thread Aaron Bauman
commit: be9ddca4036344a2ab4c85b7360130f0e3ebf565
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Apr 22 00:27:43 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Apr 22 00:27:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9ddca4

net-dialup/freeradius: add LibreSSL support

Closes: https://bugs.gentoo.org/622810
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-dialup/freeradius/freeradius-3.0.15.ebuild | 7 +--
 net-dialup/freeradius/freeradius-3.0.16.ebuild | 7 +--
 net-dialup/freeradius/freeradius-3.0.17.ebuild | 7 +--
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index d74e5a47078..5fa08043378 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
postgres python readline sqlite ssl
 "
 RESTRICT="test firebird? ( bindist )"
@@ -38,7 +38,10 @@ RDEPEND="!net-dialup/cistronradius
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
ldap? ( net-nds/openldap )
kerberos? ( virtual/krb5 )
sqlite? ( dev-db/sqlite:3 )

diff --git a/net-dialup/freeradius/freeradius-3.0.16.ebuild 
b/net-dialup/freeradius/freeradius-3.0.16.ebuild
index abbb1380d9e..2920c24ee94 100644
--- a/net-dialup/freeradius/freeradius-3.0.16.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.16.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
postgres python readline sqlite ssl
 "
 RESTRICT="test firebird? ( bindist )"
@@ -38,7 +38,10 @@ RDEPEND="!net-dialup/cistronradius
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
ldap? ( net-nds/openldap )
kerberos? ( virtual/krb5 )
sqlite? ( dev-db/sqlite:3 )

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
index abbb1380d9e..2920c24ee94 100644
--- a/net-dialup/freeradius/freeradius-3.0.17.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   debug firebird iodbc kerberos ldap libressl mysql odbc oracle pam pcap
postgres python readline sqlite ssl
 "
 RESTRICT="test firebird? ( bindist )"
@@ -38,7 +38,10 @@ RDEPEND="!net-dialup/cistronradius
postgres? ( dev-db/postgresql:= )
firebird? ( dev-db/firebird )
pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
ldap? ( net-nds/openldap )
kerberos? ( virtual/krb5 )
sqlite? ( dev-db/sqlite:3 )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-04-18 Thread Lars Wendler
commit: 38784b3fe6357418a0c7b09fb63e7caff3373b08
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 18 08:35:47 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 18 09:16:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38784b3f

net-dialup/freeradius: Bump to version 3.0.17

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.17.ebuild | 224 +
 2 files changed, 225 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index c55898f5373..cc371c460c6 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1,3 @@
 DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 DIST freeradius-server-3.0.16.tar.gz 4833927 BLAKE2B 
48a991da9fec7594f1bd5bd9c713138755b746473b30d54bbbe2be06759375c1b1ba3925234ebf683a9686e5535a37122a38a708a058909c8cde22bd36641aeb
 SHA512 
ec2fa1d28fb722d84327eed8670931f5a9220e724e0c12965f0a217ae63b0bc089ea1cfb4878420c1f2a7cf9e2abbb8d3be645c4e21170732c915f1f2953d84b
+DIST freeradius-server-3.0.17.tar.gz 4843020 BLAKE2B 
9e1f54a9f5ad8ede471881ffe4ec987c3ac655a3c39fcd920094760c006102be02f3b7f25b14379a0bac876ac0944e8698c2781bbd804cd22d8b915b6c13a693
 SHA512 
381222e452288c56a1bf68953be57379a5568f0c92de022abc3004cc6a15078d46535b867b31801de3eb096ba7af92e745e79decfa7cc8151a1ffb371b1aea79

diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild 
b/net-dialup/freeradius/freeradius-3.0.17.ebuild
new file mode 100644
index 000..abbb1380d9e
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( virtual/mysql )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? ( dev-libs/openssl:0= )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || 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
+   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
+   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
+   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
+   rm -r src/modules/rlm_redis{,who} || die # requires redis
+   rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/

2018-03-08 Thread Markus Meier
commit: 7ee87cbab4638103104cb4941225d876b739643d
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Mar  8 20:01:08 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Mar  8 20:01:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee87cba

net-dialup/freeradius-client: arm stable, bug #647240

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
index 905a44c7d18..c902df0fe08 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
 
 IUSE="scp shadow static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-01-23 Thread Lars Wendler
commit: 05161d1c9ee5fb8b60f318c273bbe55c8f111b94
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan 23 09:28:24 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan 23 09:34:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05161d1c

net-dialup/freeradius: Bump to version 3.0.16

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.16.ebuild | 224 +
 2 files changed, 225 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 667226cd4f3..c55898f5373 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 DIST freeradius-server-3.0.15.tar.gz 4818244 BLAKE2B 
24cded2c4f0c6fc6a6135058c40bb2c9d100a55161f2edfc388efba991ff85ecd0f546bc2008cc0c50f2753cf93ece8e67dc3fc0fe13a8b935193ff1f68514b9
 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
+DIST freeradius-server-3.0.16.tar.gz 4833927 BLAKE2B 
48a991da9fec7594f1bd5bd9c713138755b746473b30d54bbbe2be06759375c1b1ba3925234ebf683a9686e5535a37122a38a708a058909c8cde22bd36641aeb
 SHA512 
ec2fa1d28fb722d84327eed8670931f5a9220e724e0c12965f0a217ae63b0bc089ea1cfb4878420c1f2a7cf9e2abbb8d3be645c4e21170732c915f1f2953d84b

diff --git a/net-dialup/freeradius/freeradius-3.0.16.ebuild 
b/net-dialup/freeradius/freeradius-3.0.16.ebuild
new file mode 100644
index 000..abbb1380d9e
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.16.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm:=
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( virtual/mysql )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? ( dev-libs/openssl:0= )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || 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
+   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
+   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
+   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
+   rm -r src/modules/rlm_redis{,who} || die # requires redis
+   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
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2018-01-04 Thread Lars Wendler
commit: 34c6b61a7134a8b332403280daeae604f13453d7
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan  4 11:07:38 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan  4 11:07:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c6b61a

net-dialup/freeradius: Added sub-slot dep for sys-libs/gdbm

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-dialup/freeradius/freeradius-3.0.15.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index e42fc8e3052..d74e5a47078 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,7 +29,7 @@ RDEPEND="!net-dialup/cistronradius
!net-dialup/gnuradius
sys-devel/libtool
dev-lang/perl:=
-   sys-libs/gdbm
+   sys-libs/gdbm:=
sys-libs/talloc
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-11-15 Thread Michael Palimaka
commit: ab4cddf3a9a969fac7236dff8e61f4c4b05eb36e
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Nov 15 12:06:41 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Nov 15 12:06:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4cddf3

net-dialup/freeradius: remove vulnerable 3.0.14

Bug: https://bugs.gentoo.org/625410
Package-Manager: Portage-2.3.8, Repoman-2.3.4

 net-dialup/freeradius/Manifest |   1 -
 net-dialup/freeradius/freeradius-3.0.14.ebuild | 225 -
 2 files changed, 226 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 1ca03b85b15..01a35bde4e0 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1 @@
-DIST freeradius-server-3.0.14.tar.gz 4816144 SHA256 
fcd6174d986a942db7a0defbccf6ffb6e692264a87915659493abb466c075909 SHA512 
5f81f09a843bf59b16ed4c9c311013e3e839911ed926c56151502a00bb86cc3a593906059ec08b994cfbc4c36d1bc6005d62c5d253ddb5cc3894324c4aaeb308
 WHIRLPOOL 
f679bd442ffc43fe6535a29e345290efa46837f2b31e5789920b9844b01a874ccc2bec6466bf99c6f60c587926a58cd537d4817def16fa89411ead9200c4a1e3
 DIST freeradius-server-3.0.15.tar.gz 4818244 SHA256 
fd29c5eda3f69f2d823d07745d24a80197df3c1284f2efe6a15f76e16271cfe3 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 WHIRLPOOL 
102719d62417870bad1c698d3e999cf3829397f8b310c898d7cbb551a44bdbf302dd9e4e2610287c281318930f057446f20b3f994c56ceeadf0864795c92a5d0

diff --git a/net-dialup/freeradius/freeradius-3.0.14.ebuild 
b/net-dialup/freeradius/freeradius-3.0.14.ebuild
deleted file mode 100644
index e42fc8e3052..000
--- a/net-dialup/freeradius/freeradius-3.0.14.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-single-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
-"
-RESTRICT="test firebird? ( bindist )"
-
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   sys-devel/libtool
-   dev-lang/perl:=
-   sys-libs/gdbm
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   mysql? ( virtual/mysql )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   python-single-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-}
-
-src_prepare() {
-   # 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.
-
-   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 pam || { rm -r src/modules/rlm_pam || die ; }
-   use python || { rm -r src/modules/rlm_python || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_redis{,who} || die # requires redis
-   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 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-11-12 Thread Agostino Sarubbo
commit: 900b78348f2ad8de41c2780ca21dfe5a21de7556
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 12 23:10:54 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 12 23:10:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900b7834

net-dialup/freeradius: amd64 stable wrt bug #625410

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
index e5c5443ca3c..a4153bf20bc 100644
--- a/net-dialup/freeradius/freeradius-3.0.15.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-07-18 Thread Lars Wendler
commit: 2784a682377000f2cf606029c7462a52bcd625ef
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 18 07:57:05 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 18 07:57:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2784a682

net-dialup/freeradius: Bump to version 3.0.15

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.15.ebuild | 225 +
 2 files changed, 226 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 70e021568a1..1ca03b85b15 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 DIST freeradius-server-3.0.14.tar.gz 4816144 SHA256 
fcd6174d986a942db7a0defbccf6ffb6e692264a87915659493abb466c075909 SHA512 
5f81f09a843bf59b16ed4c9c311013e3e839911ed926c56151502a00bb86cc3a593906059ec08b994cfbc4c36d1bc6005d62c5d253ddb5cc3894324c4aaeb308
 WHIRLPOOL 
f679bd442ffc43fe6535a29e345290efa46837f2b31e5789920b9844b01a874ccc2bec6466bf99c6f60c587926a58cd537d4817def16fa89411ead9200c4a1e3
+DIST freeradius-server-3.0.15.tar.gz 4818244 SHA256 
fd29c5eda3f69f2d823d07745d24a80197df3c1284f2efe6a15f76e16271cfe3 SHA512 
9b92045b445032bde9d421499fdc0f6a08d602c501730c31a8d3974b21cc5c12c78abb024ed62a176c7aa7fe260fe1d19386aaf558e0fecfcd3a0ba7aa47499c
 WHIRLPOOL 
102719d62417870bad1c698d3e999cf3829397f8b310c898d7cbb551a44bdbf302dd9e4e2610287c281318930f057446f20b3f994c56ceeadf0864795c92a5d0

diff --git a/net-dialup/freeradius/freeradius-3.0.15.ebuild 
b/net-dialup/freeradius/freeradius-3.0.15.ebuild
new file mode 100644
index 000..e5c5443ca3c
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.15.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-single-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( virtual/mysql )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? ( dev-libs/openssl:0= )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-single-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || 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
+   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
+   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
+   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
+   rm -r src/modules/rlm_redis{,who} || die # requires redis
+   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.
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-06-09 Thread Thomas Deutschmann
commit: 1c217a66539a420ae89934e50c2de2f7f98b697c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jun  9 12:40:55 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jun  9 12:40:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c217a66

net-dialup/freeradius: Security cleanup (bug #620186)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dialup/freeradius/Manifest |   1 -
 net-dialup/freeradius/freeradius-3.0.13.ebuild | 223 -
 2 files changed, 224 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index d37866810bd..70e021568a1 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,2 +1 @@
-DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 
34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 
b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f
 WHIRLPOOL 
74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7
 DIST freeradius-server-3.0.14.tar.gz 4816144 SHA256 
fcd6174d986a942db7a0defbccf6ffb6e692264a87915659493abb466c075909 SHA512 
5f81f09a843bf59b16ed4c9c311013e3e839911ed926c56151502a00bb86cc3a593906059ec08b994cfbc4c36d1bc6005d62c5d253ddb5cc3894324c4aaeb308
 WHIRLPOOL 
f679bd442ffc43fe6535a29e345290efa46837f2b31e5789920b9844b01a874ccc2bec6466bf99c6f60c587926a58cd537d4817def16fa89411ead9200c4a1e3

diff --git a/net-dialup/freeradius/freeradius-3.0.13.ebuild 
b/net-dialup/freeradius/freeradius-3.0.13.ebuild
deleted file mode 100644
index e0bf384b493..000
--- a/net-dialup/freeradius/freeradius-3.0.13.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-any-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
-"
-RESTRICT="test firebird? ( bindist )"
-
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   sys-devel/libtool
-   dev-lang/perl:=
-   sys-libs/gdbm
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   mysql? ( virtual/mysql )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   python-any-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-}
-
-src_prepare() {
-   # 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.
-
-   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 pam || { rm -r src/modules/rlm_pam || die ; }
-   use python || { rm -r src/modules/rlm_python || 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
-   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
-   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
-   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
-   rm -r src/modules/rlm_redis{,who} || die # requires redis
-   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() {
-   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-06-09 Thread Agostino Sarubbo
commit: ecdc332bdd2e3c0172c588e3e7543975cfeef3f9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun  9 09:44:43 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun  9 09:44:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdc332b

net-dialup/freeradius: amd64 stable wrt bug #620186

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.14.ebuild 
b/net-dialup/freeradius/freeradius-3.0.14.ebuild
index e5c5443ca3c..a4153bf20bc 100644
--- a/net-dialup/freeradius/freeradius-3.0.14.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.14.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-06-08 Thread Thomas Deutschmann
commit: 7e191f763117bb92f28e18b1d23bb940240db2cc
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jun  8 23:19:00 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jun  8 23:19:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e191f76

net-dialup/freeradius: Use python-single-r1 instead of python-any-r1 (bug 
#616068)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dialup/freeradius/freeradius-3.0.14.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.14.ebuild 
b/net-dialup/freeradius/freeradius-3.0.14.ebuild
index 4c5847cbcac..e5c5443ca3c 100644
--- a/net-dialup/freeradius/freeradius-3.0.14.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.14.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-any-r1 systemd user
+inherit autotools pam python-single-r1 systemd user
 
 MY_P="${PN}-server-${PV}"
 
@@ -47,13 +47,15 @@ RDEPEND="!net-dialup/cistronradius
oracle? ( dev-db/oracle-instantclient-basic )"
 DEPEND="${RDEPEND}"
 
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
enewgroup radius
enewuser radius -1 -1 /var/log/radius radius
 
-   python-any-r1_pkg_setup
+   python-single-r1_pkg_setup
export PYTHONBIN="${EPYTHON}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-06-08 Thread Thomas Deutschmann
commit: 0205f85bae3086c2096913a8c89c14cc4be84862
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jun  8 23:03:32 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jun  8 23:03:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0205f85b

net-dialup/freeradius: Security bump to v3.0.14 (bug #620186)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.14.ebuild | 223 +
 2 files changed, 224 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 2ac67f0326d..d37866810bd 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1 +1,2 @@
 DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 
34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 
b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f
 WHIRLPOOL 
74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7
+DIST freeradius-server-3.0.14.tar.gz 4816144 SHA256 
fcd6174d986a942db7a0defbccf6ffb6e692264a87915659493abb466c075909 SHA512 
5f81f09a843bf59b16ed4c9c311013e3e839911ed926c56151502a00bb86cc3a593906059ec08b994cfbc4c36d1bc6005d62c5d253ddb5cc3894324c4aaeb308
 WHIRLPOOL 
f679bd442ffc43fe6535a29e345290efa46837f2b31e5789920b9844b01a874ccc2bec6466bf99c6f60c587926a58cd537d4817def16fa89411ead9200c4a1e3

diff --git a/net-dialup/freeradius/freeradius-3.0.14.ebuild 
b/net-dialup/freeradius/freeradius-3.0.14.ebuild
new file mode 100644
index 000..4c5847cbcac
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.14.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-any-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( virtual/mysql )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? ( dev-libs/openssl:0= )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-any-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || 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
+   rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS 
library
+   rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires 
libeap-ikev2
+   rm -r src/modules/rlm_opendirectory || die # requires some membership.h
+   rm -r src/modules/rlm_redis{,who} || die # requires redis
+   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() {
+   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/, net-dialup/freeradius/files/

2017-06-06 Thread Pacho Ramos
commit: 3a66685246169d3f54d4bd60cc2bfd8b0cab80b9
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun  6 17:18:08 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun  6 17:28:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a666852

net-dialup/freeradius: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-dialup/freeradius/Manifest |   2 -
 .../freeradius/files/freeradius-2.2.5-gentoo.patch | 104 ---
 net-dialup/freeradius/files/radius.conf-r3 |  16 --
 net-dialup/freeradius/freeradius-2.2.9-r2.ebuild   | 195 -
 4 files changed, 317 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 0886686ea08..2ac67f0326d 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1 @@
-DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 
9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 
38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d
 WHIRLPOOL 
a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27
-DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 
e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 
a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e
 WHIRLPOOL 
14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9
 DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 
34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 
b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f
 WHIRLPOOL 
74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7

diff --git a/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch 
b/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch
deleted file mode 100644
index c51597cbb92..000
--- a/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch
+++ /dev/null
@@ -1,104 +0,0 @@
 a/raddb/radiusd.conf.in
-+++ b/raddb/radiusd.conf.in
-@@ -103,7 +103,7 @@
- # make
- # make install
- #
--libdir = @libdir@
-+libdir = @libdir@/freeradius
- 
- #  pidfile: Where to place the PID of the RADIUS server.
- #
 a/src/modules/Makefile
-+++ b/src/modules/Makefile
-@@ -12,7 +12,7 @@
-   @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
- 
- install:
--  $(INSTALL) -d -m 755 $(R)$(libdir)
-+  $(INSTALL) -d -m 755 $(R)$(pkglibdir)
-   @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
- 
- clean:
 a/src/modules/rules.mak
-+++ b/src/modules/rules.mak
-@@ -122,7 +122,7 @@
- $(TARGET).la: $(RLM_SUBDIRS) $(LT_OBJS)
-   $(LIBTOOL) --mode=link --tag=CC $(CC) -release 
$(RADIUSD_VERSION_STRING) \
-   -module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) -o $@ \
--  -rpath $(libdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS)
-+  -rpath $(pkglibdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS)
- 
- ###
- #
-@@ -163,13 +163,11 @@
- #  Do any module-specific installation.
- #
- #  If there isn't a TARGET defined, then don't do anything.
--#  Otherwise, install the libraries into $(libdir)
-+#  Otherwise, install the libraries into $(pkglibdir)
- #
- install:
-   @[ "x$(RLM_INSTALL)" = "x" ] || $(MAKE) $(MFLAGS) $(RLM_INSTALL)
-   if [ "x$(TARGET)" != "x" ]; then \
-   $(LIBTOOL) --mode=install $(INSTALL) -c \
--  $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \
--  rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la; \
--  ln -s $(TARGET).la 
$(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la || exit $$?; \
-+  $(TARGET).la $(R)$(pkglibdir)/$(TARGET).la || exit $$?; \
-   fi
 a/src/modules/rlm_sql/drivers/rules.mak
-+++ b/src/modules/rlm_sql/drivers/rules.mak
-@@ -103,7 +103,7 @@
- $(TARGET).la: $(LT_OBJS)
-   $(LIBTOOL) --mode=link --tag=CC $(CC) -release 
$(RADIUSD_VERSION_STRING) \
-   -module $(LINK_MODE) $(LDFLAGS) $(RLM_SQL_LDFLAGS) -o $@ \
--  -rpath $(libdir) $^ $(RLM_SQL_LIBS)
-+  -rpath $(pkglibdir) $^ $(RLM_SQL_LIBS)
- 
- ###
- #
-@@ -141,12 +141,10 @@
- #  Do any module-specific installation.
- #
- #  If there isn't a TARGET defined, then don't do anything.
--#  Otherwise, install the libraries into $(libdir)
-+#  Otherwise, install the libraries into $(pkglibdir)
- #
- install:
-   if [ "x$(TARGET)" != "x" ]; then \
-   $(LIBTOOL) --mode=install $(INSTALL) -c \
--  $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \
--  

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-05-06 Thread Agostino Sarubbo
commit: d7d462c5d96b25154c6a4b1e3743a89ffad08df8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  6 17:19:58 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  6 17:19:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d462c5

net-dialup/freeradius: x86 stable wrt bug #617468

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.13.ebuild 
b/net-dialup/freeradius/freeradius-3.0.13.ebuild
index b76ccdf2dca..e0bf384b493 100644
--- a/net-dialup/freeradius/freeradius-3.0.13.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.13.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-05-05 Thread Agostino Sarubbo
commit: 20856ba75cf82df4f90fb3bced5608ed5ac6f044
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  5 14:10:41 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  5 14:10:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20856ba7

net-dialup/freeradius: amd64 stable wrt bug #617468

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dialup/freeradius/freeradius-3.0.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.13.ebuild 
b/net-dialup/freeradius/freeradius-3.0.13.ebuild
index 4c5847cbcac..b76ccdf2dca 100644
--- a/net-dialup/freeradius/freeradius-3.0.13.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.13.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-04-27 Thread Michael Orlitzky
commit: be9952d05e2aedffbe3d986423d4c442625b64a1
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Apr 27 19:17:13 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Apr 27 19:17:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9952d0

net-dialup/freeradius: remove unused version 3.0.12-r1.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dialup/freeradius/Manifest|   1 -
 net-dialup/freeradius/freeradius-3.0.12-r1.ebuild | 220 --
 2 files changed, 221 deletions(-)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index fc49609a4e6..0886686ea08 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,4 +1,3 @@
 DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 
9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 
38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d
 WHIRLPOOL 
a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27
 DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 
e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 
a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e
 WHIRLPOOL 
14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9
-DIST freeradius-server-3.0.12.tar.gz 4767418 SHA256 
4a5af6efcf7fef08ea9bb02979200131e1332a48341c529da73bea76d3b25da0 SHA512 
69258da3976f75aa74a9ceb24e08bd5ae0aac2398cd8051368dea7f26a1c969f613a1c94f507e9ec3213f22a60b0b9e194dc68fe7807de501e56880b2fa52604
 WHIRLPOOL 
88c87178b440348672bbf6a69516c6c451605346f4e1f6d3dac0a5cc5e16bdf57de78a886c6a88b040249bea4f5cea2cadd851752c4e4b8a36a7f0195ce996f1
 DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 
34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 
b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f
 WHIRLPOOL 
74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7

diff --git a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
deleted file mode 100644
index aa64c722539..000
--- a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils pam python-any-r1 systemd user
-
-MY_P="${PN}-server-${PV}"
-
-DESCRIPTION="Highly configurable free RADIUS server"
-SRC_URI="
-   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
-   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
-"
-HOMEPAGE="http://www.freeradius.org/;
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="
-   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
-   postgres python readline sqlite ssl
-"
-RESTRICT="test firebird? ( bindist )"
-
-RDEPEND="!net-dialup/cistronradius
-   !net-dialup/gnuradius
-   sys-devel/libtool
-   dev-lang/perl:=
-   sys-libs/gdbm
-   sys-libs/talloc
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   pcap? ( net-libs/libpcap )
-   mysql? ( virtual/mysql )
-   postgres? ( dev-db/postgresql:= )
-   firebird? ( dev-db/firebird )
-   pam? ( virtual/pam )
-   ssl? ( dev-libs/openssl:0= )
-   ldap? ( net-nds/openldap )
-   kerberos? ( virtual/krb5 )
-   sqlite? ( dev-db/sqlite:3 )
-   odbc? ( dev-db/unixODBC )
-   iodbc? ( dev-db/libiodbc )
-   oracle? ( dev-db/oracle-instantclient-basic )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   enewgroup radius
-   enewuser radius -1 -1 /var/log/radius radius
-
-   python-any-r1_pkg_setup
-   export PYTHONBIN="${EPYTHON}"
-}
-
-src_prepare() {
-   # 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.
-
-   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 pam || { rm -r src/modules/rlm_pam || die ; }
-   use python || { rm -r src/modules/rlm_python 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-04-05 Thread Michael Weber
commit: 82e6bb9a79e55a9f843d3f9bec2a83f73f925390
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Apr  5 21:30:22 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Apr  5 22:03:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e6bb9a

net-dialup/freeradius: add ~arm keyword (bug 600944)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 net-dialup/freeradius/freeradius-3.0.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.13.ebuild 
b/net-dialup/freeradius/freeradius-3.0.13.ebuild
index ba34721a444..4c5847cbcac 100644
--- a/net-dialup/freeradius/freeradius-3.0.13.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.13.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 "
 HOMEPAGE="http://www.freeradius.org/;
 
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 LICENSE="GPL-2"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2017-03-28 Thread Lars Wendler
commit: 30dc9687272e0e687a32603d8f8a5508bbe4
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 28 11:49:07 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 28 11:49:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30dc9687

net-dialup/freeradius: Bump to version 3.0.13

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dialup/freeradius/Manifest |   1 +
 net-dialup/freeradius/freeradius-3.0.13.ebuild | 223 +
 2 files changed, 224 insertions(+)

diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 1f0c11cad08..fc49609a4e6 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,3 +1,4 @@
 DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 
9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 
38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d
 WHIRLPOOL 
a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27
 DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 
e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 
a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e
 WHIRLPOOL 
14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9
 DIST freeradius-server-3.0.12.tar.gz 4767418 SHA256 
4a5af6efcf7fef08ea9bb02979200131e1332a48341c529da73bea76d3b25da0 SHA512 
69258da3976f75aa74a9ceb24e08bd5ae0aac2398cd8051368dea7f26a1c969f613a1c94f507e9ec3213f22a60b0b9e194dc68fe7807de501e56880b2fa52604
 WHIRLPOOL 
88c87178b440348672bbf6a69516c6c451605346f4e1f6d3dac0a5cc5e16bdf57de78a886c6a88b040249bea4f5cea2cadd851752c4e4b8a36a7f0195ce996f1
+DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 
34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 
b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f
 WHIRLPOOL 
74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7

diff --git a/net-dialup/freeradius/freeradius-3.0.13.ebuild 
b/net-dialup/freeradius/freeradius-3.0.13.ebuild
new file mode 100644
index 000..ba34721a444
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-3.0.13.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools pam python-any-r1 systemd user
+
+MY_P="${PN}-server-${PV}"
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="
+   ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
+   ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
+"
+HOMEPAGE="http://www.freeradius.org/;
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="
+   debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
+   postgres python readline sqlite ssl
+"
+RESTRICT="test firebird? ( bindist )"
+
+RDEPEND="!net-dialup/cistronradius
+   !net-dialup/gnuradius
+   sys-devel/libtool
+   dev-lang/perl:=
+   sys-libs/gdbm
+   sys-libs/talloc
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   pcap? ( net-libs/libpcap )
+   mysql? ( virtual/mysql )
+   postgres? ( dev-db/postgresql:= )
+   firebird? ( dev-db/firebird )
+   pam? ( virtual/pam )
+   ssl? ( dev-libs/openssl:0= )
+   ldap? ( net-nds/openldap )
+   kerberos? ( virtual/krb5 )
+   sqlite? ( dev-db/sqlite:3 )
+   odbc? ( dev-db/unixODBC )
+   iodbc? ( dev-db/libiodbc )
+   oracle? ( dev-db/oracle-instantclient-basic )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup radius
+   enewuser radius -1 -1 /var/log/radius radius
+
+   python-any-r1_pkg_setup
+   export PYTHONBIN="${EPYTHON}"
+}
+
+src_prepare() {
+   # 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.
+
+   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 pam || { rm -r src/modules/rlm_pam || die ; }
+   use python || { rm -r src/modules/rlm_python || die ; }
+   # Do not install ruby 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/

2016-12-05 Thread Matt Turner
commit: 4a9039a4eceaa41719cfd119e6e990699cce767c
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Dec  5 19:19:38 2016 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Dec  5 19:19:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9039a4

net-dialup/freeradius: Revert "Allow parallel make."

This reverts commit 8c83c3611244c719b89282aefd2738cbb1631d91.

Bug: https://bugs.gentoo.org/509498

 net-dialup/freeradius/freeradius-3.0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
index 30d2444..5c58d13 100644
--- a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
@@ -181,7 +181,7 @@ src_install() {
diropts
 
# verbose, do not install certificates
-   emake \
+   emake -j1 \
Q='' ECHO=true \
LOCAL_CERT_PRODUCTS='' \
R="${D}" \



[gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/, net-dialup/freeradius/files/

2016-11-26 Thread Matt Turner
commit: 9a502883369ac2d353e09468aa6d0ac71c5b73a2
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Nov 23 18:19:55 2016 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 26 22:27:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a502883

net-dialup/freeradius: Run service as radius user by default.

Bug: https://bugs.gentoo.org/465768

 net-dialup/freeradius/files/radius.conf-r4| 16 
 net-dialup/freeradius/freeradius-3.0.12-r1.ebuild |  6 +-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/net-dialup/freeradius/files/radius.conf-r4 
b/net-dialup/freeradius/files/radius.conf-r4
new file mode 100644
index ..a5760d2
--- /dev/null
+++ b/net-dialup/freeradius/files/radius.conf-r4
@@ -0,0 +1,16 @@
+# Config file for /etc/init.d/radiusd
+
+# see man pages for radiusd run `radiusd -h`
+# for valid cmdline options
+#RADIUSD_OPTS=""
+
+# Change this value if you change it in /etc/raddb/radiusd.conf
+pidfile=/var/run/radiusd/radiusd.pid
+
+# Change these values if you change them in /etc/raddb/radiusd.conf
+RADIUSD_USER=radius
+RADIUSD_GROUP=radius
+
+# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want
+# to uncomment the following line.
+#rc_use="logger"

diff --git a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild 
b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
index 48c72ca..f69459b 100644
--- a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild
@@ -98,6 +98,8 @@ src_prepare() {
}
 
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
@@ -196,7 +198,7 @@ src_install() {
rm "${D}/usr/sbin/rc.radiusd" || die
 
newinitd "${FILESDIR}/radius.init-r3" radiusd
-   newconfd "${FILESDIR}/radius.conf-r3" radiusd
+   newconfd "${FILESDIR}/radius.conf-r4" radiusd
 
prune_libtool_files
 }
@@ -205,6 +207,8 @@ pkg_config() {
if use ssl; then
cd "${ROOT}"/etc/raddb/certs
./bootstrap
+
+   chown -R root:radius "${ROOT}"/etc/raddb/certs
fi
 }
 



  1   2   >