diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/bpftool/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/bpftool/bpftool-5.15.6.ebuild (renamed from dev-util/bpftool/bpftool-5.15.3.ebuild) | 0 | ||||
| -rw-r--r-- | dev-util/jenkins-bin/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.303.3.ebuild | 45 | ||||
| -rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.319.ebuild | 45 | ||||
| -rw-r--r-- | dev-util/strace/files/strace-5.12-detect-ipx-presence.patch | 141 | ||||
| -rw-r--r-- | dev-util/strace/strace-5.12-r1.ebuild | 1 | ||||
| -rw-r--r-- | dev-util/strace/strace-5.14-r1.ebuild | 1 | ||||
| -rw-r--r-- | dev-util/wayland-scanner/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/wayland-scanner/wayland-scanner-1.20.0.ebuild | 44 | ||||
| -rw-r--r-- | dev-util/wayland-scanner/wayland-scanner-9999.ebuild | 13 |
11 files changed, 199 insertions, 96 deletions
diff --git a/dev-util/bpftool/Manifest b/dev-util/bpftool/Manifest index bf58d97ab0c5..041fc47bb2b6 100644 --- a/dev-util/bpftool/Manifest +++ b/dev-util/bpftool/Manifest @@ -1,4 +1,4 @@ DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64 DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST patch-5.14.14.xz 528644 BLAKE2B 3917c340eb1cd814b7fd40420e32baa84c6a062a7c52ab75301cfce8e59acf055f3c9ff38f4ae1590837f245607e294277001f0a0b53ee44b0056b83f98bc68f SHA512 258fa67ee6e6d13b4e92d361898313b4e2f3d9d0be883e5c5a0c436e51cf8bcb3eb5acb46272bb5df2bbf8390b81152e8244b1d6faf7299314589b90c95eebba -DIST patch-5.15.3.xz 290732 BLAKE2B 62544d1c3187321db6b2dfc7f1d910ddbcfc2b9d2977087d0e1fba12dde33df2d74ea62ced1646243db68a8d386b22bc5c80a955c1e65e77084b06e224586d93 SHA512 cf8b69a3aa725e0ebbe767ac28b7b99de53ee2436a6883e54ee330d17bbdb4d88c147ef1082c3c02a20649ecdc1e363961d9b210e56018c92daff7b889ff2db5 +DIST patch-5.15.6.xz 430232 BLAKE2B ed3eb640ae8617ae726b9d98f3b17ab1602f733e228970826e4a34cb7e466b61ead5371f51e6bc1fc75bb9e468cfeca66c6bca21731f25b53decc52eb59ecb3e SHA512 926403406c82f4589bb872cb74ff21dc4729184a3dd5293ba0cc201c13a5c3917b231721be551a6f19fb1d93e443b8ebac557df2a9cc265967a693b4031cedb3 diff --git a/dev-util/bpftool/bpftool-5.15.3.ebuild b/dev-util/bpftool/bpftool-5.15.6.ebuild index 0fadd43da688..0fadd43da688 100644 --- a/dev-util/bpftool/bpftool-5.15.3.ebuild +++ b/dev-util/bpftool/bpftool-5.15.6.ebuild diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 14da558d1ed7..5e48176cb3d4 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -1,4 +1,2 @@ -DIST jenkins-bin-2.303.3.war 72338143 BLAKE2B 530f65a678a91b710ba9fdb380bc37083d8d76cf5ddcf7cba1744e5d4cb5243cc62d6898ca03dbb990a4fd92f302f129f0c9f95d2ab77f40f33083313d7b1281 SHA512 f1dfa22f88dc68ea06e554584c8ab2518640a3ba3ad8ff8bd6ff5e587a5bd506bf58d1a57ce27085019614dee797e8412f50856a57e68fcf416490c7f8402c16 DIST jenkins-bin-2.319.1.war 72247484 BLAKE2B 097ad49049b4594cdab00ed0a4a562e6e83177ce98284e822127adea10c33860217bf703cce5409f1239f3fbad166ed5f7f1df3f36438ec914ce4569e22898d7 SHA512 d38fe6566a1b07cef2c2451fe204656fde2a64da0e56eb06083c16ea23716ea285b77979cbee15e7dbf94a5b9b0bd5f867f6ce89e36b6f3d136571bd76f560c3 -DIST jenkins-bin-2.319.war 72239109 BLAKE2B e344dc6d9cc92dfad390c49ef9a4e3ad2e91c26870035a3763dabae51ddd48c33e8ec9d3c403ab4749c0628d61e0846f58969112a5c8cefac8b9522a109e401d SHA512 67954544699aac446ae172c1a9b08913821f21ceb1858a0e7e63e5105ef24354424f1ecbeee551d2b3c1cd02a1aa67f28c463f3bba3964ae3ee9efbbe528db82 DIST jenkins-bin-2.323.war 73557779 BLAKE2B 110336c140ded983e0b01b34ea15acb4a65d1eb6aae078b6ba1ec602d9fcc28c12bccbe90fa87cff3b31d6f835f133ea76f2b15dbe96d39b8c2dc241cd52af0c SHA512 08a72d4cb5558d3ad65845a615d5465cb24e24bdd294d2c52b36c4871a968bde72c0dd67814e7301873aa4a19b4dde14835115508678f5d8356ca262c332b819 diff --git a/dev-util/jenkins-bin/jenkins-bin-2.303.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.303.3.ebuild deleted file mode 100644 index ad97440c6bbb..000000000000 --- a/dev-util/jenkins-bin/jenkins-bin-2.303.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="Extensible continuous integration server" -HOMEPAGE="https://jenkins.io/" -LICENSE="MIT" -SRC_URI="http://mirrors.jenkins-ci.org/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war" -SLOT="lts" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" -IUSE="" - -DEPEND="acct-group/jenkins - acct-user/jenkins" - -RDEPEND="acct-group/jenkins - acct-user/jenkins - media-fonts/dejavu - media-libs/freetype - !dev-util/jenkins-bin:0 - || ( virtual/jre:1.8 virtual/jre:11 )" - -S="${WORKDIR}" - -src_install() { - local JENKINS_DIR=/var/lib/jenkins - - keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home - - insinto /opt/jenkins - newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war - - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}-r2.logrotate ${PN/-bin/} - - newinitd "${FILESDIR}"/${PN}-r2.init jenkins - newconfd "${FILESDIR}"/${PN}.confd jenkins - - systemd_newunit "${FILESDIR}"/${PN}-r2.service jenkins.service - - fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup -} diff --git a/dev-util/jenkins-bin/jenkins-bin-2.319.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.319.ebuild deleted file mode 100644 index efecbbe7a113..000000000000 --- a/dev-util/jenkins-bin/jenkins-bin-2.319.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="Extensible continuous integration server" -HOMEPAGE="https://jenkins.io/" -LICENSE="MIT" -SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" -IUSE="" - -DEPEND="acct-group/jenkins - acct-user/jenkins" - -RDEPEND="acct-group/jenkins - acct-user/jenkins - media-fonts/dejavu - media-libs/freetype - !dev-util/jenkins-bin:lts - || ( virtual/jre:1.8 virtual/jre:11 )" - -S="${WORKDIR}" - -src_install() { - local JENKINS_DIR=/var/lib/jenkins - - keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home - - insinto /opt/jenkins - newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war - - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}-r2.logrotate ${PN/-bin/} - - newinitd "${FILESDIR}"/${PN}-r2.init jenkins - newconfd "${FILESDIR}"/${PN}.confd jenkins - - systemd_newunit "${FILESDIR}"/${PN}-r2.service jenkins.service - - fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup -} diff --git a/dev-util/strace/files/strace-5.12-detect-ipx-presence.patch b/dev-util/strace/files/strace-5.12-detect-ipx-presence.patch new file mode 100644 index 000000000000..37bab4399329 --- /dev/null +++ b/dev-util/strace/files/strace-5.12-detect-ipx-presence.patch @@ -0,0 +1,141 @@ +From: Eugene Syromyatnikov <evgsyr@gmail.com> +Date: Wed, 3 Nov 2021 00:48:59 +0100 +Subject: [PATCH] Avoid relying on presence of ipx.h + +After Linux has broken UAPI in commit v5.15-rc1~157^2~207, it is well +possible that neither kernel nor libc (such as musl, for example) +provides an IPX-related header. Avoid relying on its presence +in the strace's code and conditionalise the relevant checks in the tests. + +* configure.ac (AC_CHECK_HEADERS): Add linux/ipx.h. +* src/net.c: Remove <netipx/ipx.h>/<linux/ipx.h> includes. +* src/sockaddr.c: Likewise. +(IPX_NODE_LEN): New macro constant. +(struct sockaddr_ipx): New type definition. +* src/xlat/sock_ipx_options.in (IPX_TYPE): Provide a fallback value. +* tests/net-sockaddr.c [!HAVE_LINUX_IPX_H]: Do not include +<linux/ipx.h>. +[!HAVE_LINUX_IPX_H && HAVE_NETIPX_IPX_H]: Include <netipx/ipx.h>. +[!(HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H)] (check_ipx): Do not +define. +(main) [!(HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H)]: Do not call +check_ipx. + +Closes: https://github.com/strace/strace/issues/201 +--- + +diff --git a/configure.ac b/configure.ac +index 2771c0f82..3c7fcb91e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -423,6 +423,7 @@ AC_CHECK_HEADERS(m4_normalize([ + elf.h + gcov.h + iconv.h ++ linux/ipx.h + mqueue.h + netinet/sctp.h + netipx/ipx.h +diff --git a/src/net.c b/src/net.c +index b23911a97..bbc52e15f 100644 +--- a/src/net.c ++++ b/src/net.c +@@ -28,11 +28,6 @@ + #include <arpa/inet.h> + #include <net/if.h> + #include <asm/types.h> +-#ifdef HAVE_NETIPX_IPX_H +-# include <netipx/ipx.h> +-#else +-# include <linux/ipx.h> +-#endif + + #include <linux/ip_vs.h> + #include "netlink.h" +diff --git a/src/sockaddr.c b/src/sockaddr.c +index 8b2b0afaf..e1dc09b71 100644 +--- a/src/sockaddr.c ++++ b/src/sockaddr.c +@@ -24,12 +24,6 @@ + #include <linux/if_ether.h> + #include <linux/x25.h> + +-#ifdef HAVE_NETIPX_IPX_H +-# include <netipx/ipx.h> +-#else +-# include <linux/ipx.h> +-#endif +- + #include "xlat/addrfams.h" + #include "xlat/arp_hardware_types.h" + #include "xlat/ethernet_protocols.h" +@@ -45,6 +39,16 @@ + const size_t arp_hardware_types_size = ARRAY_SIZE(arp_hardware_types) - 1; + const size_t ethernet_protocols_size = ARRAY_SIZE(ethernet_protocols) - 1; + ++#define IPX_NODE_LEN 6 ++struct sockaddr_ipx { ++ uint16_t sipx_family; ++ uint16_t sipx_port; ++ uint32_t sipx_network; ++ unsigned char sipx_node[IPX_NODE_LEN]; ++ uint8_t sipx_type; ++ unsigned char sipx_zero; ++}; ++ + static void + print_sockaddr_data_un(struct tcb *tcp, const void *const buf, const int addrlen) + { +diff --git a/src/xlat/sock_ipx_options.in b/src/xlat/sock_ipx_options.in +index eba97fd71..b09be117e 100644 +--- a/src/xlat/sock_ipx_options.in ++++ b/src/xlat/sock_ipx_options.in +@@ -1 +1 @@ +-IPX_TYPE ++IPX_TYPE 1 +diff --git a/tests/net-sockaddr.c b/tests/net-sockaddr.c +index f1f9b01cd..c8049fd68 100644 +--- a/tests/net-sockaddr.c ++++ b/tests/net-sockaddr.c +@@ -24,7 +24,11 @@ + #include <linux/if_ether.h> + #include <linux/if_packet.h> + #include <linux/x25.h> +-#include <linux/ipx.h> ++#if defined HAVE_LINUX_IPX_H ++# include <linux/ipx.h> ++#elif defined HAVE_NETIPX_IPX_H ++# include <netipx/ipx.h> ++#endif + #ifdef HAVE_BLUETOOTH_BLUETOOTH_H + # include <bluetooth/bluetooth.h> + # include <bluetooth/hci.h> +@@ -269,6 +273,7 @@ check_in6(void) + printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in6, len, ret); + } + ++#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H + static void + check_ipx(void) + { +@@ -295,6 +300,7 @@ check_ipx(void) + c_ipx.sipx_node[4], c_ipx.sipx_node[5], + c_ipx.sipx_type, len, ret); + } ++#endif /* HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H */ + + /* for a bit more compact AX.25 address definitions */ + #define AX25_ADDR(c_, s_) \ +@@ -773,7 +779,9 @@ main(void) + check_un(); + check_in(); + check_in6(); ++#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H + check_ipx(); ++#endif + check_ax25(); + check_x25(); + check_nl(); +-- +2.32.0 + diff --git a/dev-util/strace/strace-5.12-r1.ebuild b/dev-util/strace/strace-5.12-r1.ebuild index 98210d8944bf..d6e2d267ba84 100644 --- a/dev-util/strace/strace-5.12-r1.ebuild +++ b/dev-util/strace/strace-5.12-r1.ebuild @@ -43,6 +43,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-5.11-static.patch" + "${FILESDIR}/${PN}-5.12-detect-ipx-presence.patch" ) src_prepare() { diff --git a/dev-util/strace/strace-5.14-r1.ebuild b/dev-util/strace/strace-5.14-r1.ebuild index 98210d8944bf..d6e2d267ba84 100644 --- a/dev-util/strace/strace-5.14-r1.ebuild +++ b/dev-util/strace/strace-5.14-r1.ebuild @@ -43,6 +43,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-5.11-static.patch" + "${FILESDIR}/${PN}-5.12-detect-ipx-presence.patch" ) src_prepare() { diff --git a/dev-util/wayland-scanner/Manifest b/dev-util/wayland-scanner/Manifest index c5622c6bf62a..c2d608e43ffd 100644 --- a/dev-util/wayland-scanner/Manifest +++ b/dev-util/wayland-scanner/Manifest @@ -1 +1,2 @@ DIST wayland-1.19.0.tar.xz 456380 BLAKE2B 0f70bb02e890898c4763001884527067adb686abe9a2b9325badf1730d411d269c437037afc298eec8075eb1e3845f5b81b8ed3d702908388a54e7063cbea91a SHA512 d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef +DIST wayland-1.20.0.tar.xz 225188 BLAKE2B d607610ad8b30b6b3bbfc3945679f698030f271766cfb72425f98f170a96469fb085fb9a746a866b8562d7f452c844e61ad57f634dcf365474c7d050b76022e9 SHA512 e8a1f410994b947f850799bdd0d95a2429d8467f853e62a0ab3915a4e9fe130f8aa977e03715114ab740c6ec546edea63d275ce7f927d4f3029ea126e6a7d215 diff --git a/dev-util/wayland-scanner/wayland-scanner-1.20.0.ebuild b/dev-util/wayland-scanner/wayland-scanner-1.20.0.ebuild new file mode 100644 index 000000000000..c0f4e25a4339 --- /dev/null +++ b/dev-util/wayland-scanner/wayland-scanner-1.20.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://wayland.freedesktop.org/releases/wayland-${PV}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/wayland-${PV}" +fi +inherit meson + +DESCRIPTION="wayland-scanner tool" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" + +LICENSE="MIT" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + !<dev-libs/wayland-${PV} + >=dev-libs/expat-2.1.0-r3:= +" +DEPEND="${RDEPEND}" + +src_configure() { + local emesonargs=( + -Ddocumentation=false + -Ddtd_validation=false + -Dlibraries=false + -Dscanner=true + -Dtests=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + + mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/share/pkgconfig +} diff --git a/dev-util/wayland-scanner/wayland-scanner-9999.ebuild b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild index 0e0f4d733eba..c0f4e25a4339 100644 --- a/dev-util/wayland-scanner/wayland-scanner-9999.ebuild +++ b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild @@ -11,7 +11,7 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" S="${WORKDIR}/wayland-${PV}" fi -inherit meson-multilib +inherit meson DESCRIPTION="wayland-scanner tool" HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" @@ -22,16 +22,23 @@ SLOT="0" BDEPEND="virtual/pkgconfig" RDEPEND=" !<dev-libs/wayland-${PV} - >=dev-libs/expat-2.1.0-r3:=[$MULTILIB_USEDEP] + >=dev-libs/expat-2.1.0-r3:= " DEPEND="${RDEPEND}" -multilib_src_configure() { +src_configure() { local emesonargs=( -Ddocumentation=false -Ddtd_validation=false -Dlibraries=false -Dscanner=true + -Dtests=false ) meson_src_configure } + +src_install() { + meson_src_install + + mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/share/pkgconfig +} |
