From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 15 14:10:02 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE5F116A404 for ; Sun, 15 Apr 2007 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id AD83813C483 for ; Sun, 15 Apr 2007 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3FEA2eE015810 for ; Sun, 15 Apr 2007 14:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3FEA2KP015809; Sun, 15 Apr 2007 14:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 15 Apr 2007 14:10:02 GMT Resent-Message-Id: <200704151410.l3FEA2KP015809@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcus Alves Grando Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F12916A403 for ; Sun, 15 Apr 2007 14:04:51 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3310C13C458; Sun, 15 Apr 2007 14:04:51 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from freefall.freebsd.org (mnag@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3FE4pBS015742; Sun, 15 Apr 2007 14:04:51 GMT (envelope-from mnag@freefall.freebsd.org) Received: (from mnag@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3FE4pdg015741; Sun, 15 Apr 2007 14:04:51 GMT (envelope-from mnag) Message-Id: <200704151404.l3FE4pdg015741@freefall.freebsd.org> Date: Sun, 15 Apr 2007 14:04:51 GMT From: Marcus Alves Grando To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: beech@alaskaparadise.com Subject: ports/111611: Update port: www/cherokee many fixes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus Alves Grando List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 14:10:02 -0000 >Number: 111611 >Category: ports >Synopsis: Update port: www/cherokee many fixes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Apr 15 14:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Marcus Alves Grando >Release: FreeBSD 6.0-STABLE i386 >Organization: Terra Networks Brasil >Environment: System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: - Remove checkconfig function from rc.d script - Fix REQUIRE in rc.d script - Remove config files only if is not modified since install - Install site-enabled/default only if site-enabled are empty - Fix instalation of doc/images - Fix running User and Group setting in cherokee.conf - Remove invalid MASTER_SITE - Enable use of readdir_r - Add option to build all modules statically - Reorganize port - Bump PORTREVISION >How-To-Repeat: >Fix: --- cherokee.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/cherokee/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- Makefile 10 Apr 2007 08:23:31 -0000 1.35 +++ Makefile 15 Apr 2007 13:59:00 -0000 @@ -7,10 +7,10 @@ PORTNAME= cherokee PORTVERSION= 0.5.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://www.cherokee-project.com/download/${PORTVERSION:R}/${PORTVERSION}/ \ - CENKES http://www.alaskaparadise.com/freebsd/ + http://www.alaskaparadise.com/freebsd/ MAINTAINER= beech@alaskaparadise.com COMMENT= An extremely fast and flexible web server @@ -18,73 +18,93 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre CONFLICTS= cherokee-devel-[0-9]* + USE_GNOME= gnomehack gnometarget pkgconfig +USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes -USE_RC_SUBR= cherokee.sh -USE_GCC= 3.4+ -USE_BISON= yes -USE_GETOPT_LONG= yes +USE_GETOPT_LONG=yes USE_GMAKE= yes +USE_BISON= yes +USE_GCC= 3.4+ GNU_CONFIGURE= yes -CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +USE_RC_SUBR= cherokee.sh CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \ - --with-wwwroot=${PREFIX}/www \ - --disable-static + --with-wwwroot=${PREFIX}/www/cherokee \ + --enable-readdir_r OPTIONS= GNUTLS "TLS/SSL Use gnutls" on \ OPENSSL "TLS/SSL Use openssl" off \ - NOTLS "No TLS/SSL" off \ - NOIPV6 "No IPv6" off + IPV6 "Enable IPv6" on \ + STATIC "Build all modules statically" off MAN1= cget.1 cherokee-config.1 cherokee.1 cherokee_logrotate.1 .include .if !defined(WITHOUT_GNUTLS) -LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls +.if defined(WITH_OPENSSL) +BROKEN= Choose only one TLS/SSL backend +.endif +LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --enable-tls=gnutls .endif .if defined(WITH_OPENSSL) -CFLAGS+= -DHAVE_OPENSSL -CONFIGURE_ARGS+=--enable-tls=openssl -LDFLAGS+= -lssl -lcrypto +.if !defined(WITHOUT_GNUTLS) +BROKEN= Choose only one TLS/SSL backend +.endif +CFLAGS+= -DHAVE_OPENSSL +CONFIGURE_ARGS+= --enable-tls=openssl +LDFLAGS+= -lssl -lcrypto .endif -.if defined(WITH_NOTLS) -CONFIGURE_ARGS+=--disable-tls +.if defined(WITHOUT_GNUTLS) && !defined(WITH_OPENSSL) +CONFIGURE_ARGS+= --disable-tls .endif -.if defined(WITH_NOIPV6) -CONFIGURE_ARGS+=--disable-ipv6 +.if !defined(WITH_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 .endif -post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|@mkdir_p@|${MKDIR} --|g' +.if defined(WITH_STATIC) +CONFIGURE_ARGS+= --enable-static-module=all +PLIST_SUB+= STATIC="@comment " +.else +PLIST_SUB+= STATIC="" +.endif -pre-build: +post-configure: .for file in advanced.conf cherokee.conf mods-ssl sites-default sites-example - @cd ${BUILD_WRKSRC} && ${SED} -e \ + @cd ${BUILD_WRKSRC} && ${SED} -E -e \ 's:%sysconfdir%:${PREFIX}/etc:g ; \ - s:%datadir%:${PREFIX}/share:g ; \ - s:%wwwroot%:${PREFIX}/www:g ; \ - s:%prefix%:${PREFIX}:g' < ${file}.sample.pre > ${file}.sample + s:%datadir%:${PREFIX}/share:g ; \ + s:%wwwroot%:${PREFIX}/www/cherokee:g ; \ + s:%prefix%:${PREFIX}:g ; \ + s:#.*User.*nobody:User www:g ; \ + s:#.*Group.*nogroup:Group www:g ; \ + s:#.*PollMethod.*poll:PollMethod kqueue:g' \ + < ${file}.sample.pre > ${file}.sample .endfor post-install: + @${INSTALL_DATA} ${WRKSRC}/advanced.conf.sample ${PREFIX}/etc/cherokee/advanced.conf.default + @${INSTALL_DATA} ${WRKSRC}/cherokee.conf.sample ${PREFIX}/etc/cherokee/cherokee.conf.default + @if [ "`${FIND} ${PREFIX}/etc/cherokee/sites-enabled -type f`" = "" ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/cherokee/sites-available/default \ + ${PREFIX}/etc/cherokee/sites-enabled/default ; \ + fi .if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/images/*.png ${DOCSDIR}/ + @${INSTALL} -d ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR} + @${INSTALL} -d ${DOCSDIR}/images + ${INSTALL_DATA} ${WRKSRC}/doc/images/*.png ${DOCSDIR}/images .endif - ${INSTALL_DATA} ${WRKSRC}/doc/develop/Intro.txt ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/doc/develop/Intro.txt ${DATADIR} @${ECHO_MSG} " " @${ECHO_MSG} " Dont forget to read the doc " - @${ECHO_MSG} " ${PREFIX}/share/cherokee/Intro.txt" + @${ECHO_MSG} " ${DATADIR}/Intro.txt" @${ECHO_MSG} " " .include Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/cherokee/pkg-plist,v retrieving revision 1.16 diff -u -r1.16 pkg-plist --- pkg-plist 10 Apr 2007 08:23:31 -0000 1.16 +++ pkg-plist 15 Apr 2007 13:59:00 -0000 @@ -2,16 +2,18 @@ bin/cherokee-config bin/cherokee-panic bin/cherokee_logrotate -etc/cherokee/advanced.conf -etc/cherokee/cherokee.conf +@unexec if cmp -s %D/etc/cherokee/advanced.conf.default %D/etc/cherokee/advanced.conf; then rm -f %D/etc/cherokee/advanced.conf; fi +etc/cherokee/advanced.conf.default +@unexec if cmp -s %D/etc/cherokee/cherokee.conf.default %D/etc/cherokee/cherokee.conf; then rm -f %D/etc/cherokee/cherokee.conf; fi +etc/cherokee/cherokee.conf.default etc/cherokee/icons.conf etc/cherokee/mime.compression.types etc/cherokee/mime.types etc/cherokee/mods-available/admin etc/cherokee/mods-available/ssl +@unexec if cmp -s %D/etc/cherokee/sites-enabled/default %D/etc/cherokee/sites-available/default; then rm -f %D/etc/cherokee/sites-enabled/default; fi etc/cherokee/sites-available/default etc/cherokee/sites-available/example.com -etc/cherokee/sites-enabled/default include/cherokee/admin_client.h include/cherokee/buffer.h include/cherokee/cherokee-config.h @@ -40,55 +42,79 @@ include/cherokee/typed_table.h include/cherokee/url.h include/cherokee/util.h -lib/cherokee/libplugin_admin.la -lib/cherokee/libplugin_admin.so -lib/cherokee/libplugin_cgi.la -lib/cherokee/libplugin_cgi.so -lib/cherokee/libplugin_combined.la -lib/cherokee/libplugin_combined.so -lib/cherokee/libplugin_common.la -lib/cherokee/libplugin_common.so -lib/cherokee/libplugin_dirlist.la -lib/cherokee/libplugin_dirlist.so -lib/cherokee/libplugin_error_redir.la -lib/cherokee/libplugin_error_redir.so -lib/cherokee/libplugin_fastcgi.la -lib/cherokee/libplugin_fastcgi.so -lib/cherokee/libplugin_fcgi.la -lib/cherokee/libplugin_fcgi.so -lib/cherokee/libplugin_file.la -lib/cherokee/libplugin_file.so -lib/cherokee/libplugin_gzip.la -lib/cherokee/libplugin_gzip.so -lib/cherokee/libplugin_htdigest.la -lib/cherokee/libplugin_htdigest.so -lib/cherokee/libplugin_ncsa.la -lib/cherokee/libplugin_ncsa.so -lib/cherokee/libplugin_nn.la -lib/cherokee/libplugin_nn.so -lib/cherokee/libplugin_phpcgi.la -lib/cherokee/libplugin_phpcgi.so -lib/cherokee/libplugin_plain.la -lib/cherokee/libplugin_plain.so -lib/cherokee/libplugin_read_config.la -lib/cherokee/libplugin_read_config.so -lib/cherokee/libplugin_redir.la -lib/cherokee/libplugin_redir.so -lib/cherokee/libplugin_scgi.la -lib/cherokee/libplugin_scgi.so -lib/cherokee/libplugin_server_info.la -lib/cherokee/libplugin_server_info.so -lib/cherokee/libplugin_w3c.la -lib/cherokee/libplugin_w3c.so +%%STATIC%%lib/cherokee/libplugin_admin.a +%%STATIC%%lib/cherokee/libplugin_admin.la +%%STATIC%%lib/cherokee/libplugin_admin.so +%%STATIC%%lib/cherokee/libplugin_cgi.a +%%STATIC%%lib/cherokee/libplugin_cgi.la +%%STATIC%%lib/cherokee/libplugin_cgi.so +%%STATIC%%lib/cherokee/libplugin_combined.a +%%STATIC%%lib/cherokee/libplugin_combined.la +%%STATIC%%lib/cherokee/libplugin_combined.so +%%STATIC%%lib/cherokee/libplugin_common.a +%%STATIC%%lib/cherokee/libplugin_common.la +%%STATIC%%lib/cherokee/libplugin_common.so +%%STATIC%%lib/cherokee/libplugin_dirlist.a +%%STATIC%%lib/cherokee/libplugin_dirlist.la +%%STATIC%%lib/cherokee/libplugin_dirlist.so +%%STATIC%%lib/cherokee/libplugin_error_redir.a +%%STATIC%%lib/cherokee/libplugin_error_redir.la +%%STATIC%%lib/cherokee/libplugin_error_redir.so +%%STATIC%%lib/cherokee/libplugin_fastcgi.a +%%STATIC%%lib/cherokee/libplugin_fastcgi.la +%%STATIC%%lib/cherokee/libplugin_fastcgi.so +%%STATIC%%lib/cherokee/libplugin_fcgi.a +%%STATIC%%lib/cherokee/libplugin_fcgi.la +%%STATIC%%lib/cherokee/libplugin_fcgi.so +%%STATIC%%lib/cherokee/libplugin_file.a +%%STATIC%%lib/cherokee/libplugin_file.la +%%STATIC%%lib/cherokee/libplugin_file.so +%%STATIC%%lib/cherokee/libplugin_gzip.a +%%STATIC%%lib/cherokee/libplugin_gzip.la +%%STATIC%%lib/cherokee/libplugin_gzip.so +%%STATIC%%lib/cherokee/libplugin_htdigest.a +%%STATIC%%lib/cherokee/libplugin_htdigest.la +%%STATIC%%lib/cherokee/libplugin_htdigest.so +%%STATIC%%lib/cherokee/libplugin_ncsa.a +%%STATIC%%lib/cherokee/libplugin_ncsa.la +%%STATIC%%lib/cherokee/libplugin_ncsa.so +%%STATIC%%lib/cherokee/libplugin_nn.a +%%STATIC%%lib/cherokee/libplugin_nn.la +%%STATIC%%lib/cherokee/libplugin_nn.so +%%STATIC%%lib/cherokee/libplugin_phpcgi.a +%%STATIC%%lib/cherokee/libplugin_phpcgi.la +%%STATIC%%lib/cherokee/libplugin_phpcgi.so +%%STATIC%%lib/cherokee/libplugin_plain.a +%%STATIC%%lib/cherokee/libplugin_plain.la +%%STATIC%%lib/cherokee/libplugin_plain.so +%%STATIC%%lib/cherokee/libplugin_read_config.a +%%STATIC%%lib/cherokee/libplugin_read_config.la +%%STATIC%%lib/cherokee/libplugin_read_config.so +%%STATIC%%lib/cherokee/libplugin_redir.a +%%STATIC%%lib/cherokee/libplugin_redir.la +%%STATIC%%lib/cherokee/libplugin_redir.so +%%STATIC%%lib/cherokee/libplugin_scgi.a +%%STATIC%%lib/cherokee/libplugin_scgi.la +%%STATIC%%lib/cherokee/libplugin_scgi.so +%%STATIC%%lib/cherokee/libplugin_server_info.a +%%STATIC%%lib/cherokee/libplugin_server_info.la +%%STATIC%%lib/cherokee/libplugin_server_info.so +%%STATIC%%lib/cherokee/libplugin_w3c.a +%%STATIC%%lib/cherokee/libplugin_w3c.la +%%STATIC%%lib/cherokee/libplugin_w3c.so +lib/libcherokee-base.a lib/libcherokee-base.la lib/libcherokee-base.so lib/libcherokee-base.so.0 +lib/libcherokee-client.a lib/libcherokee-client.la lib/libcherokee-client.so lib/libcherokee-client.so.0 +lib/libcherokee-config.a lib/libcherokee-config.la lib/libcherokee-config.so lib/libcherokee-config.so.0 +lib/libcherokee-server.a lib/libcherokee-server.la lib/libcherokee-server.so lib/libcherokee-server.so.0 @@ -125,7 +151,7 @@ %%PORTDOCS%%%%DOCSDIR%%/Behavior_configuration.html %%PORTDOCS%%%%DOCSDIR%%/CGI_executing.html %%PORTDOCS%%%%DOCSDIR%%/Cget.html -%%PORTDOCS%%%%DOCSDIR%%/Cherokee-icono.png +%%PORTDOCS%%%%DOCSDIR%%/images/Cherokee-icono.png %%PORTDOCS%%%%DOCSDIR%%/Combined_logger.html %%PORTDOCS%%%%DOCSDIR%%/Combined_logs.html %%PORTDOCS%%%%DOCSDIR%%/Common_behavior.html @@ -137,7 +163,7 @@ %%PORTDOCS%%%%DOCSDIR%%/Directory_configuration.html %%PORTDOCS%%%%DOCSDIR%%/Directory_listing.html %%PORTDOCS%%%%DOCSDIR%%/Encoders.html -%%PORTDOCS%%%%DOCSDIR%%/Exquisite-khelpcenter.png +%%PORTDOCS%%%%DOCSDIR%%/images/Exquisite-khelpcenter.png %%PORTDOCS%%%%DOCSDIR%%/Extension_configuration.html %%PORTDOCS%%%%DOCSDIR%%/FastCGI.html %%PORTDOCS%%%%DOCSDIR%%/File_sending.html @@ -160,7 +186,7 @@ %%PORTDOCS%%%%DOCSDIR%%/Request_configuration.html %%PORTDOCS%%%%DOCSDIR%%/Ruby_on_Rails_with_SCGI.html %%PORTDOCS%%%%DOCSDIR%%/SCGI.html -%%PORTDOCS%%%%DOCSDIR%%/Server-conf-small.png +%%PORTDOCS%%%%DOCSDIR%%/images/Server-conf-small.png %%PORTDOCS%%%%DOCSDIR%%/Server_configuration.html %%PORTDOCS%%%%DOCSDIR%%/U-Cherokee.html %%PORTDOCS%%%%DOCSDIR%%/Validators.html @@ -169,20 +195,22 @@ %%PORTDOCS%%%%DOCSDIR%%/WebApplications.html %%PORTDOCS%%%%DOCSDIR%%/cherokee.png %%PORTDOCS%%%%DOCSDIR%%/index.html -www/images/cherokee-logo.png -www/images/default-bg.png -www/images/powered_by_cherokee.png -www/index.html +www/cherokee/images/cherokee-logo.png +www/cherokee/images/default-bg.png +www/cherokee/images/powered_by_cherokee.png +www/cherokee/index.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/images %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/icons @dirrm %%DATADIR%%/deps @dirrm %%DATADIR%% @dirrm lib/cherokee @dirrm include/cherokee -@dirrm etc/cherokee/ssl -@dirrm etc/cherokee/sites-enabled +@dirrmtry etc/cherokee/ssl +@dirrmtry etc/cherokee/sites-enabled @dirrm etc/cherokee/sites-available -@dirrm etc/cherokee/mods-enabled +@dirrmtry etc/cherokee/mods-enabled @dirrm etc/cherokee/mods-available -@dirrm etc/cherokee -@dirrmtry www/images +@dirrmtry etc/cherokee +@dirrmtry www/cherokee/images +@dirrmtry www/cherokee Index: files/cherokee.sh.in =================================================================== RCS file: /home/pcvs/ports/www/cherokee/files/cherokee.sh.in,v retrieving revision 1.2 diff -u -r1.2 cherokee.sh.in --- files/cherokee.sh.in 19 Jul 2006 18:55:37 -0000 1.2 +++ files/cherokee.sh.in 15 Apr 2007 13:59:00 -0000 @@ -3,7 +3,7 @@ # $FreeBSD: ports/www/cherokee/files/cherokee.sh.in,v 1.2 2006/07/19 18:55:37 rafan Exp $ # # PROVIDE: cherokee -# REQUIRE: %%REQUIRE%% +# REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable cherokee: @@ -29,13 +29,6 @@ pidfile=/var/run/cherokee.pid required_files=${cherokee_conf} stop_postcmd=stop_postcmd -restart_precmd="checkconfig" - -checkconfig() -{ - echo "Performing sanity check on ${name} configuration:" - eval "${command} ${command_args} -t" -} stop_postcmd() { Index: files/patch-Makefile.in =================================================================== RCS file: /home/pcvs/ports/www/cherokee/files/patch-Makefile.in,v retrieving revision 1.3 diff -u -r1.3 patch-Makefile.in --- files/patch-Makefile.in 15 Apr 2006 19:41:36 -0000 1.3 +++ files/patch-Makefile.in 15 Apr 2007 13:59:00 -0000 @@ -1,6 +1,6 @@ ---- Makefile.in.orig Tue Apr 4 17:23:41 2006 -+++ Makefile.in Tue Apr 11 02:25:14 2006 -@@ -314,7 +314,7 @@ +--- Makefile.in.orig Wed Dec 13 18:38:31 2006 ++++ Makefile.in Sun Apr 15 09:51:21 2007 +@@ -315,7 +315,7 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ @@ -9,7 +9,7 @@ bin_SCRIPTS = cherokee-config SUFFIXES = .sample.pre .sample -@@ -979,7 +979,7 @@ +@@ -980,7 +980,7 @@ .sample.pre.sample: @@ -18,13 +18,18 @@ install-data-local-config: @$(mkinstalldirs) $(DESTDIR)$(pkgincludedir); -@@ -1022,9 +1022,6 @@ - echo "$@ will not overwrite existing $(cherokeeconfdir)/mime.compression.types"; \ +@@ -1024,14 +1024,10 @@ else \ $(INSTALL_DATA) $(top_srcdir)/mime.compression.types.sample $(DESTDIR)$(cherokeeconfdir)/mime.compression.types; \ -- fi + fi - @if test -d $(DESTDIR)$(sysconfdir)/pam.d && test ! -d $(DESTDIR)$(sysconfdir)/pam.d/cherokee ; then \ - $(INSTALL_DATA) $(top_srcdir)/pam.d_cherokee $(DESTDIR)$(sysconfdir)/pam.d/cherokee; \ - fi +- fi @if test -f $(DESTDIR)$(cherokeeconfdir)/sites-available/default ; then \ echo "$@ will not overwrite existing $(cherokeeconfdir)/sites-available/default"; \ + else \ + $(INSTALL_DATA) $(top_builddir)/sites-default.sample $(DESTDIR)$(cherokeeconfdir)/sites-available/default; \ +- $(SHELL) -c "cd $(DESTDIR)$(cherokeeconfdir)/sites-enabled/ && $(LN_S) ../sites-available/default ."; \ + fi + @if test -f $(DESTDIR)$(cherokeeconfdir)/sites-available/example.com ; then \ + echo "$@ will not overwrite existing $(cherokeeconfdir)/sites-available/example.com"; \ --- cherokee.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: