aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-05-19 03:53:56 +0800
committerohauer <ohauer@FreeBSD.org>2014-05-19 03:53:56 +0800
commit887a8c822620431ed863adead2f9a6de963c2734 (patch)
tree912b900f68296e8da9c073517162dff92c4d4552 /www
parent0455f90aaa3f0bd1060f6e81ec196da577913606 (diff)
downloadfreebsd-ports-gnome-887a8c822620431ed863adead2f9a6de963c2734.tar.gz
freebsd-ports-gnome-887a8c822620431ed863adead2f9a6de963c2734.tar.zst
freebsd-ports-gnome-887a8c822620431ed863adead2f9a6de963c2734.zip
- update to 1.1.6
- add stage support - add LICENSE PR: ports/189796 Submitted by: Alexander Hausner <alex@hugo.bmg.gv.at> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/mod_authn_otp/Makefile20
-rw-r--r--www/mod_authn_otp/distinfo4
-rw-r--r--www/mod_authn_otp/pkg-plist9
3 files changed, 14 insertions, 19 deletions
diff --git a/www/mod_authn_otp/Makefile b/www/mod_authn_otp/Makefile
index adcbebca2fa6..b96d84f95497 100644
--- a/www/mod_authn_otp/Makefile
+++ b/www/mod_authn_otp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mod_authn_otp
-PORTVERSION= 1.1.5
+PORTVERSION= 1.1.6
CATEGORIES= www
MASTER_SITES= http://mod-authn-otp.googlecode.com/files/ \
http://alex.bmg.gv.at/programs/
@@ -12,32 +12,26 @@ DIST_SUBDIR= apache2
MAINTAINER= alex@hugo.bmg.gv.at
COMMENT= Apache module for one-time password authentication
+LICENSE= APACHE20
GNU_CONFIGURE= yes
USE_APACHE= 22
-MAN1= otptool.1
-
PORTEXAMPLES= users.sample
-NO_STAGE= yes
-
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --mandir=${MANPREFIX}/man
-
post-configure:
@${REINPLACE_CMD} 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile
+pre-install:
+ @${MKDIR} ${STAGEDIR}/${PREFIX}/${APACHEMODDIR}
+
post-install:
- @${APXS} -e -A -n ${PORTNAME:S/mod_//} ${APACHEMODDIR}/${PORTNAME}.so
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/users.sample ${EXAMPLESDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/users.sample ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/www/mod_authn_otp/distinfo b/www/mod_authn_otp/distinfo
index ef803667fe4c..e39ea4b3df81 100644
--- a/www/mod_authn_otp/distinfo
+++ b/www/mod_authn_otp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (apache2/mod_authn_otp-1.1.5.tar.gz) = 119f445518ccf300b8c71e4cb3391bc942cf68e8b0fc8df3d1624ca3aceef9b1
-SIZE (apache2/mod_authn_otp-1.1.5.tar.gz) = 97889
+SHA256 (apache2/mod_authn_otp-1.1.6.tar.gz) = c6ea1776128cadb98068fea616013dd0bf2d8f8dfaf12e01fde1cdf7bcfc8837
+SIZE (apache2/mod_authn_otp-1.1.6.tar.gz) = 99838
diff --git a/www/mod_authn_otp/pkg-plist b/www/mod_authn_otp/pkg-plist
index 3cf0d6a81f1f..d7fe97a19615 100644
--- a/www/mod_authn_otp/pkg-plist
+++ b/www/mod_authn_otp/pkg-plist
@@ -1,5 +1,6 @@
-@unexec sed -i '' -E '/LoadModule[[:blank:]]+authn_otp_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%APACHEMODDIR%%/mod_authn_otp.so
-@exec %D/sbin/apxs -e -A -n authn_otp %D/%F
-@unexec echo \"Don\'t forget to remove all mod_authn_otp-related directives in your httpd.conf\"
bin/otptool
+@unexec sed -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/%%AP_MODULE%%
+@exec %D/sbin/apxs -e %%AP_MOD_EN%% -n %%AP_NAME%% %D/%F
+@unexec echo \"Don\'t forget to remove all mod_%%AP_NAME%%-related directives in your httpd.conf\"
+man/man1/otptool.1.gz