summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-11-09 14:43:46 +0000
committerAlin Năstac <mrness@gentoo.org>2006-11-09 14:43:46 +0000
commit25aa128f960dccca18f008944121da942063a575 (patch)
tree2ee76e8bd01aa1d02f3b58905c821d7a5607bc25
parentVersion bump. (diff)
downloadgentoo-2-25aa128f960dccca18f008944121da942063a575.tar.gz
gentoo-2-25aa128f960dccca18f008944121da942063a575.tar.bz2
gentoo-2-25aa128f960dccca18f008944121da942063a575.zip
Version bump (#154328).
(Portage version: 2.1.1)
-rw-r--r--net-proxy/3proxy/3proxy-0.5.3a.ebuild57
-rw-r--r--net-proxy/3proxy/ChangeLog7
-rw-r--r--net-proxy/3proxy/files/digest-3proxy-0.5.3a3
3 files changed, 66 insertions, 1 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.3a.ebuild b/net-proxy/3proxy/3proxy-0.5.3a.ebuild
new file mode 100644
index 000000000000..11aa27292a00
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.3a.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5.3a.ebuild,v 1.1 2006/11/09 14:43:46 mrness Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="really tiny cross-platform proxy servers set"
+HOMEPAGE="http://www.security.nnov.ru/soft/3proxy/"
+SRC_URI="http://www.security.nnov.ru/soft/3proxy/${PV}/${P}.tgz"
+
+LICENSE="3proxy"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^CFLAGS/s:-g -O2:${CFLAGS}:" \
+ -e "/^LDFLAGS/s:-O2:${LDFLAGS}:" \
+ Makefile.unix || die "sed Makefile"
+ sed -i 's:/usr/local::' src/stringtable.c || die "sed stringtable"
+ find . -type f -print0 | xargs -0 chmod a-x
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LN="$(tc-getCC)" \
+ -f Makefile.unix \
+ || die
+}
+
+src_install() {
+ local x
+
+ cd "${S}"/src
+ dobin 3proxy || die "dobin 3proxy failed"
+ for x in proxy socks pop3p tcppm udppm mycrypt dighosts ; do
+ newbin ${x} ${PN}-${x} || die "newbin ${x} failed"
+ [[ -f ${S}/man/${x}.8 ]] \
+ && newman "${S}"/man/${x}.8 ${PN}-${x}.8
+ done
+
+ dodoc $(find "${S}"/cfg -type f)
+ doman "${S}"/man/3proxy*.[38]
+
+ cd "${S}"
+ dodoc Changelog Readme Release.notes
+ dodoc $(find "${S}"/doc -name '*.txt')
+ dohtml $(find "${S}"/doc -name '*.html')
+}
diff --git a/net-proxy/3proxy/ChangeLog b/net-proxy/3proxy/ChangeLog
index 877e3355cba6..aa8906bbae5c 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/3proxy
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.9 2006/10/14 19:05:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.10 2006/11/09 14:43:46 mrness Exp $
+
+*3proxy-0.5.3a (09 Nov 2006)
+
+ 09 Nov 2006; Alin Nastac <mrness@gentoo.org> +3proxy-0.5.3a.ebuild:
+ Version bump (#154328).
*3proxy-0.5.3 (14 Oct 2006)
diff --git a/net-proxy/3proxy/files/digest-3proxy-0.5.3a b/net-proxy/3proxy/files/digest-3proxy-0.5.3a
new file mode 100644
index 000000000000..04b292ae127b
--- /dev/null
+++ b/net-proxy/3proxy/files/digest-3proxy-0.5.3a
@@ -0,0 +1,3 @@
+MD5 62267be40c4c1b46dac99c5c6c463160 3proxy-0.5.3a.tgz 190156
+RMD160 384858250af499a77195028aa68f13d8402b85f4 3proxy-0.5.3a.tgz 190156
+SHA256 8e1db549c1f15840f7ff7b7262462f5353ef5dd6ff569086f062c0a2f66b74d9 3proxy-0.5.3a.tgz 190156