diff options
author | James Mills <prologic@daisy.(none)> | 2006-11-20 07:26:53 +1000 |
---|---|---|
committer | James Mills <prologic@daisy.(none)> | 2006-11-20 07:26:53 +1000 |
commit | 9e696ec09095446172c1455e1e5784dc540ddf51 (patch) | |
tree | 6a9f88478d5837a960f940fce7e5373a0fd5bd70 /thttpd | |
parent | 9318e05d84e946541f81627a18e25c0deb891e34 (diff) | |
download | contrib-9e696ec09095446172c1455e1e5784dc540ddf51.tar.gz contrib-9e696ec09095446172c1455e1e5784dc540ddf51.tar.xz |
Pkgfile cleanup; s/\t/ /g
Diffstat (limited to 'thttpd')
-rw-r--r-- | thttpd/Pkgfile | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/thttpd/Pkgfile b/thttpd/Pkgfile index 2977996cd..c8d845095 100644 --- a/thttpd/Pkgfile +++ b/thttpd/Pkgfile @@ -1,48 +1,49 @@ -# Description: Tiny/Turbo/Throttling HTTP Server. -# URL: http://www.acme.com/software/thttpd/thttpd.html -# Packager: James Mills prologic at shortcircuit dot net dot au -# Maintainer: James Mills prologic at shortcircuit dot net dot au -# Depends on: +# Description: Tiny/Turbo/Throttling HTTP Server. +# URL: http://www.acme.com/software/thttpd/thttpd.html +# Packager: James Mills prologic at shortcircuit dot net dot au +# Maintainer: James Mills prologic at shortcircuit dot net dot au +# +# Depends on: name=thttpd version=2.25b release=5 source=(http://www.acme.com/software/$name/$name-$version.tar.gz \ - thttpd.rc thttpd.conf config.h.patch) + thttpd.rc thttpd.conf config.h.patch) build() { - cd $name-$version - ./configure --prefix=/usr - patch -i $SRC/config.h.patch - make - - install -d $PKG/{var/log,home/www/{cgi-bin,users}} - - install -D -m755 thttpd $PKG/usr/sbin/thttpd - install -D -m644 thttpd.8 $PKG/usr/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/man/man1/htpasswd.1 - - install -D -m755 extras/syslogtocern $PKG/usr/sbin/syslogtocern - install -D -m755 extras/syslogtocern.8 $PKG/usr/man/man8/syslogtocern.8 - - # Install CGI - install -D -m755 cgi-src/phf $PKG/home/www/cgi-bin/phf - install -D -m755 cgi-bin/printenv $PKG/home/www/cgi-bin/printenv - - install -D -m755 cgi-src/redirect $PKG/home/www/cgi-bin/redirect - install -D -m755 cgi-src/redirect.8 $PKG/usr/man/man8/redirect.8 - - install -D -m755 cgi-src/ssi $PKG/home/www/cgi-bin/ssi - install -D -m755 cgi-src/ssi.8 $PKG/usr/man/man8/ssi.8 - - chmod 755 $PKG/home/www - chmod 1777 $PKG/home/www/users - touch $PKG/var/log/thttpd.log - chown -R root:root $PKG + cd $name-$version + ./configure --prefix=/usr + patch -i $SRC/config.h.patch + make + + install -d $PKG/{var/log,home/www/{cgi-bin,users}} + + install -D -m755 thttpd $PKG/usr/sbin/thttpd + install -D -m644 thttpd.8 $PKG/usr/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/man/man1/htpasswd.1 + + install -D -m755 extras/syslogtocern $PKG/usr/sbin/syslogtocern + install -D -m755 extras/syslogtocern.8 $PKG/usr/man/man8/syslogtocern.8 + + # Install CGI + install -D -m755 cgi-src/phf $PKG/home/www/cgi-bin/phf + install -D -m755 cgi-bin/printenv $PKG/home/www/cgi-bin/printenv + + install -D -m755 cgi-src/redirect $PKG/home/www/cgi-bin/redirect + install -D -m755 cgi-src/redirect.8 $PKG/usr/man/man8/redirect.8 + + install -D -m755 cgi-src/ssi $PKG/home/www/cgi-bin/ssi + install -D -m755 cgi-src/ssi.8 $PKG/usr/man/man8/ssi.8 + + chmod 755 $PKG/home/www + chmod 1777 $PKG/home/www/users + touch $PKG/var/log/thttpd.log + chown -R root:root $PKG } |