ports/112114: [Maintainer Update] www/cherokee-devel - Update after repo-copy
Beech Rintoul
beech at alaskaparadise.com
Wed Apr 25 09:30:06 UTC 2007
>Number: 112114
>Category: ports
>Synopsis: [Maintainer Update] www/cherokee-devel - Update after repo-copy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 25 09:30:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Beech Rintoul
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
Alaska Paradise
>Environment:
System: FreeBSD 7.0-CURRENT #117: Sat Apr 21 20:22:24 AKDT 2007
root at stargate.alaskaparadise.com:/usr/obj/usr/src/sys/STARGATE
>Description:
Update to actual cherokee-devel after repocopy.
>How-To-Repeat:
>Fix:
#!/bin/sh
# This is a shell archive
echo x cherokee-devel
mkdir -p cherokee-devel > /dev/null 2>&1
echo x cherokee-devel/files
mkdir -p cherokee-devel/files > /dev/null 2>&1
echo x cherokee-devel/Makefile
sed 's/^X//' > cherokee-devel/Makefile << 'SHAR_END'
X# New ports collection makefile for: cherokee-devel
X# Date created: 24 Apr 2007
X# Whom: Beech Rintoul <beech at alaskaparadise.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cherokee
XPORTVERSION= 0.6.0b700
XCATEGORIES= www
XMASTER_SITES= http://www.cherokee-project.com/download/%SUBDIR%/ \
X http://freebsd.alaskaparadise.com/source/
XMASTER_SITE_SUBDIR= ${PORTVERSION:R}/0.6.0/
XPKGNAMESUFFIX= -devel
X
XMAINTAINER= beech at alaskaparadise.com
XCOMMENT= An extremely fast and flexible web server
X
XLIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
X
XCONFLICTS= cherokee-[0-9]*
XUSE_GNOME= gnomehack gnometarget pkgconfig
XUSE_AUTOTOOLS= libtool:15
XUSE_LDCONFIG= yes
XUSE_BISON= yes
XUSE_GCC= 3.4+
XUSE_GETOPT_LONG= yes
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
X
XUSE_RC_SUBR= cherokee.sh
XCONFIGURE_ARGS= --mandir=${MANPREFIX}/man \
X --with-wwwroot=${PREFIX}/www/cherokee \
X --enable-readdir_r
X
XOPTIONS= GNUTLS "TLS/SSL Use gnutls" off \
X OPENSSL "TLS/SSL Use openssl" on \
X NOTLS "No TLS/SSL" off \
X NOIPV6 "No IPv6" off \
X STATIC "Build all modules statically" off
X
XMAN1= cget.1 cherokee-config.1 cherokee.1 cherokee_logrotate.1
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_GNUTLS)
XLIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
XCONFIGURE_ARGS+= --enable-tls=gnutls
X.endif
X
X.if defined(WITH_OPENSSL)
XCFLAGS+= -DHAVE_OPENSSL
XCONFIGURE_ARGS+=--enable-tls=openssl
XLDFLAGS+= -lssl -lcrypto
X.endif
X
X.if defined(WITH_NOTLS)
XCONFIGURE_ARGS+=--disable-tls
X.endif
X
X.if defined(WITH_NOIPV6)
XCONFIGURE_ARGS+=--disable-ipv6
X.endif
X
X.if defined(WITH_STATIC)
XCONFIGURE_ARGS+= --enable-static-module=all
XPLIST_SUB+= STATIC="@comment "
X.else
XPLIST_SUB+= STATIC=""
X.endif
X
Xpost-configure:
X.for file in cherokee.conf mods-ssl
X @cd ${BUILD_WRKSRC} && ${SED} -E -e \
X 's:%sysconfdir%:${PREFIX}/etc:g ; \
X s:%datadir%:${PREFIX}/share:g ; \
X s:%wwwroot%:${PREFIX}/www/cherokee:g ; \
X s:%prefix%:${PREFIX}:g ; \
X s:#.*User.*nobody:User www:g ; \
X s:#.*Group.*nogroup:Group www:g ; \
X s:#.*PollMethod.*poll:PollMethod kqueue:g' \
X < ${file}.sample.pre > ${file}.sample
X.endfor
X
Xpost-install:
X @${INSTALL_DATA} ${WRKSRC}/cherokee.conf.sample ${PREFIX}/etc/cherokee/cherokee.conf.default
X @${ECHO_MSG} " "
X @${ECHO_MSG} " Docs are not available "
X @${ECHO_MSG} " in this development version."
X @${ECHO_MSG} " "
X
X.include <bsd.port.post.mk>
SHAR_END
echo x cherokee-devel/distinfo
sed 's/^X//' > cherokee-devel/distinfo << 'SHAR_END'
XMD5 (cherokee-0.6.0b700.tar.gz) = bba3567da2802bef8a76694d8e29ef47
XSHA256 (cherokee-0.6.0b700.tar.gz) = 3fbad3ce1f3e444d4067555bdd0065267c75f71b7e45df2a1e057459edd9f008
XSIZE (cherokee-0.6.0b700.tar.gz) = 1025738
SHAR_END
echo x cherokee-devel/pkg-descr
sed 's/^X//' > cherokee-devel/pkg-descr << 'SHAR_END'
XCherokee is a very fast, flexible, and lightweight Web server. It is
Ximplemented entirely in C, and has no dependencies beyond a standard C
Xlibrary. It is embeddable and extensible with plug-ins. It supports on-the-fly
Xconfiguration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL),
Xvirtual hosts, authentication, cache friendly features, PHP, custom error
Xmanagement, and much more.
X
XWWW: http://www.cherokee-project.com/
SHAR_END
echo x cherokee-devel/pkg-plist
sed 's/^X//' > cherokee-devel/pkg-plist << 'SHAR_END'
Xbin/cget
Xbin/cherokee-config
Xbin/cherokee-panic
Xbin/cherokee_logrotate
X at unexec if cmp -s %D/etc/cherokee/cherokee.conf.default %D/etc/cherokee/cherokee.conf; then rm -f %D/etc/cherokee/cherokee.conf; fi
Xetc/cherokee/cherokee.conf.default
Xetc/cherokee/cherokee.conf.perf_sample
Xetc/cherokee/mime.compression.types
Xetc/cherokee/mime.types
Xetc/cherokee/mods-available/ssl
Xetc/cherokee/mods-available/icons
Xetc/cherokee/mods-enabled/icons
Xinclude/cherokee/admin_client.h
Xinclude/cherokee/buffer.h
Xinclude/cherokee/cherokee-config.h
Xinclude/cherokee/cherokee.h
Xinclude/cherokee/common.h
Xinclude/cherokee/connection.h
Xinclude/cherokee/connection_info.h
Xinclude/cherokee/downloader.h
Xinclude/cherokee/encoder.h
Xinclude/cherokee/fdpoll.h
Xinclude/cherokee/handler.h
Xinclude/cherokee/header.h
Xinclude/cherokee/http.h
Xinclude/cherokee/list.h
Xinclude/cherokee/logger.h
Xinclude/cherokee/macros.h
Xinclude/cherokee/mime.h
Xinclude/cherokee/mime_entry.h
Xinclude/cherokee/module.h
Xinclude/cherokee/nonce.h
Xinclude/cherokee/plugin.h
Xinclude/cherokee/plugin_loader.h
Xinclude/cherokee/resolv_cache.h
Xinclude/cherokee/server.h
Xinclude/cherokee/table.h
Xinclude/cherokee/url.h
Xinclude/cherokee/util.h
Xinclude/cherokee/version.h
X%%STATIC%%lib/cherokee/libplugin_admin.a
X%%STATIC%%lib/cherokee/libplugin_admin.la
X%%STATIC%%lib/cherokee/libplugin_admin.so
X%%STATIC%%lib/cherokee/libplugin_cgi.a
X%%STATIC%%lib/cherokee/libplugin_cgi.la
X%%STATIC%%lib/cherokee/libplugin_cgi.so
X%%STATIC%%lib/cherokee/libplugin_combined.a
X%%STATIC%%lib/cherokee/libplugin_combined.la
X%%STATIC%%lib/cherokee/libplugin_combined.so
X%%STATIC%%lib/cherokee/libplugin_common.a
X%%STATIC%%lib/cherokee/libplugin_common.la
X%%STATIC%%lib/cherokee/libplugin_common.so
X%%STATIC%%lib/cherokee/libplugin_dirlist.a
X%%STATIC%%lib/cherokee/libplugin_dirlist.la
X%%STATIC%%lib/cherokee/libplugin_dirlist.so
X%%STATIC%%lib/cherokee/libplugin_error_redir.a
X%%STATIC%%lib/cherokee/libplugin_error_redir.la
X%%STATIC%%lib/cherokee/libplugin_error_redir.so
X%%STATIC%%lib/cherokee/libplugin_fastcgi.a
X%%STATIC%%lib/cherokee/libplugin_fastcgi.la
X%%STATIC%%lib/cherokee/libplugin_fastcgi.so
X%%STATIC%%lib/cherokee/libplugin_fcgi.a
X%%STATIC%%lib/cherokee/libplugin_fcgi.la
X%%STATIC%%lib/cherokee/libplugin_fcgi.so
X%%STATIC%%lib/cherokee/libplugin_file.a
X%%STATIC%%lib/cherokee/libplugin_file.la
X%%STATIC%%lib/cherokee/libplugin_file.so
X%%STATIC%%lib/cherokee/libplugin_gzip.a
X%%STATIC%%lib/cherokee/libplugin_gzip.la
X%%STATIC%%lib/cherokee/libplugin_gzip.so
X%%STATIC%%lib/cherokee/libplugin_htdigest.a
X%%STATIC%%lib/cherokee/libplugin_htdigest.la
X%%STATIC%%lib/cherokee/libplugin_htdigest.so
X%%STATIC%%lib/cherokee/libplugin_htpasswd.so
X%%STATIC%%lib/cherokee/libplugin_htpasswd.la
X%%STATIC%%lib/cherokee/libplugin_htpasswd.a
X%%STATIC%%lib/cherokee/libplugin_mirror.so
X%%STATIC%%lib/cherokee/libplugin_mirror.la
X%%STATIC%%lib/cherokee/libplugin_mirror.a
X%%STATIC%%lib/cherokee/libplugin_mysql.so
X%%STATIC%%lib/cherokee/libplugin_mysql.la
X%%STATIC%%lib/cherokee/libplugin_mysql.a
X%%STATIC%%lib/cherokee/libplugin_ncsa.a
X%%STATIC%%lib/cherokee/libplugin_ncsa.la
X%%STATIC%%lib/cherokee/libplugin_ncsa.so
X%%STATIC%%lib/cherokee/libplugin_nn.a
X%%STATIC%%lib/cherokee/libplugin_nn.la
X%%STATIC%%lib/cherokee/libplugin_nn.so
X%%STATIC%%lib/cherokee/libplugin_pam.so
X%%STATIC%%lib/cherokee/libplugin_pam.la
X%%STATIC%%lib/cherokee/libplugin_pam.a
X%%STATIC%%lib/cherokee/libplugin_phpcgi.a
X%%STATIC%%lib/cherokee/libplugin_phpcgi.la
X%%STATIC%%lib/cherokee/libplugin_phpcgi.so
X%%STATIC%%lib/cherokee/libplugin_plain.a
X%%STATIC%%lib/cherokee/libplugin_plain.la
X%%STATIC%%lib/cherokee/libplugin_plain.so
X%%STATIC%%lib/cherokee/libplugin_proxy.so
X%%STATIC%%lib/cherokee/libplugin_proxy.la
X%%STATIC%%lib/cherokee/libplugin_proxy.a
X%%STATIC%%lib/cherokee/libplugin_redir.a
X%%STATIC%%lib/cherokee/libplugin_redir.la
X%%STATIC%%lib/cherokee/libplugin_redir.so
X%%STATIC%%lib/cherokee/libplugin_round_robin.so
X%%STATIC%%lib/cherokee/libplugin_round_robin.la
X%%STATIC%%lib/cherokee/libplugin_round_robin.a
X%%STATIC%%lib/cherokee/libplugin_scgi.a
X%%STATIC%%lib/cherokee/libplugin_scgi.la
X%%STATIC%%lib/cherokee/libplugin_scgi.so
X%%STATIC%%lib/cherokee/libplugin_server_info.a
X%%STATIC%%lib/cherokee/libplugin_server_info.la
X%%STATIC%%lib/cherokee/libplugin_server_info.so
X%%STATIC%%lib/cherokee/libplugin_w3c.a
X%%STATIC%%lib/cherokee/libplugin_w3c.la
X%%STATIC%%lib/cherokee/libplugin_w3c.so
Xlib/libcherokee-base.a
Xlib/libcherokee-base.la
Xlib/libcherokee-base.so
Xlib/libcherokee-base.so.0
Xlib/libcherokee-client.a
Xlib/libcherokee-client.la
Xlib/libcherokee-client.so
Xlib/libcherokee-client.so.0
Xlib/libcherokee-config.a
Xlib/libcherokee-config.la
Xlib/libcherokee-config.so
Xlib/libcherokee-config.so.0
Xlib/libcherokee-server.a
Xlib/libcherokee-server.la
Xlib/libcherokee-server.so
Xlib/libcherokee-server.so.0
Xlibdata/pkgconfig/cherokee.pc
Xsbin/cherokee-admin
Xsbin/cherokee
Xshare/aclocal/cherokee.m4
X%%DATADIR%%/themes/default/header.html
X%%DATADIR%%/themes/default/footer.html
X%%DATADIR%%/themes/default/entry.html
X%%DATADIR%%/themes/default/theme.css
X%%DATADIR%%/themes/default/cherokee-logo.png
X%%DATADIR%%/deps/combined.deps
X%%DATADIR%%/deps/common.deps
X%%DATADIR%%/deps/error_redir.deps
X%%DATADIR%%/deps/nn.deps
X%%DATADIR%%/deps/phpcgi.deps
X%%DATADIR%%/icons/back.png
X%%DATADIR%%/icons/binary.png
X%%DATADIR%%/icons/blank.png
X%%DATADIR%%/icons/bomb.png
X%%DATADIR%%/icons/compressed.png
X%%DATADIR%%/icons/folder.png
X%%DATADIR%%/icons/image.png
X%%DATADIR%%/icons/iso.png
X%%DATADIR%%/icons/java.png
X%%DATADIR%%/icons/movie.png
X%%DATADIR%%/icons/pdf.png
X%%DATADIR%%/icons/ps.png
X%%DATADIR%%/icons/readme.png
X%%DATADIR%%/icons/script.png
X%%DATADIR%%/icons/sound.png
X%%DATADIR%%/icons/tex.png
X%%DATADIR%%/icons/text.png
X%%DATADIR%%/icons/unknown.png
X%%DATADIR%%/mime_types.txt
Xwww/cherokee/images/cherokee-logo.png
Xwww/cherokee/images/default-bg.png
Xwww/cherokee/images/powered_by_cherokee.png
Xwww/cherokee/index.html
X at dirrm %%DATADIR%%/icons
X at dirrm %%DATADIR%%/deps
X at dirrm %%DATADIR%%/themes/default
X at dirrm %%DATADIR%%/themes
X at dirrm %%DATADIR%%
X at dirrm lib/cherokee
X at dirrm include/cherokee
X at dirrmtry etc/cherokee/ssl
X at dirrmtry etc/cherokee/sites-enabled
X at dirrmtry etc/cherokee/mods-enabled
X at dirrm etc/cherokee/mods-available
X at dirrmtry etc/cherokee
X at dirrmtry www/cherokee/images
X at dirrmtry www/cherokee
SHAR_END
echo x cherokee-devel/files/patch-cherokee-util.h
sed 's/^X//' > cherokee-devel/files/patch-cherokee-util.h << 'SHAR_END'
X--- cherokee/util.h.orig Wed Sep 13 22:13:07 2006
X+++ cherokee/util.h Wed Sep 13 22:15:20 2006
X@@ -31,6 +31,14 @@
X
X #include <cherokee/common.h>
X
X+#ifdef HAVE_SYS_TYPES_H
X+#include <sys/types.h>
X+#endif
X+
X+#ifdef HAVE_SYS_SOCKET_H
X+# include <sys/socket.h>
X+#endif
X+
X #include <time.h>
X #include <dirent.h>
X
SHAR_END
echo x cherokee-devel/files/patch-Makefile.in
sed 's/^X//' > cherokee-devel/files/patch-Makefile.in << 'SHAR_END'
X--- Makefile.in.orig Sat Apr 7 22:43:45 2007
X+++ Makefile.in Sat Apr 7 22:57:30 2007
X@@ -962,9 +962,6 @@
X else \
X $(INSTALL_DATA) $(top_srcdir)/mime.compression.types.sample $(DESTDIR)$(cherokeeconfdir)/mime.compression.types; \
X fi
X- @if test -d $(DESTDIR)$(sysconfdir)/pam.d && test ! -d $(DESTDIR)$(sysconfdir)/pam.d/cherokee ; then \
X- $(INSTALL_DATA) $(top_srcdir)/pam.d_cherokee $(DESTDIR)$(sysconfdir)/pam.d/cherokee; \
X- fi
X @if test -f $(DESTDIR)$(cherokeeconfdir)/mods-available/icons ; then \
X echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/mods-available/icons"; \
X else \
SHAR_END
echo x cherokee-devel/files/patch-cherokee-handler_cgi_base.c
sed 's/^X//' > cherokee-devel/files/patch-cherokee-handler_cgi_base.c << 'SHAR_END'
X--- cherokee/handler_cgi_base.c.orig Mon Dec 11 11:44:26 2006
X+++ cherokee/handler_cgi_base.c Thu Dec 14 10:09:38 2006
X@@ -21,7 +21,8 @@
X * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
X * USA
X */
X-
X+#include <stdlib.h>
X+#include <limits.h>
X #include "common-internal.h"
X #include "handler_cgi_base.h"
X
SHAR_END
echo x cherokee-devel/files/cherokee.sh.in
sed 's/^X//' > cherokee-devel/files/cherokee.sh.in << 'SHAR_END'
X#!/bin/sh
X#
X# $FreeBSD: ports/www/cherokee/files/cherokee.sh.in,v 1.2 2006/07/19 18:55:37 rafan Exp $
X#
X# PROVIDE: cherokee
X# REQUIRE: DAEMON
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf to enable cherokee:
X#
X# cherokee_enable (bool): Set it to "YES" to enable cherokee
X# Default is "NO".
X# cherokee_conf (path): Set full path to config file.
X# Default is "%%PREFIX%%/etc/cherokee/cherokee.conf".
X#
X
X. %%RC_SUBR%%
X
Xname="cherokee"
Xrcvar=`set_rcvar`
X
Xload_rc_config $name
X
X: ${cherokee_enable="NO"}
X: ${cherokee_conf="%%PREFIX%%/etc/cherokee/cherokee.conf"}
X
Xcommand=%%PREFIX%%/sbin/cherokee
Xcommand_args="-C ${cherokee_conf} -b"
Xpidfile=/var/run/cherokee.pid
Xrequired_files=${cherokee_conf}
Xstop_postcmd=stop_postcmd
X
Xstop_postcmd()
X{
X rm -f ${pidfile}
X}
X
Xrun_rc_command "$1"
SHAR_END
echo x cherokee-devel/files/patch-cherokee-connection.c
sed 's/^X//' > cherokee-devel/files/patch-cherokee-connection.c << 'SHAR_END'
X--- cherokee/connection.c.orig Mon Dec 11 11:44:26 2006
X+++ cherokee/connection.c Thu Dec 14 09:50:08 2006
X@@ -32,6 +32,7 @@
X #include <fcntl.h>
X #include <time.h>
X #include <sys/types.h>
X+#include <limits.h>
X
X #ifdef HAVE_PWD_H
X # include <pwd.h>
SHAR_END
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list