diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:00:35 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:00:35 +0000 |
commit | aef3c394f34c4a0238d94e0e46077866592f320d (patch) | |
tree | bafb50bf5c6c8bc46ac6bec71d9e6136e2dddfe0 /app-admin | |
parent | Fixing package collisions with games-rpg/nwn and closing bug #145593. (diff) | |
download | historical-aef3c394f34c4a0238d94e0e46077866592f320d.tar.gz historical-aef3c394f34c4a0238d94e0e46077866592f320d.tar.bz2 historical-aef3c394f34c4a0238d94e0e46077866592f320d.zip |
Tool for setting up authentication from network services
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/authconfig/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/authconfig/Manifest | 20 | ||||
-rw-r--r-- | app-admin/authconfig/authconfig-5.3.5.ebuild | 49 | ||||
-rw-r--r-- | app-admin/authconfig/files/5.3.5-gentooify.patch | 164 | ||||
-rw-r--r-- | app-admin/authconfig/files/digest-authconfig-5.3.5 | 3 | ||||
-rw-r--r-- | app-admin/authconfig/metadata.xml | 9 |
6 files changed, 255 insertions, 0 deletions
diff --git a/app-admin/authconfig/ChangeLog b/app-admin/authconfig/ChangeLog new file mode 100644 index 000000000000..5de0e5d2ddb9 --- /dev/null +++ b/app-admin/authconfig/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/authconfig +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/authconfig/ChangeLog,v 1.1 2006/09/05 21:00:35 dberkholz Exp $ + +*authconfig-5.3.5 (05 Sep 2006) + + 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +files/5.3.5-gentooify.patch, +metadata.xml, +authconfig-5.3.5.ebuild: + Tool for setting up authentication from network services + diff --git a/app-admin/authconfig/Manifest b/app-admin/authconfig/Manifest new file mode 100644 index 000000000000..83e5a596a166 --- /dev/null +++ b/app-admin/authconfig/Manifest @@ -0,0 +1,20 @@ +AUX 5.3.5-gentooify.patch 5446 RMD160 9b9c26f5b23028f2a43e4ff2d7a849be7312cbf3 SHA1 35e3898faf5eb8e9f46d9ab36618efc75bc5ae4f SHA256 e44c5f904ea312af0f64942502a7ec2c36d18b85315dad186b0a9858f5b0cbdb +MD5 b6740b063fa1441229077a0e21033bfe files/5.3.5-gentooify.patch 5446 +RMD160 9b9c26f5b23028f2a43e4ff2d7a849be7312cbf3 files/5.3.5-gentooify.patch 5446 +SHA256 e44c5f904ea312af0f64942502a7ec2c36d18b85315dad186b0a9858f5b0cbdb files/5.3.5-gentooify.patch 5446 +DIST authconfig-5.3.5-1.src.rpm 686134 RMD160 f8caf7358e3b65ef6edc564a14bb6b297168d5de SHA1 87fb9702bf24997602800b656550cde9b1250f26 SHA256 20d6fc84d4e0f01f9876dde15bf40ce2e7360094ec60baff0ead36005bdaea77 +EBUILD authconfig-5.3.5.ebuild 1354 RMD160 fcae4499eb1cdef9f2d01a84f09476b779d9e527 SHA1 8f4a5fb6865eb1ef731d4d37f85a895445c092c5 SHA256 84ab61c4ca719f5c88e4227e588c36a75e1e1d9f0981121a3e7518aacc579dad +MD5 aea3e258c54bcbb0c3ffb95db64ef825 authconfig-5.3.5.ebuild 1354 +RMD160 fcae4499eb1cdef9f2d01a84f09476b779d9e527 authconfig-5.3.5.ebuild 1354 +SHA256 84ab61c4ca719f5c88e4227e588c36a75e1e1d9f0981121a3e7518aacc579dad authconfig-5.3.5.ebuild 1354 +MISC ChangeLog 437 RMD160 472d93f8fde3719f2a7d59b07aa81c4942ac6210 SHA1 96389c7e2a3a396830c0b5472738598e2764ea74 SHA256 016f820fec4cd352db853a1d74ff48fbfcbea927092384d9ea9a165d73aceefe +MD5 3d3d39dfd125127dacc469608f559843 ChangeLog 437 +RMD160 472d93f8fde3719f2a7d59b07aa81c4942ac6210 ChangeLog 437 +SHA256 016f820fec4cd352db853a1d74ff48fbfcbea927092384d9ea9a165d73aceefe ChangeLog 437 +MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 +MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252 +RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252 +SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 metadata.xml 252 +MD5 71823fd0b807fd0fb6c47fad4daa1a84 files/digest-authconfig-5.3.5 259 +RMD160 ca5a01448969efce1d551ad2fadf0f16c197146b files/digest-authconfig-5.3.5 259 +SHA256 9ed2ad7702bbfe5c0b198bb6ed2f5d80f66efa69f2c3225f61d4d33ff77e7b89 files/digest-authconfig-5.3.5 259 diff --git a/app-admin/authconfig/authconfig-5.3.5.ebuild b/app-admin/authconfig/authconfig-5.3.5.ebuild new file mode 100644 index 000000000000..de3ededa8cc7 --- /dev/null +++ b/app-admin/authconfig/authconfig-5.3.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/authconfig/authconfig-5.3.5.ebuild,v 1.1 2006/09/05 21:00:35 dberkholz Exp $ + +inherit eutils rpm + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="Tool for setting up authentication from network services" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="dev-python/rhpl + dev-libs/newt + >=sys-libs/pam-0.99.5 + sys-apps/usermode + dev-lang/python + =dev-libs/glib-2* + dev-perl/XML-Parser + =dev-python/pygtk-2*" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool" + +src_unpack() { + rpm_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${PV}-gentooify.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + make_desktop_entry /usr/bin/${PN} + + fperms 644 /etc/pam.d/${PN} +} + +pkg_postinst() { + elog "To activate options in the User Information tab," + elog "install the nss_XXX package or another provider of the nss module." + elog "To activate options in the Authentication tab," + elog "install the pam_XXX package or another provider of the pam module." +} diff --git a/app-admin/authconfig/files/5.3.5-gentooify.patch b/app-admin/authconfig/files/5.3.5-gentooify.patch new file mode 100644 index 000000000000..5774f8403c32 --- /dev/null +++ b/app-admin/authconfig/files/5.3.5-gentooify.patch @@ -0,0 +1,164 @@ +Index: authconfig-gtk.py +=================================================================== +RCS file: /usr/local/CVS/authconfig/authconfig-gtk.py,v +retrieving revision 1.42 +diff -u -b -B -r1.42 authconfig-gtk.py +--- authconfig-gtk.py 24 Aug 2006 19:22:17 -0000 1.42 ++++ authconfig-gtk.py 5 Sep 2006 07:58:24 -0000 +@@ -387,12 +387,12 @@ + if "--firstboot" in sys.argv: + for service in firstbootservices: + if os.access("/etc/init.d/" + service, os.X_OK): +- os.system("/etc/init.d/" + service + " condrestart") ++ os.system("/etc/init.d/" + service + " restart") + if os.access("/etc/init.d/autofs", os.X_OK): + if self.info.enableNIS: + cond = "" + else: +- cond = "cond" ++ cond = "" + os.system("/etc/init.d/autofs " + cond + "restart") + + def ldap_cacerts_test(self): +Index: authinfo.py +=================================================================== +RCS file: /usr/local/CVS/authconfig/authinfo.py,v +retrieving revision 1.20 +diff -u -b -B -r1.20 authinfo.py +--- authinfo.py 24 Aug 2006 19:22:17 -0000 1.20 ++++ authinfo.py 5 Sep 2006 07:58:26 -0000 +@@ -61,7 +61,7 @@ + PATH_ODBCBIND_PID = "/var/run/odbcbind.pid" + PATH_WINBIND = "/usr/sbin/winbindd" + PATH_WINBIND_PID = "/var/run/winbindd.pid" +-PATH_YPBIND = "/sbin/ypbind" ++PATH_YPBIND = "/usr/sbin/ypbind" + PATH_YPBIND_PID = "/var/run/ypbind.pid" + PATH_SEBOOL = "/usr/sbin/setsebool" + PATH_SCEVENTD = "/usr/bin/pkcs11_eventmgr" +@@ -73,14 +73,14 @@ + PATH_LIBNSS_NIS = LIBDIR + "/libnss_nis.so.2" + PATH_LIBNSS_HESIOD = LIBDIR + "/libnss_hesiod.so.2" + PATH_LIBNSS_ODBCBIND = LIBDIR + "/libnss_odbcbind.so.2" +-PATH_LIBNSS_WINBIND = LIBDIR + "/libnss_winbind.so.2" ++PATH_LIBNSS_WINBIND = "/usr" + LIBDIR + "/libnss_winbind.so.2" + PATH_LIBNSS_WINS = LIBDIR + "/libnss_wins.so.2" + + PATH_PAM_KRB5 = AUTH_MODULE_DIR + "/pam_krb5.so" + PATH_PAM_LDAP = AUTH_MODULE_DIR + "/pam_ldap.so" + PATH_PAM_SMB = AUTH_MODULE_DIR + "/pam_smb_auth.so" +-PATH_PAM_WINBIND = AUTH_MODULE_DIR + "/pam_winbind.so" +-PATH_PAM_PKCS11 = AUTH_MODULE_DIR + "/pam_pkcs11.so" ++PATH_PAM_WINBIND = "/usr" + LIBDIR + "/samba/security" + "/pam_winbind.so" ++PATH_PAM_PKCS11 = "/usr" + AUTH_MODULE_DIR + "/pam_pkcs11.so" + + PATH_WINBIND_NET = "/usr/bin/net" + +@@ -455,11 +455,11 @@ + def toggleCachingService(enableCaching, nostart): + if not nostart: + if enableCaching: +- os.system("/sbin/service nscd restart") ++ os.system("/etc/init.d/nscd restart") + else: + try: + os.stat(PATH_NSCD_PID) +- os.system("/sbin/service nscd stop") ++ os.system("/etc/init.d/nscd stop") + except OSError: + pass + return True +@@ -469,24 +469,22 @@ + os.system("/bin/domainname " + nisDomain) + try: + os.stat(PATH_PORTMAP) +- os.system("/sbin/chkconfig --add portmap") +- os.system("/sbin/chkconfig --level 345 portmap on") ++ os.system("/sbin/rc-update add portmap default") + if not nostart: +- os.system("/sbin/service portmap restart") ++ os.system("/etc/init.d/portmap restart") + except OSError: + pass + try: + os.stat(PATH_YPBIND) +- os.system("/sbin/chkconfig --add ypbind") +- os.system("/sbin/chkconfig --level 345 ypbind on") ++ os.system("/sbin/rc-update add ypbind default") + if os.access(PATH_SEBOOL, os.R_OK | os.X_OK): + os.system(PATH_SEBOOL + " -P allow_ypbind 1") + if not nostart: + try: + os.stat(PATH_YPBIND_PID) +- os.system("/sbin/service ypbind restart") ++ os.system("/etc/init.d/ypbind restart") + except OSError: +- os.system("/sbin/service ypbind start") ++ os.system("/etc/init.d/ypbind start") + except OSError: + pass + else: +@@ -496,10 +494,10 @@ + if not nostart: + try: + os.stat(PATH_YPBIND_PID) +- os.system("/sbin/service ypbind stop") ++ os.system("/etc/init.d/ypbind stop") + except OSError: + pass +- os.system("/sbin/chkconfig --level 345 ypbind off") ++ os.system("/sbin/rc-update del ypbind") + if os.access(PATH_SEBOOL, os.R_OK | os.X_OK): + os.system(PATH_SEBOOL + " -P allow_ypbind 0") + except OSError: +@@ -510,10 +508,9 @@ + if enable: + try: + os.stat(path) +- os.system("/sbin/chkconfig --add " + name) +- os.system("/sbin/chkconfig --level 345 " + name + " on") ++ os.system("/sbin/rc-update add " + name + " default") + if not nostart: +- os.system("/sbin/service " + name +" restart") ++ os.system("/etc/init.d/" + name +" restart") + except OSError: + pass + else: +@@ -522,11 +519,11 @@ + if not nostart: + try: + os.stat(pidfile) +- os.system("/sbin/service " + name +" stop") ++ os.system("/etc/init.d/" + name +" stop") + except OSError: + pass + +- os.system("/sbin/chkconfig --level 345 " + name + " off") ++ os.system("/sbin/rc-update del " + name) + except OSError: + pass + return True +@@ -1088,7 +1085,7 @@ + + # Read whether or not caching is enabled. + def readCache(self): +- rv = os.system("/sbin/chkconfig nscd >/dev/null 2>&1") ++ rv = os.system("/bin/rc-status | grep -q nscd") + self.enableCache = os.WIFEXITED(rv) and os.WEXITSTATUS(rv) == 0 + return True + +@@ -1485,12 +1482,11 @@ + + def writeCache(self): + if self.enableCache: +- os.system("/sbin/chkconfig --add nscd") +- os.system("/sbin/chkconfig --level 345 nscd on") ++ os.system("/sbin/rc-update add nscd default") + else: + try: + os.stat(PATH_NSCD) +- os.system("/sbin/chkconfig --level 345 nscd off"); ++ os.system("/sbin/rc-update del nscd"); + except OSError: + pass + return True diff --git a/app-admin/authconfig/files/digest-authconfig-5.3.5 b/app-admin/authconfig/files/digest-authconfig-5.3.5 new file mode 100644 index 000000000000..03d58b069a37 --- /dev/null +++ b/app-admin/authconfig/files/digest-authconfig-5.3.5 @@ -0,0 +1,3 @@ +MD5 5df034b566978fb561085656e86f4679 authconfig-5.3.5-1.src.rpm 686134 +RMD160 f8caf7358e3b65ef6edc564a14bb6b297168d5de authconfig-5.3.5-1.src.rpm 686134 +SHA256 20d6fc84d4e0f01f9876dde15bf40ce2e7360094ec60baff0ead36005bdaea77 authconfig-5.3.5-1.src.rpm 686134 diff --git a/app-admin/authconfig/metadata.xml b/app-admin/authconfig/metadata.xml new file mode 100644 index 000000000000..cd89a979878d --- /dev/null +++ b/app-admin/authconfig/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>dberkholz@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> |