2011-04-18 18:41:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/04/18 22:41:37 sthen 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 07:19:48 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT-main = fast, flexible and easy to configure Web Server
|
|
|
|
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-21 20:28:54 -04: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 07:19:48 -04:00
|
|
|
|
2010-07-12 02:22:45 -04:00
|
|
|
DIR = 1.0
|
2010-12-20 02:51:58 -05:00
|
|
|
VERSION = ${DIR}.14
|
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 07:19:48 -04:00
|
|
|
DISTNAME = cherokee-${VERSION}
|
|
|
|
|
2010-07-12 02:22:45 -04:00
|
|
|
PKGNAME-main = ${DISTNAME}
|
2009-04-21 20:28:54 -04:00
|
|
|
PKGNAME-ldap = cherokee-ldap-${VERSION}
|
|
|
|
PKGNAME-mysql = cherokee-mysql-${VERSION}
|
|
|
|
PKGNAME-geoip = cherokee-geoip-${VERSION}
|
2009-05-15 02:57:18 -04: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 07:19:48 -04:00
|
|
|
|
2011-03-29 19:22:17 -04:00
|
|
|
REVISION-main = 2
|
|
|
|
REVISION-ldap = 0
|
2011-04-18 18:41:37 -04:00
|
|
|
REVISION-streaming = 1
|
2010-12-22 02:28:04 -05:00
|
|
|
|
2009-05-15 02:57:18 -04: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 07:19:48 -04:00
|
|
|
|
|
|
|
CATEGORIES = www
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.cherokee-project.com/
|
|
|
|
|
|
|
|
MAINTAINER = Fernando Quintero <fernando.a.quintero@gmail.com>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2009-04-21 20:28:54 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}download/${DIR}/${VERSION}/ \
|
2009-04-08 17:30:54 -04:00
|
|
|
http://ftp.heanet.ie/mirrors/cherokee/${DIR}/${VERSION}/ \
|
2009-04-17 19:17:07 -04:00
|
|
|
http://www.ring.gr.jp/archives/net/cherokee/${DIR}/${VERSION}/ \
|
2009-04-08 17:30:54 -04: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 07:19:48 -04:00
|
|
|
|
2009-04-21 20:28:54 -04: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 07:19:48 -04:00
|
|
|
|
|
|
|
MODULES = lang/python
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS = textproc/py-docutils \
|
|
|
|
www/php5/core,-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 07:19:48 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS-main = devel/pcre
|
2010-11-11 07:35:09 -05:00
|
|
|
WANTLIB-main = c crypto pcre pthread ssl
|
2010-03-21 21:18:26 -04:00
|
|
|
RUN_DEPENDS-main = ${RUN_DEPENDS} \
|
2010-11-22 03:36:47 -05: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 07:19:48 -04:00
|
|
|
|
2010-11-22 03:36:47 -05: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 07:19:48 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS-ldap = databases/openldap
|
2011-01-08 03:47:53 -05:00
|
|
|
WANTLIB-ldap = asn1 com_err crypto gssapi krb5 lber-2.4 ldap-2.4 sasl2 ssl
|
2010-11-22 03:36:47 -05: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 07:19:48 -04:00
|
|
|
|
2010-11-22 03:36:47 -05: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 07:19:48 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS-streaming = graphics/ffmpeg \
|
|
|
|
archivers/bzip2
|
2011-04-18 18:41:37 -04:00
|
|
|
WANTLIB-streaming += avcodec avformat avutil bz2 crypto m faac
|
|
|
|
WANTLIB-streaming += gsm mp3lame ogg orc-0.4 schroedinger-1.0
|
|
|
|
WANTLIB-streaming += speex theoradec theoraenc vorbis vorbisenc
|
|
|
|
WANTLIB-streaming += vpx x264 z
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS-streaming = ${BASE_PKGPATH}
|
2009-04-21 20:28:54 -04: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 07:19:48 -04:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
2010-10-19 04:02:53 -04:00
|
|
|
USE_GROFF = 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 07:19:48 -04:00
|
|
|
|
|
|
|
FAKE_FLAGS = cherokeeconfdir="${PREFIX}/share/examples/cherokee/etc" \
|
|
|
|
cherokeewwwdir="${PREFIX}/share/examples/cherokee/www" \
|
|
|
|
cherokeewwwimagesdir="${PREFIX}/share/examples/cherokee/www/images"
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2009-07-27 13:06:16 -04:00
|
|
|
PHPCGI="${LOCALBASE}/bin/php-fastcgi" \
|
|
|
|
ac_cv_func_getgrnam_r=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 07:19:48 -04:00
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--disable-static \
|
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-wwwroot=/var/cherokee \
|
2010-01-13 03:47:57 -05:00
|
|
|
--with-wwwuser=_cherokee \
|
|
|
|
--with-wwwgroup=_cherokee \
|
2009-05-15 02:57:18 -04: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 07:19:48 -04:00
|
|
|
--disable-pam \
|
|
|
|
--with-geoip \
|
|
|
|
--with-ldap \
|
2009-04-21 20:28:54 -04:00
|
|
|
--with-mysql \
|
|
|
|
--with-ffmpeg
|
|
|
|
|
2010-01-13 03:47:57 -05:00
|
|
|
.ifdef DEBUG
|
2009-04-21 20:28:54 -04:00
|
|
|
CFLAGS += -O0 -g3
|
|
|
|
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 07:19:48 -04:00
|
|
|
|
2010-12-20 02:51:58 -05:00
|
|
|
MODPY_ADJ_FILES= admin/CTK/CTK-run.pre admin/upgrade_config.py \
|
|
|
|
cherokee/cherokee-admin-launcher \
|
|
|
|
cherokee/cherokee-tweak doc/test_images.py \
|
|
|
|
gitlog2changelog.py po/po_stats.py svnlog2changelog.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 07:19:48 -04:00
|
|
|
|
2010-12-22 02:28:04 -05: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 07:19:48 -04:00
|
|
|
pre-configure:
|
2010-12-20 02:51:58 -05: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 07:19:48 -04:00
|
|
|
|
2010-01-13 03:47:57 -05:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/share/cherokee/admin && find . -name "*.py" | \
|
|
|
|
xargs ${MODPY_BIN} ${MODPY_LIBDIR}/py_compile.py
|
2010-03-21 21:18:26 -04:00
|
|
|
touch ${PREFIX}/share/examples/cherokee/blank
|
2010-12-22 02:28:04 -05: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
|
2010-01-13 03:47:57 -05: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 07:19:48 -04:00
|
|
|
.include <bsd.port.mk>
|