summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-08-13 03:17:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-08-13 03:17:15 +0000
commite29fe5df4c9629e82c7b9ee6b51ec70918f61bed (patch)
treee8ef578bcc7620ba643e1c1d52240c47c637d39b /sys-apps/ucspi-tcp
parentAdd support for newer RBL zones and custom error responses, also increase max... (diff)
downloadhistorical-e29fe5df4c9629e82c7b9ee6b51ec70918f61bed.tar.gz
historical-e29fe5df4c9629e82c7b9ee6b51ec70918f61bed.tar.bz2
historical-e29fe5df4c9629e82c7b9ee6b51ec70918f61bed.zip
Add support for newer RBL zones and custom error responses, also increase max response size
Diffstat (limited to 'sys-apps/ucspi-tcp')
-rw-r--r--sys-apps/ucspi-tcp/Manifest4
-rw-r--r--sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r64
-rw-r--r--sys-apps/ucspi-tcp/ucspi-tcp-0.88-r6.ebuild48
3 files changed, 54 insertions, 2 deletions
diff --git a/sys-apps/ucspi-tcp/Manifest b/sys-apps/ucspi-tcp/Manifest
index 96a42da7bac5..bec76225126f 100644
--- a/sys-apps/ucspi-tcp/Manifest
+++ b/sys-apps/ucspi-tcp/Manifest
@@ -1,6 +1,6 @@
MD5 2c09d200ad0eeec1a2084619088c0b08 ucspi-tcp-0.88-r5.ebuild 1210
-MD5 b5b4b4e85dad23c22dd5c35abba1c9d8 ucspi-tcp-0.88-r6.ebuild 1294
-MD5 d38b38519fcd660b4dad5e234db5fd89 ChangeLog 2224
+MD5 e7021c9b252cd0cf371e76a0bbf137f7 ucspi-tcp-0.88-r6.ebuild 1422
+MD5 4d2b696270b3ed578dda6045a9ab1b2f ChangeLog 2435
MD5 8f76c3f5b6777f74eb928e32809c4121 files/digest-ucspi-tcp-0.88-r5 213
MD5 a5811d6f0724cbd29b91436c95f712d7 files/digest-ucspi-tcp-0.88-r6 270
MD5 0479a09fdd4ce855d35e36563cab4743 files/0.88-errno.patch 239
diff --git a/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r6 b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r6
new file mode 100644
index 000000000000..cb1296621146
--- /dev/null
+++ b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r6
@@ -0,0 +1,4 @@
+MD5 39b619147db54687c4a583a7a94c9163 ucspi-tcp-0.88.tar.gz 53019
+MD5 7a75eda8ccd766570392042f879a0812 ucspi-tcp-0.88-ipv6.diff13.bz2 21965
+MD5 10d5074c18d00e5c62c76ce69d7c975b ucspi-tcp-ssl-20020705.patch.gz 3084
+MD5 554ec0eb60f619667efde3fb5325310d ucspi-rss.diff 1828
diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r6.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r6.ebuild
new file mode 100644
index 000000000000..cb57d52f373e
--- /dev/null
+++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r6.ebuild,v 1.1 2003/08/13 03:17:11 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Collection of tools for managing UNIX services"
+SRC_URI="http://cr.yp.to/${PN}/${P}.tar.gz
+ ipv6? ( http://www.fefe.de/ucspi/ucspi-tcp-0.88-ipv6.diff13.bz2 )
+ ssl? ( http://www.nrg4u.com/qmail/ucspi-tcp-ssl-20020705.patch.gz )
+ mirror://qmail/ucspi-rss.diff"
+HOMEPAGE="http://cr.yp.to/ucspi-tcp.html"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~alpha"
+LICENSE="as-is"
+IUSE="ssl ipv6"
+
+DEPEND="virtual/glibc
+ ssl? ( >=dev-libs/openssl-0.9.6g )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ if use ipv6; then
+ epatch ${WORKDIR}/ucspi-tcp-0.88-ipv6.diff13
+ elif use ssl; then
+ epatch ${WORKDIR}/ucspi-tcp-ssl-20020705.patch
+ fi
+ epatch ${FILESDIR}/${PV}-errno.patch
+ epatch ${DISTDIR}/ucspi-rss.diff
+
+ echo "${CC} ${CFLAGS}" > conf-cc
+ echo "${CC} ${LDFLAGS}" > conf-ld
+ echo "/usr/" > conf-home
+
+ # allow larger responses
+ sed -i 's|if (text.len > 200) text.len = 200;|if (text.len > 500) text.len = 500;|g' ${S}/rblsmtpd.c
+}
+
+src_compile() {
+ pmake || die
+}
+
+src_install() {
+ dobin tcpserver tcprules tcprulescheck argv0 recordio tcpclient *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+}