summaryrefslogtreecommitdiff
path: root/net-mail/poppassd_ceti
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/poppassd_ceti
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/poppassd_ceti')
-rw-r--r--net-mail/poppassd_ceti/Manifest7
-rw-r--r--net-mail/poppassd_ceti/files/poppassd.xinetd12
-rw-r--r--net-mail/poppassd_ceti/metadata.xml17
-rw-r--r--net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r1.ebuild45
-rw-r--r--net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r2.ebuild40
5 files changed, 121 insertions, 0 deletions
diff --git a/net-mail/poppassd_ceti/Manifest b/net-mail/poppassd_ceti/Manifest
new file mode 100644
index 000000000000..69e71f136e86
--- /dev/null
+++ b/net-mail/poppassd_ceti/Manifest
@@ -0,0 +1,7 @@
+AUX poppassd.xinetd 245 SHA256 a565cf9ebf854c2251401e4a1df2cbf15e4bd7df1b35504eef85b4dceee46346 SHA512 333d331433a0b43f414f83e51cad3502afb6f5b287967e55d0dedd90ac06955ccbcbe598a3dafe682c97a7ac4ecf501c0842ade940c0702fb797717e8844ffd4 WHIRLPOOL 2c0c92b3f216d0b3efce43f0999c15f69079e39025a5ca038b2b27ccc5fb9eae388d4975bd0342609ac9bb9ed068350cd7b369b435a1b663d736ff30df3ba765
+DIST poppassd-1.8.5.tar.gz 6054 SHA256 3b4ccb61c9b97fd91add8b798429c7e1aee0561a19781e413186e9da733c95a8 SHA512 4d8d9c3b15b986bd34e5e459f654e8137019a2466b9fec001d9e61a3267b09f150c3faee8e6914d98742c7b3a7301271ba522ee6dff614cca97815a3ae241ae9 WHIRLPOOL 09a9779a74db186fb2991b72e2caf410ac9086751b9453b1a62e46fc9b5ae06609b30a636acc58611e26953ad0f4796a0a0c813106a36299df07d98f27a7e336
+EBUILD poppassd_ceti-1.8.5-r1.ebuild 1045 SHA256 83237d090d9e8e5ba3dfa693ba528ff99349c6884f5dafb6faf373056e31c295 SHA512 e6089fb7a6c6caf2ef85bbe07edbee764183495e7e943260193dd72166aacfc543c8e203408761a61806d9189b16f77027eb920f669b8d167f93d48e310176f4 WHIRLPOOL 84954edd4cb2ff6919a1bb20e4595eb8c1d3942200f418c885efe2471e99f2c6af2f82e04539be5990f7a53c7e630a710b2d882effeb727a176615582fc7e360
+EBUILD poppassd_ceti-1.8.5-r2.ebuild 902 SHA256 7fd00c33ed31d7074c10226f28a1e4d6c2977861b9adbc8ea1c07655471b08a0 SHA512 02825df92b4118e326ab7916b1f1247a46cb0ba7871410373f6156ecc73217bc642502034d2b07b7235309f8d5a8047d55c15b70670f868cd48af8a18308eb0c WHIRLPOOL 5ba17b65f96267beb0d5cff7d2c0e5143dc27a4f2cf643ba471ddb6ae3dccce85a6b071e6a10cda49efb3d78142e6bf6d91ee2ee316d4da48ddf1e771faa1732
+MISC ChangeLog 2547 SHA256 9db6069c89747df49a9ac105f352276f69b9dc458bd530b93323c6f2e4480967 SHA512 0b3e7161859f0db654f41bbc6af5069872ec1f22dd3d725c88928c4c13ad427e096fd6974b997479e738ec2c42b52eb58388a6ad14eb72efce371122700994ef WHIRLPOOL 582c0db655257cf4b1c017ac709a24b87b35d335fb4ce42f7773269bdc6469bfd4e9be228611af7d56d1f5229061c618d14703fb29eff4d30d50355924e0421b
+MISC ChangeLog-2015 2308 SHA256 b73201ab7eb756515d80af23abde9b5ccf7d27df065a0622f6c8393cc79dc0d8 SHA512 66f596beee79ebfc4545b9abea8bccf0daf50cc363f07c4e325547f981cb007bc184f9722f9e4eb0c2294674e20fd385f7886eeb67c6629522df68d1ad2ee776 WHIRLPOOL f98228c4dfb52301c0658c0b7e66c5fd392250b558b91b907d2e32143e24e038febf6eca68091d4a26f85797552b51608b89f0a6b2ceb72d9d2ba68fc97487df
+MISC metadata.xml 782 SHA256 e4ffd626de11ffb8224512869095491e7e56c990783d4e912655cd81bd90c9cc SHA512 8ce15614cc7864c9d4a40ad1c83609d403d012f1d4bb9b6f0fcd523b210d943e816d58a3dd6f9e5345fc889118f7d833980b9615cba1d04d54184c2df8d4e2f8 WHIRLPOOL 4ae16412b9fd3af405dc2d4dd7c0f1dc1a520a623a7ad80ae21a2628408a0b84ac35e2690a4f61858623e0d7d157c365ede070a23b31de9d217132f5e063a648
diff --git a/net-mail/poppassd_ceti/files/poppassd.xinetd b/net-mail/poppassd_ceti/files/poppassd.xinetd
new file mode 100644
index 000000000000..7f0344781bce
--- /dev/null
+++ b/net-mail/poppassd_ceti/files/poppassd.xinetd
@@ -0,0 +1,12 @@
+service poppassd
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /usr/sbin/poppassd
+ log_on_success += HOST DURATION
+ log_on_failure += HOST
+ disable = yes
+}
+
diff --git a/net-mail/poppassd_ceti/metadata.xml b/net-mail/poppassd_ceti/metadata.xml
new file mode 100644
index 000000000000..32eb1e27b6df
--- /dev/null
+++ b/net-mail/poppassd_ceti/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <longdescription>
+ Provides a daemon for changing passwords over the network. This feature
+ is commonly used for TCP loopback password changing from web scripting
+ languages such as Perl and PHP, removing the requirement for setuid perl
+ scipts or running a web server process as root. This version of poppassd
+ has PAM support, and also optional support for cracklib enforcing the use
+ of strong passwords. Note that the protocol is plain text and so insecure
+ for all but loopback use.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r1.ebuild b/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r1.ebuild
new file mode 100644
index 000000000000..b9029a221c85
--- /dev/null
+++ b/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs pam portability
+
+MY_PN="poppassd"
+MY_P="${MY_PN}-${PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Password change daemon with PAM support"
+HOMEPAGE="http://echelon.pl/pubs/poppassd.html"
+SRC_URI="http://echelon.pl/pubs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="cracklib"
+
+DEPEND="virtual/pam"
+
+RDEPEND="${DEPEND}
+ sys-apps/xinetd
+ cracklib? ( sys-libs/cracklib )"
+
+src_compile() {
+ $(tc-getCC) -c ${CFLAGS} ${MY_PN}.c || die "Compile failed."
+ $(tc-getCC) -o poppassd ${MY_PN}.o -lpam $(dlopen_lib) || die "Linking failed."
+}
+
+src_install() {
+ dodoc README
+
+ pamd_mimic_system poppassd auth account password
+ if use cracklib; then
+ echo -e "password\trequired\tpam_cracklib.so retry=3" >> \
+ ${D}/etc/pam.d/poppassd
+ fi
+
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/poppassd.xinetd poppassd
+
+ insinto /usr/sbin
+ insopts -o root -g bin -m 500
+ doins poppassd || die "Install failed."
+}
diff --git a/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r2.ebuild b/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r2.ebuild
new file mode 100644
index 000000000000..ff5a2b157ec2
--- /dev/null
+++ b/net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs pam portability
+
+MY_PN="poppassd"
+MY_P="${MY_PN}-${PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Password change daemon with PAM support"
+HOMEPAGE="http://echelon.pl/pubs/poppassd.html"
+SRC_URI="http://echelon.pl/pubs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="virtual/pam"
+
+RDEPEND="${DEPEND}
+ sys-apps/xinetd"
+
+src_compile() {
+ $(tc-getCC) -c ${CFLAGS} ${MY_PN}.c || die "Compile failed."
+ $(tc-getCC) ${LDFLAGS} -o poppassd ${MY_PN}.o -lpam $(dlopen_lib) || die "Linking failed."
+}
+
+src_install() {
+ dodoc README
+
+ pamd_mimic_system poppassd auth account password
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/poppassd.xinetd poppassd
+
+ insinto /usr/sbin
+ insopts -o root -g bin -m 500
+ doins poppassd || die "Install failed."
+}