diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2007-01-15 21:24:20 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2007-01-15 21:24:20 +0000 |
commit | 2b2b3ebe09ed4d6e5ed493fa860fbd42701648f2 (patch) | |
tree | e0360bb047b61ba27b49d805823b2ed52d25771d /sys-apps | |
parent | x86 stable, wrt bug 136924 (diff) | |
download | gentoo-2-2b2b3ebe09ed4d6e5ed493fa860fbd42701648f2.tar.gz gentoo-2-2b2b3ebe09ed4d6e5ed493fa860fbd42701648f2.tar.bz2 gentoo-2-2b2b3ebe09ed4d6e5ed493fa860fbd42701648f2.zip |
Drop IPv6 and SSL patches, add support for UCSPI_TCP_PATCH_DIR variable instead. General cleanup.
(Portage version: 2.1.2)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ucspi-tcp/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r16 | 6 | ||||
-rw-r--r-- | sys-apps/ucspi-tcp/ucspi-tcp-0.88-r16.ebuild | 81 |
3 files changed, 96 insertions, 2 deletions
diff --git a/sys-apps/ucspi-tcp/ChangeLog b/sys-apps/ucspi-tcp/ChangeLog index bf69eb4533c0..83557fd7d594 100644 --- a/sys-apps/ucspi-tcp/ChangeLog +++ b/sys-apps/ucspi-tcp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/ucspi-tcp -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ChangeLog,v 1.53 2006/10/16 15:51:51 corsair Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ChangeLog,v 1.54 2007/01/15 21:24:20 hansmi Exp $ + +*ucspi-tcp-0.88-r16 (15 Jan 2007) + + 15 Jan 2007; Michael Hanselmann <hansmi@gentoo.org> + +ucspi-tcp-0.88-r16.ebuild: + Drop IPv6 and SSL patches, add support for UCSPI_TCP_PATCH_DIR variable + instead. General cleanup. 16 Oct 2006; Markus Rothe <corsair@gentoo.org> ucspi-tcp-0.88-r15.ebuild: Stable on ppc64 diff --git a/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r16 b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r16 new file mode 100644 index 000000000000..626a1090f5af --- /dev/null +++ b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r16 @@ -0,0 +1,6 @@ +MD5 554ec0eb60f619667efde3fb5325310d ucspi-rss.diff 1828 +RMD160 e65f7317351f45eab70ed7b66d98e3c4b4494389 ucspi-rss.diff 1828 +SHA256 5101354eb86d8e11edefd7b83df4e9c274a55b845f4cb2ce36dda912aced56f4 ucspi-rss.diff 1828 +MD5 39b619147db54687c4a583a7a94c9163 ucspi-tcp-0.88.tar.gz 53019 +RMD160 eb20085ea6ffd5d137a805f7c8768e0312c1f56a ucspi-tcp-0.88.tar.gz 53019 +SHA256 4a0615cab74886f5b4f7e8fd32933a07b955536a3476d74ea087a3ea66a23e9c ucspi-tcp-0.88.tar.gz 53019 diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r16.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r16.ebuild new file mode 100644 index 000000000000..636dab973cb9 --- /dev/null +++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r16.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r16.ebuild,v 1.1 2007/01/15 21:24:20 hansmi Exp $ + +inherit eutils toolchain-funcs fixheadtails flag-o-matic + +DESCRIPTION="Collection of tools for managing UNIX services" +HOMEPAGE="http://cr.yp.to/ucspi-tcp.html" +SRC_URI=" + http://cr.yp.to/${PN}/${P}.tar.gz + mirror://qmail/ucspi-rss.diff +" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="selinux doc" +RESTRICT="test" + +DEPEND="" +RDEPEND="${DEPEND} + doc? ( app-doc/ucspi-tcp-man ) + selinux? ( sec-policy/selinux-ucspi-tcp )" +PROVIDE="virtual/inetd" + +src_unpack() { + unpack "${P}.tar.gz" + cd "${S}" + + epatch \ + "${FILESDIR}"/${PV}-errno.patch \ + "${DISTDIR}"/ucspi-rss.diff \ + "${FILESDIR}"/${PV}-rblsmtpd-ignore-on-RELAYCLIENT.patch + + ht_fix_file Makefile + + # gcc-3.4.5 and other several versions contain a bug on some platforms that + # cause this error: + # tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist + # To work around this, we use -O1 here instead. + replace-flags -O? -O1 + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${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" + + if [[ -n "${UCSPI_TCP_PATCH_DIR}" && -d "${UCSPI_TCP_PATCH_DIR}" ]] + then + echo + ewarn "You enabled custom patches from ${UCSPI_TCP_PATCH_DIR}." + ewarn "Be warned that you won't get any support when using " + ewarn "this feature. You're on your own from now!" + echo + ebeep + epatch "${UCSPI_TCP_PATCH_DIR}/"* + fi +} + +src_compile() { + emake || die +} + +src_install() { + dobin tcpserver tcprules tcprulescheck argv0 recordio tcpclient *\@ \ + tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd || die + doman *.[15] + dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION + dodoc README.tcpserver-limits-patch + insinto /etc/tcprules.d/ + newins "${FILESDIR}"/tcprules-Makefile Makefile +} + +pkg_postinst() { + einfo "We have started a move to get all tcprules files into" + einfo "/etc/tcprules.d/, where we have provided a Makefile to" + einfo "easily update the CDB file." +} |