2012-12-12 02:17:40 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2012/12/12 02:17:40 brad Exp $
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2012-12-12 02:17:40 +00:00
|
|
|
COMMENT-main = fast, flexible and easy to configure web server
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
COMMENT-geoip = GeoIP module for Cherokee web server
|
|
|
|
COMMENT-ldap = LDAP module for Cherokee web server
|
|
|
|
COMMENT-mysql = MySQL module for Cherokee web server
|
2009-04-22 00:28:54 +00:00
|
|
|
COMMENT-streaming = Streaming module for Cherokee web server
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2012-12-12 02:17:40 +00:00
|
|
|
DIR = 1.2
|
|
|
|
VERSION = ${DIR}.101
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
DISTNAME = cherokee-${VERSION}
|
|
|
|
|
2010-07-12 06:22:45 +00:00
|
|
|
PKGNAME-main = ${DISTNAME}
|
2009-04-22 00:28:54 +00:00
|
|
|
PKGNAME-ldap = cherokee-ldap-${VERSION}
|
|
|
|
PKGNAME-mysql = cherokee-mysql-${VERSION}
|
|
|
|
PKGNAME-geoip = cherokee-geoip-${VERSION}
|
2009-05-15 06:57:18 +00:00
|
|
|
PKGNAME-streaming = cherokee-streaming-${VERSION}
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2009-05-15 06:57:18 +00:00
|
|
|
SHARED_LIBS = cherokee-base 0.0 \
|
|
|
|
cherokee-client 0.0 \
|
|
|
|
cherokee-server 0.0
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
|
|
|
CATEGORIES = www
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.cherokee-project.com/
|
|
|
|
|
|
|
|
MAINTAINER = Fernando Quintero <fernando.a.quintero@gmail.com>
|
|
|
|
|
|
|
|
# GPLv2
|
2011-07-09 00:37:40 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2009-04-22 00:28:54 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}download/${DIR}/${VERSION}/ \
|
2009-04-08 21:30:54 +00:00
|
|
|
http://ftp.heanet.ie/mirrors/cherokee/${DIR}/${VERSION}/ \
|
2009-04-17 23:17:07 +00:00
|
|
|
http://www.ring.gr.jp/archives/net/cherokee/${DIR}/${VERSION}/ \
|
2009-04-08 21:30:54 +00:00
|
|
|
http://cherokee.osuosl.org/${DIR}/${VERSION}/
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2009-04-22 00:28:54 +00:00
|
|
|
MULTI_PACKAGES =-main -ldap -mysql -geoip -streaming
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2012-12-12 02:17:40 +00:00
|
|
|
MODULES = lang/php \
|
|
|
|
lang/python
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
BUILD_DEPENDS = textproc/py-docutils \
|
2011-07-09 00:37:40 +00:00
|
|
|
lang/php/${MODPHP_VERSION},-fastcgi
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS-main = devel/pcre
|
2010-11-11 12:35:09 +00:00
|
|
|
WANTLIB-main = c crypto pcre pthread ssl
|
2010-03-22 01:18:26 +00:00
|
|
|
RUN_DEPENDS-main = ${RUN_DEPENDS} \
|
2010-11-22 08:36:47 +00:00
|
|
|
www/spawn-fcgi \
|
|
|
|
net/rrdtool
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS-geoip = net/GeoIP
|
|
|
|
WANTLIB-geoip = crypto GeoIP>=6
|
|
|
|
RUN_DEPENDS-geoip = ${BASE_PKGPATH}
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS-ldap = databases/openldap
|
2011-01-08 08:47:53 +00:00
|
|
|
WANTLIB-ldap = asn1 com_err crypto gssapi krb5 lber-2.4 ldap-2.4 sasl2 ssl
|
2010-11-22 08:36:47 +00:00
|
|
|
RUN_DEPENDS-ldap = ${BASE_PKGPATH}
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS-mysql = databases/mysql
|
|
|
|
WANTLIB-mysql = crypto m mysqlclient>=19 ssl z
|
|
|
|
RUN_DEPENDS-mysql = ${BASE_PKGPATH}
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS-streaming = graphics/ffmpeg \
|
|
|
|
archivers/bzip2
|
2011-06-24 11:17:05 +00:00
|
|
|
WANTLIB-streaming += avcodec avformat avutil bz2 crypto m gsm
|
2012-12-12 02:17:40 +00:00
|
|
|
WANTLIB-streaming += mp3lame ogg orc-0.4 pthread schroedinger-1.0
|
|
|
|
WANTLIB-streaming += speex theoradec theoraenc vorbis vorbisenc vpx
|
|
|
|
WANTLIB-streaming += x264 xvidcore z
|
2010-11-22 08:36:47 +00:00
|
|
|
RUN_DEPENDS-streaming = ${BASE_PKGPATH}
|
2009-04-22 00:28:54 +00:00
|
|
|
|
2012-12-12 02:17:40 +00:00
|
|
|
USE_GROFF = Yes
|
|
|
|
USE_GMAKE = Yes
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
|
|
|
|
|
|
|
FAKE_FLAGS = cherokeeconfdir="${PREFIX}/share/examples/cherokee/etc" \
|
|
|
|
cherokeewwwdir="${PREFIX}/share/examples/cherokee/www" \
|
|
|
|
cherokeewwwimagesdir="${PREFIX}/share/examples/cherokee/www/images"
|
|
|
|
|
2011-07-09 00:37:40 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2011-12-15 15:04:32 +00:00
|
|
|
ac_cv_header_execinfo_h=no
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--disable-static \
|
2012-12-12 02:17:40 +00:00
|
|
|
--enable-tmpdir=/tmp \
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
2012-12-12 02:17:40 +00:00
|
|
|
--with-cgiroot=/var/cherokee/cgi-bin \
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
--with-wwwroot=/var/cherokee \
|
2010-01-13 08:47:57 +00:00
|
|
|
--with-wwwuser=_cherokee \
|
|
|
|
--with-wwwgroup=_cherokee \
|
2009-05-15 06:57:18 +00:00
|
|
|
--disable-nls \
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
--disable-pam \
|
2012-12-12 02:17:40 +00:00
|
|
|
--with-ffmpeg \
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
--with-geoip \
|
|
|
|
--with-ldap \
|
2009-04-22 00:28:54 +00:00
|
|
|
--with-mysql \
|
2012-12-12 02:17:40 +00:00
|
|
|
--with-php=${LOCALBASE}/bin/php-fastcgi-${MODPHP_VERSION} \
|
|
|
|
--with-python=${MODPY_BIN}
|
2009-04-22 00:28:54 +00:00
|
|
|
|
2010-01-13 08:47:57 +00:00
|
|
|
.ifdef DEBUG
|
2009-04-22 00:28:54 +00:00
|
|
|
CONFIGURE_ARGS += --enable-trace
|
|
|
|
.endif
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2012-12-12 02:17:40 +00:00
|
|
|
MODPY_ADJ_FILES=admin/CTK/CTK-run.pre admin/upgrade_config.py \
|
2010-12-20 07:51:58 +00:00
|
|
|
cherokee/cherokee-admin-launcher \
|
|
|
|
cherokee/cherokee-tweak doc/test_images.py \
|
2012-12-12 02:17:40 +00:00
|
|
|
po/po_stats.py admin/server.py qa/run-tests.py \
|
|
|
|
contrib/tracelor.py
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-12-22 07:28:04 +00:00
|
|
|
LANGUAGES = en es de nl sv_SE zh_CN fr pt_BR pl ca it gl
|
|
|
|
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
pre-configure:
|
2012-12-12 02:17:40 +00:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/cherokee/main_admin.c
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
|
2010-01-13 08:47:57 +00:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/share/cherokee/admin && find . -name "*.py" | \
|
|
|
|
xargs ${MODPY_BIN} ${MODPY_LIBDIR}/py_compile.py
|
2010-03-22 01:18:26 +00:00
|
|
|
touch ${PREFIX}/share/examples/cherokee/blank
|
2010-12-22 07:28:04 +00:00
|
|
|
.for i in ${LANGUAGES}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$i/LC_MESSAGES
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/admin/$i.gmo \
|
|
|
|
${PREFIX}/share/locale/$i/LC_MESSAGES/cherokee.mo
|
|
|
|
.endfor
|
2012-12-12 02:17:40 +00:00
|
|
|
@find ${PREFIX}/lib/cherokee -name '*.la' -print | xargs rm
|
2010-01-13 08:47:57 +00:00
|
|
|
|
Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.
based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00
|
|
|
.include <bsd.port.mk>
|