Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448226 - net-misc/badvpn-1.999.126 version bump
Summary: net-misc/badvpn-1.999.126 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-12-22 21:20 UTC by Ambroz Bizjak
Modified: 2012-12-26 02:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
badvpn-1.999.126.ebuild (badvpn-1.999.126.ebuild,1.92 KB, text/plain)
2012-12-22 21:20 UTC, Ambroz Bizjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2012-12-22 21:20:35 UTC
Created attachment 333080 [details]
badvpn-1.999.126.ebuild

I've released version 1.999.126 of BadVPN, please update the ebuild in the tree.

The attached ebuild has the following changes:
- iptables and wpa_supplicant dependecies are removed as they are only needed by NCD is the user calls certain commands,
- added src_test to run some test NCD scripts,
- added ~arm keyword, because I'm using it on ARMv5 successfully (and it cross-compiles).

P.S. I'm the proxy maintainer.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-24 15:50:10 UTC
Comment on attachment 333080 [details]
badvpn-1.999.126.ebuild

--- badvpn-1.999.123-r3.ebuild  2012-12-14 18:21:43.064493569 +0100
+++ -   2012-12-24 16:50:00.764333075 +0100
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/badvpn-1.999.123-r3.ebuild,v 1.4 2012/12/11 16:56:32 axs Exp $
 
 EAPI=4
-inherit eutils cmake-utils user
+inherit eutils cmake-utils user toolchain-funcs
 
 MY_P=${PN}-${PV/_rc/rc}
 DESCRIPTION="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
@@ -11,7 +11,7 @@
 SRC_URI="http://badvpn.googlecode.com/files/${MY_P}.tar.bz2"
 
 LICENSE="BSD"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86 ~arm"
 SLOT="0"
 TARGETS="+client +ncd +server +tun2socks +udpgw"
 IUSE="${TARGETS} debug"
@@ -32,8 +32,6 @@
        )"
 RDEPEND="${COMMON_DEPEND}
        ncd? (
-               net-firewall/iptables
-               net-wireless/wpa_supplicant
                sys-apps/iproute2
                >=virtual/udev-171
        )"
@@ -80,3 +78,12 @@
                newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd
        fi
 }
+
+src_test() {
+       if use ncd && ! tc-is-cross-compiler; then
+               einfo "Running NCD tests"
+               pushd "${S}"/ncd/tests >/dev/null
+               bash ./run_tests "${CMAKE_BUILD_DIR}/ncd/badvpn-ncd" || die "one or more tests failed"
+               popd >/dev/null
+       fi
+}
Comment 2 Julian Ospald 2012-12-26 02:22:21 UTC
+*badvpn-1.999.126 (26 Dec 2012)
+
+  26 Dec 2012; Julian Ospald <hasufell@gentoo.org> +badvpn-1.999.126.ebuild:
+  version bump by Ambroz Bizjak wrt #448226
+