---
name: polipo
version: 1.0.4.1
origin: www/polipo
comment: A small and fast caching web proxy
arch: freebsd:9:x86:64
www: http://www.pps.jussieu.fr/~jch/software/polipo/
maintainer: frank@pinky.sax.de
prefix: /usr/local
licenselogic: single
flatsize: 589526
desc: |
  Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy)
  designed to be used by one person or a small group of people.

  Author: Juliusz Chroboczek <jch@pps.jussieu.fr>
  WWW: http://www.pps.jussieu.fr/~jch/software/polipo/
categories: [www]
files:
  /usr/local/bin/polipo: 7928fb5a86a58e9f21c97f4476dca4f9f34fe7e3560883c17528cb38bfbc4ff7
  /usr/local/etc/periodic/daily/400.polipo: d426c38d2c032468768afef9514948b40631d4dbb589c7bf03abd214f4b7507a
  /usr/local/etc/polipo/config.sample: 34e7819202af2accf1333bc6d70a457d0fcafb22c738f2e780d1a46a42494964
  /usr/local/etc/polipo/forbidden.sample: 7a004895ae9565f1bc9380a099dba65d314278a43422e0722bd101648d6e28db
  /usr/local/etc/rc.d/polipo: d823d27403d2d2aa0fb42e21496cd90cde42be2b87133813b95bc025c4d7a3cb
  /usr/local/info/polipo.info: c93f4a2b7bd96326d15f25d877033fb48150d8bcf38337f8c019b1899cf8250f
  /usr/local/man/man1/polipo.1.gz: 911bc467fd2fc44d2f75ab85262b4fb899825c2b477374aecc9025f895229ca6
  /usr/local/share/polipo/www/doc/Access-control.html: 8d889603ee9f29c4c01cf6c915472400ede2f0ff245baf8063ef4d44969cef6a
  /usr/local/share/polipo/www/doc/Allowed-ports.html: 158dda1d9665164fc018b1a0a86e1ad3bade1f033180b507271457b221a9d3da
  /usr/local/share/polipo/www/doc/Apache.html: 0756d1cf3eda33369c783405e9667607fc9641539044106a0bd16bb6158e67f2
  /usr/local/share/polipo/www/doc/Asynchronous-writing.html: 56d5fad036a8eeca5b3d386ca6d7cf5be8fb18a4aee6a93f94ff1f40e1089b43
  /usr/local/share/polipo/www/doc/Background.html: b2ef22608d12ef1baf50b1d751392b148be6e21e8892639dd660e551b0e5c0f3
  /usr/local/share/polipo/www/doc/Browser-configuration.html: 9867593e0ebdfc5d801d88eb7e5c506ddc5d0455b70856fa22b70a7caeacb1d9
  /usr/local/share/polipo/www/doc/Cache-transparency.html: 7e801a09de9de91e352250ad6251277a3b1f093121ef9e94c9f6aa46a9fa82e2
  /usr/local/share/polipo/www/doc/Caching.html: dba6454fdb4b514a2bdf6c2441c93b4936cf9c3525dc8fd2f43476cf6a6dbed6
  /usr/local/share/polipo/www/doc/Censor-Accept_002dLanguage.html: bbb221a1c473348143ec83823aaf399b50c2370204b356eb4d1d478f716a0c4a
  /usr/local/share/polipo/www/doc/Censoring-headers.html: a10bc7feb209dea479ea5e2039ecd63cf7a4ce1204593f6202584ba389585265
  /usr/local/share/polipo/www/doc/Chunk-memory.html: 2351bcb8219058244be1caaab020d3e9796537ec07a0fe8085bb93c6bdf0337e
  /usr/local/share/polipo/www/doc/Client-connections.html: a19a9cb56086295b7421e326fdd85ae40d1d4195665b03992e95723b2851efe7
  /usr/local/share/polipo/www/doc/Concept-index.html: bf9fb11f0d8d09eb4e49ad3acba51bdc82d9c4e0f2109c46e7904edf29cdaf13
  /usr/local/share/polipo/www/doc/Configuring-Polipo.html: 3e8f037df3de149b42278cc820851ff1b34f656c050cd8799ec088304291e441
  /usr/local/share/polipo/www/doc/Contacting-servers.html: 4eb3aaf15d57ece7eed8d3364e192b6ab4e39b24e784be813d05c04d38a7c241
  /usr/local/share/polipo/www/doc/Copying.html: 5269353ef1c9c6972ffd1d7ff98d14c1a07d231028de737cc1909388aa074947
  /usr/local/share/polipo/www/doc/DNS.html: 1e0dffa40ffa7ba38280e97e852b78455a113984d58b4ae6db6d9fbec812ba01
  /usr/local/share/polipo/www/doc/Daemon.html: d489d35a16fe57ad3494b47c05e89732623682adf774e57c5091a0e58822c50c
  /usr/local/share/polipo/www/doc/Disk-cache.html: e35271f59b20d8c98eeacfa390836d33f59d33e68005fad27a28872648cc5b14
  /usr/local/share/polipo/www/doc/Disk-format.html: 36516f2a8fd5117527bfc90d6b9d354fc46dee6a28fb6fe11f0e91b588fd6926
  /usr/local/share/polipo/www/doc/External-redirectors.html: 65cd141c54b94802dbbea86cf68561725593108873448ad0a43aca20118614d8
  /usr/local/share/polipo/www/doc/Forbidden.html: df525a518bc4d76a9b1450f6c90cdd92db2c5e13c628c13537e2d84f4e16b6ba
  /usr/local/share/polipo/www/doc/HTTP-parent-proxies.html: 775c0d344dd786336af760a91c127c6bfd16ef3c6591ccff70329639c849f93d
  /usr/local/share/polipo/www/doc/HTTP-tuning.html: a726c097c57b6274d07d094809ca3ccad5d4ebe107fade49057bf617e9561f89
  /usr/local/share/polipo/www/doc/Harvest-and-Squid.html: 55736ce6b1adf3034981109b419ea7bd7fd4ca204442170d324db6dd1756d278
  /usr/local/share/polipo/www/doc/Internal-forbidden-list.html: 4cadc8d78a171e84aa515458a9a3a53bc425588facbfb916f83550a3dc87df85
  /usr/local/share/polipo/www/doc/Junkbuster.html: 7e59958de1f44fd95a4dcc60c16bf2ece9fc48d93091212dcff7f29c6f02cf3e
  /usr/local/share/polipo/www/doc/Latency-and-throughput.html: 2ccf7c3f2a4acaa6f2b81bc6614b6875ee6ba2ca0cac97e98b99bdd5a3ebc6ce
  /usr/local/share/polipo/www/doc/Limiting-chunk-usage.html: 620aa593f59d643643aa6d9effd1d0b1ec1b39ee63b4f1a3602cdc28a21d164c
  /usr/local/share/polipo/www/doc/Limiting-memory-usage.html: ed4af5d1a5d6931467bc02913e83251869107a38c265895149bff35bfe5bda8b
  /usr/local/share/polipo/www/doc/Limiting-object-usage.html: 33707c8972d6edba5b0c8e3204df13847199ee66b0c4b72680f1ef2cb1c91c76
  /usr/local/share/polipo/www/doc/Local-server.html: 7fd4e7ba3e96e3aa9dcb26ec1952ab1f5cd3e2a7fdda35c12df941865b872d96
  /usr/local/share/polipo/www/doc/Logging.html: dbc37c3257448f423c194f2f4c123ca3372969379545a8be18e5911e1c491add
  /usr/local/share/polipo/www/doc/Malloc-memory.html: 8ce9920b292c54a0c6a4c866dfeb254c1af6450953f569c78f66bd049574b969
  /usr/local/share/polipo/www/doc/Memory-cache.html: 3802dd1eeebd76f7ca864004188b48f4cbfb30aad59703b30fb5f057e7a2fa91
  /usr/local/share/polipo/www/doc/Memory-usage.html: f1cf11e31afece9c209933bff53c45837008b3804813e543788f3df0fc90d770
  /usr/local/share/polipo/www/doc/Modifying-the-on_002ddisk-cache.html: 89126c53c6979dfc8eede334be12750906b2a7cb9e097a7525850b68953bfff2
  /usr/local/share/polipo/www/doc/Network-traffic.html: 57adba7d80261c229dfc0b58def26e8c0269e0e776c41592857ef8a2adfb8be8
  /usr/local/share/polipo/www/doc/Network.html: 69246684a3848ca1a87710491c1bbb7ab80531237caa824ffa40f0d23143f1c4
  /usr/local/share/polipo/www/doc/OS-usage-limits.html: 3a81880e759b6feb99686de9c040758037035e284085778a79bd2cb5dbc46726
  /usr/local/share/polipo/www/doc/Offline-browsing.html: 45d349664fe438e9b1cec744592ec270dd3ce4753ba578e8e20dfe7207bd02c5
  /usr/local/share/polipo/www/doc/Oops.html: 640ede279865cc90c22040b1d54e11b89c6837ea838520958cdedb76c3837a62
  /usr/local/share/polipo/www/doc/Other-HTTP-proxies.html: 2ae19cc69a61302cbb04ff5a8aeb23698613737e36449f56b04485bd362e5701
  /usr/local/share/polipo/www/doc/PMM.html: e64fe89da22e089f251bf8417666fd713c834b95d47b1c95eca7b9cc18b1e3e3
  /usr/local/share/polipo/www/doc/POST-and-PUT.html: d2e080bb84ae77f6d0d72ed466a956809a2c44101277c82434bdea9a94776c33
  /usr/local/share/polipo/www/doc/Parent-proxies.html: 24eb11d678a5c2729852688c50a3f0ab8a9e3031b73ebeba32a86c9738a2a3e5
  /usr/local/share/polipo/www/doc/Partial-instances.html: 4ef02305646781e89e73e93b55288e3d72533eface0208f0d73897f3b7643307
  /usr/local/share/polipo/www/doc/Persistent-connections.html: ab4d789716359123599ac153577cbd75863b56969e65cc1c928887db98ab2139
  /usr/local/share/polipo/www/doc/Pipelining.html: 408da5d935183d1ccb9dac3b8f264c2de83ec1bf738e1811f6c8c5c81aa34f1a
  /usr/local/share/polipo/www/doc/Polipo-Invocation.html: 3e5e0bcb00176611f0f45b30ede599635fff453188fbf3c35da9173c1d354a5b
  /usr/local/share/polipo/www/doc/Poor-Mans-Multiplexing.html: 6ecc70f0efad01b667f77b19d8aab4981601188233dd7ff06ca49c365a9ecffc
  /usr/local/share/polipo/www/doc/Privoxy.html: 4d8e58774dcbf6b0a843b14f401d0134c4a72025ffa64144f09e1f52c37ab239
  /usr/local/share/polipo/www/doc/Proxies-and-caches.html: a30074fcdc70fd762cff8b02906e4e3a7caac42db3584906e437d49583a2a145
  /usr/local/share/polipo/www/doc/Purging.html: cc85d6f821c282eef25a188e743e8d084d12a314bf482148b7d167056e744f2e
  /usr/local/share/polipo/www/doc/Running.html: 491583181f56264884fe0888b8ddacaff4bea67890708e05aa7e13f72f8563ec
  /usr/local/share/polipo/www/doc/SOCKS-parent-proxies.html: fee554232c3126734c6a33099bf67619a4cad34ed1fe8af24d884ee68d03f8e3
  /usr/local/share/polipo/www/doc/Server-statistics.html: fe993bb36418923eb9ff75c77f4fef7b8e9d18b42e29cf773ccf9338d20c0f3b
  /usr/local/share/polipo/www/doc/Server_002dside-behaviour.html: bdb9977663576738dc0cf140d144f3d148ec3c5261bdd46c85d50dd2c1f0e154
  /usr/local/share/polipo/www/doc/Stopping.html: deb3c07a4ab240539e25b54a1156145101a7288e5606f6a96bac4f01a11d80b0
  /usr/local/share/polipo/www/doc/The-web.html: decc71388c3d66ad0a2ef19bb27b84c62af7563fbf9983f99fa353ca57b5e45a
  /usr/local/share/polipo/www/doc/Tuning-POST-and-PUT.html: e4a571b7b93436fae5e64876d0feceef6a481f53dcea699fa59e3f23d1662b0a
  /usr/local/share/polipo/www/doc/Tuning-the-HTTP-parser.html: e36e88b2dc37af4685ef84d5d179424ecdb42c555f044e849e56bf762ef741c0
  /usr/local/share/polipo/www/doc/Tuning-validation.html: 6342df150a21f20b055b444036d97eba72e60fc51a08d90426af6b6079855fee
  /usr/local/share/polipo/www/doc/Tunnelling-connections.html: 769369a8bc552c14b302dd1cba1ec44b0da22f83a0dfb5a31f38c7acf2e63bd1
  /usr/local/share/polipo/www/doc/Tweaking-validation.html: d7c1f5834f3be234b1d5756eb3ce3a622fbc6c50bc322f05480fbe6f7cb5003e
  /usr/local/share/polipo/www/doc/Variable-index.html: 0d5e9aef88f14c3d14e681480b07514d594fe70213fdc8b2f13f7e04a47db377
  /usr/local/share/polipo/www/doc/WWWOFFLE.html: 7d138dc0dd1e18bd91873a136fc84126e92cd16dec233054aec3bb76cbde8bc0
  /usr/local/share/polipo/www/doc/Web-interface.html: f8bd473e297b0b17cb2bcc5f2400c38bf9f0e8ecc03abdbdb7225ca26b404514
  /usr/local/share/polipo/www/doc/index.html: d4464ef9eb9a1edd75cf197e765091487ebe06c8d09675878a1998d8dbbbf50c
  /usr/local/share/polipo/www/index.html: c8f2226dfe2bfb1432d398347a816f00f8ccfee988e1225ae391b0cc64a6bc4e
directories:
  /usr/local/share/polipo/www/doc/: n
  /usr/local/etc/periodic/daily/: y
  /usr/local/etc/periodic/: y
scripts:
  post-install: |
    cd /usr/local
    file=/usr/local/info/polipo.info
    install-info --quiet /usr/local/info/polipo.info ${file%25/*}/dir
  pre-deinstall: |
    cd /usr/local
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    cd /usr/local
    file=/usr/local/info/polipo.info
    install-info --quiet --delete /usr/local/info/polipo.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
  install: "#!/bin/sh\n\nPOLIPOUSER=polipo\nPOLIPOGROUP=polipo\nUID=173\nGID=${UID}\n\nPOLIPOCACHE=/var/cache/polipo\nPOLIPOLOG=/var/log/polipo\nPPIDDIR=/var/run/polipo/\nPOLIPOPID=/var/run/polipo/polipo.pid\n\nif
    [ \"$2\" = \"PRE-INSTALL\" ]; then\n\n\tif fgrep \"polipo\" \"/etc/newsyslog.conf\"
    2>/dev/null 1>&2; then\n\t\tif ! fgrep \"polipo.pid\" \"/etc/newsyslog.conf\"
    2>/dev/null 1>&2; then\n\t\t\techo \"==> ERROR: Previous installation left an
    invalid entry in /etc/newsyslog.conf.\"\n\t\t\techo \"==> Please remove the polipo
    line from this file and try again.\"\n\t\t\texit 1\n\t\tfi\n\tfi\n\n\tif ! pw
    groupshow \"$POLIPOGROUP\" 2>/dev/null 1>&2; then\n\t\tif pw groupadd $POLIPOGROUP
    -g ${GID} ; then\n\t\t\techo \"=> Added group \\\"$POLIPOGROUP\\\".\"\n\t\telse\n\t\t\techo
    \"=> Adding group \\\"$POLIPOGROUP\\\" failed...\"\n\t\t\texit 1\n\t\tfi\n\tfi\n\n\tif
    ! pw usershow \"$POLIPOUSER\" 2>/dev/null 1>&2; then\n\t\tif pw useradd $POLIPOUSER
    -u ${UID} -g $POLIPOGROUP -h - \\\n\t\t\t-s \"/sbin/nologin\" -d \"/nonexistent\"
    \\\n\t\t\t-c \"polipo web cache\"; \\\n\t\tthen\n\t\t\techo \"=> Added user \\\"$POLIPOUSER\\\".\"\n\t\telse\n\t\t\techo
    \"=> Adding user \\\"$POLIPOUSER\\\" failed...\"\n\t\t\texit 1\n\t\tfi\n\tfi\n\nelif
    [ \"$2\" = \"POST-INSTALL\" ]; then\n\n\tif [ ! -d \"$POLIPOCACHE\" ]; then\n\t\tmkdir
    -p \"$POLIPOCACHE\" || exit 1\n\t\tchown \"$POLIPOUSER:$POLIPOGROUP\" \"$POLIPOCACHE\"
    || exit 1\n\t\tchmod 0770 \"$POLIPOCACHE\" || exit 1\n\tfi\n\n\tif [ ! -d \"$PPIDDIR\"
    ]; then\n\t\tmkdir -p \"$PPIDDIR\" || exit 1\n\t\tchgrp \"$POLIPOGROUP\" \"$PPIDDIR\"
    || exit 1\n\t\tchmod g+w \"$PPIDDIR\" || exit 1\n\tfi\n\n\tif [ ! -f \"$POLIPOLOG\"
    ]; then\n\t\ttouch \"$POLIPOLOG\" || exit 1\n\t\tchown \"$POLIPOUSER\" \"$POLIPOLOG\"
    || exit 1\n\t\tchmod 0640 \"$POLIPOLOG\" || exit 1\n\tfi\n\n\n\tif ! fgrep \"${POLIPOLOG}\"
    \"/etc/newsyslog.conf\" 2>/dev/null 1>&2; then\n\techo \"${POLIPOLOG}\t\t${POLIPOUSER}:\t\t640
    \ 3     100\t*     J     $POLIPOPID 30\" >> \"/etc/newsyslog.conf\" || exit 1\n\tfi\n\nfi\n\nexit
    0\n"
  deinstall: "#!/bin/sh\n\n\nif [ \"$2\" != \"POST-DEINSTALL\" ]; then\n\texit 0\nfi\n\nPOLIPOUSER=polipo\nPOLIPOGROUP=polipo\n\nPCONFIGDIR=/usr/local/etc/polipo/\nPPIDDIR=/var/run/polipo/\nPOLIPOCACHE=/var/cache/polipo\nPOLIPOLOG=/var/log/polipo\nPOLIPOPID=/var/run/polipo/polipo.pid\nPOLIPODATA=/usr/local/share/polipo\n\n\nif
    pw usershow \"${POLIPOUSER}\" 2>/dev/null 1>&2; then\n\techo \"---> To delete
    ${POLIPOUSER} user permanently, use 'pw userdel \\\"${POLIPOUSER}\\\"'\"\nfi\n\nif
    [ -d \"$POLIPOCACHE\" ]; then\n\trm -r \"$POLIPOCACHE\" || exit 1\nfi\nif [ -d
    \"$PPIDDIR\" ]; then\n\trm -r \"$PPIDDIR\" || exit 1\nfi\n\nif fgrep \"${POLIPOLOG}\"
    \"/etc/newsyslog.conf\" 2>/dev/null 1>&2; then\n \techo \"---> You should remove
    from /etc/newsyslog.conf the \\\"${POLIPOLOG}\\\" entry manually.\"\nfi\n\nrmdir
    $POLIPODATA/www/doc $POLIPODATA/www $POLIPODATA 2>/dev/null\nrmdir $PCONFIGDIR
    2>/dev/null || echo \"---> If you not plan to reinstall polipo, you can safely
    remove ${PCONFIGDIR}.\"\nexit 0\n"
message: "\n******************************************************************************\nTo
  complete the polipo installation you should:\n\n1. copy the configuration file example
  and modify it if desired\n   cd /usr/local/etc/polipo/\n   cp config.sample config\n
  \  vi config\n   \n2. enable automatic polipo startup with entry in /etc/rc.conf.local
  or /etc/rc.conf\n   polipo_enable=\"YES\"\n   \n3. start polipo\n   /usr/local/etc/rc.d/polipo
  start\n   \n4. point your browser to the new proxy server, the default port is 8123\n******************************************************************************\n\n"
