svn commit: r303162 - head/www/mod_authn_otp
Olli Hauer
ohauer at FreeBSD.org
Sat Aug 25 22:43:07 UTC 2012
Author: ohauer
Date: Sat Aug 25 22:43:06 2012
New Revision: 303162
URL: http://svn.freebsd.org/changeset/ports/303162
Log:
- add pkg-plist
Added:
head/www/mod_authn_otp/pkg-plist (contents, props changed)
Modified:
head/www/mod_authn_otp/Makefile
Modified: head/www/mod_authn_otp/Makefile
==============================================================================
--- head/www/mod_authn_otp/Makefile Sat Aug 25 22:21:57 2012 (r303161)
+++ head/www/mod_authn_otp/Makefile Sat Aug 25 22:43:06 2012 (r303162)
@@ -2,12 +2,15 @@
# Date created: 03 05 2012
# Whom: Alexander Hausner <alex at hugo.bmg.gv.at>
# $FreeBSD$
+#
PORTNAME= mod_authn_otp
PORTVERSION= 1.1.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://mod-authn-otp.googlecode.com/files/ \
http://alex.bmg.gv.at/programs/
+PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DIST_SUBDIR= apache2
MAINTAINER= alex at hugo.bmg.gv.at
@@ -18,11 +21,17 @@ MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_APACHE= 22+
+MAN1= otptool.1
+
PORTEXAMPLES= users.sample
.include <bsd.port.options.mk>
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --mandir=${MANPREFIX}/man
+
post-install:
+ @${APXS} -e -A -n ${PORTNAME:S/mod_//} ${APACHEMODDIR}/${PORTNAME}.so
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/users.sample ${EXAMPLESDIR}/
Added: head/www/mod_authn_otp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_authn_otp/pkg-plist Sat Aug 25 22:43:06 2012 (r303162)
@@ -0,0 +1,5 @@
+ at unexec sed -i '' -E '/LoadModule[[:blank:]]+authn_otp_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/mod_authn_otp.so
+ at exec %D/sbin/apxs -e -A -n authn_otp %D/%F
+ at unexec echo \"Don\'t forget to remove all mod_authn_otp-related directives in your httpd.conf\"
+bin/otptool
More information about the svn-ports-all
mailing list