summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-12-31 19:51:07 -0600
committerWilliam Hubbs <williamh@gentoo.org>2021-12-31 19:58:27 -0600
commitb7207472b68bb07923d94297fdad9f7b0205c3a1 (patch)
tree794e8fe4ead0c5c4aaa3a86e5fe7a27348348fad /net-vpn/badvpn
parentacct-group/badvpn: remove for lastrites (diff)
downloadgentoo-b7207472b68bb07923d94297fdad9f7b0205c3a1.tar.gz
gentoo-b7207472b68bb07923d94297fdad9f7b0205c3a1.tar.bz2
gentoo-b7207472b68bb07923d94297fdad9f7b0205c3a1.zip
net-vpn/badvpn: remove for lastrites
Bug: https://bugs.gentoo.org/770619 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-vpn/badvpn')
-rw-r--r--net-vpn/badvpn/Manifest3
-rw-r--r--net-vpn/badvpn/badvpn-1.999.127-r1.ebuild87
-rw-r--r--net-vpn/badvpn/badvpn-1.999.129-r1.ebuild87
-rw-r--r--net-vpn/badvpn/badvpn-1.999.130-r1.ebuild84
-rw-r--r--net-vpn/badvpn/files/badvpn-1.999.127-ncd.init24
-rw-r--r--net-vpn/badvpn/files/badvpn-ncd.conf11
-rw-r--r--net-vpn/badvpn/files/badvpn-ncd.service11
-rw-r--r--net-vpn/badvpn/files/badvpn-server.conf11
-rw-r--r--net-vpn/badvpn/files/badvpn-server.init48
-rw-r--r--net-vpn/badvpn/metadata.xml35
10 files changed, 0 insertions, 401 deletions
diff --git a/net-vpn/badvpn/Manifest b/net-vpn/badvpn/Manifest
deleted file mode 100644
index 645088e6e493..000000000000
--- a/net-vpn/badvpn/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST badvpn-1.999.127.tar.bz2 962224 BLAKE2B c0fc22aa56f59d9273797df9a1687509d1502ada2c92a308b8bd7368b50a4151f1ef8a8d91c720fee85c6f92497a421372eec3dd2160d53e3f3345041ce35f9b SHA512 7484a817795392a52b44d3bf68765652739029aae8c16965b433bbfb4ca67ea70048f76376ba445196aac07a8f19f97696917ad24fe2bcb34025adda1f18a9fb
-DIST badvpn-1.999.129.tar.gz 1327123 BLAKE2B 640b4bc3252d0aadaf9a8ce42da7bbead7c0d371a1f536e994a4d26897d8fbee9a0c9738b31b1ce308b3b08b6a661d9dad0ea012ff08ec6349ee67063e402084 SHA512 7a305198d7b4aaa31e567ff1f1bf23e0a65070d8eae78e7ed6be1a3a3b7bce7fcba32c0eb8ae549ef1851a61675afc1770f52dedf131658036b7b6414fdd4e4e
-DIST badvpn-1.999.130.tar.gz 1340372 BLAKE2B d13d5fdda487418ba8d93ba49736f2b68c1b5054636b5cf9120f32f6de5b9d0240502d68824a194c18074b5de86227ad6412c969d91b0ff1ee0ff016bb4c1fb4 SHA512 958d6f3b7a8074fa7ba2f26812c9b2c39272b75d762a12a821ad2d0db9cdc9b9307338d77ca0dcadcf57b81fa4632362e67524de4246d01829951e8924a89770
diff --git a/net-vpn/badvpn/badvpn-1.999.127-r1.ebuild b/net-vpn/badvpn/badvpn-1.999.127-r1.ebuild
deleted file mode 100644
index ce494c984ecd..000000000000
--- a/net-vpn/badvpn/badvpn-1.999.127-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils user toolchain-funcs systemd
-
-MY_P=${PN}-${PV/_rc/rc}
-DESCRIPTION="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
-HOMEPAGE="https://code.google.com/p/badvpn/"
-SRC_URI="https://badvpn.googlecode.com/files/${MY_P}.tar.bz2"
-
-LICENSE="BSD"
-KEYWORDS="amd64 arm x86"
-SLOT="0"
-TARGETS="+client +ncd +server +tun2socks +udpgw"
-IUSE="${TARGETS} debug"
-# tests are only ncd related
-RESTRICT="!ncd? ( test )"
-
-COMMON_DEPEND="
- client? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:=
- )
- server? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:=
- )
- ncd? (
- dev-libs/openssl
- )"
-RDEPEND="${COMMON_DEPEND}
- ncd? (
- sys-apps/iproute2
- >=virtual/udev-171
- )"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-# we need at least one target
-REQUIRED_USE="|| ( ${TARGETS//+/} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewuser ${PN}
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_NOTHING_BY_DEFAULT=1
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_build ncd NCD)
- $(cmake-utils_use_build tun2socks TUN2SOCKS)
- $(cmake-utils_use_build udpgw UDPGW)
- )
-
- cmake-utils_src_configure
-}
-
-src_test() {
- # OOHMSA: do this on portage level?
- tc-is-cross-compiler && die "these tests do not work when cross compiling!"
-
- einfo "Running NCD tests"
- cd "${S}"/ncd/tests || die
- bash ./run_tests "${CMAKE_BUILD_DIR}/ncd/badvpn-ncd" \
- || die "one or more tests failed"
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc ChangeLog
-
- if use server; then
- newinitd "${FILESDIR}"/${PN}-server.init ${PN}-server
- newconfd "${FILESDIR}"/${PN}-server.conf ${PN}-server
- fi
-
- if use ncd; then
- newinitd "${FILESDIR}"/${P}-ncd.init ${PN}-ncd
- newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd
- systemd_dounit "${FILESDIR}"/badvpn-ncd.service
- fi
-}
diff --git a/net-vpn/badvpn/badvpn-1.999.129-r1.ebuild b/net-vpn/badvpn/badvpn-1.999.129-r1.ebuild
deleted file mode 100644
index d3bdf113740f..000000000000
--- a/net-vpn/badvpn/badvpn-1.999.129-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils user toolchain-funcs systemd
-
-MY_P=${PN}-${PV/_rc/rc}
-DESCRIPTION="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
-HOMEPAGE="https://github.com/ambrop72/badvpn https://code.google.com/p/badvpn/"
-SRC_URI="https://github.com/ambrop72/badvpn/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="amd64 arm x86"
-SLOT="0"
-TARGETS="+client +ncd +server +tun2socks +udpgw"
-IUSE="${TARGETS} debug"
-# tests are only ncd related
-RESTRICT="!ncd? ( test )"
-
-COMMON_DEPEND="
- client? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:=
- )
- server? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:=
- )
- ncd? (
- dev-libs/openssl
- )"
-RDEPEND="${COMMON_DEPEND}
- ncd? (
- sys-apps/iproute2
- >=virtual/udev-171
- )"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-# we need at least one target
-REQUIRED_USE="|| ( ${TARGETS//+/} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewuser ${PN}
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_NOTHING_BY_DEFAULT=1
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_build ncd NCD)
- $(cmake-utils_use_build tun2socks TUN2SOCKS)
- $(cmake-utils_use_build udpgw UDPGW)
- )
-
- cmake-utils_src_configure
-}
-
-src_test() {
- # OOHMSA: do this on portage level?
- tc-is-cross-compiler && die "these tests do not work when cross compiling!"
-
- einfo "Running NCD tests"
- cd "${S}"/ncd/tests || die
- bash ./run_tests "${CMAKE_BUILD_DIR}/ncd/badvpn-ncd" \
- || die "one or more tests failed"
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc ChangeLog
-
- if use server; then
- newinitd "${FILESDIR}"/${PN}-server.init ${PN}-server
- newconfd "${FILESDIR}"/${PN}-server.conf ${PN}-server
- fi
-
- if use ncd; then
- newinitd "${FILESDIR}"/${PN}-1.999.127-ncd.init ${PN}-ncd
- newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd
- systemd_dounit "${FILESDIR}"/badvpn-ncd.service
- fi
-}
diff --git a/net-vpn/badvpn/badvpn-1.999.130-r1.ebuild b/net-vpn/badvpn/badvpn-1.999.130-r1.ebuild
deleted file mode 100644
index 6066c2526cf3..000000000000
--- a/net-vpn/badvpn/badvpn-1.999.130-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils user toolchain-funcs systemd
-
-MY_P=${PN}-${PV/_rc/rc}
-DESCRIPTION="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
-HOMEPAGE="https://github.com/ambrop72/badvpn https://code.google.com/p/badvpn/"
-SRC_URI="https://github.com/ambrop72/badvpn/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~arm ~x86"
-SLOT="0"
-TARGETS="+client +ncd +server +tun2socks +udpgw"
-IUSE="${TARGETS} debug"
-# tests are only ncd related
-RESTRICT="!ncd? ( test )"
-
-COMMON_DEPEND="
- client? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:0=
- )
- server? (
- dev-libs/nspr
- dev-libs/nss
- dev-libs/openssl:0=
- )"
-RDEPEND="${COMMON_DEPEND}
- ncd? (
- sys-apps/iproute2
- >=virtual/udev-171
- )"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-# we need at least one target
-REQUIRED_USE="|| ( ${TARGETS//+/} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- enewuser ${PN}
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_NOTHING_BY_DEFAULT=1
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_build ncd NCD)
- $(cmake-utils_use_build tun2socks TUN2SOCKS)
- $(cmake-utils_use_build udpgw UDPGW)
- )
-
- cmake-utils_src_configure
-}
-
-src_test() {
- # OOHMSA: do this on portage level?
- tc-is-cross-compiler && die "these tests do not work when cross compiling!"
-
- einfo "Running NCD tests"
- cd "${S}"/ncd/tests || die
- bash ./run_tests "${CMAKE_BUILD_DIR}/ncd/badvpn-ncd" \
- || die "one or more tests failed"
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc ChangeLog
-
- if use server; then
- newinitd "${FILESDIR}"/${PN}-server.init ${PN}-server
- newconfd "${FILESDIR}"/${PN}-server.conf ${PN}-server
- fi
-
- if use ncd; then
- newinitd "${FILESDIR}"/${PN}-1.999.127-ncd.init ${PN}-ncd
- newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd
- systemd_dounit "${FILESDIR}"/badvpn-ncd.service
- fi
-}
diff --git a/net-vpn/badvpn/files/badvpn-1.999.127-ncd.init b/net-vpn/badvpn/files/badvpn-1.999.127-ncd.init
deleted file mode 100644
index 69f7ba45992a..000000000000
--- a/net-vpn/badvpn/files/badvpn-1.999.127-ncd.init
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Released under the 3-clause BSD license.
-
-command="${ncd_exec:-"/usr/bin/badvpn-ncd"}"
-command_args="${ncd_args} --config-file ${ncd_config:-/etc/ncd.conf}"
-command_background="YES"
-description="Network Configuration Daemon"
-pidfile="/var/run/${RC_SVCNAME}.pid"
-
-depend() {
- need localmount
- after bootmisc
- before netmount
-}
-
-start_pre() {
- if yesno "${ncd_syslog:-NO}"; then
- command_args="${command_args}
- --logger syslog
- --syslog-ident \"${ncd_syslog_ident:-${RC_SVCNAME}}\"
- --channel-loglevel ncd_log_msg info"
- fi
-}
diff --git a/net-vpn/badvpn/files/badvpn-ncd.conf b/net-vpn/badvpn/files/badvpn-ncd.conf
deleted file mode 100644
index ad34c66f7ca3..000000000000
--- a/net-vpn/badvpn/files/badvpn-ncd.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# NCD program file.
-#ncd_config="/etc/ncd.conf"
-
-# enable or disable syslog.
-#ncd_syslog="NO"
-
-# Syslog identification.
-#ncd_syslog_ident="ncd"
-
-# Additional arguments.
-#ncd_args=""
diff --git a/net-vpn/badvpn/files/badvpn-ncd.service b/net-vpn/badvpn/files/badvpn-ncd.service
deleted file mode 100644
index 6ca7aa515e00..000000000000
--- a/net-vpn/badvpn/files/badvpn-ncd.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Network Configuation Daemon
-After=syslog.target
-
-[Service]
-ExecStart=/usr/bin/badvpn-ncd --logger syslog --syslog-ident ncd --loglevel warning --channel-loglevel ncd_log_msg info /etc/ncd.conf
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/net-vpn/badvpn/files/badvpn-server.conf b/net-vpn/badvpn/files/badvpn-server.conf
deleted file mode 100644
index ed5103d3d0ef..000000000000
--- a/net-vpn/badvpn/files/badvpn-server.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# User account to run server as.
-#vpn_user="badvpn"
-
-# Enable or disable syslog.
-#vpn_syslog="NO"
-
-# Syslog identification.
-#vpn_syslog_ident="badvpn-server"
-
-# Arguments to badvpn-server.
-vpn_args="--listen-addr 0.0.0.0:7179"
diff --git a/net-vpn/badvpn/files/badvpn-server.init b/net-vpn/badvpn/files/badvpn-server.init
deleted file mode 100644
index 32ee7fefe33e..000000000000
--- a/net-vpn/badvpn/files/badvpn-server.init
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Released under the 3-clause BSD license.
-
-command="${vpn_exec:-/usr/bin/badvpn-server}"
-command_args="${vpn_args}"
-command_background="YES"
-description="BadVPN server"
-pidfile="/var/run/${RC_SVCNAME}.pid"
-start_stop_daemon_args="--user \"${vpn_user:-badvpn}\""
-
-depend() {
- need localmount
- after bootmisc
- if yesno "${vpn_syslog:-NO}"; then
- use logger
- fi
-}
-
-start_pre() {
- if yesno "${vpn_syslog:-NO}"; then
- command_args="${command_args}
- --logger syslog
- --syslog-ident \"${vpn_syslog_ident:-${RC_SVCNAME}}\""
- fi
-}
-
-start()
-{
- [ -n "$command" ] || return 0
- local _background=
- ebegin "Starting ${name:-$RC_SVCNAME}"
- if yesno "${command_background}"; then
- if [ -z "${pidfile}" ]; then
- eend 1 "command_background option used but no pidfile specified"
- return 1
- fi
- _background="--background --make-pidfile"
- fi
- eval start-stop-daemon --start \
- --exec $command \
- ${procname:+--name} $procname \
- ${pidfile:+--pidfile} $pidfile \
- $_background $start_stop_daemon_args \
- -- $command_args
- eend $? "Failed to start $RC_SVCNAME"
- return $?
-}
diff --git a/net-vpn/badvpn/metadata.xml b/net-vpn/badvpn/metadata.xml
deleted file mode 100644
index fbeee899ea8e..000000000000
--- a/net-vpn/badvpn/metadata.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>williamh@gentoo.org</email>
- </maintainer>
- <upstream>
- <maintainer status="active">
- <email>ambrop7@gmail.com</email>
- <name>Ambroz Bizjak</name>
- </maintainer>
- <doc lang="en">https://code.google.com/p/badvpn/w/list</doc>
- <bugs-to>https://github.com/ambrop72/badvpn/issues</bugs-to>
- <remote-id type="github">ambrop72/badvpn</remote-id>
- <remote-id type="google-code">badvpn</remote-id>
- </upstream>
- <use>
- <flag name="client">Build the badvpn-client program, a daemon that runs on endpoints of the VPN.</flag>
- <flag name="server">Build the badvpn-server program, a central server that manages the VPN network.</flag>
- <flag name="ncd">Build NCD, a lightweight scripting language especially suited for network configurations.</flag>
- <flag name="tun2socks">Build tun2socks, a program which implements a TUN device that forwards TCP traffic through a SOCKS5 server.</flag>
- <flag name="udpgw">Build udpgw, a small daemon which allows tun2socks to forward UDP traffic.</flag>
- </use>
- <longdescription lang="en">
- BadVPN is an open-source peer-to-peer VPN system. It provides a
- Layer 2 (Ethernet) network between the peers (VPN nodes). The peers
- connect to a central server which acts as a chat server for them to
- establish direct connections between each other (data connections).
- These connections are used for transferring network data (Ethernet
- frames), and can be secured with a multitude of mechanisms.
-
- The BadVPN package also includes other network-related software,
- like tun2socks and NCD.
- </longdescription>
-</pkgmetadata>