From owner-svn-ports-head@freebsd.org Mon Feb 10 21:06:56 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFC2124481C; Mon, 10 Feb 2020 21:06:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Gdkm4lDrz43k1; Mon, 10 Feb 2020 21:06:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 84AA9251CA; Mon, 10 Feb 2020 21:06:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01AL6uut001181; Mon, 10 Feb 2020 21:06:56 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01AL6uHo001179; Mon, 10 Feb 2020 21:06:56 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202002102106.01AL6uHo001179@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Mon, 10 Feb 2020 21:06:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525753 - head/security/openvpn-auth-ldap X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: head/security/openvpn-auth-ldap X-SVN-Commit-Revision: 525753 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2020 21:06:56 -0000 Author: mandree Date: Mon Feb 10 21:06:55 2020 New Revision: 525753 URL: https://svnweb.freebsd.org/changeset/ports/525753 Log: openvpn-auth-ldap: Update to Github 2.0.4 release. * Switch from a handmade SVN checkout to Github tag * Drop MAKE_JOBS_UNSAFE and post-patch, no longer needed PR: 244022 Submitted by: Geoffroy Desvernay Modified: head/security/openvpn-auth-ldap/Makefile head/security/openvpn-auth-ldap/distinfo Modified: head/security/openvpn-auth-ldap/Makefile ============================================================================== --- head/security/openvpn-auth-ldap/Makefile Mon Feb 10 20:40:41 2020 (r525752) +++ head/security/openvpn-auth-ldap/Makefile Mon Feb 10 21:06:55 2020 (r525753) @@ -2,12 +2,8 @@ # $FreeBSD$ PORTNAME= openvpn-auth-ldap -PORTVERSION= 2.0.4.0.s1379 -PORTREVISION= 3 +PORTVERSION= 2.0.4 CATEGORIES= security net-vpn -MASTER_SITES= LOCAL/mandree # figure out proper GitHub commit and use that. -# https://github.com/threerings/openvpn-auth-ldap/ -DISTNAME= auth-ldap-${PORTVERSION} MAINTAINER= mandree@FreeBSD.org COMMENT= LDAP authentication plugin for OpenVPN @@ -16,6 +12,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= re2c:devel/re2c \ check>=0:devel/check \ + libobjc2>=0:lang/libobjc2 \ ${LOCALBASE}/include/openvpn-plugin.h:security/openvpn # this port doesn't require ssl itself, but OpenLDAP needs it @@ -31,12 +28,16 @@ CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \ --with-objc-runtime=GNU \ --with-openssl=${OPENSSLBASE} +USE_GITHUB= yes +GH_ACCOUNT= threerings +GH_PROJECT= openvpn-auth-ldap +GH_TAGNAME= auth-ldap-${PORTVERSION} + PORTDOCS= README PORTEXAMPLES= auth-ldap.conf PLIST_FILES= lib/openvpn-auth-ldap.so OBJCFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -fPIC CFLAGS+= -fPIC -MAKE_JOBS_UNSAFE=yes # work around missing deps in src/Makefile[.in] OPTIONS_DEFINE= DOCS EXAMPLES @@ -44,9 +45,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES CONFIGURE_ENV+= OBJC="${CC}" -post-patch: - ${REINPLACE_CMD} 's|-export-dynamic|-Wl,-export-dynamic|' ${WRKSRC}/configure.ac - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn-auth-ldap.so .if ${PORT_OPTIONS:MDOCS} @@ -61,20 +59,5 @@ post-install: .include CC+= ${DEBUG_FLAGS} - -# this is a local target to build a tarball from SVN -# and another target to upload it -# Note that googlecode.com is gone. Apparently someone exported the code -# to Github: https://github.com/threerings/openvpn-auth-ldap/ -build-tarball: ${DISTFILES} -${DISTFILES}: - ${RM} -r ${WRKSRC} - svn export -r${PORTVERSION:E:C/^s//} \ - http://openvpn-auth-ldap.googlecode.com/svn/trunk/ ${WRKSRC} - tar -C ${WRKSRC}/.. -cvf - ${WRKSRC:T} | ${XZ_CMD} -vvc >${DISTFILES} || \ - { ${RM} ${DISTFILES} ; exit 1 ; } - -upload-tarball: build-tarball - scp ${DISTFILES} freefall.freebsd.org:public_distfiles/ .include Modified: head/security/openvpn-auth-ldap/distinfo ============================================================================== --- head/security/openvpn-auth-ldap/distinfo Mon Feb 10 20:40:41 2020 (r525752) +++ head/security/openvpn-auth-ldap/distinfo Mon Feb 10 21:06:55 2020 (r525753) @@ -1,2 +1,3 @@ -SHA256 (auth-ldap-2.0.4.0.s1379.tar.xz) = 8d35eb540482d8d2bf36d0d310241b69633691f28477867ecee28c76912476cc -SIZE (auth-ldap-2.0.4.0.s1379.tar.xz) = 163724 +TIMESTAMP = 1581341930 +SHA256 (threerings-openvpn-auth-ldap-2.0.4-auth-ldap-2.0.4_GH0.tar.gz) = 81f600cdc88adb2258f57df1ed2d87f0afa945f66cbf8897ad50e76f42509168 +SIZE (threerings-openvpn-auth-ldap-2.0.4-auth-ldap-2.0.4_GH0.tar.gz) = 209800