summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-12-14 14:28:01 +0000
committerAlin Năstac <mrness@gentoo.org>2008-12-14 14:28:01 +0000
commiteefd410b2f9be6308be66ed51d416192aaad6765 (patch)
tree8b6f932eb91b019279a3257f0e343fd4693d5804 /net-proxy
parentUse virtual/monodoc to accomodate inclusion of monodoc in mono from >=mono-2.... (diff)
downloadgentoo-2-eefd410b2f9be6308be66ed51d416192aaad6765.tar.gz
gentoo-2-eefd410b2f9be6308be66ed51d416192aaad6765.tar.bz2
gentoo-2-eefd410b2f9be6308be66ed51d416192aaad6765.zip
Rename reindex script as httpush-reindex (#248176).
(Portage version: 2.1.4.5)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/httpush/ChangeLog10
-rw-r--r--net-proxy/httpush/httpush-0.9_beta11-r1.ebuild61
2 files changed, 69 insertions, 2 deletions
diff --git a/net-proxy/httpush/ChangeLog b/net-proxy/httpush/ChangeLog
index f40f407d14fa..ba5255d4ca32 100644
--- a/net-proxy/httpush/ChangeLog
+++ b/net-proxy/httpush/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/httpush
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/httpush/ChangeLog,v 1.5 2006/03/06 19:18:38 mrness Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/httpush/ChangeLog,v 1.6 2008/12/14 14:28:01 mrness Exp $
+
+*httpush-0.9_beta11-r1 (14 Dec 2008)
+
+ 14 Dec 2008; Alin Năstac <mrness@gentoo.org>
+ +httpush-0.9_beta11-r1.ebuild:
+ Rename reindex script as httpush-reindex (#248176).
06 Mar 2006; Alin Nastac <mrness@gentoo.org> httpush-0.9_beta11.ebuild:
Replace xml2 USE flag with xml.
diff --git a/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild b/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild
new file mode 100644
index 000000000000..f94069974678
--- /dev/null
+++ b/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild,v 1.1 2008/12/14 14:28:01 mrness Exp $
+
+inherit eutils
+
+MY_P="${P/_beta/b}"
+
+DESCRIPTION="Httpush is an intercepting proxy, allowing user to modify HTTP requests on-the-fly"
+HOMEPAGE="http://httpush.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="xml"
+
+RDEPEND="dev-perl/URI
+ virtual/perl-MIME-Base64
+ dev-perl/libwww-perl
+ dev-perl/Net-SSLeay
+ dev-perl/Crypt-SSLeay
+ dev-perl/HTML-Parser
+ xml? ( dev-perl/XML-Twig )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if ! use xml ; then
+ echo
+ einfo "If you'd like to use httpush's learning mode, please CTRL-C now"
+ einfo "and enable the xml USE flag."
+ epause 3
+ echo
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:^\(require httpush;\)$:push @INC, "/usr/lib/httpush";\n\1:' \
+ httpush.pl || die "sed INC failed"
+ sed -i 's:^\(.*DATADIR="\)data\(.*\)$:\1/var/lib/httpush\2:' *.pl \
+ lib/plugin/broker.pm || die "sed DATADIR= failed"
+}
+
+src_install() {
+ keepdir /var/lib/httpush
+
+ insinto /usr/lib/httpush
+ doins -r httpush.{dtd,lck,pem,pm} lib
+
+ insinto /usr/share/httpush/plugins
+ doins plugins/*
+
+ newbin httpush.pl httpush
+ newbin reindex.pl httpush-reindex
+ ewarn "reindex script has been renamed httpush-reindex"
+
+ dodoc README ChangeLog doc/*
+}