close #7046
authorDonny Davies <woodchip@gentoo.org>
Fri, 25 Oct 2002 15:54:31 +0000 (15:54 +0000)
committerDonny Davies <woodchip@gentoo.org>
Fri, 25 Oct 2002 15:54:31 +0000 (15:54 +0000)
net-misc/pam_smb/ChangeLog [new file with mode: 0644]
net-misc/pam_smb/files/digest-pam_smb-1.9.9 [new file with mode: 0644]
net-misc/pam_smb/pam_smb-1.9.9.ebuild [new file with mode: 0644]

diff --git a/net-misc/pam_smb/ChangeLog b/net-misc/pam_smb/ChangeLog
new file mode 100644 (file)
index 0000000..649713d
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for net-misc/pam_smb
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pam_smb/ChangeLog,v 1.1 2002/10/25 15:54:31 woodchip Exp $
+
+*pam_smb-1.1.6 (25 Oct 2002)
+
+  25 Oct 2002 ; Donny Davies <woodchip@gentoo.org> :
+  Initial import; cleaned/fixed by me. Thank you eivindt-gentoo@multinet.no
+  for submitting #7046.
diff --git a/net-misc/pam_smb/files/digest-pam_smb-1.9.9 b/net-misc/pam_smb/files/digest-pam_smb-1.9.9
new file mode 100644 (file)
index 0000000..eb25a4c
--- /dev/null
@@ -0,0 +1 @@
+MD5 571ea74593c80a723331e207cbd09cb4 pam_smb-1.9.9.tar.gz 106341
diff --git a/net-misc/pam_smb/pam_smb-1.9.9.ebuild b/net-misc/pam_smb/pam_smb-1.9.9.ebuild
new file mode 100644 (file)
index 0000000..4728715
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pam_smb/pam_smb-1.9.9.ebuild,v 1.1 2002/10/25 15:54:31 woodchip Exp $
+
+DESCRIPTION="The PAM SMB module, which allows authentication against an NT server."
+HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/"
+
+S=${WORKDIR}/${PN}
+SRC_URI="http://us2.samba.org/samba/ftp/pam_smb/devel/${P}.tar.gz"
+
+DEPEND=">=sys-libs/pam-0.75"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+SLOT="0"
+
+src_compile() {
+       econf --disable-root-only || die
+       emake || die
+}
+
+src_install() {
+       exeinto /lib/security
+       doexe pamsmbm/pam_smb_auth.so
+       exeinto /usr/sbin
+       doexe pamsmbd/pamsmbd
+
+       dodoc BUGS CHANGES COPYING README TODO INSTALL
+       dodoc faq/pam_smb_faq.sgml faq/additions.txt
+       docinto pam.d ; dodoc pam_smb.conf*
+
+#fixme
+#      exeinto /etc/init.d
+#      newexe ${FILESDIR}/pamsmbd-init pamsmbd
+}
+
+pkg_postinst() {
+       einfo
+       einfo "You must create /etc/pam_smb.conf yourself, containing"
+       einfo "your domainname, PDC and BDC.  See example files in docdir."
+       einfo
+}