diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-auth/pam_smb | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-auth/pam_smb')
-rw-r--r-- | sys-auth/pam_smb/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch | 12 | ||||
-rw-r--r-- | sys-auth/pam_smb/files/pamsmbd-init | 20 | ||||
-rw-r--r-- | sys-auth/pam_smb/metadata.xml | 14 | ||||
-rw-r--r-- | sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild | 52 | ||||
-rw-r--r-- | sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild | 51 |
6 files changed, 150 insertions, 0 deletions
diff --git a/sys-auth/pam_smb/Manifest b/sys-auth/pam_smb/Manifest new file mode 100644 index 000000000000..a80499b42d39 --- /dev/null +++ b/sys-auth/pam_smb/Manifest @@ -0,0 +1 @@ +DIST pam_smb-2.0.0-rc6.tar.gz 115069 SHA256 b787b11dade66b1078553fc0662843f3aa9f69629542ff5fd6802d62555295c5 diff --git a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch new file mode 100644 index 000000000000..570655d82462 --- /dev/null +++ b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch @@ -0,0 +1,12 @@ +diff -Nurp pam_smb-2.0.0_rc6.orig/configure pam_smb-2.0.0_rc6/configure +--- configure 2006-03-17 15:02:01.000000000 +0000 ++++ configure 2006-03-17 15:02:01.000000000 +0000 +@@ -1486,7 +1486,7 @@ else + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` diff --git a/sys-auth/pam_smb/files/pamsmbd-init b/sys-auth/pam_smb/files/pamsmbd-init new file mode 100644 index 000000000000..e65387ffa533 --- /dev/null +++ b/sys-auth/pam_smb/files/pamsmbd-init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting pamsmbd" + start-stop-daemon --start --quiet --exec /usr/sbin/pamsmbd + eend $? +} + +stop() { + ebegin "Stopping pamsmbd" + start-stop-daemon --stop --quiet --name pamsmbd + eend $? +} diff --git a/sys-auth/pam_smb/metadata.xml b/sys-auth/pam_smb/metadata.xml new file mode 100644 index 000000000000..8bab991023fc --- /dev/null +++ b/sys-auth/pam_smb/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>samba@gentoo.org</email> + <name>Samba Team</name> +</maintainer> +<longdescription> +The PAM SMB module, which allows authentication against a SMB (such as the Win_x families) server. +</longdescription> +<longdescription lang="ja"> + PAM の SMB モジュールは SMB サーバ( Win_x ファミリの類)の認証を許します。 +</longdescription> +</pkgmetadata> diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild new file mode 100644 index 000000000000..e3810cd5a181 --- /dev/null +++ b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils pam + +MY_P=${P/_rc/-rc} + +DESCRIPTION="The PAM SMB module, allows authentication against a SMB (such as the Win_x families) server" +HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/" +SRC_URI=" + mirror://samba/pam_smb/v2/${MY_P}.tar.gz + http://www.csn.ul.ie/~airlied/pam_smb/v2/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc x86" +IUSE="" + +DEPEND=">=sys-libs/pam-0.75" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/10-pam_smb-bash-3.1.patch" +} + +src_compile() { + econf --disable-root-only + emake || die "emake failed" +} + +src_install() { + dopammod pamsmbm/pam_smb_auth.so + dosbin pamsmbd/pamsmbd + + dodoc BUGS CHANGES README TODO faq/{pam_smb_faq.sgml,additions.txt} + docinto pam.d + dodoc pam_smb.conf* + + newinitd "${FILESDIR}/pamsmbd-init pamsmbd" +} + +pkg_postinst() { + echo + elog "You must create /etc/pam_smb.conf yourself, containing" + elog "your domainname, PDC and BDC. See example files in docdir." + echo +} diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild new file mode 100644 index 000000000000..691f55d1505e --- /dev/null +++ b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils pam + +MY_P=${P/_rc/-rc} + +DESCRIPTION="The PAM SMB module, allows authentication against a SMB (such as the Win_x families) server" +HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/" +SRC_URI=" + mirror://samba/pam_smb/v2/${MY_P}.tar.gz + http://www.csn.ul.ie/~airlied/pam_smb/v2/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND=">=sys-libs/pam-0.75" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/10-pam_smb-bash-3.1.patch" +} + +src_configure() { + econf --disable-root-only +} + +src_install() { + dopammod pamsmbm/pam_smb_auth.so + dosbin pamsmbd/pamsmbd + + dodoc BUGS CHANGES README TODO faq/{pam_smb_faq.sgml,additions.txt} + docinto pam.d + dodoc pam_smb.conf* + + newinitd "${FILESDIR}/pamsmbd-init pamsmbd" +} + +pkg_postinst() { + echo + elog "You must create /etc/pam_smb.conf yourself, containing" + elog "your domainname, PDC and BDC. See example files in docdir." + echo +} |