thttpd: update to 2.26.

This commit is contained in:
Juan RP 2014-08-15 07:33:11 +02:00
parent da5bc035dc
commit ddccbc1570
2 changed files with 3 additions and 23 deletions

View file

@ -1,20 +0,0 @@
--- extras/htpasswd.c.orig 2013-04-23 09:29:50.553761043 +0200
+++ extras/htpasswd.c 2013-04-23 09:30:08.017849725 +0200
@@ -49,7 +49,7 @@ static void getword(char *word, char *li
while((line[y++] = line[x++]));
}
-static int getline(char *s, int n, FILE *f) {
+static int mygetline(char *s, int n, FILE *f) {
register int i=0;
while(1) {
@@ -189,7 +189,7 @@ int main(int argc, char *argv[]) {
strcpy(user,argv[2]);
found = 0;
- while(!(getline(line,MAX_STRING_LEN,f))) {
+ while(!(mygetline(line,MAX_STRING_LEN,f))) {
if(found || (line[0] == '#') || (!line[0])) {
putline(tfp,line);
continue;

View file

@ -1,14 +1,14 @@
# Template file for 'thttpd'
pkgname=thttpd
version=2.25b
revision=2
version=2.26
revision=1
build_style=gnu-configure
short_desc="Tiny/turbo/throttling HTTP server"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.acme.com/software/thttpd/"
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
checksum=07719b08b1cff6a21c08697a7bcb4395425b07ee753106262fb62a03a7d32360
checksum=15b3f6c60f854061e333227e9ea9ff789d34a092c9365690a8c0d3ecfc85cbb7
pre_configure() {
sed -e "s,-o bin -g bin,,g" -i Makefile.in