diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-vpn/tinc | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'net-vpn/tinc')
| -rw-r--r-- | net-vpn/tinc/Manifest | 3 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tinc-1.1-tinfo.patch | 10 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tinc-1.1_pre16-r1-fix-paths.patch | 55 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tinc.networks | 13 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tincd-r1 | 78 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tincd-r2 | 78 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tincd.conf | 20 | ||||
| -rw-r--r-- | net-vpn/tinc/files/tincd_at.service | 10 | ||||
| -rw-r--r-- | net-vpn/tinc/metadata.xml | 24 | ||||
| -rw-r--r-- | net-vpn/tinc/tinc-1.0.36.ebuild | 43 | ||||
| -rw-r--r-- | net-vpn/tinc/tinc-1.0.37.ebuild | 42 | ||||
| -rw-r--r-- | net-vpn/tinc/tinc-1.1_pre18.ebuild | 76 |
12 files changed, 0 insertions, 452 deletions
diff --git a/net-vpn/tinc/Manifest b/net-vpn/tinc/Manifest deleted file mode 100644 index d810e6689171..000000000000 --- a/net-vpn/tinc/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST tinc-1.0.36.tar.gz 500320 BLAKE2B 6f799ab04f9553fa389baf9d60121540b1fc7d5b5c2b62b2ebe0bf7478f5f69e8638a9c1b15f8ab84268d813ac1b1978c73b12a478b682cd808747fd2eed951c SHA512 23af9162f7ae700bad01e1f59f23f32d1b183b185ec35f4a69a987c52c53cfebfa9e852203b399f035988078e9131e5d59b018554a52a30044f34df6e64b5289 -DIST tinc-1.0.37.tar.gz 514854 BLAKE2B f5ff48799aa18de24fd96ed31489017d500d4ffb3d8fa006bdce38bfeea1cfcd915ef829437b899bc931071384c5fdf8739b71f9dfdd4c2ecdfb60f20e44eefb SHA512 916706d32278a4659f1d7da8c58bc5764c1ab5d8f31214dad51e45aae6cf765436f2e9ad55647980b5ba7726d6cfaa1fcf25fbeaffdd95436e77ec3153278237 -DIST tinc-1.1pre18.tar.gz 732111 BLAKE2B b236a8a0b7f8b755d71f2e2564af6bd13f5d87aec512b7db388ac1e23110cfdac80d8b642644a4b35fa81d37765e9ced65cc535d48e34b79190c2eddb107a9e2 SHA512 d8b03c78fd579df58d4c8a03f5d2241d2c95edb660ce9aa34441f6e75df09e3fff7524215c7c4b3622311e80f5bb452a6ac1205f3fd13424d56135f70b973183 diff --git a/net-vpn/tinc/files/tinc-1.1-tinfo.patch b/net-vpn/tinc/files/tinc-1.1-tinfo.patch deleted file mode 100644 index 5a9ec01473df..000000000000 --- a/net-vpn/tinc/files/tinc-1.1-tinfo.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/m4/curses.m4 -+++ b/m4/curses.m4 -@@ -39,6 +39,7 @@ - )] - ) - ]) -+ AC_SEARCH_LIBS(stdscr, tinfo) - - AC_SUBST(CURSES_LIBS) - ]) diff --git a/net-vpn/tinc/files/tinc-1.1_pre16-r1-fix-paths.patch b/net-vpn/tinc/files/tinc-1.1_pre16-r1-fix-paths.patch deleted file mode 100644 index 30cafee87878..000000000000 --- a/net-vpn/tinc/files/tinc-1.1_pre16-r1-fix-paths.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naur tinc-1.1pre16.orig/src/names.c tinc-1.1pre16/src/names.c ---- tinc-1.1pre16.ori/src/names.c 2018-04-02 10:41:12.000000000 -0400 -+++ tinc-1.1pre16/src/names.c 2018-07-06 15:11:35.970680875 -0400 -@@ -103,47 +103,13 @@ - } - - #else -- bool fallback = false; -- -- if(daemon) { -- if(access(LOCALSTATEDIR, R_OK | W_OK | X_OK)) { -- fallback = true; -- } -- } else { -- char fname[PATH_MAX]; -- snprintf(fname, sizeof(fname), LOCALSTATEDIR SLASH "run" SLASH "%s.pid", identname); -- -- if(access(fname, R_OK)) { -- snprintf(fname, sizeof(fname), "%s" SLASH "pid", confbase); -- -- if(!access(fname, R_OK)) { -- fallback = true; -- } -- } -+ if(!logfilename) { -+ xasprintf(&logfilename, "/var/log" SLASH "%s.log", identname); - } - -- if(!fallback) { -- if(!logfilename) { -- xasprintf(&logfilename, LOCALSTATEDIR SLASH "log" SLASH "%s.log", identname); -- } -- -- if(!pidfilename) { -- xasprintf(&pidfilename, LOCALSTATEDIR SLASH "run" SLASH "%s.pid", identname); -- } -- } else { -- if(!logfilename) { -- xasprintf(&logfilename, "%s" SLASH "log", confbase); -- } -- -- if(!pidfilename) { -- if(daemon) { -- logger(DEBUG_ALWAYS, LOG_WARNING, "Could not access " LOCALSTATEDIR SLASH " (%s), storing pid and socket files in %s" SLASH, strerror(errno), confbase); -- } -- -- xasprintf(&pidfilename, "%s" SLASH "pid", confbase); -- } -+ if(!pidfilename) { -+ xasprintf(&pidfilename, "/run" SLASH "%s.pid", identname); - } -- - #endif - - if(!unixsocketname) { diff --git a/net-vpn/tinc/files/tinc.networks b/net-vpn/tinc/files/tinc.networks deleted file mode 100644 index e1844ce2ba24..000000000000 --- a/net-vpn/tinc/files/tinc.networks +++ /dev/null @@ -1,13 +0,0 @@ -# file: /etc/conf.d/tinc.networks for /etc/init.d/tincd - -# In this file you define the tinc networks you want to connect to - -# USAGE: -# you add a network to the init script by defining: -# NETWORK: your_network_name -# -# if you want to connect to multiple VPN's just set them behind each other. e.g. -# NETWORK: foo -# NETWORK: bar -# -# this would join the network foo and the network bar. diff --git a/net-vpn/tinc/files/tincd-r1 b/net-vpn/tinc/files/tincd-r1 deleted file mode 100644 index ecfb24a6a64f..000000000000 --- a/net-vpn/tinc/files/tincd-r1 +++ /dev/null @@ -1,78 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" - -NETS="/etc/conf.d/tinc.networks" -DAEMON="/usr/sbin/tincd" - -depend() { - use logger dns - need net -} - -checkconfig() { - if [ "${RC_SVCNAME}" = "tincd" ] ; then - ALL_NETNAME="$(awk '/^ *NETWORK:/ { print $2 }' "${NETS}")" - else - ALL_NETNAME="${RC_SVCNAME#*.}" - fi - # warn this if still not found - if [ -z "${ALL_NETNAME}" ] ; then - eerror "No VPN networks configured in ${NETS}" - return 1 - fi - return 0 -} - -start() { - ebegin "Starting tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - CONFIG="/etc/tinc/${NETNAME}/tinc.conf" - PIDFILE="/var/run/tinc.${NETNAME}.pid" - if [ ! -f "${CONFIG}" ]; then - eerror "Cannot start network ${NETNAME}." - eerror "Please set up ${CONFIG} !" - else - ebegin "Starting tinc network ${NETNAME}" - if [ "${SYSLOG}" = "yes" ]; then - LOG="" - else - LOG="--logfile=/var/log/tinc.${NETNAME}.log" - fi - start-stop-daemon --start --exec "${DAEMON}" --pidfile "${PIDFILE}" -- --net="${NETNAME}" ${LOG} --pidfile "${PIDFILE}" --debug="${DEBUG_LEVEL}" ${EXTRA_OPTS} - eend $? - fi - done -} - -stop() { - ebegin "Stopping tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - PIDFILE="/var/run/tinc.${NETNAME}.pid" - if [ -f "${PIDFILE}" ]; then - ebegin "Stopping tinc network ${NETNAME}" - start-stop-daemon --stop --pidfile "${PIDFILE}" - eend $? - fi - done -} - -reload() { - ebegin "Reloading configuration for tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - PIDFILE="/var/run/tinc.${NETNAME}.pid" - if [ -f "${PIDFILE}" ]; then - ebegin "Reloading tinc network ${NETNAME}" - start-stop-daemon --signal HUP --pidfile ${PIDFILE} - eend $? - fi - done -} diff --git a/net-vpn/tinc/files/tincd-r2 b/net-vpn/tinc/files/tincd-r2 deleted file mode 100644 index 55728bec2c78..000000000000 --- a/net-vpn/tinc/files/tincd-r2 +++ /dev/null @@ -1,78 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" - -NETS="/etc/conf.d/tinc.networks" -DAEMON="/usr/sbin/tincd" - -depend() { - use logger dns - need net -} - -checkconfig() { - if [ "${RC_SVCNAME}" = "tincd" ] ; then - ALL_NETNAME="$(awk '/^ *NETWORK:/ { print $2 }' "${NETS}")" - else - ALL_NETNAME="${RC_SVCNAME#*.}" - fi - # warn this if still not found - if [ -z "${ALL_NETNAME}" ] ; then - eerror "No VPN networks configured in ${NETS}" - return 1 - fi - return 0 -} - -start() { - ebegin "Starting tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - CONFIG="/etc/tinc/${NETNAME}/tinc.conf" - PIDFILE="/run/tinc.${NETNAME}.pid" - if [ ! -f "${CONFIG}" ]; then - eerror "Cannot start network ${NETNAME}." - eerror "Please set up ${CONFIG} !" - else - ebegin "Starting tinc network ${NETNAME}" - if [ "${SYSLOG}" = "yes" ]; then - LOG="" - else - LOG="--logfile=/var/log/tinc.${NETNAME}.log" - fi - start-stop-daemon --start --exec "${DAEMON}" --pidfile "${PIDFILE}" -- --net="${NETNAME}" ${LOG} --pidfile "${PIDFILE}" --debug="${DEBUG_LEVEL}" ${EXTRA_OPTS} - eend $? - fi - done -} - -stop() { - ebegin "Stopping tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - PIDFILE="/run/tinc.${NETNAME}.pid" - if [ -f "${PIDFILE}" ]; then - ebegin "Stopping tinc network ${NETNAME}" - start-stop-daemon --stop --pidfile "${PIDFILE}" - eend $? - fi - done -} - -reload() { - ebegin "Reloading configuration for tinc VPN networks" - checkconfig || return 1 - for NETNAME in ${ALL_NETNAME} - do - PIDFILE="/run/tinc.${NETNAME}.pid" - if [ -f "${PIDFILE}" ]; then - ebegin "Reloading tinc network ${NETNAME}" - start-stop-daemon --signal HUP --pidfile ${PIDFILE} - eend $? - fi - done -} diff --git a/net-vpn/tinc/files/tincd.conf b/net-vpn/tinc/files/tincd.conf deleted file mode 100644 index cedca60c42ad..000000000000 --- a/net-vpn/tinc/files/tincd.conf +++ /dev/null @@ -1,20 +0,0 @@ -#rc_need="net.net" - -#If you want tincd to log to syslog, then set this to "yes" -#Anything else and tincd will log to /var/log/tinc.NETNAME.log. -SYSLOG="yes" - -#Set debug level, useful for error probe -# 0 Quiet mode, only show starting/stopping of the daemon -# 1 Show (dis)connects of other tinc daemons via TCP -# 2 Show error messages received from other hosts -# 2 Show status messages received from other hosts -# 3 Show the requests that are sent/received -# 4 Show contents of every request that is sent/received -# 5 Show network traffic information -# 6 Show contents of each packet that is being sent/received -# 10 You have been warned -DEBUG_LEVEL="0" - -#Extra Options, if you want addtional customization -EXTRA_OPTS="" diff --git a/net-vpn/tinc/files/tincd_at.service b/net-vpn/tinc/files/tincd_at.service deleted file mode 100644 index 71f358a39d95..000000000000 --- a/net-vpn/tinc/files/tincd_at.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Tinc daemon for network %i -After=network.target - -[Service] -ExecStart=/usr/sbin/tincd -D --pidfile /run/tinc.%i.pid -n %i -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/net-vpn/tinc/metadata.xml b/net-vpn/tinc/metadata.xml deleted file mode 100644 index 22e90999c2e6..000000000000 --- a/net-vpn/tinc/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="person"> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <maintainer type="person"> - <email>dlan@gentoo.org</email> - <name>Yixun Lan</name> - </maintainer> - <upstream> - <remote-id type="cpe">cpe:/a:tinc-vpn:tinc</remote-id> - </upstream> - <use> - <flag name="uml"> Enable support for User Mode Linux Sockets</flag> - <flag name="vde"> Enable Virtual Distributed Ethernet (VDE) based networking</flag> - </use> - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/tinc/tinc-1.0.36.ebuild b/net-vpn/tinc/tinc-1.0.36.ebuild deleted file mode 100644 index 6a586821f7cd..000000000000 --- a/net-vpn/tinc/tinc-1.0.36.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit systemd - -DESCRIPTION="tinc is an easy to configure VPN implementation" -HOMEPAGE="http://www.tinc-vpn.org/" - -SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE=" +lzo uml vde +zlib" - -DEPEND=" - dev-libs/openssl:0= - - lzo? ( dev-libs/lzo:2 ) - zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND} - vde? ( net-misc/vde )" - -src_configure() { - econf \ - --enable-jumbograms \ - --disable-tunemu \ - $(use_enable lzo) \ - $(use_enable uml) \ - $(use_enable vde) \ - $(use_enable zlib) -} - -src_install() { - emake DESTDIR="${D}" install - dodir /etc/tinc - dodoc AUTHORS NEWS README THANKS - doconfd "${FILESDIR}"/tinc.networks - newconfd "${FILESDIR}"/tincd.conf tincd - newinitd "${FILESDIR}"/tincd-r1 tincd - systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service" -} diff --git a/net-vpn/tinc/tinc-1.0.37.ebuild b/net-vpn/tinc/tinc-1.0.37.ebuild deleted file mode 100644 index eee3226a2415..000000000000 --- a/net-vpn/tinc/tinc-1.0.37.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 -inherit systemd - -DESCRIPTION="tinc is an easy to configure VPN implementation" -HOMEPAGE="http://www.tinc-vpn.org/" - -SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE=" +lzo uml vde +zlib" - -DEPEND=" - dev-libs/openssl:0= - - lzo? ( dev-libs/lzo:2 ) - zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND} - vde? ( net-misc/vde )" - -src_configure() { - econf \ - --enable-jumbograms \ - --disable-tunemu \ - $(use_enable lzo) \ - $(use_enable uml) \ - $(use_enable vde) \ - $(use_enable zlib) -} - -src_install() { - emake DESTDIR="${D}" install - dodir /etc/tinc - dodoc AUTHORS NEWS README THANKS - doconfd "${FILESDIR}"/tinc.networks - newconfd "${FILESDIR}"/tincd.conf tincd - newinitd "${FILESDIR}"/tincd-r1 tincd - systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service" -} diff --git a/net-vpn/tinc/tinc-1.1_pre18.ebuild b/net-vpn/tinc/tinc-1.1_pre18.ebuild deleted file mode 100644 index 891d2f9b36ed..000000000000 --- a/net-vpn/tinc/tinc-1.1_pre18.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -MY_PV=${PV/_/} -MY_P=${PN}-${MY_PV} - -inherit autotools systemd - -DESCRIPTION="tinc is an easy to configure VPN implementation" -HOMEPAGE="http://www.tinc-vpn.org/" -SRC_URI="http://www.tinc-vpn.org/packages/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="+lzo +ncurses +readline +ssl uml vde upnp +zlib" - -DEPEND=" - ssl? ( - dev-libs/openssl:0= - - ) - lzo? ( dev-libs/lzo:2 ) - ncurses? ( sys-libs/ncurses:= ) - readline? ( sys-libs/readline:= ) - upnp? ( net-libs/miniupnpc ) - zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND} - vde? ( net-misc/vde )" -S="${WORKDIR}/${MY_P}" - -PATCHES+=( - "${FILESDIR}"/tinc-1.1_pre16-r1-fix-paths.patch #560528 - "${FILESDIR}"/${PN}-1.1-tinfo.patch #621868 -) - -src_prepare() { - default - eautoreconf - - # Fix the static (failing UNKNOWN) version in the autoconf - # NOTE: When updating the ebuild, make sure to check that this - # line number hasn't changed in the upstream sources. - sed -i "6d" configure.ac - sed -i "6iAC_INIT([tinc], ${PVR})" configure.ac -} - -src_configure() { - econf \ - --enable-jumbograms \ - --enable-legacy-protocol \ - --disable-tunemu \ - --with-systemd="$(systemd_get_systemunitdir)" \ - $(use_enable lzo) \ - $(use_enable ncurses curses) \ - $(use_enable readline) \ - $(use_enable uml) \ - $(use_enable vde) \ - $(use_enable zlib) \ - $(use_enable upnp miniupnpc) \ - $(use_with ssl openssl) -} - -src_install() { - emake DESTDIR="${D}" install - dodir /etc/tinc - dodoc AUTHORS NEWS README THANKS - doconfd "${FILESDIR}"/tinc.networks - newconfd "${FILESDIR}"/tincd.conf tincd - newinitd "${FILESDIR}"/tincd-r2 tincd -} - -pkg_postinst() { - elog "This package requires the tun/tap kernel device." - elog "Look at http://www.tinc-vpn.org/ for how to configure tinc" -} |
