summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-12 22:59:02 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-12 22:59:02 +0000
commite6936b70d6fc0fc0f98f658d364c1ffa521089e1 (patch)
tree06d84696cafbbd95b7c59b184d01f581cd9d73d8 /net-proxy
parentRemove obsolete version. (diff)
downloadgentoo-2-e6936b70d6fc0fc0f98f658d364c1ffa521089e1.tar.gz
gentoo-2-e6936b70d6fc0fc0f98f658d364c1ffa521089e1.tar.bz2
gentoo-2-e6936b70d6fc0fc0f98f658d364c1ffa521089e1.zip
Version bump.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.5.3k.ebuild59
-rw-r--r--net-proxy/3proxy/ChangeLog9
2 files changed, 66 insertions, 2 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.3k.ebuild b/net-proxy/3proxy/3proxy-0.5.3k.ebuild
new file mode 100644
index 000000000000..4598cae92502
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.3k.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5.3k.ebuild,v 1.1 2008/07/12 22:59:02 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"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LN="$(tc-getCC)" \
+ -f Makefile.unix \
+ || die "emake failed"
+}
+
+src_install() {
+ local x
+
+ pushd src
+ dobin 3proxy || die "dobin 3proxy failed"
+ for x in proxy socks ftppr 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
+ popd
+
+ doman "${S}"/man/3proxy*.[38]
+
+ cd "${S}"
+ dodoc Changelog Readme Release.notes
+ dohtml -r doc/html/*
+ docinto cfg
+ dodoc cfg/*.{txt,sample}
+ docinto cfg/sql
+ dodoc cfg/sql/*.{cfg,sql}
+}
diff --git a/net-proxy/3proxy/ChangeLog b/net-proxy/3proxy/ChangeLog
index 0fec8f54941d..66f90c3deac0 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.24 2007/12/30 09:54:32 mrness Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.25 2008/07/12 22:59:02 mrness Exp $
+
+*3proxy-0.5.3k (12 Jul 2008)
+
+ 12 Jul 2008; Alin Năstac <mrness@gentoo.org> +3proxy-0.5.3k.ebuild:
+ Version bump.
30 Dec 2007; Alin Năstac <mrness@gentoo.org> -3proxy-0.5.3i.ebuild:
Remove old version.