summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/polipo/ChangeLog8
-rw-r--r--net-proxy/polipo/Manifest26
-rw-r--r--net-proxy/polipo/files/digest-polipo-0.9.123
-rw-r--r--net-proxy/polipo/files/polipo-0.9.12-gentoo.patch46
-rw-r--r--net-proxy/polipo/polipo-0.9.12.ebuild54
5 files changed, 129 insertions, 8 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog
index 8282b37f376f..49912a2624c6 100644
--- a/net-proxy/polipo/ChangeLog
+++ b/net-proxy/polipo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/polipo
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.11 2007/01/15 12:11:03 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.12 2007/02/08 09:40:10 mrness Exp $
+
+*polipo-0.9.12 (08 Feb 2007)
+
+ 08 Feb 2007; Alin Nastac <mrness@gentoo.org>
+ +files/polipo-0.9.12-gentoo.patch, +polipo-0.9.12.ebuild:
+ Version bump (#165857).
*polipo-0.9.11 (15 Jan 2007)
diff --git a/net-proxy/polipo/Manifest b/net-proxy/polipo/Manifest
index ba533c16b074..6c2237983596 100644
--- a/net-proxy/polipo/Manifest
+++ b/net-proxy/polipo/Manifest
@@ -13,6 +13,10 @@ AUX polipo-0.9.11-gentoo.patch 1752 RMD160 ed5cb9d38e18836db74e415490b0ab2ad7464
MD5 daa8163c7e2f18cfd8e500b54449b9fd files/polipo-0.9.11-gentoo.patch 1752
RMD160 ed5cb9d38e18836db74e415490b0ab2ad7464025 files/polipo-0.9.11-gentoo.patch 1752
SHA256 f5a22e9f239d89292a1a89292e6edc6036059526aa49a132830f2316c8d19228 files/polipo-0.9.11-gentoo.patch 1752
+AUX polipo-0.9.12-gentoo.patch 1752 RMD160 c95a805956ea7a2bc7ba9d0e568293e5ca78e4ea SHA1 ad85f2fdbead8e7d48b91822b42f17ad1c0b9903 SHA256 78c6e77234a03cd8878f5358959a7a43bc5eb6980c95cb5d87f43a95fd83d646
+MD5 e3e1dbf17d8b19f00ef41e6d8936efae files/polipo-0.9.12-gentoo.patch 1752
+RMD160 c95a805956ea7a2bc7ba9d0e568293e5ca78e4ea files/polipo-0.9.12-gentoo.patch 1752
+SHA256 78c6e77234a03cd8878f5358959a7a43bc5eb6980c95cb5d87f43a95fd83d646 files/polipo-0.9.12-gentoo.patch 1752
AUX polipo.crond 183 RMD160 aab536081352e9a16ddae9e2fba3e6c25ce687d0 SHA1 3fba7a15f51914f31b7c7c167f9cfba245ef1572 SHA256 2eb703bd3f4cdc7a616675ed3c924437e5ba594ac2037b3ae6292a410fac4b20
MD5 44118bc5871d8a061e1ab1907b1c0065 files/polipo.crond 183
RMD160 aab536081352e9a16ddae9e2fba3e6c25ce687d0 files/polipo.crond 183
@@ -23,6 +27,7 @@ RMD160 52f26bd7dee52746ce54c61cfd920604ee717ab6 files/polipo.initd 710
SHA256 67044373f38406581f9626020f8d8840bf4bed3b858f242c7657cadd4ef437ae files/polipo.initd 710
DIST polipo-0.9.10.tar.gz 149303 RMD160 f1905444490ef8775dc8894addcd07087f5c9c07 SHA1 53efc84764535ff7ffe7ce457daa95aa182a6c7d SHA256 fe25ba6e39186c96278b8cb6803a04438ad2dc838bea704f163bbae86ecabd9d
DIST polipo-0.9.11.tar.gz 149330 RMD160 c2e5d2fe591d026e96b32a7b4b2693c6ca2e9b1a SHA1 fd1f77d3bdc5a5636f566b04f86a286ee802685d SHA256 6f7c9ca5b61aeaa926a8ea2f307ed98b35d2fc6249be20b4092d9c97124d8abc
+DIST polipo-0.9.12.tar.gz 149370 RMD160 09b52dc68e0a1100e697199ff3cda1ba482a650f SHA1 f56d25584e6d84e219238df75aab0f3a6bfd8e4a SHA256 6b42de207937d3b13184aab3de2c3a6b9ab0ede92c340b19305f668e191cf205
EBUILD polipo-0.9.10.ebuild 1292 RMD160 3bf889e873e1b5a535f3298517922020dbb70184 SHA1 1929a1f83c4be5e14380442db8be103aa4349cd7 SHA256 f8131fdcc587cc1b9f6857927fb755e27ba2cc64946b324b17cc2689aeb76222
MD5 e6f6fd8f91fb8bf47ca829869deebd9b polipo-0.9.10.ebuild 1292
RMD160 3bf889e873e1b5a535f3298517922020dbb70184 polipo-0.9.10.ebuild 1292
@@ -31,10 +36,14 @@ EBUILD polipo-0.9.11.ebuild 1293 RMD160 a8ab18d1b1f91fbba066abb1a12b2b39db1b2f33
MD5 80f7dfc8b4a0c35c3afc5e84a32138eb polipo-0.9.11.ebuild 1293
RMD160 a8ab18d1b1f91fbba066abb1a12b2b39db1b2f33 polipo-0.9.11.ebuild 1293
SHA256 6f1029419b33adc5dbe6ea6d645e2854b2c8669480f3a906e2135c37aa37d9ef polipo-0.9.11.ebuild 1293
-MISC ChangeLog 2075 RMD160 c6b35a8e1eaf9c2b32f94a4eb041d070545f2956 SHA1 1d6a0ecde20be90dd4a309e4f9eeffeb1cc72174 SHA256 571a18356f3a94d13ca7b6583ca575948e45a1bdc34b3c34d70ffd47ee333442
-MD5 e810d22e09e40e6519ba6e5c5721d3ff ChangeLog 2075
-RMD160 c6b35a8e1eaf9c2b32f94a4eb041d070545f2956 ChangeLog 2075
-SHA256 571a18356f3a94d13ca7b6583ca575948e45a1bdc34b3c34d70ffd47ee333442 ChangeLog 2075
+EBUILD polipo-0.9.12.ebuild 1293 RMD160 0c3a5d03c1f9e8068c6e9d69682a4b22f9b50829 SHA1 01b9df7da9ad523f707391e808899dbd2bdfed5b SHA256 1f867f0573d6d15b8ee947da3735c6d4202b41f6e654cb4aa36cf0b9b1171fed
+MD5 fa9b9775edf623b437ea7ae5c33494e6 polipo-0.9.12.ebuild 1293
+RMD160 0c3a5d03c1f9e8068c6e9d69682a4b22f9b50829 polipo-0.9.12.ebuild 1293
+SHA256 1f867f0573d6d15b8ee947da3735c6d4202b41f6e654cb4aa36cf0b9b1171fed polipo-0.9.12.ebuild 1293
+MISC ChangeLog 2239 RMD160 f772cdbd0d18b1c382ae93b14984f3c51fe6fa08 SHA1 27cf500da63e9460b0bc7656b42ed3d00c1609ce SHA256 b45de59a3854d3e4fc2bcda2a1a92d67c507bb5f1d796dafefb0bbba7547891c
+MD5 d25b1d7251780fceaa1441dc75c1769c ChangeLog 2239
+RMD160 f772cdbd0d18b1c382ae93b14984f3c51fe6fa08 ChangeLog 2239
+SHA256 b45de59a3854d3e4fc2bcda2a1a92d67c507bb5f1d796dafefb0bbba7547891c ChangeLog 2239
MISC metadata.xml 294 RMD160 9030115eb77480c879cc1b05acf92e90c9825330 SHA1 05e93a9bb94da1af1f7ac486d280d82dc68664fc SHA256 86f147ccac4c6a157b8e94ac26c69c07db91b435bb0ec703a332c17c1f3d1c1a
MD5 c3de0bbc117c44cd0aad81e19a01094c metadata.xml 294
RMD160 9030115eb77480c879cc1b05acf92e90c9825330 metadata.xml 294
@@ -45,10 +54,13 @@ SHA256 1dea0e604eb8b6623a4fd3cf1cd0822582c10029cde62267b12d50d443d2198b files/di
MD5 2a6f4554a7059cee04852b6d7676ddfb files/digest-polipo-0.9.11 241
RMD160 45f3066ab18f9d4cf90f655ee7d12b2ddff68206 files/digest-polipo-0.9.11 241
SHA256 0c43968ada89e2bd577fd689fb5b59a6e2401b3b1950c2b458f066103bdf4838 files/digest-polipo-0.9.11 241
+MD5 426a97e1a5550638d42556c0a3e7b4a6 files/digest-polipo-0.9.12 241
+RMD160 3f0f8a533bf11f4b607d1d569c589f1fed03def3 files/digest-polipo-0.9.12 241
+SHA256 691e07e562193f2e16566c092e4ea07d4cfe99f0173add29634a292df1a52777 files/digest-polipo-0.9.12 241
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFq2+GJnxX6mF440QRAiBFAJ0cfQ39KDsXCgbf1WSqRG4ZqS532ACguz7C
-e5iS4LTiDeg6CDkTIMGftts=
-=sAXW
+iD8DBQFFyvAGJnxX6mF440QRAnCvAJ9Xjpq1xaqG1DEegUQOmK4DCHyEDwCff2lg
+epH55dziIjBNb/ypBJ8HPBI=
+=Ny12
-----END PGP SIGNATURE-----
diff --git a/net-proxy/polipo/files/digest-polipo-0.9.12 b/net-proxy/polipo/files/digest-polipo-0.9.12
new file mode 100644
index 000000000000..45f975f7d814
--- /dev/null
+++ b/net-proxy/polipo/files/digest-polipo-0.9.12
@@ -0,0 +1,3 @@
+MD5 ce82913e3698de5d15465fb45dbafa11 polipo-0.9.12.tar.gz 149370
+RMD160 09b52dc68e0a1100e697199ff3cda1ba482a650f polipo-0.9.12.tar.gz 149370
+SHA256 6b42de207937d3b13184aab3de2c3a6b9ab0ede92c340b19305f668e191cf205 polipo-0.9.12.tar.gz 149370
diff --git a/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch b/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch
new file mode 100644
index 000000000000..bb16036168c5
--- /dev/null
+++ b/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch
@@ -0,0 +1,46 @@
+diff -Nru polipo-0.9.12.orig/Makefile polipo-0.9.12/Makefile
+--- polipo-0.9.12.orig/Makefile 2007-02-06 23:17:39.000000000 +0200
++++ polipo-0.9.12/Makefile 2007-02-08 11:32:00.000000000 +0200
+@@ -82,11 +82,6 @@
+ cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html
+
+ install.man: all
+- mkdir -p $(TARGET)$(MANDIR)/man1
+- mkdir -p $(TARGET)$(INFODIR)
+- cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1
+- cp polipo.info $(TARGET)$(INFODIR)/
+- install-info --info-dir=$(INFODIR) polipo.info
+
+
+ polipo.info: polipo.texi
+diff -Nru polipo-0.9.12.orig/polipo.h polipo-0.9.12/polipo.h
+--- polipo-0.9.12.orig/polipo.h 2007-02-06 23:17:39.000000000 +0200
++++ polipo-0.9.12/polipo.h 2007-02-08 11:32:00.000000000 +0200
+@@ -62,7 +62,9 @@
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+ /* nothing */
+ #elif defined(__GNUC__)
++#ifndef inline
+ #define inline __inline
++#endif
+ #if (__GNUC__ >= 3)
+ #define restrict __restrict
+ #else
+diff -Nru polipo-0.9.12.orig/server.c polipo-0.9.12/server.c
+--- polipo-0.9.12.orig/server.c 2007-02-06 23:17:39.000000000 +0200
++++ polipo-0.9.12/server.c 2007-02-08 11:32:00.000000000 +0200
+@@ -1832,10 +1832,10 @@
+ } else if(code < 400 &&
+ (content_range.from >= 0 || content_range.to >= 0 ||
+ content_range.full_length >= 0)) {
+- do_log(L_ERROR, "Range without partial content.\n");
+- httpServerAbort(connection, 1, 502,
+- internAtom("Range without partial content"));
+- goto fail;
++ do_log(L_WARN, "Range without partial content.\n");
++ content_range.from = -1;
++ content_range.to = -1;
++ content_range.full_length = -1;
+ } else if(code != 304 && code != 412) {
+ full_len = len;
+ }
diff --git a/net-proxy/polipo/polipo-0.9.12.ebuild b/net-proxy/polipo/polipo-0.9.12.ebuild
new file mode 100644
index 000000000000..cda26fd6e4af
--- /dev/null
+++ b/net-proxy/polipo/polipo-0.9.12.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-0.9.12.ebuild,v 1.1 2007/02/08 09:40:10 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="A caching web proxy"
+HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/"
+SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-apps/texinfo"
+
+pkg_setup() {
+ enewgroup polipo
+ enewuser polipo -1 -1 /var/cache/polipo polipo
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ emake "PREFIX=/usr" "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
+}
+
+src_install() {
+ einstall "PREFIX=/usr" "TARGET=${D}" || die "install failed"
+ mv polipo.man polipo.1
+ doman "${S}/polipo.1"
+ doinfo "${S}/polipo.info"
+
+ exeinto /etc/init.d ; newexe "${FILESDIR}/polipo.initd" polipo
+ insinto /etc/polipo ; doins "${FILESDIR}/config"
+ exeinto /etc/cron.daily ; newexe "${FILESDIR}/polipo.crond" polipo.sh
+
+ diropts -m0750 -o polipo -g polipo
+ dodir /var/cache/polipo
+}
+
+pkg_preinst() {
+ pkg_setup
+}
+
+pkg_postinst() {
+ einfo "Do not forget to read the manual."
+ einfo "Change the config file in /etc/polipo to suit your needs."
+}