Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 11:11:47 GMT
From:      Alexander Hausner <alex@hugo.bmg.gv.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189796: [maintainer-upgrade] [patch] www/mod_authn_otp to version 1.1.6 and converted to staging
Message-ID:  <201405141111.s4EBBlDj064429@cgiserv.freebsd.org>
Resent-Message-ID: <201405141120.s4EBK0LT021333@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189796
>Category:       ports
>Synopsis:       [maintainer-upgrade] [patch] www/mod_authn_otp to version 1.1.6 and converted to staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 14 11:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Hausner
>Release:        FreeBSD 10.0-STABLE
>Organization:
BMG
>Environment:
FreeBSD fbsd-test 10.0-STABLE FreeBSD 10.0-STABLE #0 r264497: Tue Apr 15 18:03:42 CEST 2014     root@fbsd-test:/usr/obj/usr/src/sys/FBSDTEST  amd64
>Description:
Update to version 1.1.6 of mod-authn-otp and also converted to staging.
>How-To-Repeat:

>Fix:
diff -ur mod_authn_otp.orig/Makefile mod_authn_otp/Makefile
--- mod_authn_otp.orig/Makefile 2014-02-21 14:39:57.000000000 +0100
+++ mod_authn_otp/Makefile      2014-05-14 12:54:38.076879180 +0200
@@ -2,7 +2,7 @@
 # $FreeBSD: head/www/mod_authn_otp/Makefile 345437 2014-02-21 13:39:57Z ehaupt $

 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,29 @@
 MAINTAINER=    alex@hugo.bmg.gv.at
 COMMENT=       Apache module for one-time password authentication

-
 GNU_CONFIGURE= yes
 USE_APACHE=    22
-
-MAN1=          otptool.1
+AP_FAST_BUILD=  yes
+AP_GENPLIST=    yes

 PORTEXAMPLES=  users.sample

-NO_STAGE=      yes
-
 OPTIONS_DEFINE=        EXAMPLES

 .include <bsd.port.options.mk>

-CONFIGURE_ARGS=        --prefix=${PREFIX} \
-               --mandir=${MANPREFIX}/man
+CONFIGURE_ARGS=        --prefix=${STAGEDIR}${PREFIX} \
+               --mandir=${STAGEDIR}${MANPREFIX}/man

 post-configure:
        @${REINPLACE_CMD} 's|CFLAGS =|CFLAGS ?=|' \
                ${WRKSRC}/Makefile

 post-install:
-       @${APXS} -e -A -n ${PORTNAME:S/mod_//} ${APACHEMODDIR}/${PORTNAME}.so
+       @${APXS} -e -A -n ${PORTNAME:S/mod_//} ${STAGEDIR}${APACHEMODDIR}/${PORTNAME}.so
 .if ${PORT_OPTIONS:MEXAMPLES}
-       ${MKDIR} ${EXAMPLESDIR}/
-       ${INSTALL_DATA} ${WRKSRC}/users.sample ${EXAMPLESDIR}/
+       ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+       ${INSTALL_DATA} ${WRKSRC}/users.sample ${STAGEDIR}${EXAMPLESDIR}/
 .endif

 .include <bsd.port.mk>
diff -ur mod_authn_otp.orig/distinfo mod_authn_otp/distinfo
--- mod_authn_otp.orig/distinfo 2014-01-22 16:30:13.000000000 +0100
+++ mod_authn_otp/distinfo      2014-05-13 14:18:23.000000000 +0200
@@ -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 -ur mod_authn_otp.orig/pkg-plist mod_authn_otp/pkg-plist
--- mod_authn_otp.orig/pkg-plist        2014-01-22 16:16:56.000000000 +0100
+++ mod_authn_otp/pkg-plist     2014-05-14 14:49:33.594470661 +0200
@@ -3,3 +3,4 @@
 @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
+man/man1/otptool.1.gz


>Release-Note:
>Audit-Trail:
>Unformatted:



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