summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-21 12:15:25 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-21 12:15:25 +0000
commit4abf2a8ab310619850511c80afe58852262b67af (patch)
treef19379b8599ad42149242431e265dfdc3f64e488 /net-proxy
parentold (diff)
downloadgentoo-2-4abf2a8ab310619850511c80afe58852262b67af.tar.gz
gentoo-2-4abf2a8ab310619850511c80afe58852262b67af.tar.bz2
gentoo-2-4abf2a8ab310619850511c80afe58852262b67af.zip
Version bump.
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.6.ebuild53
-rw-r--r--net-proxy/3proxy/ChangeLog10
-rw-r--r--net-proxy/3proxy/files/3proxy-0.6-gentoo.patch15
3 files changed, 76 insertions, 2 deletions
diff --git a/net-proxy/3proxy/3proxy-0.6.ebuild b/net-proxy/3proxy/3proxy-0.6.ebuild
new file mode 100644
index 000000000000..e79554d76d98
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.6.ebuild,v 1.1 2009/03/21 12:15:25 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+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=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:/usr/local/etc/3proxy/:/etc/:' src/stringtable.c || die
+ sed -i '/^LIBS /s:=:= -ldl:' Makefile.unix || die
+ epatch "${FILESDIR}"/${PN}-0.6-gentoo.patch
+}
+
+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 d24e0b6d3553..1d0514e4112c 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.28 2008/10/16 20:20:23 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.29 2009/03/21 12:15:25 vapier Exp $
+
+*3proxy-0.6 (21 Mar 2009)
+
+ 21 Mar 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/3proxy-0.6-gentoo.patch, +3proxy-0.6.ebuild:
+ Version bump.
16 Oct 2008; Markus Meier <maekke@gentoo.org> 3proxy-0.5.3k.ebuild:
amd64/x86 stable, bug #241628
diff --git a/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch
new file mode 100644
index 000000000000..3e58b0bff92b
--- /dev/null
+++ b/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch
@@ -0,0 +1,15 @@
+--- Makefile.unix
++++ Makefile.unix
+@@ -9,10 +9,10 @@
+ CC = gcc
+
+ # you may need -L/usr/pkg/lib for older NetBSD versions
+-CFLAGS = -Wall -g -O2 -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS += -Wall -g -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+-LDFLAGS = -Wall -O2 -pthread
++LDFLAGS += -Wall -pthread
+ # -lpthreads may be reuqired on some platforms instead of -pthreads
+ LIBS =
+ LNOUT = -o