diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-23 14:56:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-23 14:56:14 +0100 |
commit | b818f6a820dceae80d6e3faac5fdf7be0c6fcbe2 (patch) | |
tree | ecc35732c51ff9d610d4a9e0cc77e940ef5ac9da /net-misc/pingu | |
parent | 2bae4d8bcdc3862f8d7cf1963acc0a9036762d2d (diff) |
gentoo auto-resync : 23:08:2024 - 14:56:14
Diffstat (limited to 'net-misc/pingu')
-rw-r--r-- | net-misc/pingu/Manifest | 2 | ||||
-rw-r--r-- | net-misc/pingu/pingu-1.5.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/pingu/Manifest b/net-misc/pingu/Manifest index 430f57943c17..ca9b979225fe 100644 --- a/net-misc/pingu/Manifest +++ b/net-misc/pingu/Manifest @@ -3,6 +3,8 @@ AUX pingu.confd 107 BLAKE2B e0718a9bd9d364e90bb32dfc6140786a9e798946c13527d8b0f7 AUX pingu.initd 292 BLAKE2B 5237192fe86acb4c10b0f4b34ff3609b8efbc7da90a028e1d6e9f8b77c080899e1a9d0faaed0a94308b87e08306882b63d23abb53c441889a492c3f36d156b2e SHA512 53062de7bd025b2d02649222a6811fad8e01758cf29491180370e11d4c3dcc5e78f50cdf0980196c682d34ef305e726a446db68afaadb1d6dc20751c40fffe2e AUX pingu.service 171 BLAKE2B 62a47288ec37613de21022ccbfae46a549dfda21699788c32da170ac674e2321a17968484b982e4e3fa386bca5fcc2ee1f3169ebc50f466bbd2cbcf183e79d21 SHA512 114b3a0c50ef9d737509fe3ea9386bdc4a138d7851d3f81ed13c886dd1be5e9593d513e3bfa0b4ff30b478780caf6c709038ab98a63d143a559ffde480fe62ef AUX pingu.tmpfile 28 BLAKE2B 210f520d7b30a5c33747f481674dfa588c690589ca5cc03d5a450505f47b83231ecedf9f40afb0a67634206e3eda305a03335d93b1eb19b879c9fe5d06ac222d SHA512 e7e396baf936f5a04c5cdbe2e56058aa4b1a3a85bcf60137ce673da4662b8d02227e773da243f9ae2606fb7112eec2cd226de57524a3aec55e84331d1891e6cf +DIST pingu-1.5.1.tar.gz 31574 BLAKE2B afc11958aace1a1f87dbd9051f40354f4f0bd77f599d17a4772de8ba2f7d8d7fec0e203c87f354517bf0e29d5238265459a97d950a157316b530a577a989f472 SHA512 1ec50ad5a1cb7318dc6ffb8ab8454f85dda9d31ea13503eaf001109b7255b6e93e165769e9b3c7fd95f2449f079e107f81a974b148b6f00f50f13ee8124d92fb DIST pingu-1.5.tar.gz 31565 BLAKE2B 13d1fa075f32d5a32cece55c5292cda08f72e711a8567cc8b25ce0e2bb0325395f1346e9feb96eb266c93d10d04609d87562192f7b7d0c22730fd4a8561c6c1a SHA512 71e5fbe93f831f24d168957cdeaff2817a22f407575316d6515755bec760d10724821070549eaab562924237b96976a1a776ca903d5fe0cd9f9b69a38eadd8c9 EBUILD pingu-1.5-r1.ebuild 1333 BLAKE2B 32b88245f2415bd9655723ab003deac2e192abc46be9937759b95d5582bc1ea839dfa80d4b463f7a0f7ea2c44004bc93afabd9682965b8159b49eabab0823fd8 SHA512 6b84be5db95dbf37026efd601d61d4a64868928a5025160defc4326b211e07ef990262542ec988ac1a438ac3ec0d33572a233f46bf2f99addaf9a68c27a41892 +EBUILD pingu-1.5.1.ebuild 1224 BLAKE2B 73df7fb6787fb2584dc2692a5d8c89f23725344dc340cc5b391fb769ac6ecc80eaee28f2a67c4024cfeb08403df03a020d0b8506d744a49be87dec6086e96f05 SHA512 d17d3a347651fa24150db4470de766519693964927f0bbe595d6b37df8fa53317e5fd1eab3f23a6b9078f2301941de8b2501efe9ffd845d7a0652c1ed288436a MISC metadata.xml 483 BLAKE2B 4f5e38be74f0da1737b9da2fc57420d92ed764e155b45135eb4aaea4fe7e622fd81db915a073f74a65112da5f6c2057f0ead144f37cbaa2d587e085f19a12003 SHA512 b01d68db56591bb377bdeb33973fe1c7140af93e23a6506a6acc442fff66551dfcc285026a029adc1b551c974782310ea5cb987ddf2c43672488e5dd8f6fa96f diff --git a/net-misc/pingu/pingu-1.5.1.ebuild b/net-misc/pingu/pingu-1.5.1.ebuild new file mode 100644 index 000000000000..73a282c4fac8 --- /dev/null +++ b/net-misc/pingu/pingu-1.5.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo systemd tmpfiles toolchain-funcs + +DESCRIPTION="Policy routing daemon with failover and load-balancing" +HOMEPAGE="https://github.com/ncopa/pingu" +SRC_URI="https://github.com/ncopa/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc" + +RDEPEND="dev-libs/libev" +DEPEND="${RDEPEND} + sys-kernel/linux-headers" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc )" + +# Fix QA with install into path /run/pingu must be created at runtime +PATCHES=( "${FILESDIR}"/"${PN}"-1.5-makefile.patch ) + +QA_CONFIG_IMPL_DECL_SKIP=( 'strlcpy' ) + +src_configure() { + local myconf=( + --prefix=/usr + "$(use_enable debug)" + "$(use_enable doc)" + ) + edo ./configure "${myconf[@]}" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + default + + newtmpfiles "${FILESDIR}"/pingu.tmpfile pingu.conf + newinitd "${FILESDIR}"/pingu.initd pingu + newconfd "${FILESDIR}"/pingu.confd pingu + systemd_dounit "${FILESDIR}"/pingu.service + keepdir /var/lib/pingu + insinto /etc/pingu + newins pingu.conf pingu.conf.example +} + +pkg_postinst() { + tmpfiles_process pingu.conf +} |