summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2004-08-17 11:41:42 +0000
committerDaniel Drake <dsd@gentoo.org>2004-08-17 11:41:42 +0000
commit14192b86881e15c40446a89c3313c1b3e3625c28 (patch)
tree97cb1240ca40bc3328a57bc7a23dc4575b47a5b3
parentStable for sparc. (Manifest recommit) (diff)
downloadgentoo-2-14192b86881e15c40446a89c3313c1b3e3625c28.tar.gz
gentoo-2-14192b86881e15c40446a89c3313c1b3e3625c28.tar.bz2
gentoo-2-14192b86881e15c40446a89c3313c1b3e3625c28.zip
Gnome menu entry fix thanks to Peter Robb <peter@newproject.pl> in bug 60568. Also cleaned up ebuild, and marked myself as maintainer (even though upstream seems pretty dead).
-rw-r--r--net-misc/pavuk/ChangeLog10
-rw-r--r--net-misc/pavuk/Manifest2
-rw-r--r--net-misc/pavuk/files/digest-pavuk-0.9.28-r41
-rw-r--r--net-misc/pavuk/metadata.xml3
-rw-r--r--net-misc/pavuk/pavuk-0.9.28-r4.ebuild72
5 files changed, 86 insertions, 2 deletions
diff --git a/net-misc/pavuk/ChangeLog b/net-misc/pavuk/ChangeLog
index 616036e2c49d..e78ea287c59e 100644
--- a/net-misc/pavuk/ChangeLog
+++ b/net-misc/pavuk/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-misc/pavuk
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/ChangeLog,v 1.7 2004/07/26 13:53:46 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/ChangeLog,v 1.8 2004/08/17 11:41:42 dsd Exp $
+
+*pavuk-0.9.28-r4 (17 Aug 2004)
+
+ 17 Aug 2004; Daniel Drake <dsd@gentoo.org> metadata.xml,
+ pavuk-0.9.28-r4.ebuild:
+ Gnome menu entry fix thanks to Peter Robb <peter@newproject.pl> in bug 60568.
+ Also cleaned up ebuild, and marked myself as maintainer (even though upstream
+ seems pretty dead).
*pavuk-0.9.28-r3 (26 Jul 2004)
diff --git a/net-misc/pavuk/Manifest b/net-misc/pavuk/Manifest
index 24e63b86641e..d89f639f9abb 100644
--- a/net-misc/pavuk/Manifest
+++ b/net-misc/pavuk/Manifest
@@ -1,3 +1,4 @@
+MD5 8a2d4565d7f6b95fb07410f9712f414b pavuk-0.9.28-r4.ebuild 1971
MD5 9b43ac4c1fc7f0bce0ceaf906b891abc pavuk-0.9.28-r1.ebuild 1888
MD5 9305d65473e3f0f704959b94a117d416 pavuk-0.9.28-r3.ebuild 2384
MD5 02882c093c817385fd716bf60f927d4d pavuk-0.9.28-r2.ebuild 2270
@@ -6,5 +7,6 @@ MD5 11e5f54a97abb41296c28d7e43cf9a56 metadata.xml 229
MD5 7e864c54e972ae5a1456fa08d6d4e792 files/digest-pavuk-0.9.28-r1 62
MD5 7e864c54e972ae5a1456fa08d6d4e792 files/digest-pavuk-0.9.28-r2 62
MD5 7e864c54e972ae5a1456fa08d6d4e792 files/digest-pavuk-0.9.28-r3 62
+MD5 7e864c54e972ae5a1456fa08d6d4e792 files/digest-pavuk-0.9.28-r4 62
MD5 3ceb6f5a4af6fa6bfb24671fb1c29877 files/pavuk-0.9.28-digest_auth.c.patch 1013
MD5 10d79651cad9ba99fed11403edfb4b3a files/pavuk-0.9.28-http.patch 450
diff --git a/net-misc/pavuk/files/digest-pavuk-0.9.28-r4 b/net-misc/pavuk/files/digest-pavuk-0.9.28-r4
new file mode 100644
index 000000000000..cdc14b2bba09
--- /dev/null
+++ b/net-misc/pavuk/files/digest-pavuk-0.9.28-r4
@@ -0,0 +1 @@
+MD5 d0f7b77bd11322add1f7d52d62afbf78 pavuk-0.9pl28.tgz 968336
diff --git a/net-misc/pavuk/metadata.xml b/net-misc/pavuk/metadata.xml
index fcd98e81bcd5..6618c1f6a285 100644
--- a/net-misc/pavuk/metadata.xml
+++ b/net-misc/pavuk/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>bug-wranglers@gentoo.org</email>
+ <email>dsd@gentoo.org</email>
+ <name>Daniel Drake</name>
</maintainer>
</pkgmetadata>
diff --git a/net-misc/pavuk/pavuk-0.9.28-r4.ebuild b/net-misc/pavuk/pavuk-0.9.28-r4.ebuild
new file mode 100644
index 000000000000..3fe1cc3824ef
--- /dev/null
+++ b/net-misc/pavuk/pavuk-0.9.28-r4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/pavuk-0.9.28-r4.ebuild,v 1.1 2004/08/17 11:41:42 dsd Exp $
+
+inherit eutils
+
+IUSE="ssl X gtk gnome mozilla socks5 nls"
+
+S="${WORKDIR}/${PN}-0.9pl28"
+DESCRIPTION="Web spider and website mirroring tool"
+HOMEPAGE="http://www.pavuk.org/"
+SRC_URI="http://www.pavuk.org/sw/${PN}-0.9pl28.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND=">=sys-apps/sed-4.0.5
+ sys-devel/gettext
+ sys-libs/zlib
+ ssl? ( dev-libs/openssl )
+ X? ( virtual/x11 )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ gnome? ( <gnome-base/gnome-panel-1.5 )
+ mozilla? ( net-www/mozilla )
+ socks5? ( net-misc/tsocks )"
+
+src_unpack() {
+ unpack ${A}
+
+ # When pavuk connects to a web server and the server sends back
+ # the HTTP status code 305 (Use Proxy), pavuk copies data from
+ # the HTTP Location header in an unsafe manner. This leads to a
+ # stack-based buffer overflow with control over EIP.
+ EPATCH_OPTS="${EPATCH_OPTS} -d ${S}/src" \
+ epatch ${FILESDIR}/pavuk-0.9.28-http.patch
+
+ # more flaws.
+ EPATCH_OPTS="${EPATCH_OPTS} -d ${S}/src" \
+ epatch ${FILESDIR}/${PN}-0.9.28-digest_auth.c.patch
+}
+
+src_compile() {
+ EXTRA_ECONF="--enable-threads --with-regex=auto" \
+ econf \
+ $(use_with X x) \
+ $(use_enable ssl) \
+ $(use_enable gtk) \
+ $(use_enable gnome) \
+ $(use_enable mozilla js) \
+ $(use_enable socks5 socks) \
+ $(use_enable nls) \
+ || die "econf failed"
+
+ emake || die
+}
+
+src_install() {
+ # fix sandbox violation for gnome .desktop and icon, and gnome menu entry
+ if use gnome
+ then
+ sed -i 's:GNOME_PREFIX = /usr:GNOME_PREFIX = ${D}usr:' Makefile
+ sed -i 's:GNOME_PREFIX = /usr:GNOME_PREFIX = ${D}usr:' icons/Makefile
+ sed -i 's:Type=Internet:Type=Application:' pavuk.desktop
+ fi
+
+ einstall || die
+
+ dodoc ABOUT-NLS README CREDITS FAQ NEWS AUTHORS COPYING BUGS \
+ TODO MAILINGLIST ChangeLog wget-pavuk.HOWTO jsbind.txt \
+ pavuk_authinfo.sample pavukrc.sample
+}