summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-11-02 15:38:55 +0000
committerAlin Năstac <mrness@gentoo.org>2007-11-02 15:38:55 +0000
commit2db0d91128533e5ce13175c36540dfbe20a6fb52 (patch)
tree9c99d63ac48781ce443755fbfe95f3ac72a53f71 /net-proxy
parentVersion bump, remove old (diff)
downloadgentoo-2-2db0d91128533e5ce13175c36540dfbe20a6fb52.tar.gz
gentoo-2-2db0d91128533e5ce13175c36540dfbe20a6fb52.tar.bz2
gentoo-2-2db0d91128533e5ce13175c36540dfbe20a6fb52.zip
Remove obsolete versions. Version bump. Install HTML documentation.
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/polipo/ChangeLog11
-rw-r--r--net-proxy/polipo/files/digest-polipo-0.9.12-r13
-rw-r--r--net-proxy/polipo/files/digest-polipo-1.0.03
-rw-r--r--net-proxy/polipo/files/digest-polipo-1.0.13
-rw-r--r--net-proxy/polipo/files/digest-polipo-1.0.33
-rw-r--r--net-proxy/polipo/files/polipo-0.9.12-gentoo.patch46
-rw-r--r--net-proxy/polipo/files/polipo-0.9.12-printf-ptr.patch161
-rw-r--r--net-proxy/polipo/files/polipo-0.9.12.initd56
-rw-r--r--net-proxy/polipo/files/polipo-1.0.0-gentoo.patch28
-rw-r--r--net-proxy/polipo/polipo-0.9.12-r1.ebuild55
-rw-r--r--net-proxy/polipo/polipo-1.0.0.ebuild54
-rw-r--r--net-proxy/polipo/polipo-1.0.3.ebuild (renamed from net-proxy/polipo/polipo-1.0.1.ebuild)9
12 files changed, 19 insertions, 413 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog
index 8bae46274fe4..f75c34e50bac 100644
--- a/net-proxy/polipo/ChangeLog
+++ b/net-proxy/polipo/ChangeLog
@@ -1,6 +1,15 @@
# 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.23 2007/09/02 20:42:38 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.24 2007/11/02 15:38:54 mrness Exp $
+
+*polipo-1.0.3 (02 Nov 2007)
+
+ 02 Nov 2007; Alin Năstac <mrness@gentoo.org>
+ -files/polipo-0.9.12-gentoo.patch, -files/polipo-0.9.12-printf-ptr.patch,
+ -files/polipo-0.9.12.initd, -files/polipo-1.0.0-gentoo.patch,
+ -polipo-0.9.12-r1.ebuild, -polipo-1.0.0.ebuild, -polipo-1.0.1.ebuild,
+ +polipo-1.0.3.ebuild:
+ Remove obsolete versions. Version bump. Install HTML documentation.
02 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
polipo-1.0.2-r1.ebuild:
diff --git a/net-proxy/polipo/files/digest-polipo-0.9.12-r1 b/net-proxy/polipo/files/digest-polipo-0.9.12-r1
deleted file mode 100644
index 45f975f7d814..000000000000
--- a/net-proxy/polipo/files/digest-polipo-0.9.12-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-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/digest-polipo-1.0.0 b/net-proxy/polipo/files/digest-polipo-1.0.0
deleted file mode 100644
index e09b8d26e3cb..000000000000
--- a/net-proxy/polipo/files/digest-polipo-1.0.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e9db1fadbce47b8664351d14510bd5c9 polipo-1.0.0.tar.gz 176618
-RMD160 c054f47afc807857945824315976dbe54304a6ea polipo-1.0.0.tar.gz 176618
-SHA256 0a00d7009fd4c501daa916c354036f3cbd5533c25c7b0efce6b7176fb4ae80ba polipo-1.0.0.tar.gz 176618
diff --git a/net-proxy/polipo/files/digest-polipo-1.0.1 b/net-proxy/polipo/files/digest-polipo-1.0.1
deleted file mode 100644
index b7995fd1819e..000000000000
--- a/net-proxy/polipo/files/digest-polipo-1.0.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e88b532bf1b85892e3cb3d2870b5b548 polipo-1.0.1.tar.gz 176927
-RMD160 0e53342a0c9f5bfaf59c061d657b4186ff8e7984 polipo-1.0.1.tar.gz 176927
-SHA256 5d4fa70e0ba43a2c60bf46383e452854c0f556b77394a3cee6b94db1dcb40701 polipo-1.0.1.tar.gz 176927
diff --git a/net-proxy/polipo/files/digest-polipo-1.0.3 b/net-proxy/polipo/files/digest-polipo-1.0.3
new file mode 100644
index 000000000000..57300bff2a86
--- /dev/null
+++ b/net-proxy/polipo/files/digest-polipo-1.0.3
@@ -0,0 +1,3 @@
+MD5 a0b00ca01541cf77ff3d725c27cf68bb polipo-1.0.3.tar.gz 180349
+RMD160 297b67d302ce12e85f7f3c4b29a2dd79379edbdd polipo-1.0.3.tar.gz 180349
+SHA256 85ace9fba0c6339384b0f4ef815565d4d63f3ba40991d34ed7e26bbbcdbde09d polipo-1.0.3.tar.gz 180349
diff --git a/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch b/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch
deleted file mode 100644
index bb16036168c5..000000000000
--- a/net-proxy/polipo/files/polipo-0.9.12-gentoo.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-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/files/polipo-0.9.12-printf-ptr.patch b/net-proxy/polipo/files/polipo-0.9.12-printf-ptr.patch
deleted file mode 100644
index bf7a582afa5a..000000000000
--- a/net-proxy/polipo/files/polipo-0.9.12-printf-ptr.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-diff -Nru polipo-0.9.12.orig/atom.c polipo-0.9.12/atom.c
---- polipo-0.9.12.orig/atom.c 2007-02-06 23:17:39.000000000 +0200
-+++ polipo-0.9.12/atom.c 2007-04-11 15:42:05.000000000 +0300
-@@ -72,7 +72,7 @@
- atomHashTable[h] = atom;
- used_atoms++;
- }
-- do_log(D_ATOM_REFCOUNT, "A 0x%x %d++\n", (unsigned)atom, atom->refcount);
-+ do_log(D_ATOM_REFCOUNT, "A %p %d++\n", atom, atom->refcount);
- atom->refcount++;
- return atom;
- }
-@@ -132,7 +132,7 @@
- if(atom == NULL)
- return NULL;
-
-- do_log(D_ATOM_REFCOUNT, "A 0x%x %d++\n", (unsigned)atom, atom->refcount);
-+ do_log(D_ATOM_REFCOUNT, "A %p %d++\n", atom, atom->refcount);
- assert(atom->refcount >= 1 && atom->refcount < 50000);
- atom->refcount++;
- return atom;
-@@ -144,7 +144,7 @@
- if(atom == NULL)
- return;
-
-- do_log(D_ATOM_REFCOUNT, "A 0x%x %d--\n", (unsigned)atom, atom->refcount);
-+ do_log(D_ATOM_REFCOUNT, "A %p %d--\n", atom, atom->refcount);
- assert(atom->refcount >= 1 && atom->refcount < 50000);
-
- atom->refcount--;
-diff -Nru polipo-0.9.12.orig/client.c polipo-0.9.12/client.c
---- polipo-0.9.12.orig/client.c 2007-02-06 23:17:39.000000000 +0200
-+++ polipo-0.9.12/client.c 2007-04-11 15:46:42.000000000 +0300
-@@ -105,8 +105,8 @@
- connection->fd = fd;
- connection->timeout = timeout;
-
-- do_log(D_CLIENT_CONN, "Accepted client connection 0x%x\n",
-- (unsigned)connection);
-+ do_log(D_CLIENT_CONN, "Accepted client connection %p\n",
-+ connection);
-
- connection->flags = CONN_READER;
-
-@@ -236,8 +236,8 @@
- return;
- }
-
-- do_log(D_CLIENT_CONN, "Closing client connection 0x%x\n",
-- (unsigned)connection);
-+ do_log(D_CLIENT_CONN, "Closing client connection %p\n",
-+ connection);
-
- if(connection->flags & CONN_READER) {
- httpSetTimeout(connection, 10);
-@@ -1714,8 +1714,8 @@
-
- connection->offset = request->from;
- httpSetTimeout(connection, 120);
-- do_log(D_CLIENT_DATA, "Serving on 0x%x for 0x%x: offset %d len %d\n",
-- (unsigned)connection, (unsigned)object,
-+ do_log(D_CLIENT_DATA, "Serving on %p for %p: offset %d len %d\n",
-+ connection, object,
- connection->offset, len);
- do_stream_h(IO_WRITE |
- (connection->te == TE_CHUNKED && len > 0 ? IO_CHUNKED : 0),
-@@ -1894,8 +1894,8 @@
- if(len2 == 0) {
- httpSetTimeout(connection, 120);
- do_log(D_CLIENT_DATA,
-- "Serving on 0x%x for 0x%x: offset %d len %d\n",
-- (unsigned)connection, (unsigned)object,
-+ "Serving on %p for %p: offset %d len %d\n",
-+ connection, object,
- connection->offset, len);
- /* IO_NOTNOW in order to give other clients a chance to run. */
- do_stream(IO_WRITE | IO_NOTNOW |
-@@ -1907,8 +1907,8 @@
- } else {
- httpSetTimeout(connection, 120);
- do_log(D_CLIENT_DATA,
-- "Serving on 0x%x for 0x%x: offset %d len %d + %d\n",
-- (unsigned)connection, (unsigned)object,
-+ "Serving on %p for %p: offset %d len %d + %d\n",
-+ connection, object,
- connection->offset, len, len2);
- do_stream_2(IO_WRITE | IO_NOTNOW |
- (connection->te == TE_CHUNKED ? IO_CHUNKED : 0) |
-diff -Nru polipo-0.9.12.orig/http.c polipo-0.9.12/http.c
---- polipo-0.9.12.orig/http.c 2007-02-06 23:17:39.000000000 +0200
-+++ polipo-0.9.12/http.c 2007-04-11 15:44:58.000000000 +0300
-@@ -199,8 +199,8 @@
- new = scheduleTimeEvent(secs, httpTimeoutHandler,
- sizeof(connection), &connection);
- if(!new) {
-- do_log(L_ERROR, "Couldn't schedule timeout for connection 0x%x\n",
-- (unsigned)connection);
-+ do_log(L_ERROR, "Couldn't schedule timeout for connection %p\n",
-+ connection);
- return -1;
- }
- } else {
-diff -Nru polipo-0.9.12.orig/object.c polipo-0.9.12/object.c
---- polipo-0.9.12.orig/object.c 2007-02-06 23:17:39.000000000 +0200
-+++ polipo-0.9.12/object.c 2007-04-11 15:44:18.000000000 +0300
-@@ -268,7 +268,7 @@
- ObjectPtr
- retainObject(ObjectPtr object)
- {
-- do_log(D_REFCOUNT, "O 0x%x %d++\n", (unsigned)object, object->refcount);
-+ do_log(D_REFCOUNT, "O %p %d++\n", object, object->refcount);
- object->refcount++;
- return object;
- }
-@@ -276,7 +276,7 @@
- void
- releaseObject(ObjectPtr object)
- {
-- do_log(D_REFCOUNT, "O 0x%x %d--\n", (unsigned)object, object->refcount);
-+ do_log(D_REFCOUNT, "O %p %d--\n", object, object->refcount);
- object->refcount--;
- if(object->refcount == 0) {
- assert(!object->handlers && !(object->flags & OBJECT_INPROGRESS));
-@@ -288,7 +288,7 @@
- void
- releaseNotifyObject(ObjectPtr object)
- {
-- do_log(D_REFCOUNT, "O 0x%x %d--\n", (unsigned)object, object->refcount);
-+ do_log(D_REFCOUNT, "O %p %d--\n", object, object->refcount);
- object->refcount--;
- if(object->refcount > 0) {
- notifyObject(object);
-@@ -302,7 +302,7 @@
- void
- lockChunk(ObjectPtr object, int i)
- {
-- do_log(D_LOCK, "Lock 0x%x[%d]: ", (unsigned)object, i);
-+ do_log(D_LOCK, "Lock %p[%d]: ", object, i);
- assert(i >= 0);
- if(i >= object->numchunks)
- objectSetChunks(object, i + 1);
-@@ -313,7 +313,7 @@
- void
- unlockChunk(ObjectPtr object, int i)
- {
-- do_log(D_LOCK, "Unlock 0x%x[%d]: ", (unsigned)object, i);
-+ do_log(D_LOCK, "Unlock %p[%d]: ", object, i);
- assert(i >= 0 && i < object->numchunks);
- assert(object->chunks[i].locked > 0);
- object->chunks[i].locked--;
-@@ -467,8 +467,8 @@
- {
- int rc;
-
-- do_log(D_OBJECT_DATA, "Adding data to 0x%x (%d) at %d: %d bytes\n",
-- (unsigned)object, object->length, offset, len);
-+ do_log(D_OBJECT_DATA, "Adding data to %p (%d) at %d: %d bytes\n",
-+ object, object->length, offset, len);
-
- if(len == 0)
- return 1;
diff --git a/net-proxy/polipo/files/polipo-0.9.12.initd b/net-proxy/polipo/files/polipo-0.9.12.initd
deleted file mode 100644
index b6cb0e7359ea..000000000000
--- a/net-proxy/polipo/files/polipo-0.9.12.initd
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/files/polipo-0.9.12.initd,v 1.1 2007/06/17 07:00:10 mrness Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- polipo -v | (
- local retvalue=0
- local name value desc
- while read name value desc ; do
- case ${name} in
- configFile)
- if [[ "${value}" == "(none)" ]]; then
- eerror "Unable to read configuration file /etc/polipo/config"
- retvalue=1
- fi
- ;;
- daemonise)
- if [[ "${value}" != "false" ]]; then
- eerror "Configuration option not supported by this init script: ${name}=${value}"
- retvalue=1
- fi
- ;;
- pidFile)
- if [[ "${value}" != "(none)" ]]; then
- eerror "Configuration option not supported by this init script: ${name}=${value}"
- retvalue=1
- fi
- ;;
- esac
- done
- return ${retvalue}
- )
- [[ ${PIPESTATUS[0]} == 0 && ${PIPESTATUS[1]} == 0 ]]
- return $?
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Polipo HTTP proxy"
- start-stop-daemon --start --chuid polipo \
- --background --pidfile /var/run/polipo.pid --make-pidfile \
- --exec /usr/bin/polipo
- eend $?
-}
-
-stop() {
- ebegin "Stopping Polipo HTTP proxy"
- start-stop-daemon --stop --pidfile /var/run/polipo.pid
- eend $?
-}
diff --git a/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch b/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch
deleted file mode 100644
index ddb68a70e9bb..000000000000
--- a/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nru polipo-1.0.0.orig/Makefile polipo-1.0.0/Makefile
---- polipo-1.0.0.orig/Makefile 2007-03-06 21:29:05.000000000 +0200
-+++ polipo-1.0.0/Makefile 2007-06-17 09:43:17.000000000 +0300
-@@ -97,11 +97,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-1.0.0.orig/polipo.h polipo-1.0.0/polipo.h
---- polipo-1.0.0.orig/polipo.h 2007-03-06 21:29:05.000000000 +0200
-+++ polipo-1.0.0/polipo.h 2007-06-17 09:43:17.000000000 +0300
-@@ -65,7 +65,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 --git a/net-proxy/polipo/polipo-0.9.12-r1.ebuild b/net-proxy/polipo/polipo-0.9.12-r1.ebuild
deleted file mode 100644
index bdeed20a9002..000000000000
--- a/net-proxy/polipo/polipo-0.9.12-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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-r1.ebuild,v 1.4 2007/06/17 07:00: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"
- epatch "${FILESDIR}/${P}-printf-ptr.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"
-
- newinitd "${FILESDIR}/polipo-0.9.12.initd" polipo
- insinto /etc/polipo ; doins "${FILESDIR}/config"
- exeinto /etc/cron.daily ; newexe "${FILESDIR}/polipo.crond" polipo.sh
-
- diropts -m0750 -o polipo -g polipo
- keepdir /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."
-}
diff --git a/net-proxy/polipo/polipo-1.0.0.ebuild b/net-proxy/polipo/polipo-1.0.0.ebuild
deleted file mode 100644
index 668d60cbc0e5..000000000000
--- a/net-proxy/polipo/polipo-1.0.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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-1.0.0.ebuild,v 1.1 2007/06/17 07:00: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"
-
- newinitd "${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
- keepdir /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."
-}
diff --git a/net-proxy/polipo/polipo-1.0.1.ebuild b/net-proxy/polipo/polipo-1.0.3.ebuild
index 9f7b26237c3d..cc16aa36d166 100644
--- a/net-proxy/polipo/polipo-1.0.1.ebuild
+++ b/net-proxy/polipo/polipo-1.0.3.ebuild
@@ -1,6 +1,6 @@
# 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-1.0.1.ebuild,v 1.1 2007/08/19 09:26:23 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-1.0.3.ebuild,v 1.1 2007/11/02 15:38:54 mrness Exp $
inherit eutils
@@ -21,11 +21,11 @@ pkg_setup() {
}
src_compile() {
- emake "PREFIX=/usr" "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
+ emake PREFIX=/usr "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
}
src_install() {
- einstall "PREFIX=/usr" "TARGET=${D}" || die "install failed"
+ einstall PREFIX=/usr MANDIR=/usr/share/man INFODIR=/usr/share/info "TARGET=${D}" || die "install failed"
newinitd "${FILESDIR}/polipo.initd" polipo
insinto /etc/polipo ; doins "${FILESDIR}/config"
@@ -33,6 +33,9 @@ src_install() {
diropts -m0750 -o polipo -g polipo
keepdir /var/cache/polipo
+
+ dodoc CHANGES README
+ dohtml html/*
}
pkg_preinst() {