Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e96eeaa956631a3d2374302e56cbbd41991c5739
commit e96eeaa956631a3d2374302e56cbbd41991c5739 Author: James Buren <[email protected]> Date: Tue Oct 29 03:30:59 2013 -0500 thttpd-2.25b-4-x86_64 * remove package diff --git a/source/network-extra/thttpd/FrugalBuild b/source/network-extra/thttpd/FrugalBuild deleted file mode 100644 index bdae8f1..0000000 --- a/source/network-extra/thttpd/FrugalBuild +++ /dev/null @@ -1,42 +0,0 @@ -# Compiling Time: 0.01 SBU -# Maintainer: Miklos Vajna <[email protected]> - -pkgname=thttpd -pkgver=2.25b -pkgrel=4 -pkgdesc="tiny/turbo/throttling HTTP server" -url="http://www.acme.com/software/thttpd/" -depends=('glibc') -conflicts=('apache') -groups=('network-extra') -archs=('i686' 'x86_64') -up2date="lynx -dump $url |grep tar.gz$ |sed -n 's/.*-\(.*\)\.t.*/\1/;1 p'" -source=($url/$pkgname-$pkgver.tar.gz $pkgname.service ${pkgname}_config getline.patch) -sha1sums=('cd0e823233ad73e34ee1c9b871b01050feb9db52' \ - '85826fb92deb875ce51f70ebb21bc0671c62ee4e' \ - 'b182a4d857083a0495b975b97a9c12f52a4752c2' \ - '5ac14035a10b9155d813b363520e9aa74c5d91fc') - -_F_systemd_units=($pkgname=) -Finclude systemd - -build() -{ - Fmkdir /usr/man/man1/ /var/www/data/log - Fpatchall - Fconf - for i in Makefile cgi-src/Makefile extras/Makefile - do - Fsed '-O2' "$CFLAGS" $i - done - make || return 1 - make install prefix=$Fdestdir/usr WEBGROUP=root install - Fexe /var/www/thttpd_config - Fmv /usr/www/cgi-bin /var/www - Frm /usr/www - Ffile /lib/systemd/system/$pkgname.service - Fgenscriptlet -} - - -# optimization OK diff --git a/source/network-extra/thttpd/getline.patch b/source/network-extra/thttpd/getline.patch deleted file mode 100644 index 1ec3946..0000000 --- a/source/network-extra/thttpd/getline.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Nur thttpd-2.25b.orig/extras/htpasswd.c thttpd-2.25b/extras/htpasswd.c ---- thttpd-2.25b.orig/extras/htpasswd.c 2001-12-19 02:08:08.000000000 +0200 -+++ thttpd-2.25b/extras/htpasswd.c 2010-04-11 14:43:31.037809054 +0300 -@@ -49,7 +49,7 @@ - while((line[y++] = line[x++])); - } - --static int getline(char *s, int n, FILE *f) { -+static int get_line(char *s, int n, FILE *f) { - register int i=0; - - while(1) { -@@ -189,7 +189,7 @@ - strcpy(user,argv[2]); - - found = 0; -- while(!(getline(line,MAX_STRING_LEN,f))) { -+ while(!(get_line(line,MAX_STRING_LEN,f))) { - if(found || (line[0] == '#') || (!line[0])) { - putline(tfp,line); - continue; diff --git a/source/network-extra/thttpd/thttpd.service b/source/network-extra/thttpd/thttpd.service deleted file mode 100644 index b79cc28..0000000 --- a/source/network-extra/thttpd/thttpd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Tiny HTTP Server -After=network.target - -[Service] -ExecStart=/usr/sbin/thttpd -C /var/www/thttpd_config -PIDFile=/var/run/thttpd.pid -Type=forking - -[Install] -WantedBy=multi-user.target diff --git a/source/network-extra/thttpd/thttpd_config b/source/network-extra/thttpd/thttpd_config deleted file mode 100644 index 0e86e6a..0000000 --- a/source/network-extra/thttpd/thttpd_config +++ /dev/null @@ -1,5 +0,0 @@ -dir=/var/www/data -chroot -cgipat=**.cgi -logfile=/var/www/data/log/thttpd_log -pidfile=/var/run/thttpd.pid _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
