summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/pavuk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/pavuk')
-rw-r--r--net-misc/pavuk/Manifest1
-rw-r--r--net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-gtkmulticol-segfault.patch26
-rw-r--r--net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-underlinking.patch10
-rw-r--r--net-misc/pavuk/files/pavuk-0.9.36_pre20120215-pcre-fix.patch12
-rw-r--r--net-misc/pavuk/files/pavuk-0.9.36_pre20120215-tl_selectr-overflow-fix.patch13
-rw-r--r--net-misc/pavuk/metadata.xml18
-rw-r--r--net-misc/pavuk/pavuk-0.9.36_pre20120215-r2.ebuild111
7 files changed, 191 insertions, 0 deletions
diff --git a/net-misc/pavuk/Manifest b/net-misc/pavuk/Manifest
new file mode 100644
index 000000000000..68d46aa2b61e
--- /dev/null
+++ b/net-misc/pavuk/Manifest
@@ -0,0 +1 @@
+DIST pavuk-0.9.36_pre20120215.tar.xz 810516 SHA256 522e07e3163b835f26157f091ad43bd6fa6e2ddb5d46c2176f10e81c6429ff1e SHA512 d7393abb72e328d3c3e8c005282a8b0ec793eee94e5de00c4518aa1a27403da535372679cf3b803a574e6d0dea8c53ccdbb3aa68d9f0c85da5128dba86b65a4f WHIRLPOOL f04b55a5b6efd634e1ec7b448b9c443d137ae15e0361a45584b72c636aa016a2a95b59b22fee9bb54652a5762eac3e5f524d4c45ad4d226a982960f257ec4afb
diff --git a/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-gtkmulticol-segfault.patch b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-gtkmulticol-segfault.patch
new file mode 100644
index 000000000000..6ce18c1ed3e2
--- /dev/null
+++ b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-gtkmulticol-segfault.patch
@@ -0,0 +1,26 @@
+--- src/gtkmulticol.c 2009-01-21 16:37:39.000000000 +0800
++++ src/gtkmulticol.c 2012-02-21 09:47:21.680512626 +0800
+@@ -45,9 +45,9 @@
+ static void gtk_multicol_size_request(GtkWidget *widget, GtkRequisition *requisition);
+ static void gtk_multicol_size_allocate(GtkWidget *widget, GtkAllocation *allocation);
+
+-guint gtk_multicol_get_type(void)
++GType gtk_multicol_get_type(void)
+ {
+- static guint multicol_type = 0;
++ static GType multicol_type = 0;
+
+ if (!multicol_type)
+ {
+
+--- src/gtkmulticol.h 2009-01-21 16:37:40.000000000 +0800
++++ src/gtkmulticol.h 2012-02-21 09:47:42.880514545 +0800
+@@ -41,7 +41,7 @@
+ GtkBoxClass parent_class;
+ };
+
+-guint gtk_multicol_get_type(void);
++GType gtk_multicol_get_type(void);
+ GtkWidget *gtk_multicol_new(gint nrows);
+ void gtk_multicol_set_number_of_rows(GtkMultiCol *multicol, gint nrows);
+ void gtk_multicol_set_spacing(GtkMultiCol *multicol, gint hspacing, gint vspacing);
diff --git a/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-underlinking.patch b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-underlinking.patch
new file mode 100644
index 000000000000..25338460bd4c
--- /dev/null
+++ b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-fix-underlinking.patch
@@ -0,0 +1,10 @@
+--- configure.in~ 2011-03-02 10:44:45.000000000 +0800
++++ configure.in 2012-02-23 09:55:28.073709216 +0800
+@@ -1749,6 +1749,7 @@
+
+ if test -n "$GTK_LIBS" ; then
+ if test -n "$GTK_LIBS"; then
++ AX_ADD_OPTION([LIBS], [$X_LIBS])
+ AX_ADD_OPTION([LIBS], [$GTK_LIBS])
+ AX_ADD_OPTION([CPPFLAGS], [$GTK_CFLAGS])
+ AC_DEFINE_UNQUOTED(GTK_FACE, [$GTK_VERSION], [with GTK+ GUI])
diff --git a/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-pcre-fix.patch b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-pcre-fix.patch
new file mode 100644
index 000000000000..3d92fdd4b8b6
--- /dev/null
+++ b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-pcre-fix.patch
@@ -0,0 +1,12 @@
+--- src/re.c~ 2009-01-21 16:37:40.000000000 +0800
++++ src/re.c 2012-02-18 13:46:30.986959223 +0800
+@@ -193,8 +193,7 @@ int re_subexpr_info(re_entry *ree, int *
+ {
+ if (nr)
+ {
+- pcre_fullinfo(ree->preg, ree->preg_extra, PCRE_INFO_CAPTURECOUNT, &pmatch_nr);
+- *nr = pmatch_nr;
++ pcre_fullinfo(ree->preg, ree->preg_extra, PCRE_INFO_CAPTURECOUNT, nr);
+ }
+ }
+ #endif
diff --git a/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-tl_selectr-overflow-fix.patch b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-tl_selectr-overflow-fix.patch
new file mode 100644
index 000000000000..ec3655f1468c
--- /dev/null
+++ b/net-misc/pavuk/files/pavuk-0.9.36_pre20120215-tl_selectr-overflow-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/src/absio.orig.c b/src/absio.c
+index 7be9255..e19d7cd 100644
+--- a/src/absio.orig.c
++++ b/src/absio.c
+@@ -181,7 +181,7 @@ int tl_selectr(int sock, long int timeout)
+ {
+ if ((rv == 0) && !cfg.stop && !cfg.rbreak && !FD_ISSET(sock, &readfds))
+ {
+- char buf[32];
++ char buf[64];
+ int r;
+ char buf2[64];
+
diff --git a/net-misc/pavuk/metadata.xml b/net-misc/pavuk/metadata.xml
new file mode 100644
index 000000000000..3fcf9314ee9c
--- /dev/null
+++ b/net-misc/pavuk/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>pyxlcy@gmail.com</email>
+ <description>Please assign bugs</description>
+</maintainer>
+<maintainer>
+ <email>pacho@gentoo.org</email>
+ <description>proxy-maintainer, please CC on bugs</description>
+</maintainer>
+<use>
+<flag name="hammer">Turn on chunky/hammer mode (DoS) in pavuk: when
+ specified, pavuk will include features to stress test web sites using an
+ ultrahigh performancereplay mechanism</flag>
+</use>
+</pkgmetadata>
diff --git a/net-misc/pavuk/pavuk-0.9.36_pre20120215-r2.ebuild b/net-misc/pavuk/pavuk-0.9.36_pre20120215-r2.ebuild
new file mode 100644
index 000000000000..57b86b076a5a
--- /dev/null
+++ b/net-misc/pavuk/pavuk-0.9.36_pre20120215-r2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+S="${WORKDIR}/${PN}"
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit eutils autotools-utils
+
+DESCRIPTION="Web spider and website mirroring tool"
+HOMEPAGE="http://www.pavuk.org/"
+SRC_URI="http://dev.gentoo.org/~pacho/maintainer-needed/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug gtk hammer ipv6 nls pcre profile ssl"
+
+RDEPEND="virtual/libintl:=
+ gtk? ( x11-libs/gtk+:2 )
+ pcre? ( dev-libs/libpcre:= )
+ ssl? ( dev-libs/openssl:= )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ sys-devel/gettext"
+
+PATCHES=(
+ # Fixes a bug in re.c for PCRE support
+ "${FILESDIR}/${P}-pcre-fix.patch"
+
+ # Fixes underlinking, bug #405337
+ "${FILESDIR}/${P}-fix-underlinking.patch"
+
+ # Fixes a segfault in the GTK+2 interface on amd64, bug #262504#c40
+ "${FILESDIR}/${P}-fix-gtkmulticol-segfault.patch"
+
+ # Fixed overflow, bug #450990
+ "${FILESDIR}/${P}-tl_selectr-overflow-fix.patch"
+)
+
+DOCS=( README CREDITS NEWS AUTHORS BUGS TODO MAILINGLIST wget-pavuk.HOWTO
+ ChangeLog wget-pavuk.HOWTO pavuk_authinfo.sample pavukrc.sample )
+
+src_prepare() {
+ # Fixes a bug in Makefile.am that causes aclocal to fail
+ sed -i 's/^\(ACLOCAL_AMFLAGS[[:space:]]*=[[:space:]]*-I[[:space:]]*\)\$(top_srcdir)\//\1/' "${S}/Makefile.am" || die
+
+ # Fixes a bug in configure.in that breaks non-debug builds
+ sed -i 's/\([[:space:]]C\(PP\)*FLAGS=`\)/true; # \1/' "${S}/configure.in" || die
+
+ # Fix for building with ~dev-lang/spidermonkey-1.8.5
+ # sed -i 's/mozjs/mozjs185/g' "${S}/configure.in" || die
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local regex="auto"
+ use pcre && regex="pcre"
+
+ local myeconfargs=(
+ --enable-threads
+ --enable-socks
+ --enable-utf-8
+ --disable-js
+ "--with-regex=${regex}"
+ $(use_enable gtk)
+ $(use_enable gtk gtk2)
+ $(use_enable gtk gnome)
+ $(use_with gtk x)
+ $(use_enable debug debugging)
+ $(use_enable debug debug-build)
+ # $(use_enable debug debug-features)
+ $(use_enable ssl)
+ $(use_enable nls)
+ $(use_enable ipv6)
+ # $(use_enable javascript js)
+ $(use_enable profile profiling)
+ )
+
+ # JavaScript bindings: Broken!
+ # ============================
+ # Currently could pass configure phase with ~dev-lang/spidermonkey-1.8.5
+ # yet apparently incompatible with recent versions of spidermonkey
+
+ # if use javascript; then
+ # local jspkg='mozjs185'
+ # local jsinclude=$(pkg-config --cflags "$jspkg")
+ # local jslibs='/dev/null '$(pkg-config --libs-only-l "$jspkg")
+ # myeconfargs+=(
+ # "--with-js-include=${jsinclude}"
+ # "--with-js-libraries=${jslibs}"
+ # )
+ # fi
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ if use gtk; then
+ newicon src/pavuk_logo.xpm pavuk.xpm
+ domenu pavuk.desktop
+ fi
+
+ doman "${S}/doc/pavuk.1"
+
+ autotools-utils_src_install
+}