Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 22:43:07 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303162 - head/www/mod_authn_otp
Message-ID:  <201208252243.q7PMh7D7008066@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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 @@
+@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208252243.q7PMh7D7008066>