jlec        15/02/27 08:05:58

  Modified:             vpnc-0.5.3_p527-r1.ebuild ChangeLog
  Added:                vpnc-0.5.3_p550.ebuild
  Log:
  Restrict binary distribution with USE=-bindist, #541450; bump to latest svn 
snapshot
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.14                 net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?r1=1.13&r2=1.14

Index: vpnc-0.5.3_p527-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vpnc-0.5.3_p527-r1.ebuild   5 Jan 2015 12:55:51 -0000       1.13
+++ vpnc-0.5.3_p527-r1.ebuild   27 Feb 2015 08:05:58 -0000      1.14
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v 
1.13 2015/01/05 12:55:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v 
1.14 2015/02/27 08:05:58 jlec Exp $
 
 EAPI=5
 
@@ -28,6 +28,8 @@
        selinux? ( sec-policy/selinux-vpn )
 "
 
+RESTRICT="!bindist? ( bindist )"
+
 CONFIG_CHECK="~TUN"
 
 src_prepare() {



1.133                net-misc/vpnc/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.133&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.133&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.132&r2=1.133

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- ChangeLog   5 Jan 2015 12:55:51 -0000       1.132
+++ ChangeLog   27 Feb 2015 08:05:58 -0000      1.133
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/vpnc
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.132 2015/01/05 
12:55:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.133 2015/02/27 
08:05:58 jlec Exp $
+
+*vpnc-0.5.3_p550 (27 Feb 2015)
+
+  27 Feb 2015; Justin Lecher <[email protected]> +vpnc-0.5.3_p550.ebuild,
+  vpnc-0.5.3_p527-r1.ebuild:
+  Restrict binary distribution with USE=-bindist, #541450; bump to latest svn
+  snapshot
 
   05 Jan 2015; Justin Lecher <[email protected]> vpnc-0.5.3_p527-r1.ebuild:
   Fix documentation URL, #534490



1.1                  net-misc/vpnc/vpnc-0.5.3_p550.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild?rev=1.1&content-type=text/plain

Index: vpnc-0.5.3_p550.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild,v 1.1 
2015/02/27 08:05:58 jlec Exp $

EAPI=5

inherit eutils linux-info systemd toolchain-funcs

DESCRIPTION="Free client for Cisco VPN routing software"
HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/";
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";

LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="resolvconf +gnutls bindist selinux"

REQUIRED_USE="bindist? ( gnutls )"

DEPEND="
        dev-lang/perl
        dev-libs/libgcrypt:0=
        >=sys-apps/iproute2-2.6.19.20061214[-minimal]
        gnutls? ( net-libs/gnutls:= )
        !gnutls? ( dev-libs/openssl )"
RDEPEND="${DEPEND}
        resolvconf? ( net-dns/openresolv )
        selinux? ( sec-policy/selinux-vpn )
"

RESTRICT="!bindist? ( bindist )"

CONFIG_CHECK="~TUN"

src_prepare() {
        if ! use gnutls && ! use bindist; then
                sed -i -e '/^#OPENSSL_GPL_VIOLATION/s:#::g' "${S}"/Makefile     
|| die
                ewarn "Building SSL support with OpenSSL instead of GnuTLS.  
This means that"
                ewarn "you are not allowed to re-distibute the binaries due to 
conflicts between BSD license and GPL,"
                ewarn "see the vpnc Makefile and 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318";
        else
                elog "Will build with GnuTLS (default) instead of OpenSSL so 
you may even redistribute binaries."
                elog "See the Makefile itself and 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318";
        fi

        sed -e 's:test/cert0.pem::g' -i Makefile || die

        tc-export CC

        sed \
                -e 's:/var/run:/run:g' \
                -i ChangeLog config.c TODO  || die
}

src_install() {
        emake PREFIX="/usr" DESTDIR="${D}" install
        dodoc README TODO VERSION
        keepdir /etc/vpnc/scripts.d
        newinitd "${FILESDIR}/vpnc-3.init" vpnc
        newconfd "${FILESDIR}/vpnc.confd" vpnc
        sed -e "s:/usr/local:/usr:" -i "${ED}"/etc/vpnc/vpnc-script || die

        systemd_dotmpfilesd "${FILESDIR}"/vpnc-tmpfiles.conf
        systemd_newunit "${FILESDIR}"/vpnc.service [email protected]

        # COPYING file resides here, should not be installed
        rm -rf "${ED}"/usr/share/doc/vpnc/ || die
}

pkg_postinst() {
        elog "You can generate a configuration file from the original Cisco 
profiles of your"
        elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file"
        elog "A guide is available at https://wiki.gentoo.org/wiki/Vpnc";
}




Reply via email to