diff --git a/www/Makefile b/www/Makefile index bdf192a2f961..897627115742 100644 --- a/www/Makefile +++ b/www/Makefile @@ -559,6 +559,7 @@ SUBDIR += mod_traf_thief SUBDIR += mod_transform SUBDIR += mod_trigger + SUBDIR += mod_tsa SUBDIR += mod_tsunami SUBDIR += mod_uid SUBDIR += mod_vdbh diff --git a/www/mod_tsa/Makefile b/www/mod_tsa/Makefile new file mode 100644 index 000000000000..7feed3f6c743 --- /dev/null +++ b/www/mod_tsa/Makefile @@ -0,0 +1,72 @@ +# New ports collection makefile for: mod_tsa +# Date created: 22 November 2010 +# Whom: ubique +# +# $FreeBSD$ +# + +PORTNAME= mod_tsa +PORTVERSION= 1.0 +CATEGORIES= www +MASTER_SITES= http://am.nesiac.org/static/ \ + http://ubique.spb.ru/src/ + +MAINTAINER= ubique@peterhost.ru +COMMENT= Time stamping authority (RFC 3161) module for apache + +OPTIONS= MYSQL "Enable support for MySQL storage" Off \ + PGSQL "Enable support for PostgreSQL" Off \ + FIREBIRD "Enable support for Firebird storage" Off \ + DEBUG "Build with debug" Off \ + DEBUG_MEMORY "Build with memory debug" Off + +MAKE_JOBS_SAFE= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-openssl-incdir=${OPENSSLINC} \ + --with-openssl-libdir=${OPENSSLLIB} \ + --with-apxs=${APXS} +MAKE_ARGS+= APXS=${APXS} + +USE_OPENSSL= yes +WITH_OPENSSL_PORT= yes +USE_APACHE= 20+ +AP_EXTRAS+= -DMOD_TSA_VERSION=\\\"mod_tsa/${PORTVERSION}\\\" +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +PORTEXAMPLES= *.sql tsa.conf + +.include + +.if defined(WITH_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+= --enable-mysql=yes +.endif + +.if defined(WITH_PGSQL) +USE_PGSQL= yes +CONFIGURE_ARGS+= --enable-pgsql=yes +.endif + +.if defined(WITH_FIREBIRD) +USE_FIREBIRD= yes +CONFIGURE_ARGS+= --enable-firebird=yes +.endif + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --with-debug=yes +.endif + +.if defined(WITH_DEBUG_MEMORY) +CONFIGURE_ARGS+= --with-debug-memory=yes +.endif + +post-install: +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.sql ${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/tsa.conf ${EXAMPLESDIR}/ +.endif + +.include diff --git a/www/mod_tsa/distinfo b/www/mod_tsa/distinfo new file mode 100644 index 000000000000..d2bf13db68e9 --- /dev/null +++ b/www/mod_tsa/distinfo @@ -0,0 +1,2 @@ +SHA256 (mod_tsa-1.0.tar.gz) = b3f18e6fd59a8096335eae3d41dd8a9784525d6682e68854eaacce6576ea67b7 +SIZE (mod_tsa-1.0.tar.gz) = 107162 diff --git a/www/mod_tsa/pkg-descr b/www/mod_tsa/pkg-descr new file mode 100644 index 000000000000..6dea76840c69 --- /dev/null +++ b/www/mod_tsa/pkg-descr @@ -0,0 +1,2 @@ +Time stamping authority module for apache22. +WWW: http://opentsa.org/ diff --git a/www/mod_tsa/pkg-plist b/www/mod_tsa/pkg-plist new file mode 100644 index 000000000000..8143b401d398 --- /dev/null +++ b/www/mod_tsa/pkg-plist @@ -0,0 +1,8 @@ +%%APACHEMODDIR%%/%%AP_MODULE%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tsa.conf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/firebird_create.sql +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/firebird_destroy.sql +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql_create.sql +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql_destroy.sql +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_create.sql +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_destroy.sql