From owner-svn-ports-all@freebsd.org Fri Apr 15 14:19:51 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BFB1AED577; Fri, 15 Apr 2016 14:19:51 +0000 (UTC) (envelope-from cy@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 mx1.freebsd.org (Postfix) with ESMTPS id C001D1F0D; Fri, 15 Apr 2016 14:19:50 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3FEJnbx055851; Fri, 15 Apr 2016 14:19:49 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3FEJno3055848; Fri, 15 Apr 2016 14:19:49 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201604151419.u3FEJno3055848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Fri, 15 Apr 2016 14:19:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413345 - head/security/racoon2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 14:19:51 -0000 Author: cy Date: Fri Apr 15 14:19:49 2016 New Revision: 413345 URL: https://svnweb.freebsd.org/changeset/ports/413345 Log: Revert r413343. The bulk of it was committed by mistake. Modified: head/security/racoon2/Makefile head/security/racoon2/pkg-plist Modified: head/security/racoon2/Makefile ============================================================================== --- head/security/racoon2/Makefile Fri Apr 15 13:51:02 2016 (r413344) +++ head/security/racoon2/Makefile Fri Apr 15 14:19:49 2016 (r413345) @@ -3,7 +3,7 @@ PORTNAME= racoon2 PORTVERSION= 20100526a -PORTREVISION= 9 +PORTREVISION= 8 CATEGORIES= security net ipv6 MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/ @@ -13,79 +13,41 @@ COMMENT= Racoon2 IPsec daemon USES= perl5 tar:tgz USE_RC_SUBR= YES USE_OPENSSL= YES -CONFIGURE_ARGS+= --disable-kinkd -PLIST_SUB+= KINK="@comment " USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${STAGEDIR}${PREFIX} CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/racoon2 -CONFIGURE_ENV= YACC=/usr/bin/yacc perl_bindir=${LOCALBASE}/bin/perl5 +CONFIGURE_ENV= YACC=/usr/bin/yacc -OPTIONS_DEFINE= DOCS -OPTIONS_RADIO= KERBEROS -OPTIONS_RADIO_KERBEROS= KRB5 KRB5_112 KRB5_113 KRB5_114 \ - HEIMDAL_PORTS HEIMDAL_BASE -KRB5_DESC= Build with Kerberos (security/krb5) -KRB5_112_DESC= Build with Kerberos (security/krb5-112) -KRB5_113_DESC= Build with Kerberos (security/krb5-113) -KRB5_114_DESC= Build with Kerberos (security/krb5-114) -HEIM_AL_PORTS_DESC= Build with Heimdal in ports (security/heimdal) -HEIMDAL_BASE_DESC= Build with Heimdal in base - -KRB5_USES= gssapi:mit -KRB5_CONFIGURE_ON= --enable-kinkd -KRB5_MAKE_ENV= WITH_KINK=yes -KRB5_PLIST_SUB= KINK="" -KRB5_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5 -KRB5_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5 -KRB5_VARS= KINK=yes - -KRB5_112_USES= gssapi:mit -KRB5_112_CONFIGURE_ON= --enable-kinkd -KRB5_112_MAKE_ENV= WITH_KINK=yes -KRB5_112_PLIST_SUB= KINK="" -KRB5_112_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-112 -KRB5_112_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-112 -KRB5_112_VARS= KINK=yes - -KRB5_113_USES= gssapi:mit -KRB5_113_CONFIGURE_ON= --enable-kinkd -KRB5_113_MAKE_ENV= WITH_KINK=yes -KRB5_113_PLIST_SUB= KINK="" -KRB5_113_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-113 -KRB5_113_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-113 -KRB5_113_VARS= KINK=yes - -KRB5_114_USES= gssapi:mit -KRB5_114_CONFIGURE_ON= --enable-kinkd -KRB5_114_MAKE_ENV= WITH_KINK=yes -KRB5_114_PLIST_SUB= KINK="" -KRB5_114_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-114 -KRB5_114_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-113 -KRB5_114_VARS= KINK=yes - -HEIMDAL_PORT_USES= gssapi:heimdal -HEIMDAL_PORTS_CONFIGURE_ON= --enable-kinkd -HEIMDAL_PORTS_MAKE_ENV= WITH_KINK=yes -HEIMDAL_PORT_PLIST_SUB= KINK="" -HEIMDAL_PORT_VARS= KINK=yes - -HEIMDAL_BASE_USES= gssapi:base -HEIMDAL_BASE_CONFIGURE_ON= --enable-kinkd -HEIMDAL_BASE_MAKE_ENV= WITH_KINK=yes -HEIMDAL_BASE_PLIST_SUB= KINK="" -HEIMDAL_BASE_VARS= KINK=yes +OPTIONS_DEFINE= KINK DOCS +KINK_DESC= Enable KINK support .include PLIST_SUB+= PFX=${PREFIX} +pre-configure: +.if ${PORT_OPTIONS:MKINK} +.if !exists(/usr/lib/libkrb5.a) + @${ECHO_MSG} 'Required Kerberos5 is not in this system. Disable KINK support.' +CONFIGURE_ARGS+= --disable-kinkd +PLIST_SUB+= KINK="@comment " +.else +CONFIGURE_ARGS+= --enable-kinkd +MAKE_ENV= WITH_KINK=yes +PLIST_SUB+= KINK="" +.endif +.else +CONFIGURE_ARGS+= --disable-kinkd +PLIST_SUB+= KINK="@comment " +.endif + .if ${PORT_OPTIONS:MDOCS} PORTDOCS+= INSTALL USAGE config-usage.ja.txt config-usage.txt PORTDOCS+= iked-memo.ja.txt libracoon.ja.txt specification.ja.txt PORTDOCS+= spmif.txt style.txt system-message.ja.txt -.if defined(KINK) +.if ${PORT_OPTIONS:MKINK} PORTDOCS+= kinkd-data-struct.obj kinkd-impl.ja.txt PORTDOCS+= kinkd-install.ja.txt kinkd-state-txn.obj .endif Modified: head/security/racoon2/pkg-plist ============================================================================== --- head/security/racoon2/pkg-plist Fri Apr 15 13:51:02 2016 (r413344) +++ head/security/racoon2/pkg-plist Fri Apr 15 14:19:49 2016 (r413345) @@ -44,6 +44,6 @@ man/man8/iked.8.gz @dir etc/racoon2/hook/child-rekey.d @dir etc/racoon2/hook/child-down.d @dir etc/racoon2/cert -@exec test -f %%PFX%%/etc/racoon2/spmd.pwd && mv %%PFX%%/etc/racoon2/spmd.pwd %%PFX%%/etc/racoon2/spmd.pwd.bak && %%PFX%%/sbin/pskgen -r -o %%PFX%%/etc/racoon2/spmd.pwd +@exec test -f %%PFX%%/etc/racoon2/spmd.pwd && mv %%PFX%%/etc/racoon2/spmd.pwd %%PFX%%/etc/racoon2/spmd.pwd.bak && %%PFX%%/pskgen -r -o %%PFX%%/etc/racoon2/spmd.pwd @unexec rm -f %%PFX/etc/racoon2/spmd.pwd @dir(root,wheel,700) /var/run/racoon2