1 |
commit: 95c8417fd2055f84f94004abee22bf1cb4466fa5 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 22:40:11 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 22:43:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c8417f |
7 |
|
8 |
dev-perl/Authen-Radius: Version bump 0.32 |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
.../Authen-Radius/Authen-Radius-0.320.0.ebuild | 50 ++++++++++++++++++++++ |
14 |
dev-perl/Authen-Radius/Manifest | 1 + |
15 |
.../files/Authen-Radius-0.32-no-install-db.patch | 43 +++++++++++++++++++ |
16 |
3 files changed, 94 insertions(+) |
17 |
|
18 |
diff --git a/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild b/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..bff0006635e |
21 |
--- /dev/null |
22 |
+++ b/dev-perl/Authen-Radius/Authen-Radius-0.320.0.ebuild |
23 |
@@ -0,0 +1,50 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+DIST_AUTHOR=PORTAONE |
30 |
+DIST_VERSION=0.32 |
31 |
+DIST_EXAMPLES=("contrib/*") |
32 |
+inherit perl-module |
33 |
+ |
34 |
+DESCRIPTION="Communicate with a Radius server from Perl" |
35 |
+ |
36 |
+LICENSE="Artistic-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
39 |
+IUSE="test" |
40 |
+RESTRICT="!test? ( test )" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=virtual/perl-Data-Dumper-1.0.0 |
44 |
+ >=dev-perl/Data-HexDump-0.20.0 |
45 |
+ >=virtual/perl-Digest-MD5-2.200.0 |
46 |
+ >=virtual/perl-IO-1.120.0 |
47 |
+ >=dev-perl/Net-IP-1.260.0 |
48 |
+" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.640.0 |
51 |
+ test? ( |
52 |
+ dev-perl/Test-NoWarnings |
53 |
+ virtual/perl-Test-Simple |
54 |
+ ) |
55 |
+" |
56 |
+ |
57 |
+PATCHES=( |
58 |
+ "${FILESDIR}"/${PN}-0.26-cisco-dictionary.patch |
59 |
+ "${FILESDIR}"/${PN}-0.32-no-install-db.patch |
60 |
+) |
61 |
+ |
62 |
+src_configure() { |
63 |
+ export OPTIMIZE="$CFLAGS" |
64 |
+ perl-module_src_configure |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ perl-module_src_install |
69 |
+ |
70 |
+ # Really want to install these radius dictionaries? |
71 |
+ insinto /etc/raddb |
72 |
+ doins raddb/dictionary* |
73 |
+} |
74 |
|
75 |
diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest |
76 |
index 4b13a5bff12..1b2a14480fe 100644 |
77 |
--- a/dev-perl/Authen-Radius/Manifest |
78 |
+++ b/dev-perl/Authen-Radius/Manifest |
79 |
@@ -1 +1,2 @@ |
80 |
DIST Authen-Radius-0.31.tar.gz 51311 BLAKE2B 52aaa623ca28b1b406c027fb54f38c9f24b347815aefb3336649b4ff505a0b97db516b6877546bd330505516f3481934b0c46975c017ae76ed475bc476bd1c6d SHA512 6b78254a6a94f67bd3a5529d4313da779d630a57e2300b02a49034c153b34fec0c6e745c5419f5a5e3ba2996d39907834d3f909ce9fdbd0edc6c43668f89d380 |
81 |
+DIST Authen-Radius-0.32.tar.gz 51366 BLAKE2B 12b18554fccd56aa3668224e2e1a932108993ef845b10b3220eed212fb3413d875cdeb8e8fdef2ba439b0b0ab72417bbb9c830bc2a023a03a0c221b3f52b3170 SHA512 323bddead9465d60da8d1b0f4500fec436c14a8c82552b24da54a6798c0583dffb37005f7abc627ea9532ca46bd442063cddd52d8c5923aa10fa7954c728bca5 |
82 |
|
83 |
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 |
84 |
new file mode 100644 |
85 |
index 00000000000..149d3b465a1 |
86 |
--- /dev/null |
87 |
+++ b/dev-perl/Authen-Radius/files/Authen-Radius-0.32-no-install-db.patch |
88 |
@@ -0,0 +1,43 @@ |
89 |
+From 57b9f1a710c2eee1c8f54eb87d164584aa9532ce Mon Sep 17 00:00:00 2001 |
90 |
+From: Torsten Veller <tove@g.o> |
91 |
+Date: Mon, 5 Nov 2012 01:02:48 +1300 |
92 |
+Subject: Remove automatic radis-db installer code |
93 |
+ |
94 |
+--- |
95 |
+ MANIFEST | 1 - |
96 |
+ Makefile.PL | 1 - |
97 |
+ install-radius-db.PL => install-radius-db.PL.orig | 0 |
98 |
+ 3 files changed, 2 deletions(-) |
99 |
+ rename install-radius-db.PL => install-radius-db.PL.orig (100%) |
100 |
+ |
101 |
+diff --git a/MANIFEST b/MANIFEST |
102 |
+index a8e2801..09913da 100644 |
103 |
+--- a/MANIFEST |
104 |
++++ b/MANIFEST |
105 |
+@@ -4,7 +4,6 @@ README |
106 |
+ LICENSE |
107 |
+ MANIFEST |
108 |
+ Radius.pm |
109 |
+-install-radius-db.PL |
110 |
+ t/decode.t |
111 |
+ t/dictionary.t |
112 |
+ t/digest.t |
113 |
+diff --git a/Makefile.PL b/Makefile.PL |
114 |
+index 45653ab..7f1b202 100644 |
115 |
+--- a/Makefile.PL |
116 |
++++ b/Makefile.PL |
117 |
+@@ -4,7 +4,6 @@ use ExtUtils::MakeMaker; |
118 |
+ WriteMakefile( |
119 |
+ NAME => 'Authen::Radius', |
120 |
+ VERSION_FROM => 'Radius.pm', # finds $VERSION |
121 |
+- PPM_INSTALL_SCRIPT => 'install-radius-db.PL', |
122 |
+ MIN_PERL_VERSION => "v5.10.0", |
123 |
+ BUILD_REQUIRES => { |
124 |
+ # Support for TEST_REQUIRES |
125 |
+diff --git a/install-radius-db.PL b/install-radius-db.PL.orig |
126 |
+similarity index 100% |
127 |
+rename from install-radius-db.PL |
128 |
+rename to install-radius-db.PL.orig |
129 |
+-- |
130 |
+2.15.1 |
131 |
+ |