thttpd: deleted unmaintained port

This commit is contained in:
Tim Biermann 2021-03-04 09:34:43 +00:00
parent 8cbe71a48d
commit e5f80a9536
Signed by: tb
GPG Key ID: 42F8B4E30B673606
6 changed files with 0 additions and 132 deletions

View File

@ -1,29 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/thttpd
-rw-r--r-- root/root etc/thttpd.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/htpasswd
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/syslogtocern
-rwxr-xr-x root/root usr/sbin/thttpd
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rwxr-xr-x root/root usr/share/man/man1/htpasswd.1.gz
drwxr-xr-x root/root usr/share/man/man8/
-rwxr-xr-x root/root usr/share/man/man8/redirect.8.gz
-rwxr-xr-x root/root usr/share/man/man8/ssi.8.gz
-rwxr-xr-x root/root usr/share/man/man8/syslogtocern.8.gz
-rw-r--r-- root/root usr/share/man/man8/thttpd.8.gz
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/log/
-rw-r--r-- root/root var/log/thttpd.log (EMPTY)
drwxr-xr-x root/root var/www/
drwxr-xr-x root/root var/www/cgi-bin/
-rwxr-xr-x root/root var/www/cgi-bin/phf
-rwxr-xr-x root/root var/www/cgi-bin/printenv
-rwxr-xr-x root/root var/www/cgi-bin/redirect
-rwxr-xr-x root/root var/www/cgi-bin/ssi
drwxrwxrwt root/root var/www/users/

View File

@ -1,8 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3z7EQr+hWQ+k8lw/K51nCrV8/y4xIYFmyOEJh7agV7e67pF7zMOwpNhvIqmMkAjN60yEwa+3bm0mDpSCpRfyGww=
SHA256 (Pkgfile) = 0b9ca9cacf69c371cd648c9129bc66a9c8b6057c2adcd8b2741c741481a02b70
SHA256 (.footprint) = aadec6312dcc00592b3a5d59e29eabfd8e89feee745aec8ba93fc3ced75e79c7
SHA256 (thttpd-2.29.tar.gz) = 99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397
SHA256 (thttpd.rc) = e8001e63e6d2400a12f81bc240d0bae4116772e571c712d121141ee2c990afbe
SHA256 (thttpd.conf) = 540b98cdc0af4ec60d690a0101c29e67403a4ce5d4e5970a6c1d929ccb295a6b
SHA256 (config.h.patch) = 1b94aa7e52569bb2fe79ab53189f951d88c78235d837f3e9d4d5cdd414b628f2

View File

@ -1,47 +0,0 @@
# Description: Tiny/Turbo/Throttling HTTP Server.
# URL: http://www.acme.com/software/thttpd/thttpd.html
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on:
name=thttpd
version=2.29
release=2
source=(https://www.acme.com/software/$name/$name-$version.tar.gz \
thttpd.rc thttpd.conf config.h.patch)
build() {
cd $name-$version
./configure --prefix=/usr
patch -i $SRC/config.h.patch
sed -i '1i#define _POSIX_C_SOURCE 1' extras/htpasswd.c
make
install -d $PKG/{var/log,var/www/{cgi-bin,users}}
install -D -m755 thttpd $PKG/usr/sbin/thttpd
install -D -m644 thttpd.8 $PKG/usr/share/man/man8/thttpd.8
install -D -m755 ../thttpd.rc $PKG/etc/rc.d/thttpd
install -D -m644 ../thttpd.conf $PKG/etc/thttpd.conf
# Install 'extras'
install -D -m755 extras/htpasswd $PKG/usr/bin/htpasswd
install -D -m755 extras/htpasswd.1 $PKG/usr/share/man/man1/htpasswd.1
install -D -m755 extras/syslogtocern $PKG/usr/sbin/syslogtocern
install -D -m755 extras/syslogtocern.8 $PKG/usr/share/man/man8/syslogtocern.8
# Install CGI
install -D -m755 cgi-src/phf $PKG/var/www/cgi-bin/phf
install -D -m755 cgi-bin/printenv $PKG/var/www/cgi-bin/printenv
install -D -m755 cgi-src/redirect $PKG/var/www/cgi-bin/redirect
install -D -m755 cgi-src/redirect.8 $PKG/usr/share/man/man8/redirect.8
install -D -m755 cgi-src/ssi $PKG/var/www/cgi-bin/ssi
install -D -m755 cgi-src/ssi.8 $PKG/usr/share/man/man8/ssi.8
chmod 755 $PKG/var/www
chmod 1777 $PKG/var/www/users
touch $PKG/var/log/thttpd.log
}

View File

@ -1,12 +0,0 @@
--- config.h.orig 2005-03-21 00:40:42.000000000 +1000
+++ config.h 2005-03-21 00:56:07.000000000 +1000
@@ -123,8 +123,8 @@
** You can also leave both options undefined, and thttpd will not do
** anything special about tildes. Enabling both options is an error.
*/
-#ifdef notdef
#define TILDE_MAP_1 "users"
+#ifdef notdef
#define TILDE_MAP_2 "public_html"
#endif

View File

@ -1,13 +0,0 @@
#
# /etc/thttpd.conf
#
#
port=80
user=nobody
dir=/var/www
nochroot
cgipat=/cgi-bin/**
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid
#
# End of file

View File

@ -1,23 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/thttpd: start/stop thttpd daemon
#
case $1 in
start)
/usr/sbin/thttpd -C /etc/thttpd.conf
;;
stop)
killall -q /usr/sbin/thttpd
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file