polipo: deleted unmaintained port

This commit is contained in:
Tim Biermann 2021-02-15 09:50:39 +00:00
parent 905bc1461a
commit 3358719d41
7 changed files with 0 additions and 163 deletions

View File

@ -1,18 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/polipo/
-rwxr-xr-x root/root etc/polipo/config
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/polipo
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/polipo
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/polipo.1.gz
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/cache/
drwxr-xr-x polipo/polipo var/cache/polipo/
drwxr-xr-x root/root var/www/
drwxr-xr-x root/root var/www/polipo/
-rw-r--r-- root/root var/www/polipo/index.html

View File

@ -1,7 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+q9uTq56uMzbV/FyNCySgbOPdTTGcI59iYJGRu58m+8ve/nRtiicwooHo2NeF1VWtHlkhMxX4yOqT2lI1xTIw0=
SHA256 (Pkgfile) = d22852694622609b69aef6914e802ee1603f7a4d602875130d17953538690504
SHA256 (.footprint) = 7db110ba2f2a4f07da512ddc5b09e2a8fb9960c98548de96f232acf3a7b206c8
SHA256 (polipo-1.1.1.tar.gz) = a259750793ab79c491d05fcee5a917faf7d9030fb5d15e05b3704e9c9e4ee015
SHA256 (rc.polipo) = 099a2dae8198246ceaee637ca587a2682478caa6d0d58bf530d05d34b8579b57
SHA256 (config.patch) = 2c9e9a3dfd8e9a7d21c1685f031e218feb0c8870f833daeb2185686a6aa42530

View File

@ -1,29 +0,0 @@
# Description: Web caching proxy
# URL: http://www.pps.jussieu.fr/~jch/software/polipo/
# Maintainer: UNMAINTAINED
name=polipo
version=1.1.1
release=1
source=(http://www.pps.univ-paris-diderot.fr/~jch/software/files/$name/$name-$version.tar.gz
rc.polipo
config.patch)
build() {
cd $name-$version
patch -p0 -i $SRC/config.patch
make polipo \
CDEBUGFLAGS="$CFLAGS" \
PREFIX=/usr \
LOCAL_ROOT=/var/www/$name
install -d -o polipo -g polipo $PKG/var/cache/$name
install -Dm0755 $name $PKG/usr/bin/$name
install -Dm644 $name.man $PKG/usr/share/man/man1/$name.1
install -Dm0755 config.sample $PKG/etc/$name/config
install -Dm0755 $SRC/rc.$name $PKG/etc/rc.d/$name
install -Dm0644 localindex.html $PKG/var/www/$name/index.html
}

View File

@ -1,15 +0,0 @@
README for polipo
NOTES
Using tor with polipo
---------------------
/etc/polipo/config:
logFile = /var/log/polipo.log
socksParentProxy = "127.0.0.1:9050"
socksProxyType = socks5
proxyAddress = 127.0.0.1
proxyPort = 8123
allowedClients = 127.0.0.1

View File

@ -1,32 +0,0 @@
--- config.sample 2020-12-18 12:37:38.582739862 +0200
+++ config.sample 2020-12-18 13:12:16.728777317 +0200
@@ -1,8 +1,9 @@
-# Sample configuration file for Polipo. -*-sh-*-
+#
+# /etc/polipo/config: polipo web proxy configuration
+#
-# You should not need to use a configuration file; all configuration
-# variables have reasonable defaults. If you want to use one, you
-# can copy this to /etc/polipo/config or to ~/.polipo and modify.
+# You should not need to edit this configuration file; all configuration
+# variables have reasonable defaults.
# This file only contains some of the configuration variables; see the
# list given by ``polipo -v'' and the manual for more.
@@ -17,11 +18,11 @@
# proxyAddress = "::0" # both IPv4 and IPv6
# proxyAddress = "0.0.0.0" # IPv4 only
-# If you do that, you'll want to restrict the set of hosts allowed to
-# connect:
+# If you are enabling 'proxyAddress' above, then you want to enable the
+# 'allowedClients' variable to the address of your network, e.g.
+# allowedClients = 127.0.0.1, 192.168.42.0/24
-# allowedClients = 127.0.0.1, 134.157.168.57
-# allowedClients = 127.0.0.1, 134.157.168.0/24
+# allowedClients = 127.0.0.1
# Uncomment this if you want your Polipo to identify itself by
# something else than the host name:

View File

@ -1,11 +0,0 @@
#!/bin/sh
# add user:group
getent group polipo || /usr/sbin/groupadd -r polipo
getent passwd polipo || /usr/sbin/useradd -g polipo -d /var/empty -s /bin/sh polipo
/usr/bin/passwd -l polipo
# create the log file and change the owner
touch /var/log/polipo.log
chown polipo:polipo /var/log/polipo.log
chmod 644 /var/log/polipo.log

View File

@ -1,51 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/polipo: start/stop polipo daemon
#
SSD=/sbin/start-stop-daemon
PROG=/usr/bin/polipo
PID=/var/run/polipo.pid
OPTS=""
# Check for configuration files
[ -f /etc/polipo/config ] || exit 1
case $1 in
start)
$SSD --start --make-pidfile --pidfile $PID \
--chuid polipo:polipo --exec $PROG \
--background -- $OPTS
;;
stop)
$SSD --stop --retry 10 --pidfile $PID --remove-pidfile
;;
fast-reload)
# write out all in-memory objects to disk and reload
# the forbidden URLs file
$SSD --stop --signal USR1 --pidfile $PID
;;
reload)
# write out all in-memory objects to disk, discard all
# in-memory objects, and reload the forbidden URLs file
$SSD --stop --signal USR2 --pidfile $PID
;;
restart)
$0 stop
$0 start
;;
status)
$SSD --status --pidfile $PID
case $? in
0) echo "$PROG is running with pid $(cat $PID)" ;;
1) echo "$PROG is not running but the pid file $PID exists" ;;
3) echo "$PROG is not running" ;;
4) echo "Unable to determine the program status" ;;
esac
;;
*)
echo "Usage: $0 [start|stop|restart|status]"
;;
esac
# End of file