diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-11 04:04:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-11 04:04:15 +0100 |
commit | 61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (patch) | |
tree | fd4966f3b19ef9b18ed5024d7e2f48ef73eb2fee /net-misc/ubridge | |
parent | 3aae425b3c39d02e2dc917db0fae8c225c158ca1 (diff) |
gentoo auto-resync : 11:10:2024 - 04:04:14
Diffstat (limited to 'net-misc/ubridge')
-rw-r--r-- | net-misc/ubridge/Manifest | 4 | ||||
-rw-r--r-- | net-misc/ubridge/metadata.xml | 3 | ||||
-rw-r--r-- | net-misc/ubridge/ubridge-0.9.19.ebuild | 47 |
3 files changed, 53 insertions, 1 deletions
diff --git a/net-misc/ubridge/Manifest b/net-misc/ubridge/Manifest index cc8897ffa404..d8cc8aeeee97 100644 --- a/net-misc/ubridge/Manifest +++ b/net-misc/ubridge/Manifest @@ -1,4 +1,6 @@ AUX ubridge-0.9.16_add_slotted_iniparser-4.1+_support.patch 1008 BLAKE2B d518f3d2b5fc5fd9c6c15c39f755d05b04738dc8cd443b55019ba14d858a9796d2e73190a4956f1f13896d30e2cf49f203755c37d3ccfeb73b484da3421a37f1 SHA512 d9afe86a35ff50d9455bac90c0a0fbe830816c043c4580bff10e1a556ef3b0de92a697188b3efcf5f87ce8672015320b5795f393a6916e2d96619c465344c80b DIST ubridge-0.9.18.tar.gz 64340 BLAKE2B 7ac540ccf180adc8bf0bb0d440d6a0335626181ba680f7f94cea43d6b6b70745cd64f8ee8048aa1621b7407fea83cf03039147ffe38236e70970c014771ab09b SHA512 f2c9e9d0242f61363a3f4ce6f1acf4013245ff0854a7f64c96d6b8737bd3cc505a38aaf43a0928e2a5a88bcd39f786e00fab68748ad56770d18d713005750c60 +DIST ubridge-0.9.19.tar.gz 66911 BLAKE2B c9de0485b84fa7cb78edb6651f0022c6e3f3d6e62aa2e1c56927c62d540ae1efaee25225bc7eb843ad688b7bd0aa39eb8a2ff1015a5c01f2d23d5a798b21ff14 SHA512 b693a64569ba17fcb40f8a7894fcc205efba17fc3103150bb6f1d7a8a165505c88251e75f56d003f4c4337e97bffa57b5948156e42d01a2938b8d969a088ff32 EBUILD ubridge-0.9.18.ebuild 1089 BLAKE2B 26e9f3dde16372a76c98da998844c51dc1adb387c8fad068ac412e1ae37285f438f6b6b1e336bf46857bcb5fcd3c8e97bf0d3dfe4aa7fdb93f461c80f9af1e2f SHA512 d86fba30cb6d18dbc74b2da231c2c89df2b72d5614c3b11554d0d2f47db336a4e8d3cbf5223949df55f123b0392d3388935646149a76ff6beaa286e2c3a82dc3 -MISC metadata.xml 781 BLAKE2B 07e540f5a2ebe527c84fa6712abf48597c3abe71d090d884fbcf15252ba54bf7bfaf5c4ad09b43b12fd113e0c3c6e1748b9df476615d15987e6089229a62a3f8 SHA512 c7ec2d9eca9f8228a08d7b4b1163f1c7fa49551241f50adf9b93579fb8a76549837f3daa08332c365145f83a0588394b0a9924e4afb63e8744a6cf821e8772b4 +EBUILD ubridge-0.9.19.ebuild 1088 BLAKE2B 1d245e3e42f59ec29020ca56f0fbf62fdfba85ea76d8b631de0975e8575a0c73a2d3c927e9eba8118e5dcc31c6e7bee22775b34cc2ec4052ba8ff07477b23989 SHA512 b5c830250f102b0fb544fc3c2c83bb3b6748bf99cde68786007eb7a92aec2b6b641001781e347d8f243fe3c830a2895c1f3c3a252541cdc49c14885a7f93c5e5 +MISC metadata.xml 858 BLAKE2B 056ac3891d4a7fa23fb5d09f99ef110b7982b484246c8f46003e385cae8499b02f564529648f401534d6203c371a6de610e7c63ce56584b2fae8a8143e34d482 SHA512 0fbac34d05b9667b62826f6cf8eaa43ed1e82fa67c09b434cd0c437e42671f846c21296153f8cf983c52aa6ed8f745d8c5e9af9eb8922979f5fe38b5d590c329 diff --git a/net-misc/ubridge/metadata.xml b/net-misc/ubridge/metadata.xml index 33b4a43d14ef..b88e389fc010 100644 --- a/net-misc/ubridge/metadata.xml +++ b/net-misc/ubridge/metadata.xml @@ -18,4 +18,7 @@ various technologies. Currently bridging between UDP tunnels, Ethernet and TAP interfaces is supported. Packet capture is also supported. </longdescription> + <upstream> + <remote-id type="github">GNS3/ubridge</remote-id> + </upstream> </pkgmetadata> diff --git a/net-misc/ubridge/ubridge-0.9.19.ebuild b/net-misc/ubridge/ubridge-0.9.19.ebuild new file mode 100644 index 000000000000..5c359bef8f37 --- /dev/null +++ b/net-misc/ubridge/ubridge-0.9.19.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps toolchain-funcs + +DESCRIPTION="Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces" +HOMEPAGE="https://github.com/GNS3/ubridge" +SRC_URI="https://github.com/GNS3/ubridge/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/ubridge + dev-libs/iniparser:4= + net-libs/libpcap" + +DEPEND="${RDEPEND}" + +# Bugs: https://bugs.gentoo.org/647588 +# https://github.com/GNS3/ubridge/issues/60 +PATCHES=( "${FILESDIR}/${PN}-0.9.16_add_slotted_iniparser-4.1+_support.patch" ) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + SYSTEM_INIPARSER=1 +} + +src_install() { + exeinto /usr/bin + exeopts -m 710 -g ubridge + doexe ubridge + + dodoc README.md +} + +pkg_postinst() { + fcaps -g ubridge -m 4710 -M 0710 cap_net_raw,cap_net_admin \ + "${EROOT}"/usr/bin/ubridge + + einfo "\nNOTE: To read packets from the network interfaces with ubridge as" + einfo "normal user you have to add trusted users to the \"ubridge\" group.\n" +} |