This commit is contained in:
Mario Fetka
2026-05-06 09:27:49 +02:00
parent 7e87386a55
commit 170ce3bbb5
7 changed files with 172 additions and 32 deletions

View File

@@ -4,4 +4,6 @@ AUX ipx.init 671 BLAKE2B 42ae4bc5f2f7eb0f23140bca6346dae0af303e53f79ad29ac1cbc1a
AUX ipx.service 376 BLAKE2B 75deb44c34bca9007524c4a68bf27e91b56b0282c940b93bf4eea0f7865dad2cc70123ba5202ac6ae5f5e0d1e724391a89419897815854f7b910c966a62e5206 SHA512 297cd4fbdbf19749a94f7f2dcd6645d60c4a2764d4334746c7a9417f3af799c44323961f0fe6bf7c2252b69288797058fe25c94e8f19f73e46bd0863c8633745
AUX network-start.sh 3821 BLAKE2B a76eaffcd33167d8f6a51acafa78ad529a514800f323b151765f7eafd11c94e512926082f7eebf9e035d6f1ce595720970fa652722e31c182f21d35bbb72a43e SHA512 e4cac07b1bb6d8b8db41234e80112b27578a3c5b68a5b030fd801e529b149268bf93698bbab683897240d80bc0779bfb7abccc0142eb7d79a710be29f388678b
AUX network-stop.sh 1017 BLAKE2B dcbe9df829a788a678fbb736474b563f95474bbd1afd68aa22ac806cff66a888d2e38522e473b92c1d2801a5ef1e96843c5f3b358a288e563830c1c6f8e4b0ce SHA512 0019c4f28ab3043fa07feb745e7a76e52cf4b9736210222e8f15976753d490699d4eace834f2dd376dbc8903d95b69402180c0bae6f8373dae1cddd60129cdaa
EBUILD ipx-utils-9999.ebuild 1362 BLAKE2B 646b93d1b9256669277964597c779147a2944707c14ac00f4cfd595c8edc78b3accda388ac01c2c4cbd94c62c85e6a4c4fdf93ca4cbc37d681e6e9c13f3c67f2 SHA512 1e54940494d156c793567fb5f008d7005810df3664b589ffb7e6c150b6f5285b41aeedfc44c7cfc8d2209eb996184710d5b93834ccbde9d3f53cd63badce8737
DIST ipx-utils-1.3.tar.xz 166824 BLAKE2B a848f1ec6298f2964033c5df1b78f0df3e9e2e521f61112bf107efea6a466e6ea9a2e8b0404df999817d7bf672de9d49f062987e10a4048a120656c13ffda442 SHA512 d7973559bdee69a8fba6d5af2f33bff212f5d0db94cb4f7b6a70b237465d1973d7d614382726f026ca343febc471a4ab5c2d301544556880d8bb19abac22ee6f
EBUILD ipx-utils-1.3.ebuild 1584 BLAKE2B 656aa0771c3ed6bee9885fc5984a85e3b566b06276d977682a8f8ebfcfd13347e68c8e3dd0dee6921b832524dbb9fec4ff6d2c93fa59398e318308463e22f616 SHA512 49808e1649083199085f8ae00b83efbeb2ff73d68f3c78d7d1931666cd177412baa72e003d663fc2e9cd955c1d6ac5a34f78f024bf9618a5adba4bdea8caf68a
EBUILD ipx-utils-9999.ebuild 1584 BLAKE2B 656aa0771c3ed6bee9885fc5984a85e3b566b06276d977682a8f8ebfcfd13347e68c8e3dd0dee6921b832524dbb9fec4ff6d2c93fa59398e318308463e22f616 SHA512 49808e1649083199085f8ae00b83efbeb2ff73d68f3c78d7d1931666cd177412baa72e003d663fc2e9cd955c1d6ac5a34f78f024bf9618a5adba4bdea8caf68a

View File

@@ -0,0 +1 @@
ipx-utils-9999.ebuild

View File

@@ -3,60 +3,67 @@
EAPI=8
EGIT_REPO_URI="https://github.com/pasis/ipx-utils.git"
inherit autotools systemd
inherit autotools git-r3 systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitea.disconnected-by-peer.at/mars_nwe/ipx-utils.git"
KEYWORDS="~amd64"
else
SRC_URI="https://gitea.disconnected-by-peer.at/mars_nwe/ipx-utils/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64"
fi
DESCRIPTION="IPX protocol utilities"
HOMEPAGE="https://github.com/pasis/ipx-utils"
HOMEPAGE="https://gitea.disconnected-by-peer.at/mars_nwe/ipx-utils"
LICENSE="ipx-utils GPL-2" # GPL-2 only for init script
SLOT="0"
KEYWORDS="~amd64"
DEPEND="virtual/libintl"
RDEPEND="
net-misc/ipx-modules
${DEPEND}
net-misc/ipx-modules
"
BDEPEND="
dev-build/autoconf
dev-build/automake
dev-build/libtool
sys-devel/gettext
"
DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
src_prepare() {
default
eapply "${FILESDIR}/ipx-utils-1.2-build-samples.patch"
eautoreconf
default
if [[ ${PV} == 9999 ]]; then
eautoreconf
fi
}
src_configure() {
econf --bindir="${EPREFIX}/sbin"
econf \
--sbindir="${EPREFIX}/usr/sbin" \
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
}
src_install() {
default
default
newconfd "${FILESDIR}/ipx.confd" ipx
newinitd "${FILESDIR}/ipx.init" ipx
exeinto /usr/libexec/ipx
newexe "${FILESDIR}/network-start.sh" network-start.sh
newexe "${FILESDIR}/network-stop.sh" network-stop.sh
systemd_dounit "${FILESDIR}/ipx.service"
# Upstream installs the systemd unit, /etc/conf.d/ipx, and the
# /usr/libexec/ipx wrapper scripts from release tarballs and live git.
# Keep installing the OpenRC init script from FILESDIR for Gentoo.
if [[ -f ${FILESDIR}/ipx.init ]]; then
newinitd "${FILESDIR}/ipx.init" ipx
fi
}
pkg_postinst() {
elog "IPX support was removed from the upstream Linux kernel in 4.18."
elog "For newer kernels, build the external IPX kernel module sources:"
elog " https://github.com/pasis/ipx"
elog
elog "OpenRC:"
elog " rc-update add ipx default"
elog
elog "systemd:"
elog " systemctl enable --now ipx.service"
elog "IPX support was removed from the upstream Linux kernel in 4.18."
elog "For newer kernels, build the external IPX kernel module sources:"
elog " https://github.com/pasis/ipx"
elog
elog "OpenRC:"
elog " rc-update add ipx default"
elog
elog "systemd:"
elog " systemctl enable --now ipx.service"
}