mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
thttpd: update to 2.26.
This commit is contained in:
parent
da5bc035dc
commit
ddccbc1570
2 changed files with 3 additions and 23 deletions
|
@ -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;
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'thttpd'
|
# Template file for 'thttpd'
|
||||||
pkgname=thttpd
|
pkgname=thttpd
|
||||||
version=2.25b
|
version=2.26
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Tiny/turbo/throttling HTTP server"
|
short_desc="Tiny/turbo/throttling HTTP server"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://www.acme.com/software/thttpd/"
|
homepage="http://www.acme.com/software/thttpd/"
|
||||||
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
||||||
checksum=07719b08b1cff6a21c08697a7bcb4395425b07ee753106262fb62a03a7d32360
|
checksum=15b3f6c60f854061e333227e9ea9ff789d34a092c9365690a8c0d3ecfc85cbb7
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -e "s,-o bin -g bin,,g" -i Makefile.in
|
sed -e "s,-o bin -g bin,,g" -i Makefile.in
|
||||||
|
|
Loading…
Add table
Reference in a new issue