From ddccbc15703083a0b19e46db136af294f271d12e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 Aug 2014 07:33:11 +0200 Subject: [PATCH] thttpd: update to 2.26. --- srcpkgs/thttpd/patches/getline.patch | 20 -------------------- srcpkgs/thttpd/template | 6 +++--- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/thttpd/patches/getline.patch diff --git a/srcpkgs/thttpd/patches/getline.patch b/srcpkgs/thttpd/patches/getline.patch deleted file mode 100644 index 9be5814b2b..0000000000 --- a/srcpkgs/thttpd/patches/getline.patch +++ /dev/null @@ -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; diff --git a/srcpkgs/thttpd/template b/srcpkgs/thttpd/template index 9b82b202d3..b0547b935f 100644 --- a/srcpkgs/thttpd/template +++ b/srcpkgs/thttpd/template @@ -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 " 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