Pullup previous changes on HEAD to pkgsrc-2010Q2 branch to fix branching error, and to sync with reality.diff -r1.731 -r1.731.2.1 pkgsrc/www/Makefile
(agc)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.731 2010/06/25 12:59:47 hauke Exp $ | 1 | # $NetBSD: Makefile,v 1.731.2.1 2010/07/04 07:28:52 agc Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Packages related to the World Wide Web | 4 | COMMENT= Packages related to the World Wide Web | |
5 | 5 | |||
6 | SUBDIR+= SpeedyCGI | 6 | SUBDIR+= SpeedyCGI | |
7 | SUBDIR+= adzap | 7 | SUBDIR+= adzap | |
8 | SUBDIR+= album | 8 | SUBDIR+= album | |
9 | SUBDIR+= album_themes | 9 | SUBDIR+= album_themes | |
10 | SUBDIR+= amaya | 10 | SUBDIR+= amaya | |
11 | SUBDIR+= analog | 11 | SUBDIR+= analog | |
12 | SUBDIR+= ap-Embperl | 12 | SUBDIR+= ap-Embperl | |
13 | SUBDIR+= ap-access-referer | 13 | SUBDIR+= ap-access-referer | |
14 | SUBDIR+= ap-auth-cookie | 14 | SUBDIR+= ap-auth-cookie | |
@@ -463,45 +463,45 @@ SUBDIR+= pear-HTTP_Request | @@ -463,45 +463,45 @@ SUBDIR+= pear-HTTP_Request | |||
463 | SUBDIR+= php-apc | 463 | SUBDIR+= php-apc | |
464 | SUBDIR+= php-curl | 464 | SUBDIR+= php-curl | |
465 | SUBDIR+= php-eaccelerator | 465 | SUBDIR+= php-eaccelerator | |
466 | SUBDIR+= php-uploadprogress | 466 | SUBDIR+= php-uploadprogress | |
467 | #SUBDIR+= plone # only contains Makefile fragments | 467 | #SUBDIR+= plone # only contains Makefile fragments | |
468 | SUBDIR+= plone25 | 468 | SUBDIR+= plone25 | |
469 | SUBDIR+= plone3 | 469 | SUBDIR+= plone3 | |
470 | SUBDIR+= pound | 470 | SUBDIR+= pound | |
471 | SUBDIR+= privoxy | 471 | SUBDIR+= privoxy | |
472 | SUBDIR+= py-ClientForm | 472 | SUBDIR+= py-ClientForm | |
473 | SUBDIR+= py-HTMLgen | 473 | SUBDIR+= py-HTMLgen | |
474 | SUBDIR+= py-PasteDeploy | 474 | SUBDIR+= py-PasteDeploy | |
475 | SUBDIR+= py-beautifulsoup | 475 | SUBDIR+= py-beautifulsoup | |
476 | SUBDIR+= py-blosxom | |||
476 | SUBDIR+= py-clearsilver | 477 | SUBDIR+= py-clearsilver | |
477 | SUBDIR+= py-curl | 478 | SUBDIR+= py-curl | |
478 | SUBDIR+= py-django | 479 | SUBDIR+= py-django | |
479 | SUBDIR+= py-django-registration | 480 | SUBDIR+= py-django-registration | |
480 | SUBDIR+= py-flup | 481 | SUBDIR+= py-flup | |
481 | SUBDIR+= py-gdata | 482 | SUBDIR+= py-gdata | |
482 | SUBDIR+= py-genshi | 483 | SUBDIR+= py-genshi | |
483 | SUBDIR+= py-jonpy | 484 | SUBDIR+= py-jonpy | |
484 | SUBDIR+= py-mechanize | 485 | SUBDIR+= py-mechanize | |
485 | SUBDIR+= py-moin | 486 | SUBDIR+= py-moin | |
486 | SUBDIR+= py-nevow | 487 | SUBDIR+= py-nevow | |
487 | SUBDIR+= py-paste | 488 | SUBDIR+= py-paste | |
488 | SUBDIR+= py-rss2gen | 489 | SUBDIR+= py-rss2gen | |
489 | SUBDIR+= py-scgi | 490 | SUBDIR+= py-scgi | |
490 | SUBDIR+= py-simpletal | 491 | SUBDIR+= py-simpletal | |
491 | SUBDIR+= py-swish-e | 492 | SUBDIR+= py-swish-e | |
492 | SUBDIR+= py-uwsgi | 493 | SUBDIR+= py-uwsgi | |
493 | SUBDIR+= py-webpy | 494 | SUBDIR+= py-webpy | |
494 | SUBDIR+= py-blosxom | |||
495 | SUBDIR+= qDecoder | 495 | SUBDIR+= qDecoder | |
496 | SUBDIR+= raggle | 496 | SUBDIR+= raggle | |
497 | SUBDIR+= rails | 497 | SUBDIR+= rails | |
498 | SUBDIR+= ramaze | 498 | SUBDIR+= ramaze | |
499 | SUBDIR+= ruby-actionpack | 499 | SUBDIR+= ruby-actionpack | |
500 | SUBDIR+= ruby-activeresource | 500 | SUBDIR+= ruby-activeresource | |
501 | SUBDIR+= ruby-borges | 501 | SUBDIR+= ruby-borges | |
502 | SUBDIR+= ruby-clearsilver | 502 | SUBDIR+= ruby-clearsilver | |
503 | SUBDIR+= ruby-compass | 503 | SUBDIR+= ruby-compass | |
504 | SUBDIR+= ruby-compass-susy-plugin | 504 | SUBDIR+= ruby-compass-susy-plugin | |
505 | SUBDIR+= ruby-cssmin | 505 | SUBDIR+= ruby-cssmin | |
506 | SUBDIR+= ruby-div | 506 | SUBDIR+= ruby-div | |
507 | SUBDIR+= ruby-fcgi | 507 | SUBDIR+= ruby-fcgi |
@@ -1,38 +1,41 @@ | @@ -1,38 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2009/12/03 17:12:42 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.3.6.1 2010/07/04 07:28:52 agc Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= mod-cband-0.9.7.5 | 4 | DISTNAME= mod-cband-0.9.7.5 | |
5 | PKGNAME= ${APACHE_PKG_PREFIX}-cband-${DISTNAME:S/mod-cband-//} | |||
5 | CATEGORIES= www | 6 | CATEGORIES= www | |
6 | MASTER_SITES= http://cband.linux.pl/download/ | 7 | MASTER_SITES= http://cband.linux.pl/download/ | |
7 | EXTRACT_SUFX= .tgz | 8 | EXTRACT_SUFX= .tgz | |
8 | 9 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://codee.pl/cband.html | 11 | HOMEPAGE= http://codee.pl/cband.html | |
11 | COMMENT= Bandwidth and connection limiting module for Apache 2 | 12 | COMMENT= Bandwidth and connection limiting module for Apache 2 | |
12 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
13 | 14 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 16 | |||
16 | APACHE_MODULE_NAME= mod_cband | 17 | APACHE_MODULE_NAME= mod_cband | |
17 | DOC_DIR= ${PREFIX}/share/doc/${APACHE_MODULE_NAME} | 18 | DOC_DIR= ${PREFIX}/share/doc/${APACHE_MODULE_NAME} | |
18 | 19 | |||
19 | APACHE_MODULE= yes | 20 | APACHE_MODULE= yes | |
20 | PKG_APACHE_ACCEPTED= apache2 apache22 | 21 | PKG_APACHE_ACCEPTED= apache2 apache22 | |
21 | 22 | |||
22 | USE_LIBTOOL= yes | 23 | USE_LIBTOOL= yes | |
23 | HAS_CONFIGURE= yes | 24 | HAS_CONFIGURE= yes | |
24 | BUILD_TARGET= | 25 | BUILD_TARGET= | |
25 | 26 | |||
26 | INSTALLATION_DIRS+= lib/httpd share/doc/${APACHE_MODULE_NAME} | 27 | INSTALLATION_DIRS+= lib/httpd share/doc/${APACHE_MODULE_NAME} | |
27 | 28 | |||
29 | CONFIGURE_ENV+= APXS=${APXS} | |||
30 | ||||
28 | do-install: | 31 | do-install: | |
29 | cd ${WRKSRC}/src && \ | 32 | cd ${WRKSRC}/src && \ | |
30 | libexecdir=`${APXS} -q LIBEXECDIR` && \ | 33 | libexecdir=`${APXS} -q LIBEXECDIR` && \ | |
31 | ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \ | 34 | ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \ | |
32 | -n ${APACHE_MODULE_NAME} -i ${APACHE_MODULE_NAME}.la | 35 | -n ${APACHE_MODULE_NAME} -i ${APACHE_MODULE_NAME}.la | |
33 | ${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt \ | 36 | ${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt \ | |
34 | ${DESTDIR}${DOC_DIR}/documentation.txt | 37 | ${DESTDIR}${DOC_DIR}/documentation.txt | |
35 | ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DESTDIR}${DOC_DIR}/faq.txt | 38 | ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DESTDIR}${DOC_DIR}/faq.txt | |
36 | 39 | |||
37 | .include "../../mk/apache.mk" | 40 | .include "../../mk/apache.mk" | |
38 | .include "../../mk/bsd.pkg.mk" | 41 | .include "../../mk/bsd.pkg.mk" |
@@ -1,28 +1,27 @@ | @@ -1,28 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2010/02/15 11:38:44 fhajny Exp $ | 1 | # $NetBSD: Makefile,v 1.5.4.1 2010/07/04 07:28:52 agc Exp $ | |
2 | 2 | |||
3 | DISTNAME= mod_fcgid-2.3.5 | 3 | DISTNAME= mod_fcgid-2.3.5 | |
4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | 4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | |
5 | CATEGORIES= www | 5 | CATEGORIES= www | |
6 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/mod_fcgid/} | 6 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/mod_fcgid/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://httpd.apache.org/mod_fcgid/ | 9 | HOMEPAGE= http://httpd.apache.org/mod_fcgid/ | |
10 | COMMENT= High performance alternative to mod_cgi or mod_cgid | 10 | COMMENT= High performance alternative to mod_cgi or mod_cgid | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | PKG_APACHE_ACCEPTED= apache2 apache22 | 15 | PKG_APACHE_ACCEPTED= apache2 apache22 | |
16 | APACHE_MODULE= YES | 16 | APACHE_MODULE= YES | |
17 | USE_LIBTOOL= YES | 17 | USE_LIBTOOL= YES | |
18 | 18 | |||
19 | HAS_CONFIGURE= yes | |||
20 | CONFIGURE_SCRIPT= ./configure.apxs | |||
19 | CONFIGURE_ENV+= APXS=${APXS:Q} | 21 | CONFIGURE_ENV+= APXS=${APXS:Q} | |
20 | 22 | |||
21 | MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} | 23 | MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} | |
22 | MAKE_FLAGS+= INCLUDES="-I${BUILDLINK_PREFIX.apache}/include/httpd" | 24 | MAKE_FLAGS+= INCLUDES="-I${BUILDLINK_PREFIX.apache}/include/httpd" | |
23 | 25 | |||
24 | do-configure: | |||
25 | cd ${WRKSRC} && ./configure.apxs | |||
26 | ||||
27 | .include "../../mk/apache.mk" | 26 | .include "../../mk/apache.mk" | |
28 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,29 +1,30 @@ | @@ -1,29 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2010/06/13 22:45:32 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.4.2.1 2010/07/04 07:28:52 agc Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= mod_dnssd-0.5 | 4 | DISTNAME= mod_dnssd-0.5 | |
5 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | 5 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | |
6 | PKGREVISION= 2 | 6 | PKGREVISION= 2 | |
7 | CATEGORIES= www | 7 | CATEGORIES= www | |
8 | MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/ | 8 | MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/ | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://0pointer.de/lennart/projects/mod_dnssd/ | 11 | HOMEPAGE= http://0pointer.de/lennart/projects/mod_dnssd/ | |
12 | COMMENT= Apache module which adds Zeroconf support via DNS-SD using Avahi | 12 | COMMENT= Apache module which adds Zeroconf support via DNS-SD using Avahi | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_TOOLS= pkg-config gmake | 15 | USE_TOOLS= pkg-config gmake | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
17 | 17 | |||
18 | CONFIGURE_ENV+= APXS=${APXS:Q} | |||
18 | CONFIGURE_ARGS+= --disable-lynx | 19 | CONFIGURE_ARGS+= --disable-lynx | |
19 | 20 | |||
20 | PKG_APACHE_ACCEPTED= apache22 | 21 | PKG_APACHE_ACCEPTED= apache22 | |
21 | APACHE_MODULE_NAME= mod_dnssd | 22 | APACHE_MODULE_NAME= mod_dnssd | |
22 | 23 | |||
23 | do-install: | 24 | do-install: | |
24 | cd ${WRKSRC}/src && ${APXS} -i -n ${APACHE_MODULE_NAME} \ | 25 | cd ${WRKSRC}/src && ${APXS} -i -n ${APACHE_MODULE_NAME} \ | |
25 | ${APACHE_MODULE_NAME}.la | 26 | ${APACHE_MODULE_NAME}.la | |
26 | 27 | |||
27 | .include "../../net/avahi/buildlink3.mk" | 28 | .include "../../net/avahi/buildlink3.mk" | |
28 | .include "../../mk/apache.mk" | 29 | .include "../../mk/apache.mk" | |
29 | .include "../../mk/bsd.pkg.mk" | 30 | .include "../../mk/bsd.pkg.mk" |
@@ -1,25 +1,27 @@ | @@ -1,25 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2010/03/12 13:45:42 jmmv Exp $ | 1 | # $NetBSD: Makefile,v 1.13.4.1 2010/07/04 07:28:52 agc Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= cherokee-0.5.3 | 4 | DISTNAME= cherokee-0.5.3 | |
5 | PKGREVISION= 5 | 5 | PKGREVISION= 5 | |
6 | CATEGORIES= www | 6 | CATEGORIES= www | |
7 | MASTER_SITES= http://www.cherokee-project.com/download/0.5/0.5.3/ | 7 | MASTER_SITES= http://www.cherokee-project.com/download/0.5/0.5.3/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.cherokee-project.com/ | 10 | HOMEPAGE= http://www.cherokee-project.com/ | |
11 | COMMENT= Flexible and fast web server | 11 | COMMENT= Flexible and fast web server | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | |||
14 | ||||
13 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
14 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
15 | USE_TOOLS+= bison flex | 17 | USE_TOOLS+= bison flex | |
16 | 18 | |||
17 | CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} | 19 | CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} | |
18 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 20 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
19 | CONFIGURE_ARGS+= --with-wwwroot=${PREFIX}/share/cherokee | 21 | CONFIGURE_ARGS+= --with-wwwroot=${PREFIX}/share/cherokee | |
20 | 22 | |||
21 | PKGCONFIG_OVERRIDE= cherokee.pc.in | 23 | PKGCONFIG_OVERRIDE= cherokee.pc.in | |
22 | 24 | |||
23 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q} | 25 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q} | |
24 | OWN_DIRS= ${PKG_SYSCONFDIR}/cherokee | 26 | OWN_DIRS= ${PKG_SYSCONFDIR}/cherokee | |
25 | OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/mods-enabled | 27 | OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/mods-enabled | |
@@ -68,17 +70,16 @@ CONFIGURE_ARGS+= --enable-tls=gnutls | @@ -68,17 +70,16 @@ CONFIGURE_ARGS+= --enable-tls=gnutls | |||
68 | .include "../../security/gnutls/buildlink3.mk" | 70 | .include "../../security/gnutls/buildlink3.mk" | |
69 | .include "../../security/gnutls/libgnutls-config.mk" | 71 | .include "../../security/gnutls/libgnutls-config.mk" | |
70 | CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ | 72 | CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ | |
71 | ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl | 73 | ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl | |
72 | .elif !empty(PKG_OPTIONS:Mopenssl) | 74 | .elif !empty(PKG_OPTIONS:Mopenssl) | |
73 | CONFIGURE_ARGS+= --enable-tls=openssl | 75 | CONFIGURE_ARGS+= --enable-tls=openssl | |
74 | .include "../../security/openssl/buildlink3.mk" | 76 | .include "../../security/openssl/buildlink3.mk" | |
75 | CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ | 77 | CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ | |
76 | ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl | 78 | ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl | |
77 | .else | 79 | .else | |
78 | CONFIGURE_ARGS+= --disable-tls | 80 | CONFIGURE_ARGS+= --disable-tls | |
79 | .endif | 81 | .endif | |
80 | 82 | |||
81 | pre-install: | 83 | INSTALLATION_DIRS+= ${EGDIR}/pam.d | |
82 | ${INSTALL_DATA_DIR} ${EGDIR}/pam.d | |||
83 | 84 | |||
84 | .include "../../mk/bsd.pkg.mk" | 85 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2009/08/05 22:17:58 minskim Exp $ | 1 | $NetBSD: distinfo,v 1.1.1.1.8.1 2010/07/04 07:28:53 agc Exp $ | |
2 | 2 | |||
3 | SHA1 (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = c03da651ff5faaa945db124653e287bfe927a6b1 | 3 | SHA1 (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = c03da651ff5faaa945db124653e287bfe927a6b1 | |
4 | RMD160 (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = 0a4331a129f00c943e10f15a257db2d5420be624 | 4 | RMD160 (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = 0a4331a129f00c943e10f15a257db2d5420be624 | |
5 | Size (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = 951300 bytes | 5 | Size (w3m-el-snapshot_1.4.364+0.20090802.orig.tar.gz) = 951300 bytes | |
6 | SHA1 (patch-aa) = d17fa31e5cf767203dad2652e2ebb5aebffa535d |
@@ -1,2 +0,0 @@ | @@ -1,2 +0,0 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2002/06/18 12:09:25 agc Exp $ | |||
2 | sbin/lhs |
@@ -1,15 +0,0 @@ | @@ -1,15 +0,0 @@ | |||
1 | $NetBSD: patch-aa,v 1.1 2002/06/18 12:09:25 agc Exp $ | |||
2 | ||||
3 | --- Makefile.in.orig Sun Feb 25 14:42:39 2001 | |||
4 | +++ Makefile.in Tue Jun 18 12:58:26 2002 | |||
5 | @@ -1,7 +1,7 @@ | |||
6 | -CC = gcc -O2 -Wall | |||
7 | -LIBS = #LIBS# | |||
8 | +CC = gcc -O2 -Wall -DDEFAULT_ROOT_DIR='"${DEFAULT_ROOT_DIR}"' | |||
9 | +LIBS = -L${OPENSSL_ROOT}/lib -Wl,-R${OPENSSL_ROOT}/lib #LIBS# | |||
10 | ||||
11 | -default: lhs | |||
12 | +default all: lhs | |||
13 | ||||
14 | lhs: lhs.c lhs.h content-type.h icons.h | |||
15 | $(CC) lhs.c -o lhs $(LIBS) |
@@ -1,15 +0,0 @@ | @@ -1,15 +0,0 @@ | |||
1 | $NetBSD: patch-ab,v 1.1 2002/06/18 12:09:25 agc Exp $ | |||
2 | ||||
3 | --- lhs.h 2002/06/18 11:49:31 1.1 | |||
4 | +++ lhs.h 2002/06/18 11:50:29 | |||
5 | @@ -7,7 +7,10 @@ | |||
6 | ||||
7 | #define VERSION "lhs/0.1" | |||
8 | ||||
9 | +#ifndef DEFAULT_ROOT_DIR | |||
10 | #define DEFAULT_ROOT_DIR "/home/httpd/html" | |||
11 | +#endif | |||
12 | + | |||
13 | #define DEFAULT_HTTP_PORT 8000 | |||
14 | #define DEFAULT_HTTPS_PORT 8001 | |||
15 | #define DEFAULT_MAX_SOCKS 50 |
@@ -1,13 +0,0 @@ | @@ -1,13 +0,0 @@ | |||
1 | $NetBSD: patch-ac,v 1.1 2002/06/18 12:09:25 agc Exp $ | |||
2 | ||||
3 | --- lhs.c 2002/06/18 11:54:40 1.1 | |||
4 | +++ lhs.c 2002/06/18 11:54:05 | |||
5 | @@ -592,7 +592,7 @@ | |||
6 | " -s version set SSL protocol version (default: SSLv2)\n" | |||
7 | " -c filename load certificate file (default: lhs.pem)\n" | |||
8 | #endif | |||
9 | -" -r path set server's root directory (default: /home/httpd/html)\n" | |||
10 | +" -r path set server's root directory (default: " DEFAULT_ROOT_DIR ")\n" | |||
11 | " -u user switch to other user after startup\n" | |||
12 | " -g group change gid to other than user's\n" | |||
13 | " -m socks set number of sockets (default: 50, min: 3)\n" |
@@ -1,27 +1,29 @@ | @@ -1,27 +1,29 @@ | |||
1 | # $NetBSD: options.mk,v 1.6 2007/02/22 19:27:20 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.6.32.1 2010/07/04 07:28:53 agc Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR = PKG_OPTIONS.lighttpd | 3 | PKG_OPTIONS_VAR = PKG_OPTIONS.lighttpd | |
4 | PKG_SUPPORTED_OPTIONS= bzip fam gdbm inet6 ldap lua mysql ssl memcache | 4 | PKG_SUPPORTED_OPTIONS= bzip fam gdbm inet6 ldap lua mysql ssl memcache | |
5 | PKG_SUGGESTED_OPTIONS= inet6 ssl | 5 | PKG_SUGGESTED_OPTIONS= inet6 ssl | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | ### | 9 | ### | |
10 | ### Allow using bzip as a compression method in the "compress" module. | 10 | ### Allow using bzip as a compression method in the "compress" module. | |
11 | ### | 11 | ### | |
12 | .if !empty(PKG_OPTIONS:Mbzip) | 12 | .if !empty(PKG_OPTIONS:Mbzip) | |
13 | . include "../../archivers/bzip2/buildlink3.mk" | 13 | . include "../../archivers/bzip2/buildlink3.mk" | |
14 | CONFIGURE_ARGS+= --with-bzip2 | 14 | CONFIGURE_ARGS+= --with-bzip2 | |
15 | .else | |||
16 | CONFIGURE_ARGS+= --without-bzip2 | |||
15 | .endif | 17 | .endif | |
16 | 18 | |||
17 | ### | 19 | ### | |
18 | ### Use FAM to optimize number of stat() syscalls used. | 20 | ### Use FAM to optimize number of stat() syscalls used. | |
19 | ### | 21 | ### | |
20 | .if !empty(PKG_OPTIONS:Mfam) | 22 | .if !empty(PKG_OPTIONS:Mfam) | |
21 | . include "../../mk/fam.buildlink3.mk" | 23 | . include "../../mk/fam.buildlink3.mk" | |
22 | CONFIGURE_ARGS+= --with-fam | 24 | CONFIGURE_ARGS+= --with-fam | |
23 | .endif | 25 | .endif | |
24 | 26 | |||
25 | ### | 27 | ### | |
26 | ### Support using GDBM for storage in the "trigger before download" module. | 28 | ### Support using GDBM for storage in the "trigger before download" module. | |
27 | ### | 29 | ### |
@@ -1,4 +0,0 @@ | @@ -1,4 +0,0 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2002/05/31 13:01:44 seb Exp $ | |||
2 | bin/mknmz-wwwoffle | |||
3 | man/man1/mknmz-wwwoffle.1 | |||
4 | share/namazu/filter/wwwofflecache.pl |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: options.mk,v 1.9 2010/06/15 20:05:48 joerg Exp $ | 1 | # $NetBSD: options.mk,v 1.9.2.1 2010/07/04 07:28:53 agc Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | |
4 | PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \ | 4 | PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache pcre \ | |
5 | realip inet6 uwsgi | 5 | push realip ssl sub uwsgi | |
6 | PKG_SUGGESTED_OPTIONS= ssl pcre | 6 | PKG_SUGGESTED_OPTIONS= pcre ssl | |
7 | 7 | |||
8 | PLIST_VARS+= uwsgi | 8 | PLIST_VARS+= uwsgi | |
9 | 9 | |||
10 | .include "../../mk/bsd.options.mk" | 10 | .include "../../mk/bsd.options.mk" | |
11 | 11 | |||
12 | .if !empty(PKG_OPTIONS:Mssl) | 12 | .if !empty(PKG_OPTIONS:Mssl) | |
13 | .include "../../security/openssl/buildlink3.mk" | 13 | .include "../../security/openssl/buildlink3.mk" | |
14 | CONFIGURE_ARGS+= --with-mail_ssl_module | 14 | CONFIGURE_ARGS+= --with-mail_ssl_module | |
15 | CONFIGURE_ARGS+= --with-http_ssl_module | 15 | CONFIGURE_ARGS+= --with-http_ssl_module | |
16 | .endif | 16 | .endif | |
17 | 17 | |||
18 | .if !empty(PKG_OPTIONS:Mpcre) | 18 | .if !empty(PKG_OPTIONS:Mpcre) | |
19 | .include "../../devel/pcre/buildlink3.mk" | 19 | .include "../../devel/pcre/buildlink3.mk" | |
@@ -48,15 +48,23 @@ CONFIGURE_ARGS+= --without-http_memcache | @@ -48,15 +48,23 @@ CONFIGURE_ARGS+= --without-http_memcache | |||
48 | 48 | |||
49 | .if !empty(PKG_OPTIONS:Mrealip) | 49 | .if !empty(PKG_OPTIONS:Mrealip) | |
50 | CONFIGURE_ARGS+= --with-http_realip_module | 50 | CONFIGURE_ARGS+= --with-http_realip_module | |
51 | .endif | 51 | .endif | |
52 | 52 | |||
53 | .if !empty(PKG_OPTIONS:Minet6) | 53 | .if !empty(PKG_OPTIONS:Minet6) | |
54 | CONFIGURE_ARGS+= --with-ipv6 | 54 | CONFIGURE_ARGS+= --with-ipv6 | |
55 | .endif | 55 | .endif | |
56 | 56 | |||
57 | .if !empty(PKG_OPTIONS:Muwsgi) | 57 | .if !empty(PKG_OPTIONS:Muwsgi) | |
58 | EGFILES+= uwsgi_params | 58 | EGFILES+= uwsgi_params | |
59 | PLIST.uwsgi= yes | 59 | PLIST.uwsgi= yes | |
60 | .else | 60 | .else | |
61 | ||||
62 | .if !empty(PKG_OPTIONS:Mpush) | |||
63 | PUSH= nginx_http_push_module-0.692 | |||
64 | DISTFILES+= ${PUSH}.tar.gz | |||
65 | SITES.${PUSH}.tar.gz= http://pushmodule.slact.net/downloads/ | |||
66 | CONFIGURE_ARGS+= --add-module=../${PUSH} | |||
67 | .endif | |||
68 | ||||
61 | CONFIGURE_ARGS+= --without-http_uwsgi_module | 69 | CONFIGURE_ARGS+= --without-http_uwsgi_module | |
62 | .endif | 70 | .endif |
@@ -1,10 +1,9 @@ | @@ -1,10 +1,9 @@ | |||
1 | # $NetBSD: Makefile,v 1.57 2010/01/17 12:02:51 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.57.4.1 2010/07/04 07:28:54 agc Exp $ | |
2 | # | |||
3 | 2 | |||
4 | PKGNAME= w3m-${W3M_VERS} | 3 | PKGNAME= w3m-${W3M_VERS} | |
5 | PKGREVISION= 4 | 4 | PKGREVISION= 5 | |
6 | COMMENT= Multilingualized version of a pager/text-based browser w3m | 5 | COMMENT= Multilingualized version of a pager/text-based browser w3m | |
7 | 6 | |||
8 | CONFLICTS+= w3m-img-[0-9]* | 7 | CONFLICTS+= w3m-img-[0-9]* | |
9 | 8 | |||
10 | .include "../../www/w3m/Makefile.common" | 9 | .include "../../www/w3m/Makefile.common" |
@@ -1,8 +1,10 @@ | @@ -1,8 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.20 2008/12/13 08:52:13 obache Exp $ | 1 | $NetBSD: distinfo,v 1.20.14.1 2010/07/04 07:28:54 agc Exp $ | |
2 | 2 | |||
3 | SHA1 (w3m-0.5.2.tar.gz) = 484522547ae6dbb342d3858a2a53a65451e273f9 | 3 | SHA1 (w3m-0.5.2.tar.gz) = 484522547ae6dbb342d3858a2a53a65451e273f9 | |
4 | RMD160 (w3m-0.5.2.tar.gz) = 09ce72d8ef5e621a2e49496b63e22f2773edbe79 | 4 | RMD160 (w3m-0.5.2.tar.gz) = 09ce72d8ef5e621a2e49496b63e22f2773edbe79 | |
5 | Size (w3m-0.5.2.tar.gz) = 1906812 bytes | 5 | Size (w3m-0.5.2.tar.gz) = 1906812 bytes | |
6 | SHA1 (patch-aa) = 2de78a6db9bd483416895b393935ccadab879932 | 6 | SHA1 (patch-aa) = 2de78a6db9bd483416895b393935ccadab879932 | |
7 | SHA1 (patch-ab) = 2d60d7a2946f13a185591c0b927cf0f8b5ea351b | 7 | SHA1 (patch-ab) = 2d60d7a2946f13a185591c0b927cf0f8b5ea351b | |
8 | SHA1 (patch-ac) = 800d4b8c2ed93ccaa000564366ad07fabcc5bdc2 | |||
9 | SHA1 (patch-ad) = 7a11f6f97fb5d01a420c95bcd03e577ffd3a241f | |||
8 | SHA1 (patch-ak) = ac0ee99d5ab49c431cfa496d0d2d509efd6b06fa | 10 | SHA1 (patch-ak) = ac0ee99d5ab49c431cfa496d0d2d509efd6b06fa |
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2010/01/24 13:26:12 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.19.4.1 2010/07/04 07:28:54 agc Exp $ | |
2 | # | |||
3 | 2 | |||
4 | PKGNAME= w3m-img-${W3M_VERS} | 3 | PKGNAME= w3m-img-${W3M_VERS} | |
5 | PKGREVISION= 4 | 4 | PKGREVISION= 5 | |
6 | COMMENT= Multilingualized version of a pager/text-based browser w3m with inline image support | 5 | COMMENT= Multilingualized version of a pager/text-based browser w3m with inline image support | |
7 | 6 | |||
8 | CONFLICTS+= w3m-[0-9]* | 7 | CONFLICTS+= w3m-[0-9]* | |
9 | 8 | |||
10 | DISTINFO_FILE= ${.CURDIR}/../../www/w3m/distinfo | 9 | DISTINFO_FILE= ${.CURDIR}/../../www/w3m/distinfo | |
11 | PATCHDIR= ${.CURDIR}/../../www/w3m/patches | 10 | PATCHDIR= ${.CURDIR}/../../www/w3m/patches | |
12 | PLIST_SRC= ${.CURDIR}/../../www/w3m/PLIST | 11 | PLIST_SRC= ${.CURDIR}/../../www/w3m/PLIST | |
13 | 12 | |||
14 | USE_TOOLS+= msgfmt | 13 | USE_TOOLS+= msgfmt | |
15 | 14 | |||
16 | # Enable image support. | 15 | # Enable image support. | |
17 | _W3M_USE_IMAGE= YES | 16 | _W3M_USE_IMAGE= YES | |
18 | 17 |
$NetBSD: patch-ac,v 1.14.4.2 2010/07/04 07:28:54 agc Exp $
Fix for CVE-2010-2074 taken from here:
http://www.openwall.com/lists/oss-security/2010/06/14/4
--- fm.h.orig 2007-05-30 05:47:24.000000000 +0100
+++ fm.h 2010-07-01 19:26:27.000000000 +0100
@@ -1119,7 +1119,7 @@
#endif
#if defined(USE_SSL) && defined(USE_SSL_VERIFY)
-global int ssl_verify_server init(FALSE);
+global int ssl_verify_server init(TRUE);
global char *ssl_cert_file init(NULL);
global char *ssl_key_file init(NULL);
global char *ssl_ca_path init(NULL);
@@ -1128,7 +1128,7 @@
#endif /* defined(USE_SSL) &&
* defined(USE_SSL_VERIFY) */
#ifdef USE_SSL
-global char *ssl_forbid_method init(NULL);
+global char *ssl_forbid_method init("2");
#endif
global int is_redisplay init(FALSE);
$NetBSD: patch-ad,v 1.8.4.2 2010/07/04 07:28:54 agc Exp $
Fix for CVE-2010-2074 taken from here:
http://www.openwall.com/lists/oss-security/2010/06/14/4
--- istream.c.orig 2007-05-23 16:06:05.000000000 +0100
+++ istream.c 2010-07-01 19:31:00.000000000 +0100
@@ -447,8 +447,17 @@
if (!seen_dnsname)
seen_dnsname = Strnew();
+ /* replace \0 to make full string visible to user */
+ if (sl != strlen(sn)) {
+ int i;
+ for (i = 0; i < sl; ++i) {
+ if (!sn[i])
+ sn[i] = '!';
+ }
+ }
Strcat_m_charp(seen_dnsname, sn, " ", NULL);
- if (ssl_match_cert_ident(sn, sl, hostname))
+ if (sl == strlen(sn) /* catch \0 in SAN */
+ && ssl_match_cert_ident(sn, sl, hostname))
break;
}
}
@@ -466,16 +475,27 @@
if (match_ident == FALSE && ret == NULL) {
X509_NAME *xn;
char buf[2048];
+ int slen;
xn = X509_get_subject_name(x);
- if (X509_NAME_get_text_by_NID(xn, NID_commonName,
- buf, sizeof(buf)) == -1)
+ slen = X509_NAME_get_text_by_NID(xn, NID_commonName, buf, sizeof(buf));
+ if ( slen == -1)
/* FIXME: gettextize? */
ret = Strnew_charp("Unable to get common name from peer cert");
- else if (!ssl_match_cert_ident(buf, strlen(buf), hostname))
+ else if (slen != strlen(buf)
+ || !ssl_match_cert_ident(buf, strlen(buf), hostname)) {
+ /* replace \0 to make full string visible to user */
+ if (slen != strlen(buf)) {
+ int i;
+ for (i = 0; i < slen; ++i) {
+ if (!buf[i])
+ buf[i] = '!';
+ }
+ }
/* FIXME: gettextize? */
ret = Sprintf("Bad cert ident %s from %s", buf, hostname);
+ }
else
match_ident = TRUE;
}
@@ -1,37 +1,44 @@ | @@ -1,37 +1,44 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2009/12/17 19:32:28 abs Exp $ | 1 | # $NetBSD: Makefile,v 1.18.6.1 2010/07/04 07:28:54 agc Exp $ | |
2 | 2 | |||
3 | DISTNAME= wwwcount2.5 | 3 | DISTNAME= wwwcount2.5 | |
4 | PKGNAME= wwwcount-2.5 | 4 | PKGNAME= wwwcount-2.5 | |
5 | PKGREVISION= 2 | 5 | PKGREVISION= 2 | |
6 | CATEGORIES= www | 6 | CATEGORIES= www | |
7 | MASTER_SITES= ${MASTER_SITE_BACKUP} | 7 | MASTER_SITES= ${MASTER_SITE_BACKUP} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.muquit.com/muquit/software/Count/Count.html | 10 | HOMEPAGE= http://www.muquit.com/muquit/software/Count/Count.html | |
11 | COMMENT= Graphical access counter, clock and date indicator for WWW pages | 11 | COMMENT= Graphical access counter, clock and date indicator for WWW pages | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | |||
14 | ||||
13 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
14 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \ | 16 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \ | |
15 | share/doc/wwwcount/Count2.5/images \ | 17 | share/doc/wwwcount/Count2.5/images \ | |
16 | share/doc/wwwcount/Count2.5/eximages \ | 18 | share/doc/wwwcount/Count2.5/eximages \ | |
17 | share/examples | 19 | share/examples | |
18 | 20 | |||
19 | CONF_FILES_PERMS= /dev/null ${VARBASE}/log/wwwcount nobody nogroup 0644 | 21 | CONF_FILES_PERMS= /dev/null ${VARBASE}/log/wwwcount nobody nogroup 0644 | |
20 | CONF_FILES= ${PREFIX}/share/examples/wwwcount.conf \ | 22 | CONF_FILES= ${PREFIX}/share/examples/wwwcount.conf \ | |
21 | ${PKG_SYSCONFDIR}/wwwcount.conf | 23 | ${PKG_SYSCONFDIR}/wwwcount.conf | |
22 | 24 | |||
23 | MAKE_JOBS_SAFE= NO | 25 | MAKE_JOBS_SAFE= NO | |
24 | 26 | |||
27 | SUBST_CLASSES+= destdir | |||
28 | SUBST_STAGE.destdir= pre-install | |||
29 | SUBST_FILES.destdir= Config.tmpl | |||
30 | SUBST_SED.destdir= -e s,=\"${PREFIX},=\"${DESTDIR}${PREFIX}, | |||
31 | ||||
25 | pre-configure: | 32 | pre-configure: | |
26 | cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} VARBASE=${VARBASE} ./Count-config | 33 | cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} VARBASE=${VARBASE} ./Count-config | |
27 | 34 | |||
28 | do-install: | 35 | do-install: | |
29 | cd ${WRKSRC}; yes "" | ./Count-install | 36 | cd ${WRKSRC}; yes "" | ./Count-install | |
30 | ${INSTALL_DATA} ${FILESDIR}/wwwcount.conf ${DESTDIR}${PREFIX}/share/examples | 37 | ${INSTALL_DATA} ${FILESDIR}/wwwcount.conf ${DESTDIR}${PREFIX}/share/examples | |
31 | ${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${DESTDIR}${PREFIX}/bin | 38 | ${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${DESTDIR}${PREFIX}/bin | |
32 | ${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${DESTDIR}${PREFIX}/bin | 39 | ${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${DESTDIR}${PREFIX}/bin | |
33 | ${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | 40 | ${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | |
34 | ${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount | 41 | ${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount | |
35 | ${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${DESTDIR}${PREFIX}/share/doc/wwwcount | 42 | ${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${DESTDIR}${PREFIX}/share/doc/wwwcount | |
36 | ( cd ${DESTDIR}${PREFIX}/share/doc/wwwcount && ${LN} -s Count.html index.html ) | 43 | ( cd ${DESTDIR}${PREFIX}/share/doc/wwwcount && ${LN} -s Count.html index.html ) | |
37 | ${INSTALL_MAN} ${WRKSRC}/docs/Count2_5-ex.html ${DESTDIR}${PREFIX}/share/doc/wwwcount | 44 | ${INSTALL_MAN} ${WRKSRC}/docs/Count2_5-ex.html ${DESTDIR}${PREFIX}/share/doc/wwwcount |
@@ -1,32 +1,31 @@ | @@ -1,32 +1,31 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2009/06/14 22:00:41 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4.10.1 2010/07/04 07:28:54 agc Exp $ | |
2 | bin/mkstrip | 2 | bin/mkstrip | |
3 | bin/extdgts | 3 | bin/extdgts | |
4 | libdata/wwwcount/digits/A/peng.gif | 4 | libdata/wwwcount/digits/A/peng.gif | |
5 | libdata/wwwcount/digits/A/strip.gif | 5 | libdata/wwwcount/digits/A/strip.gif | |
6 | libdata/wwwcount/digits/A/yeehaw.gif | 6 | libdata/wwwcount/digits/A/yeehaw.gif | |
7 | libdata/wwwcount/digits/B/strip.gif | 7 | libdata/wwwcount/digits/B/strip.gif | |
8 | libdata/wwwcount/digits/C/strip.gif | 8 | libdata/wwwcount/digits/C/strip.gif | |
9 | libdata/wwwcount/digits/D/lenna.gif | 9 | libdata/wwwcount/digits/D/lenna.gif | |
10 | libdata/wwwcount/digits/D/strip.gif | 10 | libdata/wwwcount/digits/D/strip.gif | |
11 | libdata/wwwcount/digits/E/foo.gif | 11 | libdata/wwwcount/digits/E/foo.gif | |
12 | libdata/wwwcount/digits/E/strip.gif | 12 | libdata/wwwcount/digits/E/strip.gif | |
13 | libdata/wwwcount/digits/bang/strip.gif | 13 | libdata/wwwcount/digits/bang/strip.gif | |
14 | libdata/wwwcount/digits/cd/strip.gif | 14 | libdata/wwwcount/digits/cd/strip.gif | |
15 | libdata/wwwcount/digits/cdd/strip.gif | 15 | libdata/wwwcount/digits/cdd/strip.gif | |
16 | libdata/wwwcount/digits/cdr/strip.gif | 16 | libdata/wwwcount/digits/cdr/strip.gif | |
17 | libdata/wwwcount/digits/mkstrip.sh | 17 | libdata/wwwcount/digits/mkstrip.sh | |
18 | libdata/wwwcount/rgb.txt | 18 | libdata/wwwcount/rgb.txt | |
19 | libdata/wwwcount/sample.dat | |||
20 | libexec/cgi-bin/Count.cgi | 19 | libexec/cgi-bin/Count.cgi | |
21 | share/doc/wwwcount/blues.gif | 20 | share/doc/wwwcount/blues.gif | |
22 | share/doc/wwwcount/index.html | 21 | share/doc/wwwcount/index.html | |
23 | share/doc/wwwcount/Count.html | 22 | share/doc/wwwcount/Count.html | |
24 | share/doc/wwwcount/Count2_5-ex.html | 23 | share/doc/wwwcount/Count2_5-ex.html | |
25 | share/doc/wwwcount/Count_Changelog.html | 24 | share/doc/wwwcount/Count_Changelog.html | |
26 | share/doc/wwwcount/Count_FAQ.html | 25 | share/doc/wwwcount/Count_FAQ.html | |
27 | share/doc/wwwcount/Count_download.html | 26 | share/doc/wwwcount/Count_download.html | |
28 | share/doc/wwwcount/Count_mirrors.html | 27 | share/doc/wwwcount/Count_mirrors.html | |
29 | share/doc/wwwcount/Count2.5/c-c.txt | 28 | share/doc/wwwcount/Count2.5/c-c.txt | |
30 | share/doc/wwwcount/Count2.5/gen-c.txt | 29 | share/doc/wwwcount/Count2.5/gen-c.txt | |
31 | share/doc/wwwcount/Count2.5/images/styleA.gif | 30 | share/doc/wwwcount/Count2.5/images/styleA.gif | |
32 | share/doc/wwwcount/Count2.5/images/styleB.gif | 31 | share/doc/wwwcount/Count2.5/images/styleB.gif |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2006/07/19 19:48:21 jlam Exp $ | 1 | $NetBSD: distinfo,v 1.5.36.1 2010/07/04 07:28:54 agc Exp $ | |
2 | 2 | |||
3 | SHA1 (wwwcount2.5.tar.gz) = 374babfc93db3092eda13bda5fd65a372beca4bb | 3 | SHA1 (wwwcount2.5.tar.gz) = 374babfc93db3092eda13bda5fd65a372beca4bb | |
4 | RMD160 (wwwcount2.5.tar.gz) = 354c92ab5e0f8ec2acd484108fa968a5bfb6e62a | 4 | RMD160 (wwwcount2.5.tar.gz) = 354c92ab5e0f8ec2acd484108fa968a5bfb6e62a | |
5 | Size (wwwcount2.5.tar.gz) = 441215 bytes | 5 | Size (wwwcount2.5.tar.gz) = 441215 bytes | |
6 | SHA1 (patch-aa) = 2c1db53763365a08e32e9724efd3148994af9963 | 6 | SHA1 (patch-aa) = 2c1db53763365a08e32e9724efd3148994af9963 | |
7 | SHA1 (patch-ab) = f6f71b1428506ab565f127c38096b65408f5bc53 | 7 | SHA1 (patch-ab) = f6f71b1428506ab565f127c38096b65408f5bc53 | |
8 | SHA1 (patch-ae) = e950e48c2f9a8f3da27c8b51267a52d7a7bd704e | 8 | SHA1 (patch-ae) = ab0d799eaf0a49eebace0ad200d53bee3ac6cee9 |
@@ -1,206 +1,206 @@ | @@ -1,206 +1,206 @@ | |||
1 | $NetBSD: patch-ae,v 1.4 1999/12/12 08:46:01 rh Exp $ | 1 | $NetBSD: patch-ae,v 1.4.66.1 2010/07/04 07:28:54 agc Exp $ | |
2 | 2 | |||
3 | --- Count-install.orig Mon May 17 03:01:50 1999 | 3 | --- Count-install.orig 1999-05-17 01:01:50.000000000 +0000 | |
4 | +++ Count-install Sun Dec 12 09:45:45 1999 | 4 | +++ Count-install | |
5 | @@ -13,7 +13,6 @@ | 5 | @@ -13,7 +13,6 @@ | |
6 | # Nov 24, 1995 | 6 | # Nov 24, 1995 | |
7 | ## | 7 | ## | |
8 | ver=`cat ./VERSION` | 8 | ver=`cat ./VERSION` | |
9 | -Basedir="wwwcount$ver" | 9 | -Basedir="wwwcount$ver" | |
10 | INSTALL_PROG="./install-sh" | 10 | INSTALL_PROG="./install-sh" | |
11 | Tmpl="./Config.tmpl" | 11 | Tmpl="./Config.tmpl" | |
12 | Binary="./bin/Count.cgi" | 12 | Binary="./bin/Count.cgi" | |
13 | @@ -28,8 +27,6 @@ | 13 | @@ -28,8 +27,6 @@ Digit_cdd="./data/digits/cdd" | |
14 | Digit_bang="./data/digits/bang" | 14 | Digit_bang="./data/digits/bang" | |
15 | Rgbfile="./data/rgb.txt" | 15 | Rgbfile="./data/rgb.txt" | |
16 | SAMPLE_DAT="./data/data/sample.dat" | 16 | SAMPLE_DAT="./data/data/sample.dat" | |
17 | -mirror_file="mirror_count.sh" | 17 | -mirror_file="mirror_count.sh" | |
18 | -mirror_script="./utils/mirror/$mirror_file" | 18 | -mirror_script="./utils/mirror/$mirror_file" | |
19 | 19 | |||
20 | UserId="nobody" | 20 | UserId="nobody" | |
21 | userid_flag=0 | 21 | userid_flag=0 | |
22 | @@ -115,20 +112,6 @@ | 22 | @@ -115,20 +112,6 @@ fi | |
23 | 23 | |||
24 | . $Tmpl | 24 | . $Tmpl | |
25 | 25 | |||
26 | -if [ ! -f ./$CONFIG_FILE ] | 26 | -if [ ! -f ./$CONFIG_FILE ] | |
27 | -then | 27 | -then | |
28 | - | 28 | - | |
29 | -cat <<EOC | 29 | -cat <<EOC | |
30 | - | 30 | - | |
31 | - The configuration file $CONFIG_FILR is not created! | 31 | - The configuration file $CONFIG_FILR is not created! | |
32 | - please create it first by running the script ./Gen-conf | 32 | - please create it first by running the script ./Gen-conf | |
33 | - | 33 | - | |
34 | - Aborting installation! | 34 | - Aborting installation! | |
35 | -EOC | 35 | -EOC | |
36 | - | 36 | - | |
37 | - exit 1 | 37 | - exit 1 | |
38 | -fi | 38 | -fi | |
39 | - | 39 | - | |
40 | tdir="./tmp" | 40 | tdir="./tmp" | |
41 | 41 | |||
42 | if [ ! -d $tdir ]; then | 42 | if [ ! -d $tdir ]; then | |
43 | @@ -197,7 +180,6 @@ | 43 | @@ -197,7 +180,6 @@ anything else. | |
44 | 44 | |||
45 | cgi-bin directory = $CGIBIN_DIR | 45 | cgi-bin directory = $CGIBIN_DIR | |
46 | conf directory = $CONFIG_DIR | 46 | conf directory = $CONFIG_DIR | |
47 | -conf file to install= $CONFIG_FILE | 47 | -conf file to install= $CONFIG_FILE | |
48 | digit directory = $DIGIT_DIR | 48 | digit directory = $DIGIT_DIR | |
49 | data directory = $DATA_DIR | 49 | data directory = $DATA_DIR | |
50 | log directory = $LOG_DIR | 50 | log directory = $LOG_DIR | |
51 | @@ -212,7 +194,7 @@ | 51 | @@ -212,7 +194,7 @@ read answer | |
52 | 52 | |||
53 | if [ .$answer = . ] | 53 | if [ .$answer = . ] | |
54 | then | 54 | then | |
55 | - answer=x | 55 | - answer=x | |
56 | + answer=y | 56 | + answer=y | |
57 | fi | 57 | fi | |
58 | until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] | 58 | until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] | |
59 | do | 59 | do | |
60 | @@ -253,7 +235,7 @@ | 60 | @@ -253,7 +235,7 @@ echo $n "*Do you know the user and group | |
61 | read answer | 61 | read answer | |
62 | if [ .$answer = . ] | 62 | if [ .$answer = . ] | |
63 | then | 63 | then | |
64 | - answer=x | 64 | - answer=x | |
65 | + answer=y | 65 | + answer=y | |
66 | fi | 66 | fi | |
67 | until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] | 67 | until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] | |
68 | do | 68 | do | |
69 | @@ -272,11 +254,11 @@ | 69 | @@ -272,11 +254,11 @@ echo $n "*Do you know the user and group | |
70 | ### | 70 | ### | |
71 | # enter user id -starts | 71 | # enter user id -starts | |
72 | ### | 72 | ### | |
73 | - echo $n "*Enter user id of httpd's child process [no default]:$c? " | 73 | - echo $n "*Enter user id of httpd's child process [no default]:$c? " | |
74 | + echo $n "*Enter user id of httpd's child process [nobody]:$c? " | 74 | + echo $n "*Enter user id of httpd's child process [nobody]:$c? " | |
75 | read answer | 75 | read answer | |
76 | if [ .$answer = . ] | 76 | if [ .$answer = . ] | |
77 | then | 77 | then | |
78 | - answer=x | 78 | - answer=x | |
79 | + answer=nobody | 79 | + answer=nobody | |
80 | fi | 80 | fi | |
81 | until [ $answer != "x" ] | 81 | until [ $answer != "x" ] | |
82 | do | 82 | do | |
83 | @@ -296,11 +278,11 @@ | 83 | @@ -296,11 +278,11 @@ echo $n "*Do you know the user and group | |
84 | ## | 84 | ## | |
85 | # enter groud id -starts | 85 | # enter groud id -starts | |
86 | ## | 86 | ## | |
87 | - echo $n "*Enter group id of httpd's child process [no default]:$c? " | 87 | - echo $n "*Enter group id of httpd's child process [no default]:$c? " | |
88 | + echo $n "*Enter group id of httpd's child process [nogroup]:$c? " | 88 | + echo $n "*Enter group id of httpd's child process [nogroup]:$c? " | |
89 | read answer | 89 | read answer | |
90 | if [ .$answer = . ] | 90 | if [ .$answer = . ] | |
91 | then | 91 | then | |
92 | - answer=x | 92 | - answer=x | |
93 | + answer=nogroup | 93 | + answer=nogroup | |
94 | fi | 94 | fi | |
95 | until [ $answer != "x" ] | 95 | until [ $answer != "x" ] | |
96 | do | 96 | do | |
97 | @@ -318,47 +300,18 @@ | 97 | @@ -318,47 +300,18 @@ echo $n "*Do you know the user and group | |
98 | # enter groud id -ends | 98 | # enter groud id -ends | |
99 | ## | 99 | ## | |
100 | echo "installing Count.cgi->$CGIBIN_DIR" | 100 | echo "installing Count.cgi->$CGIBIN_DIR" | |
101 | -$INSTALL_PROG -c -o $UserId -g $GroupId -m 700 $Binary $CGIBIN_DIR/Count.cgi | 101 | -$INSTALL_PROG -c -o $UserId -g $GroupId -m 700 $Binary $CGIBIN_DIR/Count.cgi | |
102 | -echo "installing $CONFIG_FILE->$CONFIG_DIR" | 102 | -echo "installing $CONFIG_FILE->$CONFIG_DIR" | |
103 | +$INSTALL_PROG -c $Binary $CGIBIN_DIR/Count.cgi | 103 | +$INSTALL_PROG -c $Binary $CGIBIN_DIR/Count.cgi | |
104 | 104 | |||
105 | -# | 105 | -# | |
106 | -# check if the file exist or not | 106 | -# check if the file exist or not | |
107 | -# | 107 | -# | |
108 | - | 108 | +#echo "installing sample datafile $SAMPLE_DAT->$RGB_DIR" | |
109 | +#$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $RGB_DIR/sample.dat | |||
110 | ||||
109 | -if [ ! -f $CONFIG_DIR/$CONFIG_FILE ]; then | 111 | -if [ ! -f $CONFIG_DIR/$CONFIG_FILE ]; then | |
110 | +echo "installing sample datafile $SAMPLE_DAT->$RGB_DIR" | 112 | +echo "installing rgb.txt->$RGB_DIR" | |
111 | +$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $RGB_DIR/sample.dat | 113 | +$INSTALL_PROG -c -m 644 $Rgbfile $RGB_DIR/rgb.txt | |
112 | 114 | |||
113 | - $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE | 115 | - $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE | |
114 | -else | 116 | -else | |
115 | - echo " ===> ****** File exists!" | 117 | - echo " ===> ****** File exists!" | |
116 | - echo " ===> skipping... Will not overwrite $CONFIG_DIR/$CONFIG_FILE" | 118 | - echo " ===> skipping... Will not overwrite $CONFIG_DIR/$CONFIG_FILE" | |
117 | - echo " ===> install it manually if you want to overwrite" | 119 | - echo " ===> install it manually if you want to overwrite" | |
118 | - echo " ===> To install manually, at the shell prompt type: " | 120 | - echo " ===> To install manually, at the shell prompt type: " | |
119 | - echo " $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE" | 121 | - echo " $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE" | |
120 | - echo "" | 122 | - echo "" | |
121 | -fi | 123 | -fi | |
122 | +echo "installing rgb.txt->$RGB_DIR" | 124 | - | |
123 | +$INSTALL_PROG -c -m 644 $Rgbfile $RGB_DIR/rgb.txt | |||
124 | ||||
125 | -echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" | 125 | -echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" | |
126 | - | 126 | - | |
127 | -if [ ! -f $DATA_DIR/sample.dat ]; then | 127 | -if [ ! -f $DATA_DIR/sample.dat ]; then | |
128 | - $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat | 128 | - $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat | |
129 | -chmod 775 $DATA_DIR | 129 | -chmod 775 $DATA_DIR | |
130 | -else | 130 | -else | |
131 | - echo " ===> File exists!" | 131 | - echo " ===> File exists!" | |
132 | - echo " ===> skipping... Will not overwrite $DATA_DIR/sample.dat" | 132 | - echo " ===> skipping... Will not overwrite $DATA_DIR/sample.dat" | |
133 | - echo " ===> copy it manually if you want to overwrite" | 133 | - echo " ===> copy it manually if you want to overwrite" | |
134 | - echo " ===> To install manually, at the shell prompt type: " | 134 | - echo " ===> To install manually, at the shell prompt type: " | |
135 | - echo " $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat" | 135 | - echo " $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat" | |
136 | - echo "" | 136 | - echo "" | |
137 | -fi | 137 | -fi | |
138 | - | 138 | - | |
139 | -echo "installing rgb.txt->$BASE_DIR" | 139 | -echo "installing rgb.txt->$BASE_DIR" | |
140 | -$INSTALL_PROG -c -m 644 $Rgbfile $BASE_DIR/rgb.txt | 140 | -$INSTALL_PROG -c -m 644 $Rgbfile $BASE_DIR/rgb.txt | |
141 | - | 141 | - | |
142 | -echo "creating Log directory $LOG_DIR" | 142 | -echo "creating Log directory $LOG_DIR" | |
143 | -./mkdirhier $LOG_DIR | 143 | -./mkdirhier $LOG_DIR | |
144 | -chown $UserId $LOG_DIR | 144 | -chown $UserId $LOG_DIR | |
145 | -chgrp $GroupId $LOG_DIR | 145 | -chgrp $GroupId $LOG_DIR | |
146 | -chmod 775 $LOG_DIR | 146 | -chmod 775 $LOG_DIR | |
147 | +echo "installing $LOG_FILE->$LOG_DIR" | 147 | +echo "installing $LOG_FILE->$LOG_DIR" | |
148 | +touch $LOG_DIR/$LOG_FILE | 148 | +#touch $LOG_DIR/$LOG_FILE | |
149 | +chmod 644 $LOG_DIR/$LOG_FILE | 149 | +#chmod 644 $LOG_DIR/$LOG_FILE | |
150 | +chown $UserId.$GroupId $LOG_DIR/$LOG_FILE | 150 | +#chown $UserId.$GroupId $LOG_DIR/$LOG_FILE | |
151 | 151 | |||
152 | echo "installing image strip for digit style A->$DIGIT_DIR/A" | 152 | echo "installing image strip for digit style A->$DIGIT_DIR/A" | |
153 | $INSTALL_PROG -c -m 644 $DigitA/strip.gif $DIGIT_DIR/A/strip.gif | 153 | $INSTALL_PROG -c -m 644 $DigitA/strip.gif $DIGIT_DIR/A/strip.gif | |
154 | @@ -400,18 +353,6 @@ | 154 | @@ -400,18 +353,6 @@ $INSTALL_PROG -c -m 644 $Digit_cdd/strip | |
155 | echo "installing strip image for digit style bang->$DIGIT_DIR/bang" | 155 | echo "installing strip image for digit style bang->$DIGIT_DIR/bang" | |
156 | $INSTALL_PROG -c -m 644 $Digit_bang/strip.gif $DIGIT_DIR/bang/strip.gif | 156 | $INSTALL_PROG -c -m 644 $Digit_bang/strip.gif $DIGIT_DIR/bang/strip.gif | |
157 | 157 | |||
158 | -echo "installing the mirroring script" | 158 | -echo "installing the mirroring script" | |
159 | -$INSTALL_PROG -c $mirror_script -m 755 $BASE_DIR/$mirror_file | 159 | -$INSTALL_PROG -c $mirror_script -m 755 $BASE_DIR/$mirror_file | |
160 | - | 160 | - | |
161 | -## | 161 | -## | |
162 | -# change ownership | 162 | -# change ownership | |
163 | -# -R is not portable, reported by Geoff Scully <gws@dis.on.ca> and suggested | 163 | -# -R is not portable, reported by Geoff Scully <gws@dis.on.ca> and suggested | |
164 | -# the alternative (01/15/96) | 164 | -# the alternative (01/15/96) | |
165 | -#chown -R $UserId.$GroupId $BASE_DIR | 165 | -#chown -R $UserId.$GroupId $BASE_DIR | |
166 | -#find $BASE_DIR -exec chown $UserId {} \; | 166 | -#find $BASE_DIR -exec chown $UserId {} \; | |
167 | -#find $BASE_DIR -exec chgrp $GroupId {} \; | 167 | -#find $BASE_DIR -exec chgrp $GroupId {} \; | |
168 | -# echo "UserId=$UserId" | 168 | -# echo "UserId=$UserId" | |
169 | -# echo "GroupId=$GroupId" | 169 | -# echo "GroupId=$GroupId" | |
170 | ;; | 170 | ;; | |
171 | n|N) | 171 | n|N) | |
172 | cat <<EOM | 172 | cat <<EOM | |
173 | @@ -424,17 +365,16 @@ | 173 | @@ -424,17 +365,16 @@ cat <<EOM | |
174 | 174 | |||
175 | EOM | 175 | EOM | |
176 | echo "installing Count.cgi->$CGIBIN_DIR" | 176 | echo "installing Count.cgi->$CGIBIN_DIR" | |
177 | -$INSTALL_PROG -c -m 755 $Binary $CGIBIN_DIR/Count.cgi | 177 | -$INSTALL_PROG -c -m 755 $Binary $CGIBIN_DIR/Count.cgi | |
178 | -echo "installing $CONFIG_FILE->$CONFIG_DIR" | 178 | -echo "installing $CONFIG_FILE->$CONFIG_DIR" | |
179 | -$INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE | 179 | -$INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE | |
180 | +$INSTALL_PROG -s -c -m 755 $Binary $CGIBIN_DIR/Count.cgi | 180 | +$INSTALL_PROG -s -c -m 755 $Binary $CGIBIN_DIR/Count.cgi | |
181 | echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" | 181 | echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" | |
182 | $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat | 182 | $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat | |
183 | 183 | |||
184 | -echo "installing rgb.txt->$BASE_DIR" | 184 | -echo "installing rgb.txt->$BASE_DIR" | |
185 | -$INSTALL_PROG -c $Rgbfile $BASE_DIR/rgb.txt | 185 | -$INSTALL_PROG -c $Rgbfile $BASE_DIR/rgb.txt | |
186 | +echo "installing rgb.txt->$RGB_DIR" | 186 | +echo "installing rgb.txt->$RGB_DIR" | |
187 | +$INSTALL_PROG -c $Rgbfile $RGB_DIR/rgb.txt | 187 | +$INSTALL_PROG -c $Rgbfile $RGB_DIR/rgb.txt | |
188 | 188 | |||
189 | -echo "creating Log directory $LOG_DIR" | 189 | -echo "creating Log directory $LOG_DIR" | |
190 | -./mkdirhier $LOG_DIR | 190 | -./mkdirhier $LOG_DIR | |
191 | +echo "installing $LOG_FILE->$LOG_DIR" | 191 | +echo "installing $LOG_FILE->$LOG_DIR" | |
192 | +touch $LOG_DIR/$LOG_FILE | 192 | +touch $LOG_DIR/$LOG_FILE | |
193 | +chmod 644 $LOG_DIR/$LOG_FILE | 193 | +chmod 644 $LOG_DIR/$LOG_FILE | |
194 | 194 | |||
195 | echo "installing image strip for digit style A->$DIGIT_DIR/A" | 195 | echo "installing image strip for digit style A->$DIGIT_DIR/A" | |
196 | $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif | 196 | $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif | |
197 | @@ -474,9 +414,6 @@ | 197 | @@ -475,9 +415,6 @@ $INSTALL_PROG -c $Digit_cdd/strip.gif $D | |
198 | ||||
199 | echo "installing strip image for digit style bang->$DIGIT_DIR/bang" | 198 | echo "installing strip image for digit style bang->$DIGIT_DIR/bang" | |
200 | $INSTALL_PROG -c $Digit_bang/strip.gif $DIGIT_DIR/bang/strip.gif | 199 | $INSTALL_PROG -c $Digit_bang/strip.gif $DIGIT_DIR/bang/strip.gif | |
201 | - | 200 | ||
202 | -echo "installing the mirroring script" | 201 | -echo "installing the mirroring script" | |
203 | -$INSTALL_PROG -c $mirror_script $BASE_DIR/$mirror_file | 202 | -$INSTALL_PROG -c $mirror_script $BASE_DIR/$mirror_file | |
204 | 203 | - | ||
205 | ;; | 204 | ;; | |
206 | *) | 205 | *) | |
206 | esac |
@@ -1,27 +1,29 @@ | @@ -1,27 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2009/12/17 19:31:55 abs Exp $ | 1 | # $NetBSD: Makefile,v 1.21.6.1 2010/07/04 07:28:55 agc Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= Zope-3.3.1 | 4 | DISTNAME= Zope-3.3.1 | |
5 | PKGNAME= zope3-3.3.1 | 5 | PKGNAME= zope3-3.3.1 | |
6 | PKGREVISION= 1 | 6 | PKGREVISION= 1 | |
7 | CATEGORIES= www | 7 | CATEGORIES= www | |
8 | MASTER_SITES= http://www.zope.org/Products/Zope3/3.3.1/ | 8 | MASTER_SITES= http://www.zope.org/Products/Zope3/3.3.1/ | |
9 | EXTRACT_SUFX= .tgz | 9 | EXTRACT_SUFX= .tgz | |
10 | 10 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://www.zope.org/DevHome/Zope3/ | 12 | HOMEPAGE= http://www.zope.org/DevHome/Zope3/ | |
13 | COMMENT= Zope 3 Application Server | 13 | COMMENT= Zope 3 Application Server | |
14 | 14 | |||
15 | PKG_DESTDIR_SUPPORT= user-destdir | |||
16 | ||||
15 | DEPENDS+= ${PYPKGPREFIX}-xml>=0.8.4:../../textproc/py-xml | 17 | DEPENDS+= ${PYPKGPREFIX}-xml>=0.8.4:../../textproc/py-xml | |
16 | 18 | |||
17 | HAS_CONFIGURE= yes | 19 | HAS_CONFIGURE= yes | |
18 | CONFIGURE_ARGS+= --with-python ${PYTHONBIN} \ | 20 | CONFIGURE_ARGS+= --with-python ${PYTHONBIN} \ | |
19 | --prefix ${ZOPE3_DIR} \ | 21 | --prefix ${ZOPE3_DIR} \ | |
20 | --force | 22 | --force | |
21 | REPLACE_PYTHON= \ | 23 | REPLACE_PYTHON= \ | |
22 | Dependencies/twisted-Zope-3.3.1/twisted/mail/test/pop3testserver.py \ | 24 | Dependencies/twisted-Zope-3.3.1/twisted/mail/test/pop3testserver.py \ | |
23 | Dependencies/twisted-Zope-3.3.1/twisted/trial/test/scripttest.py \ | 25 | Dependencies/twisted-Zope-3.3.1/twisted/trial/test/scripttest.py \ | |
24 | Dependencies/twisted-Zope-3.3.1/twisted/web/test/test_cgi.py \ | 26 | Dependencies/twisted-Zope-3.3.1/twisted/web/test/test_cgi.py \ | |
25 | Dependencies/twisted-Zope-3.3.1/twisted/web/test/test_distrib.py \ | 27 | Dependencies/twisted-Zope-3.3.1/twisted/web/test/test_distrib.py \ | |
26 | Dependencies/twisted-Zope-3.3.1/twisted/web2/test/test_cgi.py \ | 28 | Dependencies/twisted-Zope-3.3.1/twisted/web2/test/test_cgi.py \ | |
27 | Dependencies/zdaemon-Zope-3.3.1/zdaemon/zdctl.py \ | 29 | Dependencies/zdaemon-Zope-3.3.1/zdaemon/zdctl.py \ | |
@@ -41,28 +43,29 @@ PKG_USERS= ${ZOPE3_USER}:${ZOPE3_GROUP} | @@ -41,28 +43,29 @@ PKG_USERS= ${ZOPE3_USER}:${ZOPE3_GROUP} | |||
41 | FILES_SUBST+= ZOPE3_USER=${ZOPE3_USER:Q} | 43 | FILES_SUBST+= ZOPE3_USER=${ZOPE3_USER:Q} | |
42 | MESSAGE_SUBST+= ZOPE3_USER=${ZOPE3_USER:Q} \ | 44 | MESSAGE_SUBST+= ZOPE3_USER=${ZOPE3_USER:Q} \ | |
43 | ZOPE3_GROUP=${ZOPE3_GROUP:Q} \ | 45 | ZOPE3_GROUP=${ZOPE3_GROUP:Q} \ | |
44 | VARBASE=${VARBASE:Q} | 46 | VARBASE=${VARBASE:Q} | |
45 | 47 | |||
46 | .include "../../mk/bsd.prefs.mk" | 48 | .include "../../mk/bsd.prefs.mk" | |
47 | 49 | |||
48 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*) | 50 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*) | |
49 | EXTRACT_USING= bsdtar | 51 | EXTRACT_USING= bsdtar | |
50 | .endif | 52 | .endif | |
51 | 53 | |||
52 | USE_TOOLS+= pax | 54 | USE_TOOLS+= pax | |
53 | 55 | |||
56 | INSTALLATION_DIRS+= bin ${ZOPE3_DOCDIR} | |||
57 | ||||
54 | pre-install: | 58 | pre-install: | |
55 | ${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f | 59 | ${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f | |
56 | 60 | |||
57 | post-install: | 61 | post-install: | |
58 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzeoinstance ${DESTDIR}${PREFIX}/bin | 62 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzeoinstance ${DESTDIR}${PREFIX}/bin | |
59 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzopeinstance ${DESTDIR}${PREFIX}/bin | 63 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzopeinstance ${DESTDIR}${PREFIX}/bin | |
60 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/zopetest ${DESTDIR}${PREFIX}/bin | 64 | ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/zopetest ${DESTDIR}${PREFIX}/bin | |
61 | ${INSTALL_DATA_DIR} ${ZOPE3_DOCDIR} | |||
62 | cd ${WRKSRC}/Zope && pax -r -w LICENSES.txt ZopePublicLicense.txt \ | 65 | cd ${WRKSRC}/Zope && pax -r -w LICENSES.txt ZopePublicLicense.txt \ | |
63 | ${DESTDIR}${ZOPE3_DOCDIR} | 66 | ${DESTDIR}${ZOPE3_DOCDIR} | |
64 | cd ${WRKSRC}/Zope/doc && pax -r -w *.txt ${DESTDIR}${ZOPE3_DOCDIR} | 67 | cd ${WRKSRC}/Zope/doc && pax -r -w *.txt ${DESTDIR}${ZOPE3_DOCDIR} | |
65 | 68 | |||
66 | .include "Makefile.common" | 69 | .include "Makefile.common" | |
67 | .include "../../devel/zlib/buildlink3.mk" | 70 | .include "../../devel/zlib/buildlink3.mk" | |
68 | .include "../../mk/bsd.pkg.mk" | 71 | .include "../../mk/bsd.pkg.mk" |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2007/12/21 16:18:35 taca Exp $ | 1 | $NetBSD: distinfo,v 1.6.26.1 2010/07/04 07:28:55 agc Exp $ | |
2 | 2 | |||
3 | SHA1 (Zope-3.3.1.tgz) = 4576ac21c3415563d3b0b747e40963a762b63fce | 3 | SHA1 (Zope-3.3.1.tgz) = 4576ac21c3415563d3b0b747e40963a762b63fce | |
4 | RMD160 (Zope-3.3.1.tgz) = 11bf3b8c899518a5965f21a4a372912a4bc1438d | 4 | RMD160 (Zope-3.3.1.tgz) = 11bf3b8c899518a5965f21a4a372912a4bc1438d | |
5 | Size (Zope-3.3.1.tgz) = 6594248 bytes | 5 | Size (Zope-3.3.1.tgz) = 6594248 bytes | |
6 | SHA1 (patch-aa) = 1e1a29f1519ee50861b513b5ff5254a76541a735 | 6 | SHA1 (patch-aa) = 1e1a29f1519ee50861b513b5ff5254a76541a735 | |
7 | SHA1 (patch-ab) = c4e098593a36998384fe70150456cae2a8b55c9e | 7 | SHA1 (patch-ab) = c4e098593a36998384fe70150456cae2a8b55c9e | |
8 | SHA1 (patch-ac) = cb89f361441e9caf7f2c16c01d4eb3273f4e4e47 | 8 | SHA1 (patch-ac) = cb89f361441e9caf7f2c16c01d4eb3273f4e4e47 | |
9 | SHA1 (patch-ad) = 67ccfa1ca4bc964e6d7f7875ade7444dd2327cd0 |
$NetBSD: patch-ad,v 1.5.2.2 2010/07/04 07:28:55 agc Exp $
--- Makefile.in.orig 2010-06-27 19:40:00.000000000 +0000
+++ Makefile.in
@@ -21,7 +21,7 @@ build:
# handled via the dependency on the build target.
#
install: build
- $(PYTHON) install.py -q install --skip-build --home "$(prefix)"
+ $(PYTHON) install.py -q install --skip-build --home ${DESTDIR}$(prefix)
check test: build
$(PYTHON) test.py $(TESTOPTS)