diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-perl/Authen-Radius | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-perl/Authen-Radius')
-rw-r--r-- | dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild | 50 | ||||
-rw-r--r-- | dev-perl/Authen-Radius/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/Authen-Radius/files/Authen-Radius-0.32-no-install-db.patch | 43 |
3 files changed, 96 insertions, 0 deletions
diff --git a/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild b/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild new file mode 100644 index 000000000000..bff0006635e2 --- /dev/null +++ b/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=PORTAONE +DIST_VERSION=0.32 +DIST_EXAMPLES=("contrib/*") +inherit perl-module + +DESCRIPTION="Communicate with a Radius server from Perl" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=virtual/perl-Data-Dumper-1.0.0 + >=dev-perl/Data-HexDump-0.20.0 + >=virtual/perl-Digest-MD5-2.200.0 + >=virtual/perl-IO-1.120.0 + >=dev-perl/Net-IP-1.260.0 +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.640.0 + test? ( + dev-perl/Test-NoWarnings + virtual/perl-Test-Simple + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.26-cisco-dictionary.patch + "${FILESDIR}"/${PN}-0.32-no-install-db.patch +) + +src_configure() { + export OPTIMIZE="$CFLAGS" + perl-module_src_configure +} + +src_install() { + perl-module_src_install + + # Really want to install these radius dictionaries? + insinto /etc/raddb + doins raddb/dictionary* +} diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest index 7598e29af7c8..38a5da6b1543 100644 --- a/dev-perl/Authen-Radius/Manifest +++ b/dev-perl/Authen-Radius/Manifest @@ -1,5 +1,8 @@ AUX Authen-Radius-0.26-cisco-dictionary.patch 1176 BLAKE2B a090393a57ee39c06345d0969f5c54de30158265fd548fbe88d7dfd40335523c9ef3c9c5d5ae6432796d992c4f19e793544013bbdb7f9c5cc7854a66ae5a15c6 SHA512 f040137ade128614a0f35fe016a58989e3d5bf8fdc2ed20358223fd5ac4792d72edc135e0c1a4335be3f66d38e0120d8d42950266def30b273484ed6bda66b4c AUX Authen-Radius-0.26-no-install-db.patch 1234 BLAKE2B 004c2fefaf43efedfcf92bacff4139795a66c06394984f2c5cda14951214d0fdb97a84f4fbe9617b991a052091281037fcfb2592df0a620c4b8090c9365c5eca SHA512 ee947157e5bb02ccb171554d5b83e44482f0fc44b5d2c1e3d3488943baa175a87950999930ea79dd087c731b145ee15bcf394d784cbcabcd73a2f4ef8362b485 +AUX Authen-Radius-0.32-no-install-db.patch 1236 BLAKE2B 9e17c1ed8faa32ab0f7faca2e19f85204f18521f99576ff386e2f3764b7b3cd665a4f41ccb649aa0d128f2c758b744db011804260d1a2d1df4339aa56d56d124 SHA512 ea66e67af47419772b199128fc52e541a91afeabb34934b8a310d944010fb1daaf3699fff668a81151c2694f86a23429477d166452a40ce717adaf896f229980 DIST Authen-Radius-0.31.tar.gz 51311 BLAKE2B 52aaa623ca28b1b406c027fb54f38c9f24b347815aefb3336649b4ff505a0b97db516b6877546bd330505516f3481934b0c46975c017ae76ed475bc476bd1c6d SHA512 6b78254a6a94f67bd3a5529d4313da779d630a57e2300b02a49034c153b34fec0c6e745c5419f5a5e3ba2996d39907834d3f909ce9fdbd0edc6c43668f89d380 +DIST Authen-Radius-0.32.tar.gz 51366 BLAKE2B 12b18554fccd56aa3668224e2e1a932108993ef845b10b3220eed212fb3413d875cdeb8e8fdef2ba439b0b0ab72417bbb9c830bc2a023a03a0c221b3f52b3170 SHA512 323bddead9465d60da8d1b0f4500fec436c14a8c82552b24da54a6798c0583dffb37005f7abc627ea9532ca46bd442063cddd52d8c5923aa10fa7954c728bca5 EBUILD Authen-Radius-0.310.0.ebuild 986 BLAKE2B 8ca3ef42d2ffa3dc40b93bcdeeeebaca6f903a8c67df69326e244eca7ac4d2bc10fe782572211a29433dfccb5fc47acc7580a786da1475dd6eb5f37375c9c6de SHA512 9c8fc015aa9ea0bd8dfa90d49d552f4ccb66daf43f8eb1f357df4a517cfd3199f64fa80aeb2e9e241e8bdbe2039a5ccc053abd440824589cde322d27f9133874 +EBUILD Authen-Radius-0.320.0.ebuild 988 BLAKE2B 8797eb6940cd535d086f87a63d4071c58a5b6a55a5e9557c872a0821e9dcb8be539ac8fe9166c9af4b35f34ca89ddd822680f1e820e885ab918f47692a6b596d SHA512 27eeb3e49ad672b3c979882c0cd543935ca0f732ae0ae8b90d7ddad5eaa0443a9ee464194314427711259a762611b82794835cd04660e6b1d1c0938b0e637163 MISC metadata.xml 398 BLAKE2B e4d3554055d85f7488c0b8e71da8792d7e86560ffe3cfd3037caf69e708f777ffc6e9044d76228463b71c82ad1ca85230e1aec637140fdc2ffe3f9042344acbd SHA512 780392f67556558208d30f88e4bb2ea9c58acbeb250bb01df4de7b9d1cc90e6d17634c4447cb7f779fd1748be3c363b280cac716b250a66c7d1cc1dd349a4ece diff --git a/dev-perl/Authen-Radius/files/Authen-Radius-0.32-no-install-db.patch b/dev-perl/Authen-Radius/files/Authen-Radius-0.32-no-install-db.patch new file mode 100644 index 000000000000..149d3b465a17 --- /dev/null +++ b/dev-perl/Authen-Radius/files/Authen-Radius-0.32-no-install-db.patch @@ -0,0 +1,43 @@ +From 57b9f1a710c2eee1c8f54eb87d164584aa9532ce Mon Sep 17 00:00:00 2001 +From: Torsten Veller <tove@gentoo.org> +Date: Mon, 5 Nov 2012 01:02:48 +1300 +Subject: Remove automatic radis-db installer code + +--- + MANIFEST | 1 - + Makefile.PL | 1 - + install-radius-db.PL => install-radius-db.PL.orig | 0 + 3 files changed, 2 deletions(-) + rename install-radius-db.PL => install-radius-db.PL.orig (100%) + +diff --git a/MANIFEST b/MANIFEST +index a8e2801..09913da 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -4,7 +4,6 @@ README + LICENSE + MANIFEST + Radius.pm +-install-radius-db.PL + t/decode.t + t/dictionary.t + t/digest.t +diff --git a/Makefile.PL b/Makefile.PL +index 45653ab..7f1b202 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -4,7 +4,6 @@ use ExtUtils::MakeMaker; + WriteMakefile( + NAME => 'Authen::Radius', + VERSION_FROM => 'Radius.pm', # finds $VERSION +- PPM_INSTALL_SCRIPT => 'install-radius-db.PL', + MIN_PERL_VERSION => "v5.10.0", + BUILD_REQUIRES => { + # Support for TEST_REQUIRES +diff --git a/install-radius-db.PL b/install-radius-db.PL.orig +similarity index 100% +rename from install-radius-db.PL +rename to install-radius-db.PL.orig +-- +2.15.1 + |