diff options
-rw-r--r-- | acct-group/miredo/metadata.xml | 8 | ||||
-rw-r--r-- | acct-group/miredo/miredo-0.ebuild | 8 | ||||
-rw-r--r-- | acct-user/miredo/metadata.xml | 8 | ||||
-rw-r--r-- | acct-user/miredo/miredo-0.ebuild | 13 | ||||
-rw-r--r-- | net-vpn/miredo/Manifest | 1 | ||||
-rw-r--r-- | net-vpn/miredo/metadata.xml | 11 | ||||
-rw-r--r-- | net-vpn/miredo/miredo-1.3.2.ebuild | 48 |
7 files changed, 97 insertions, 0 deletions
diff --git a/acct-group/miredo/metadata.xml b/acct-group/miredo/metadata.xml new file mode 100644 index 00000000..de37e444 --- /dev/null +++ b/acct-group/miredo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bertrand@jacquin.bzh</email> + <name>Bertrand Jacquin</name> + </maintainer> +</pkgmetadata> diff --git a/acct-group/miredo/miredo-0.ebuild b/acct-group/miredo/miredo-0.ebuild new file mode 100644 index 00000000..f730cec6 --- /dev/null +++ b/acct-group/miredo/miredo-0.ebuild @@ -0,0 +1,8 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-group + +ACCT_GROUP_ID=-1 diff --git a/acct-user/miredo/metadata.xml b/acct-user/miredo/metadata.xml new file mode 100644 index 00000000..de37e444 --- /dev/null +++ b/acct-user/miredo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bertrand@jacquin.bzh</email> + <name>Bertrand Jacquin</name> + </maintainer> +</pkgmetadata> diff --git a/acct-user/miredo/miredo-0.ebuild b/acct-user/miredo/miredo-0.ebuild new file mode 100644 index 00000000..4ce93023 --- /dev/null +++ b/acct-user/miredo/miredo-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="User for miredo" +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( miredo ) +ACCT_USER_HOME=/var/lib/miredo + +acct-user_add_deps diff --git a/net-vpn/miredo/Manifest b/net-vpn/miredo/Manifest new file mode 100644 index 00000000..2a191a71 --- /dev/null +++ b/net-vpn/miredo/Manifest @@ -0,0 +1 @@ +DIST miredo-1.3.2.tar.bz2 140492 BLAKE2B 1b5ae24c6c4c7b765fa688ca01266ca1cc2c871a287a7ff5fec99322625586189a7117a8fc38ad3dbcdfd37ffa999b862983a5451711b7b582b58299ddfe1c4d SHA512 6704de7a3bca028a94c9afa5fcf632627eb539fd4f7c388ef378241c425672521b941895849e3531f2482dfd03717ae8aaeed8feca610ff61c11137f8964ab0f diff --git a/net-vpn/miredo/metadata.xml b/net-vpn/miredo/metadata.xml new file mode 100644 index 00000000..21f16dba --- /dev/null +++ b/net-vpn/miredo/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bertrand@jacquin.bzh</email> + <name>Bertrand Jacquin</name> + </maintainer> + <upstream> + <remote-id type="gitlab">rindeal-ns/abandonware/miredo</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-vpn/miredo/miredo-1.3.2.ebuild b/net-vpn/miredo/miredo-1.3.2.ebuild new file mode 100644 index 00000000..70c28351 --- /dev/null +++ b/net-vpn/miredo/miredo-1.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools + +DESCRIPTION="Teredo IPv6 tunneling software" +HOMEPAGE="https://www.remlab.net/miredo" +SRC_URI="https://gitlab.com/rindeal-ns/abandonware/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+caps nls" + +DEPEND="sys-apps/iproute2 + sys-devel/gettext + caps? ( sys-libs/libcap )" +RDEPEND="${DEPEND} + acct-user/miredo" +BDEPEND="" + +src_prepare () { + eautoreconf + + # mimic autogen.sh + cp "/usr/share/gettext/gettext.h" "${S}/include/gettext.h" || die + + default +} + +src_configure () { + econf \ + $(use_enable nls) \ + $(use_with caps libcap) \ + --enable-miredo-user \ + --localstatedir=/ +} + +src_install () { + default + + rm -rf "${ED}/run" || die + find "${ED}" -type f -name '*.la' -delete || die + + insinto /etc/miredo + doins misc/miredo-server.conf +} |