Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_radius: metadata.xml pam_radius-1.3.17-r1.ebuild ChangeLog pam_radius-1.3.17.ebuild
Date: Sun, 24 Feb 2013 01:36:14
Message-Id: 20130224013609.8EF302171D@flycatcher.gentoo.org
1 flameeyes 13/02/24 01:36:09
2
3 Modified: metadata.xml ChangeLog
4 Added: pam_radius-1.3.17-r1.ebuild
5 Removed: pam_radius-1.3.17.ebuild
6 Log:
7 Build the module straight into the ebuild, and make sure to hide symbols that are not part of the interface.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.2 sys-auth/pam_radius/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 28 Jun 2008 06:51:40 -0000 1.1
25 +++ metadata.xml 24 Feb 2013 01:36:09 -0000 1.2
26 @@ -1,6 +1,10 @@
27 <?xml version = '1.0' encoding = 'UTF-8'?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 - <herd>net-dialup</herd>
31 - <longdescription>This is the PAM to RADIUS authentication module. It allows any PAM-capable machine to become a RADIUS client for authentication and accounting requests.</longdescription>
32 + <herd>pam</herd>
33 + <longdescription>
34 + This is the PAM to RADIUS authentication module. It allows any
35 + PAM-capable machine to become a RADIUS client for authentication
36 + and accounting requests.
37 + </longdescription>
38 </pkgmetadata>
39
40
41
42 1.2 sys-auth/pam_radius/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?r1=1.1&r2=1.2
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- ChangeLog 28 Jun 2008 06:51:40 -0000 1.1
55 +++ ChangeLog 24 Feb 2013 01:36:09 -0000 1.2
56 @@ -1,6 +1,14 @@
57 # ChangeLog for sys-auth/pam_radius
58 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v 1.1 2008/06/28 06:51:40 mrness Exp $
60 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
61 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v 1.2 2013/02/24 01:36:09 flameeyes Exp $
62 +
63 +*pam_radius-1.3.17-r1 (24 Feb 2013)
64 +
65 + 24 Feb 2013; Diego E. Pettenò <flameeyes@g.o>
66 + +pam_radius-1.3.17-r1.ebuild, -pam_radius-1.3.17.ebuild,
67 + files/pam_radius-1.3.17-gentoo.patch, metadata.xml:
68 + Build the module straight into the ebuild, and make sure to hide symbols that
69 + are not part of the interface.
70
71 *pam_radius-1.3.17 (28 Jun 2008)
72
73 @@ -8,4 +16,3 @@
74 +files/pam_radius-1.3.17-gentoo.patch, +files/server, +metadata.xml,
75 +pam_radius-1.3.17.ebuild:
76 Initial import from bug #211062.
77 -
78
79
80
81 1.1 sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild?rev=1.1&content-type=text/plain
85
86 Index: pam_radius-1.3.17-r1.ebuild
87 ===================================================================
88 # Copyright 1999-2013 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild,v 1.1 2013/02/24 01:36:09 flameeyes Exp $
91
92 EAPI=5
93
94 inherit eutils pam toolchain-funcs
95
96 DESCRIPTION="PAM RADIUS authentication module"
97 HOMEPAGE="http://www.freeradius.org/pam_radius_auth/"
98 SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz"
99
100 LICENSE="GPL-2+"
101 SLOT="0"
102 KEYWORDS="~amd64 ~x86"
103 IUSE=""
104
105 DEPEND="virtual/pam"
106 RDEPEND="${DEPEND}"
107
108 src_prepare() {
109 epatch "${FILESDIR}"/${P}-gentoo.patch
110 }
111
112 doecho() {
113 echo "$@"
114 "$@" || die
115 }
116
117 src_compile() {
118 # using the Makefile would require patching it to work properly, so
119 # rather simply re-create it here.
120
121 pammod_hide_symbols
122 doecho $(tc-getCC) ${CFLAGS} -shared -fPIC ${LDFLAGS} *.c -lpam -o pam_radius_auth.so
123 }
124
125 src_install() {
126 dopammod pam_radius_auth.so
127
128 insopts -m600
129 insinto /etc/raddb
130 doins "${FILESDIR}"/server
131
132 dodoc README Changelog USAGE
133 }
134
135 pkg_postinst() {
136 elog "Before you can use this you'll have to add RADIUS servers to /etc/raddb/server."
137 elog "The usage of pam_radius_auth module is explained in /usr/share/doc/${PF}/USAGE."
138 }