Date: Sun, 12 Oct 2014 17:47:17 +0000 (UTC) From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370731 - head/security/pam_ocra Message-ID: <201410121747.s9CHlHIx078117@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigo Date: Sun Oct 12 17:47:16 2014 New Revision: 370731 URL: https://svnweb.freebsd.org/changeset/ports/370731 QAT: https://qat.redports.org/buildarchive/r370731/ Log: Update security/pam_ocra to 1.1 PR: ports/194133 Submitted by: sg2342@googlemail.com (maintainer) Approved by: mentors (implicit) Modified: head/security/pam_ocra/Makefile head/security/pam_ocra/distinfo Modified: head/security/pam_ocra/Makefile ============================================================================== --- head/security/pam_ocra/Makefile Sun Oct 12 17:05:11 2014 (r370730) +++ head/security/pam_ocra/Makefile Sun Oct 12 17:47:16 2014 (r370731) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pam_ocra -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= security MAINTAINER= sg2342@googlemail.com @@ -13,9 +13,10 @@ LICENSE= BSD2CLAUSE USES= uidfix USE_GITHUB= yes + GH_ACCOUNT= sg2342 GH_PROJECT= pam_ocra -GH_COMMIT= abacd1d +GH_COMMIT= d8b4ad3 PLIST_FILES= lib/pam_ocra.so \ lib/pam_ocra.so.0 \ @@ -23,4 +24,18 @@ PLIST_FILES= lib/pam_ocra.so \ man/man8/pam_ocra.8.gz \ man/man8/ocra_tool.8.gz -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1000015 +WITH_OPENSSL_PORT= yes +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} +.endif + +# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only +# works when it is defined before bsd.port{.pre}.mk is .included. +# This makes it currently impossible to combine this macro with OSVERSION to +# conditionally select WITH_OPENSSL_PORT for OSVERSIONS before 1000015. +.include "${PORTSDIR}/Mk/bsd.openssl.mk" + +.include <bsd.port.post.mk> Modified: head/security/pam_ocra/distinfo ============================================================================== --- head/security/pam_ocra/distinfo Sun Oct 12 17:05:11 2014 (r370730) +++ head/security/pam_ocra/distinfo Sun Oct 12 17:47:16 2014 (r370731) @@ -1,2 +1,2 @@ -SHA256 (pam_ocra-1.0.tar.gz) = 0d11ee2cb7a999d1f28c9c4370ffc138aea2fff310b16abc60d3fd0c994ed271 -SIZE (pam_ocra-1.0.tar.gz) = 13353 +SHA256 (pam_ocra-1.1.tar.gz) = b997af1805d0b724f037fecd74da7b73a0ab64063b3e1fe606f5b1c781731f65 +SIZE (pam_ocra-1.1.tar.gz) = 14358
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121747.s9CHlHIx078117>