public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
@ 2013-02-24  1:36 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2013-02-24  1:36 UTC (permalink / raw
  To: gentoo-commits

flameeyes    13/02/24 01:36:09

  Modified:             metadata.xml ChangeLog
  Added:                pam_radius-1.3.17-r1.ebuild
  Removed:              pam_radius-1.3.17.ebuild
  Log:
  Build the module straight into the ebuild, and make sure to hide symbols that are not part of the interface.
  
  (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)

Revision  Changes    Path
1.2                  sys-auth/pam_radius/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	28 Jun 2008 06:51:40 -0000	1.1
+++ metadata.xml	24 Feb 2013 01:36:09 -0000	1.2
@@ -1,6 +1,10 @@
 <?xml version = '1.0' encoding = 'UTF-8'?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <herd>net-dialup</herd>
-  <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>
+  <herd>pam</herd>
+  <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>
 </pkgmetadata>



1.2                  sys-auth/pam_radius/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	28 Jun 2008 06:51:40 -0000	1.1
+++ ChangeLog	24 Feb 2013 01:36:09 -0000	1.2
@@ -1,6 +1,14 @@
 # ChangeLog for sys-auth/pam_radius
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v 1.1 2008/06/28 06:51:40 mrness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/ChangeLog,v 1.2 2013/02/24 01:36:09 flameeyes Exp $
+
+*pam_radius-1.3.17-r1 (24 Feb 2013)
+
+  24 Feb 2013; Diego E. Pettenò <flameeyes@gentoo.org>
+  +pam_radius-1.3.17-r1.ebuild, -pam_radius-1.3.17.ebuild,
+  files/pam_radius-1.3.17-gentoo.patch, metadata.xml:
+  Build the module straight into the ebuild, and make sure to hide symbols that
+  are not part of the interface.
 
 *pam_radius-1.3.17 (28 Jun 2008)
 
@@ -8,4 +16,3 @@
   +files/pam_radius-1.3.17-gentoo.patch, +files/server, +metadata.xml,
   +pam_radius-1.3.17.ebuild:
   Initial import from bug #211062.
-



1.1                  sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild

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
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

Index: pam_radius-1.3.17-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

inherit eutils pam toolchain-funcs

DESCRIPTION="PAM RADIUS authentication module"
HOMEPAGE="http://www.freeradius.org/pam_radius_auth/"
SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="virtual/pam"
RDEPEND="${DEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-gentoo.patch
}

doecho() {
	echo "$@"
	"$@" || die
}

src_compile() {
	# using the Makefile would require patching it to work properly, so
	# rather simply re-create it here.

	pammod_hide_symbols
	doecho $(tc-getCC) ${CFLAGS} -shared -fPIC ${LDFLAGS} *.c -lpam -o pam_radius_auth.so
}

src_install() {
	dopammod pam_radius_auth.so

	insopts -m600
	insinto /etc/raddb
	doins "${FILESDIR}"/server

	dodoc README Changelog USAGE
}

pkg_postinst() {
	elog "Before you can use this you'll have to add RADIUS servers to /etc/raddb/server."
	elog "The usage of pam_radius_auth module is explained in /usr/share/doc/${PF}/USAGE."
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-24  1:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24  1:36 [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 Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox