summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-02-18 19:19:53 +0000
committerNick Hadaway <raker@gentoo.org>2003-02-18 19:19:53 +0000
commitb2084f9335dc4180f2009ef232ed7842a63676f9 (patch)
tree81e2658eae203b88a91192d321c244c52e1ed74a /net-mail/poppassd_pam
parentVersion bump. Bug fixes. (diff)
downloadgentoo-2-b2084f9335dc4180f2009ef232ed7842a63676f9.tar.gz
gentoo-2-b2084f9335dc4180f2009ef232ed7842a63676f9.tar.bz2
gentoo-2-b2084f9335dc4180f2009ef232ed7842a63676f9.zip
New ebuild
Diffstat (limited to 'net-mail/poppassd_pam')
-rw-r--r--net-mail/poppassd_pam/ChangeLog10
-rw-r--r--net-mail/poppassd_pam/files/digest-poppassd_pam-1.01
-rw-r--r--net-mail/poppassd_pam/files/missing-stdio.patch10
-rw-r--r--net-mail/poppassd_pam/files/poppassd.pam2
-rw-r--r--net-mail/poppassd_pam/files/poppassd.xinetd9
-rw-r--r--net-mail/poppassd_pam/poppassd_pam-1.0.ebuild51
6 files changed, 83 insertions, 0 deletions
diff --git a/net-mail/poppassd_pam/ChangeLog b/net-mail/poppassd_pam/ChangeLog
new file mode 100644
index 000000000000..1a91e6b52d16
--- /dev/null
+++ b/net-mail/poppassd_pam/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-mail/poppassd_pam
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/poppassd_pam/ChangeLog,v 1.1 2003/02/18 19:19:52 raker Exp $
+
+*poppassd_pam-1.0 (18 Feb 2003)
+
+ 18 Feb 2003; Nick Hadaway <raker@gentoo.org> poppassd_pam-1.0.ebuild,
+ files/digest-poppassd_pam-1.0, files/poppassd.pam,
+ files/poppassd.xinetd, files/missing-stdio.patch :
+ New ebuild as requested on bug #10283
diff --git a/net-mail/poppassd_pam/files/digest-poppassd_pam-1.0 b/net-mail/poppassd_pam/files/digest-poppassd_pam-1.0
new file mode 100644
index 000000000000..7d09355b15b2
--- /dev/null
+++ b/net-mail/poppassd_pam/files/digest-poppassd_pam-1.0
@@ -0,0 +1 @@
+MD5 73ea05d7a4154aafb3a41f20df0b932b poppassd_pam-1.0.tar.gz 4139
diff --git a/net-mail/poppassd_pam/files/missing-stdio.patch b/net-mail/poppassd_pam/files/missing-stdio.patch
new file mode 100644
index 000000000000..4d04724915b9
--- /dev/null
+++ b/net-mail/poppassd_pam/files/missing-stdio.patch
@@ -0,0 +1,10 @@
+--- poppassd_pam.c 2001-10-11 00:09:06.000000000 -0500
++++ poppassd_pam.c.new 2003-02-18 13:16:04.000000000 -0600
+@@ -98,6 +98,7 @@
+ #include <strings.h>
+ #include <syslog.h>
+ #include <security/pam_appl.h>
++#include <stdio.h>
+
+ /*
+ * Prototypes
diff --git a/net-mail/poppassd_pam/files/poppassd.pam b/net-mail/poppassd_pam/files/poppassd.pam
new file mode 100644
index 000000000000..d5b03e1d790f
--- /dev/null
+++ b/net-mail/poppassd_pam/files/poppassd.pam
@@ -0,0 +1,2 @@
+password required /lib/security/pam_permit.so
+
diff --git a/net-mail/poppassd_pam/files/poppassd.xinetd b/net-mail/poppassd_pam/files/poppassd.xinetd
new file mode 100644
index 000000000000..ef977b07a0d3
--- /dev/null
+++ b/net-mail/poppassd_pam/files/poppassd.xinetd
@@ -0,0 +1,9 @@
+service poppassd
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /usr/bin/poppassd
+ disable = yes
+}
diff --git a/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild b/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild
new file mode 100644
index 000000000000..1fa46d1026e1
--- /dev/null
+++ b/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild,v 1.1 2003/02/18 19:19:52 raker Exp $
+
+inherit eutils
+
+DESCRIPTION="POP Password Changer w/PAM support"
+HOMEPAGE="http://freshmeat.net/projects/poppassd_pam/
+ http://netwinsite.com/poppassd/"
+SRC_URI="http://scholar.uws.edu.au/~97074683/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+DEPEND="virtual/glibc
+ >=sys-libs/pam-0.75-r8"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/missing-stdio.patch
+}
+
+src_compile() {
+ cd ${S}
+ ${CC} -c ${CFLAGS} ${PN}.c || die "compile failed"
+ ${CC} -o poppassd ${PN}.o -lpam || die "linking failed"
+}
+
+src_install() {
+ insinto /usr/bin
+ insopts -o root -g bin -m 500
+ doins poppassd
+
+ dodoc README
+
+ insinto /etc/pam.d
+ newins ${FILESDIR}/poppassd.pam poppassd
+
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/poppassd.xinetd poppassd
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Make sure to modify /etc/services and add..."
+ einfo ""
+ einfo "poppassd 106/tcp"
+ einfo ""
+}