diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/psmisc |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/psmisc')
-rw-r--r-- | sys-process/psmisc/Manifest | 11 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-22.21-fuser_typo_fix.patch | 44 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-22.21-sysmacros.patch | 26 | ||||
-rw-r--r-- | sys-process/psmisc/metadata.xml | 11 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-22.21-r3.ebuild | 60 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-23.0.ebuild | 53 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-23.1.ebuild | 53 |
7 files changed, 258 insertions, 0 deletions
diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest new file mode 100644 index 000000000000..d5648ec60db1 --- /dev/null +++ b/sys-process/psmisc/Manifest @@ -0,0 +1,11 @@ +AUX psmisc-22.21-fuser_typo_fix.patch 1226 SHA256 51c251f07ad0a898a5654fe18d8955e08943025c5df2f73d0f65d00c4b6c3c92 SHA512 c2e46a19959f368935462bc93bde8bf5ee4a3b5530a66255cd9a83be04acbc6246e0a3900efeb1cb9f1bbaf5a1435c0c65d677f643664be25f87662e6048c930 WHIRLPOOL 48c6bc0bd4c4b521be621406d5b52d4df47687307ec681e5c20dfce77db22c7f1db322d40614a9eb59cfa3aebd287af8e23b6ce9cba21dd986f78718669c34e5 +AUX psmisc-22.21-sysmacros.patch 693 SHA256 c3e071e67c808c68acc49edc3b8d7ad665780403ca697e6e74b290816ec91633 SHA512 febac721daad0046eb8367015657904eafaa934dc4b314f19ec487c1953ea2f4ff70e79e7c94473a20e5a69e7ed1eb17a4cfbbac6b102622b12322bb9cc76a09 WHIRLPOOL 394bfdfc37f8ed754092b5868a5bafd1858fdc8ee00b060f0455bd0736ed84288b7bd1aed0d9e17c108fcc166b056dd10547f067be3ee0e25e4b0db9bfd6a509 +DIST psmisc-22.21.tar.gz 457702 SHA256 97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a SHA512 766aeb45687090b88b17176c5117a603e83fe92a13c013aea72c8ee80048adf02e18c7daa52ddfb8b2135f7c9a1bcae38896cdfb8d0158728d85a446c5e0d5ae WHIRLPOOL cbd4af3e54ce01f43558184b57a24e44dfb6e05d8438bd11e2308ee62535bb93dc417b08e66603966cc5912d7fa88c29df1529995a42e2a8b7c3da663b01681f +DIST psmisc-23.0.tar.xz 295128 SHA256 7553318c5ecf021d3b98de0a200761e1a5898397832499201c1aa191a053f04c SHA512 334d625202fccd741363787c3f1d750515d63e2b5322b8ada5979144c8d841f505244c569bae9b63ce332aeace41b7caacd5354014c0301b56aca720a227f10d WHIRLPOOL 160e2d3d3eaf5482d5fee7a8966cf5c2620a4cb5551a4d9b673f2decd3e39480ca3b7e74c49cf28bb285fc1e3ae34f2de9df36aef036463ee00d458f92edfd7f +DIST psmisc-23.1.tar.xz 296136 SHA256 2e84d474cf75dfbe3ecdacfb797bbfab71a35c7c2639d1b9f6d5f18b2149ba30 SHA512 f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95 WHIRLPOOL e0b891475a7b3ff3fbc9c835f388e626b70d3e4dc47a611c1fa34b5ec479cd20912aa6895dda9c6cc5fabcfc36b7aba12db989a3b733b35f643c927769910266 +EBUILD psmisc-22.21-r3.ebuild 1381 SHA256 93faf90d7de142df5dd0da987a64d644c929fae9e70869ad551d54340218eb20 SHA512 e909d68ebb9b81959c8c4126bf511337450c19fdc66dac38db2fa66bf580e88d42a070e9fc602f9b68bbf0d96044ff57ae7b7655095e48aec5e8dab37bd1a483 WHIRLPOOL e94124c1af09a52a4c5e4ced21f9a335ac2e9f027c25b064a2878415f03c11d9abd10befa94442d3f0734adc4ccee95a117d6d9e7ad521af5cdc527b0cb50a31 +EBUILD psmisc-23.0.ebuild 1297 SHA256 d89f158bb37ba9fb93da9a55934ab7230cfaca5ff59b613505bbd9fe549c228c SHA512 7e980ce6e4dd2cb1df7b4d28d176854a27c97e4a52260bdfa864e3837617debcd68595f7d280ad8c08b9d14a462e42d797ca2565d5b8356e556fe442f9f7fd12 WHIRLPOOL fc2fb48ff2984dfeb0c57bd54e713dca996f48b2bec3d5cc54dffe05df364e8c0ece26f05d939018f2dabc92ceaef6c923bc4c0b9e49705b29e0a933781a88e8 +EBUILD psmisc-23.1.ebuild 1299 SHA256 df47f8f80c7eeb8fac4e651b58f43d74f210238575b03e70594945bf2bbb0b2c SHA512 0387c7623dd36e04f74e7a83d948d1ff0a064a8b5108267b9d5ab1024a72f9225e4ae1e7bdee014b2ae69e2c609528810484e0e22708f7a17f6ea349fe634ece WHIRLPOOL cd0445b1d1e8d77525705d07fa2b5e3084e51102d4864f8b0a5fb84b6daacdb987f9b84d87d6a387ab2267f7276bcd9e63d6a66352e8dd81a23a0728f6f1af81 +MISC ChangeLog 4157 SHA256 1933a163265796f6a0b5f603640716dd8be4134a15dc0174132306c66665bc58 SHA512 c0a497b0627d987ab53bf7f3ed081143d4b1dab32a98205fa070f83161f6f6c005935d73fe679de537fb7f123d659a621349d0b2ffeab260411ba3ca33a016b8 WHIRLPOOL ca43354b38b5fc1d4a9a6e76769af3ffd204df1983fc2918a110a3bcf2259ade2ace4c4308fe5756f4c58200d6c10700ef667c95105449819a34d164403ef693 +MISC ChangeLog-2015 26697 SHA256 16d09f477a180f5ce09972e75d65ab01786762c8fbab16c8626c3d71c6a715a2 SHA512 69d1685bdca62d3abb35a1505a25127afb938604f18ef8331c119a09668b6aa5d710835a06139f235194db9ddf532e5d010a71744f9ceaae5f3be392175414ee WHIRLPOOL 474cd900f638a54fe261afe828a3b87441a6dc862c3c5fae44676d1d6bb5139bb68dd7a9ac2d09e6d007bc11ce19c207045f35530b6755368f560512ade9d9c8 +MISC metadata.xml 326 SHA256 f9e015cc6214350091a0d68a07299ed5e6ad518b10eb91902da25726658623f3 SHA512 580a0e66078b7304d0bf76e3c990e61ee4c073b49381b60c5f3f01e2b64d5f0c318eb5596f7da09a70fa52dc93769b25f37f531038e5d7ce6278dda10e18117c WHIRLPOOL c0a2727f3ee0a38abe0ad2ceb0adf0b476a1fe9ba8435168c457aa0326aa8fb54f25d7828ac11a1f98b9e1066e69112ecb77b02111449680b64073163130bfa5 diff --git a/sys-process/psmisc/files/psmisc-22.21-fuser_typo_fix.patch b/sys-process/psmisc/files/psmisc-22.21-fuser_typo_fix.patch new file mode 100644 index 000000000000..5c5fd990f9ca --- /dev/null +++ b/sys-process/psmisc/files/psmisc-22.21-fuser_typo_fix.patch @@ -0,0 +1,44 @@ +From 3638cc55b4d08851faba46635d737b24d016665b Mon Sep 17 00:00:00 2001 +From: Brad Jorsch <anomie@users.sourceforge.net> +Date: Fri, 28 Feb 2014 21:55:02 +1100 +Subject: [PATCH] Typo in fuser makes -M on all the time + +Brad found that fuser had the -M option on all the time. +A simple but significant typo caused this, thanks the the patch. + +Bug-Debian: http://bugs.debian.org/740275 + +Signed-off-by: Craig Small <csmall@enc.com.au> +--- + ChangeLog | 4 ++++ + src/fuser.c | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/ChangeLog b/ChangeLog +index fd1cccf..e5f784c 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,7 @@ ++Changes in 22.22 ++================ ++ * Fixed typo in fuser which has -M on Debian #740275 ++ + Changes in 22.21 + ================ + * Missing comma in fuser(1) added Debian #702391 +diff --git a/src/fuser.c b/src/fuser.c +index b485f65..389b302 100644 +--- a/src/fuser.c ++++ b/src/fuser.c +@@ -1174,7 +1174,7 @@ int main(int argc, char *argv[]) + usage(_("No process specification given")); + + /* Check if -M flag was used and if so check mounts */ +- if (opts * OPT_ISMOUNTPOINT) { ++ if (opts & OPT_ISMOUNTPOINT) { + check_mountpoints(&mounts, &names_head, &names_tail); + } + +-- +2.2.2 + diff --git a/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch b/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch new file mode 100644 index 000000000000..440c5e62e7ed --- /dev/null +++ b/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch @@ -0,0 +1,26 @@ +From 367886e1c49238d1a02721f849564d77a163465b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 7 Mar 2016 14:52:22 -0500 +Subject: [PATCH] fuser: include sysmacros.h for makedev + +BSD/Linux define makedev in the sysmacros.h header. Include it directly +instead of relying on types.h pulling it in for us. +--- + src/fuser.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/fuser.c b/src/fuser.c +index da94d22..380046f 100644 +--- a/src/fuser.c ++++ b/src/fuser.c +@@ -36,6 +36,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/socket.h> ++#include <sys/sysmacros.h> + #include <sys/wait.h> + #include <arpa/inet.h> + #include <netinet/in.h> +-- +2.6.2 + diff --git a/sys-process/psmisc/metadata.xml b/sys-process/psmisc/metadata.xml new file mode 100644 index 000000000000..df39eb8e2f0f --- /dev/null +++ b/sys-process/psmisc/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="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> +</maintainer> +<upstream> + <remote-id type="sourceforge">psmisc</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-process/psmisc/psmisc-22.21-r3.ebuild b/sys-process/psmisc/psmisc-22.21-r3.ebuild new file mode 100644 index 000000000000..1414df7d9b49 --- /dev/null +++ b/sys-process/psmisc/psmisc-22.21-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A set of tools that use the proc filesystem" +HOMEPAGE="http://psmisc.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="ipv6 nls selinux X" + +RDEPEND=">=sys-libs/ncurses-5.7-r7:0= + nls? ( virtual/libintl ) + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2.6b + nls? ( sys-devel/gettext )" + +DOCS="AUTHORS ChangeLog NEWS README" + +PATCHES=( + "${FILESDIR}/${P}-fuser_typo_fix.patch" + "${FILESDIR}/${P}-sysmacros.patch" +) + +src_prepare() { + epatch "${PATCHES[@]}" +} + +src_configure() { + econf \ + $(use_enable selinux) \ + --disable-harden-flags \ + $(use_enable ipv6) \ + $(use_enable nls) +} + +src_compile() { + # peekfd is a fragile crap hack #330631 + nonfatal emake -C src peekfd || touch src/peekfd{.o,} + emake +} + +src_install() { + default + + use X || rm -f "${ED}"/usr/bin/pstree.x11 + + [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd + [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 + + # fuser is needed by init.d scripts; use * wildcard for #458250 + dodir /bin + mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die +} diff --git a/sys-process/psmisc/psmisc-23.0.ebuild b/sys-process/psmisc/psmisc-23.0.ebuild new file mode 100644 index 000000000000..b2ccbcd6c3e8 --- /dev/null +++ b/sys-process/psmisc/psmisc-23.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A set of tools that use the proc filesystem" +HOMEPAGE="http://psmisc.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="ipv6 nls selinux X" + +RDEPEND=">=sys-libs/ncurses-5.7-r7:0= + nls? ( virtual/libintl ) + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2.6b + nls? ( sys-devel/gettext )" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_configure() { + local myeconfargs=( + $(use_enable selinux) + --disable-harden-flags + $(use_enable ipv6) + $(use_enable nls) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + # peekfd is a fragile crap hack #330631 + nonfatal emake -C src peekfd || touch src/peekfd{.o,} + emake +} + +src_install() { + default + + use X || rm -f "${ED}"/usr/bin/pstree.x11 + + [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd + [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 + + # fuser is needed by init.d scripts; use * wildcard for #458250 + dodir /bin + mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die +} diff --git a/sys-process/psmisc/psmisc-23.1.ebuild b/sys-process/psmisc/psmisc-23.1.ebuild new file mode 100644 index 000000000000..e25d09501c93 --- /dev/null +++ b/sys-process/psmisc/psmisc-23.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A set of tools that use the proc filesystem" +HOMEPAGE="http://psmisc.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="ipv6 nls selinux X" + +RDEPEND=">=sys-libs/ncurses-5.7-r7:0= + nls? ( virtual/libintl ) + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2.6b + nls? ( sys-devel/gettext )" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_configure() { + local myeconfargs=( + $(use_enable selinux) + --disable-harden-flags + $(use_enable ipv6) + $(use_enable nls) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + # peekfd is a fragile crap hack #330631 + nonfatal emake -C src peekfd || touch src/peekfd{.o,} + emake +} + +src_install() { + default + + use X || rm -f "${ED}"/usr/bin/pstree.x11 + + [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd + [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 + + # fuser is needed by init.d scripts; use * wildcard for #458250 + dodir /bin + mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die +} |