summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-11-28 09:10:53 +0100
committerPetr Vaněk <arkamar@gentoo.org>2024-11-28 09:33:11 +0100
commit2f565837be4b7d89c9e218e4c06b2a199fbd66d6 (patch)
tree2ef506c7a3775ccb033abfe3ebc5fe4ff32c41f4 /net-proxy
parentnet-misc/htbinit: drop 0.8.5-r7 (diff)
downloadgentoo-2f565837be4b7d89c9e218e4c06b2a199fbd66d6.tar.gz
gentoo-2f565837be4b7d89c9e218e4c06b2a199fbd66d6.tar.bz2
gentoo-2f565837be4b7d89c9e218e4c06b2a199fbd66d6.zip
net-proxy/wwwoffle: drop 2.9i-r2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/wwwoffle/Manifest1
-rw-r--r--net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch20
-rw-r--r--net-proxy/wwwoffle/wwwoffle-2.9i-r2.ebuild104
3 files changed, 0 insertions, 125 deletions
diff --git a/net-proxy/wwwoffle/Manifest b/net-proxy/wwwoffle/Manifest
index 8d5bc86b7bd2..5ce0370709f5 100644
--- a/net-proxy/wwwoffle/Manifest
+++ b/net-proxy/wwwoffle/Manifest
@@ -1,2 +1 @@
-DIST wwwoffle-2.9i.tgz 1113771 BLAKE2B 5acf6e14f362fe87d8f91599aaf113ce8ea5a178ed08eb21d4371d0edfc77a5c0a38e8e0053b51cf6426b0b701ba4fbbddfc84240161877a892aa2da303a5ecf SHA512 c9e9d67df9a0e40b584916857221a9a728f36a677cba28527f8c2febea1a23379d3b112d96723bf01ec1718a0897d8980715864ac7ef898b2585dd3f01d9a456
DIST wwwoffle-2.9j.tgz 1110599 BLAKE2B cc12a1043c2047f8150883871e112007f9cd028ae961e3495332c4afc06342f0b85c44d0c08ce204907c7abbdb3660afe15d0d146dde39fc914942f9ec492a9d SHA512 03f3177fac563ecab33288d1c193d3e193ff1c07413151fc5db1b85e0111b10815d572bcc59d188145b2851e57be0327f7c9e7538361a36e1a9457aa0d028818
diff --git a/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch b/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch
deleted file mode 100644
index 3bcc10d761e6..000000000000
--- a/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/wwwoffled.c
-+++ b/src/wwwoffled.c
-@@ -15,6 +15,7 @@
-
- #include "autoconfig.h"
-
-+#define _GNU_SOURCE
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
---- a/src/cgi.c
-+++ b/src/cgi.c
-@@ -16,6 +16,7 @@
-
- #include "autoconfig.h"
-
-+#define _GNU_SOURCE
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
diff --git a/net-proxy/wwwoffle/wwwoffle-2.9i-r2.ebuild b/net-proxy/wwwoffle/wwwoffle-2.9i-r2.ebuild
deleted file mode 100644
index 433016cae157..000000000000
--- a/net-proxy/wwwoffle/wwwoffle-2.9i-r2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Web caching proxy suitable for non-permanent Internet connections"
-HOMEPAGE="https://www.gedanken.org.uk/software/wwwoffle/"
-SRC_URI="https://www.gedanken.org.uk/software/${PN}/download/${P}.tgz"
-
-KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="gnutls ipv6 zlib"
-
-RDEPEND="
- acct-group/wwwoffle
- acct-user/wwwoffle
- gnutls? ( net-libs/gnutls )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="
- dev-lang/perl
- app-alternatives/lex
- ${RDEPEND}
-"
-# Unsure whether to depend on >=www-misc/htdig-3.1.6-r4 or not
-
-PATCHES=( "${FILESDIR}"/${PN}-2.9i-define.patch )
-
-src_prepare() {
- default
- sed -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' -i cache/Makefile.in || die
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with gnutls)
- $(use_with ipv6)
- $(use_with zlib)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- # documentation fix
- # del empty doc dirs
- rmdir "${D}/usr/doc/${PN}"/{it,nl,ru} || die
- dodir /usr/share/doc
- mv "${D}/usr/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
- rmdir "${D}/usr/doc" || die
-
- # install the wwwoffled init script
- newinitd "${FILESDIR}/${PN}.initd" wwwoffled
- newinitd "${FILESDIR}/${PN}-online.initd" wwwoffled-online
- newconfd "${FILESDIR}/${PN}-online.confd" wwwoffled-online
-
- keepdir /var/spool/wwwoffle/{http,outgoing,monitor,lasttime,lastout,local}
- for number in 1 2 3 4 5 6 7 8 9; do
- keepdir "/var/spool/wwwoffle/prevtime${number}" "/var/spool/wwwoffle/prevout${number}"
- done
-
- # empty dirs are removed during update
- keepdir /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db}
-
- touch "${D}/var/spool/wwwoffle/search/htdig/wwwoffle-htdig.log"
- touch "${D}/var/spool/wwwoffle/search/mnogosearch/wwwoffle-mnogosearch.log"
- touch "${D}/var/spool/wwwoffle/search/namazu/wwwoffle-namazu.log"
-
- # TODO htdig indexing as part of initscripts
-
- # robots.txt modification - /var/spool/wwwoffle/html/en
- # - remove Disallow: /index
- sed -e "s|Disallow:.*/index|#Disallow: /index|" -i "${D}/var/spool/wwwoffle/html/en/robots.txt" || die
-}
-
-pkg_preinst() {
- # Changing the user:group to wwwoffle:woffle
- fowners -R wwwoffle:wwwoffle /var/spool/wwwoffle /etc/wwwoffle
- sed -e 's/^[# \t]\(run-[gu]id[ \t]*=[ \t]*\)[a-zA-Z0-9]*[ \t]*$/ \1wwwoffle/g' -i "${D}/etc/wwwoffle/wwwoffle.conf" || die
-
-}
-
-pkg_postinst() {
- # fix permissions for those upgrading
- for number in 1 2 3 4 5 6 7 8 9;
- do
- [ ! -d "${ROOT}/var/spool/wwwoffle/prevtime${number}" ] && \
- keepdir "${ROOT}/var/spool/wwwoffle/prevtime${number}"
- [ ! -d "${ROOT}/var/spool/wwwoffle/prevout${number}" ] && \
- keepdir "${ROOT}/var/spool/wwwoffle/prevout${number}"
- done
-
- [ -f "${T}/stopped" ] && ewarn "wwwoffled was stopped. /etc/init.d/wwwoffled start to restart AFTER etc-update"
-
- einfo "wwwoffled should run as an ordinary user now. The run-uid and run-gid should be set"
- einfo "to \"wwwoffle\" in your /etc/wwwoffle/wwwoffle.conf. Please uncomment this if it hasn't been already"
-
- einfo "This is for your own security. Otherwise wwwoffle is run as root which is relay bad if"
- einfo "there is an exploit in this program that allows remote/local users to execute arbitary"
- einfo "commands as the root user."
-}