summaryrefslogtreecommitdiff
path: root/sys-process
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-13 17:49:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-13 17:49:31 +0100
commit36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (patch)
treed9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /sys-process
parenta1392efe64137262023d92492396ca9156d22396 (diff)
Revert "gentoo resync : 13.09.2019"
This reverts commit a1392efe64137262023d92492396ca9156d22396.
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/Manifest.gzbin9165 -> 9169 bytes
-rw-r--r--sys-process/anacron/Manifest1
-rw-r--r--sys-process/anacron/anacron-2.3-r3.ebuild63
-rw-r--r--sys-process/evisum/Manifest2
-rw-r--r--sys-process/evisum/evisum-0.2.6.ebuild32
-rw-r--r--sys-process/lsof/Manifest2
-rw-r--r--sys-process/lsof/metadata.xml3
-rw-r--r--sys-process/numad/Manifest2
-rw-r--r--sys-process/numad/metadata.xml3
-rw-r--r--sys-process/parallel/Manifest6
-rw-r--r--sys-process/parallel/parallel-20190422.ebuild40
-rw-r--r--sys-process/parallel/parallel-20190622.ebuild40
-rw-r--r--sys-process/parallel/parallel-20190722.ebuild2
-rw-r--r--sys-process/rtirq/Manifest2
-rw-r--r--sys-process/rtirq/rtirq-20150216.ebuild41
-rw-r--r--sys-process/usbtop/Manifest2
-rw-r--r--sys-process/usbtop/usbtop-1.0.ebuild29
-rw-r--r--sys-process/vixie-cron/Manifest2
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-selinux-1.diff144
-rw-r--r--sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild126
20 files changed, 470 insertions, 72 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz
index 0f6c38c5efc4..0b0a9c706de8 100644
--- a/sys-process/Manifest.gz
+++ b/sys-process/Manifest.gz
Binary files differ
diff --git a/sys-process/anacron/Manifest b/sys-process/anacron/Manifest
index a731a5383fda..9ff54b0c7b19 100644
--- a/sys-process/anacron/Manifest
+++ b/sys-process/anacron/Manifest
@@ -4,5 +4,6 @@ AUX anacron.rc6 252 BLAKE2B 5237dbe878e9d5393f05b2671b6ee81461cd478cde37a2bf3527
AUX anacrontab 468 BLAKE2B 4f77a6759934e0e2693f3abeb9fe208de059d019906dc6c09160ac8b12e0c311d5f3414092c1cb6e62c947d950bf5fdf7990a6c351f4218f366ab2aaa4280c08 SHA512 f04850d22b459fe95bf5ccf594143f6fb02a1d29fc9cf36d2965a8b846920bc36b0d2d5665c5d6ac9828b904a4f30da49f62f6bedd51c75f548b981e056f097e
DIST anacron-2.3.tar.gz 24140 BLAKE2B 70fa2c716172a538b6810b65a4b80d8d8b70e8de7569856236f6386e30a3a77acc6b7aa11dfc3ce06aa432bc74009aa6dd44fd8d3b70f8585b979d0c5c596b98 SHA512 27bbbfad5bc35ddc68e4345c3a3acefd0a6f794aaba890f7c75ec42b2e4c4200fbb1667e75b2e344afb7722bdc9ba3dc5a7db66d3369808bc9f483ea3509849c
EBUILD anacron-2.3-r2.ebuild 1422 BLAKE2B 11d51a26fdfe62619f66584c6084e44ace99c029bb1fdd0228d55ff444bb82ed4a9733137d58fb511c4edaceb76e26eadc9057f60a42c73f666710a2a5ea53e5 SHA512 dc28aa765c65198333a740574140db23f778b28212e3b499485720f19315689bb75f8a3e75d64436bf1295741ae34b7e27daa970166196b8e2cc24b1a802c583
+EBUILD anacron-2.3-r3.ebuild 1444 BLAKE2B faea7ea4ef3206b2d500f5424bc245ff49c0efd8594fbdfb9c99f31874559a121745eb817e066291dfed3a20ef92a34a20b1897c20451be798426ea37b7b6246 SHA512 2ce3e597493c8ced6cacbe6e15a36903eb857a1b27cedc80c1cbb109436dfbe39bcf49b0bafdebd812d0d352c03f831fa5334d676f1ca7e6e033ab9eacacec20
EBUILD anacron-2.3-r4.ebuild 1443 BLAKE2B a7c39be2c6c9b85b59566d3dfcc151097c0524bbd69692ad7c63d48b36658a6c76cd95e124c5f0de3a18a1f0c5a8df9434b9da82f3f3b1b504cfabad89f61157 SHA512 82f32961b4d066682474eb3f6f26589000d746b9251ae2a826c0901d49869aed7c17096cf56d5ee6520bda49ac5ec1a6f2a2d9a8806f874454f5c4835eb5a1cb
MISC metadata.xml 244 BLAKE2B a650691e7c7b4c902aa2797645acba4fff4434a8b098b140e0eb711d81078e24df71625176cf489397639b117be475d38ede9697e60dd809ace97aafb2387c66 SHA512 991ccea1a22791aabec3cdf5cc996892d6c595263fd92b07a4b2b52a1ff32d96198aae09947b95b08e62542958225218890b08367ade7a07dc04ac332c5e4cfd
diff --git a/sys-process/anacron/anacron-2.3-r3.ebuild b/sys-process/anacron/anacron-2.3-r3.ebuild
new file mode 100644
index 000000000000..30f89d829732
--- /dev/null
+++ b/sys-process/anacron/anacron-2.3-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a periodic command scheduler"
+HOMEPAGE="http://anacron.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-process/cronbase"
+RDEPEND="${RDEPEND}
+ virtual/mta"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-compile-fix-from-debian.patch
+ epatch "${FILESDIR}"/${P}-headers.patch
+ sed -i \
+ -e '/^CFLAGS/{s:=:+=:;s:-O2::}' \
+ Makefile || die
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ #this does not work if the directory exists already
+ diropts -m0750 -o root -g cron
+ keepdir /var/spool/anacron
+
+ doman anacrontab.5 anacron.8
+
+ newinitd "${FILESDIR}"/anacron.rc6 anacron
+
+ dodoc ChangeLog README TODO
+
+ dosbin anacron
+
+ insinto /etc
+ doins "${FILESDIR}"/anacrontab
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "Schedule the command \"anacron -s\" as a daily cron-job (preferably"
+ elog "at some early morning hour). This will make sure that jobs are run"
+ elog "when the systems is left running for a night."
+ echo
+ elog "Update /etc/anacrontab to include what you want anacron to run."
+
+ echo
+ elog "You may wish to read the Gentoo Linux Cron Guide, which can be"
+ elog "found online at:"
+ elog " https://wiki.gentoo.org/wiki/Cron"
+ fi
+}
diff --git a/sys-process/evisum/Manifest b/sys-process/evisum/Manifest
index c234837fe3b0..a41278be3606 100644
--- a/sys-process/evisum/Manifest
+++ b/sys-process/evisum/Manifest
@@ -1,8 +1,6 @@
AUX evisum-0.2.2-respect-cflags-ldflags.patch 458 BLAKE2B 9c40cb1b47b6fa52f870e281e18f7858aac131ea542d4afdeb7e9a52cb6cbc7658b5ff425d359e9471c101bfdd81cd0f94b90bfefacb4d1dc1da5aafea5bdd97 SHA512 e2399269e346f50c3c265cefdf3996e89fb9fd5d9da060e8cd27c70284279cae3ae6fcb183573cd286a7e4a028dfab7efe41fabeaa5eb74e2a5c227383f2e025
DIST evisum-0.2.3.tar.xz 85000 BLAKE2B 3f3a43ff569d05550d092930f1cf61eb4deef2a449bd1b407b0f460c15887b76fc430ecbbe8357e6a06d6c34cdce68321d38922635ec4b9caccad084d9c619d6 SHA512 0043432f2b434c2bbdbe03b96d29a3f9515d063bdf5ae61ef5273aad1ec6dbc532860af4a22bebf275f171585e793e3851eec9c98a7eaa4645e32d3a79eafdc1
DIST evisum-0.2.4.tar.xz 84604 BLAKE2B 36219949fdc63ee08be2577591ebb8c746abdf583ae7d9683be0809bd452f0ec8026e65221f8094b18340d54440f303b6ac21d4ff99cf7919a20046ef3ffa1b2 SHA512 31360e8965e9078e8d66ddbffd7f71fec75e327ac1a1a00b9e6337cfc5e80028beaa141f6feb64221098c4a202a410497ad96280e2510d91e84e44038662d540
-DIST evisum-0.2.6.tar.xz 85532 BLAKE2B d673ab15e589ffcb79e1425f948ec1be760d199f0837ca54fc9eec8524c597d5c7f914126fbd581610a97a3a9078cea695691b371fe0272e3dffbfd337d29ae9 SHA512 175a28f96a9a001acfc241b04adf93244f4bbe5bdebe2d8dd86660e6c1749c31fa676f77b016c264565cafe29ebbbcc5b6db6062fc53f657700e2b0d0a866d10
EBUILD evisum-0.2.3.ebuild 647 BLAKE2B 5be77ea47801cf4dc982300559d2bc3d21cdfdbc807c3ae87b17a15a517e9cb11934a9ccdf4e232d449e694d5b880458156a05c3a27b98a4bab10fdd0a7ce653 SHA512 828700dc6177e8c8904635848b8a19d3ccfaac2dd251789e28174d67229a595e50b1b66ef0083c83b5e8807422276f2d75a097821f6be5b618ada15f8d10e666
EBUILD evisum-0.2.4.ebuild 647 BLAKE2B 5be77ea47801cf4dc982300559d2bc3d21cdfdbc807c3ae87b17a15a517e9cb11934a9ccdf4e232d449e694d5b880458156a05c3a27b98a4bab10fdd0a7ce653 SHA512 828700dc6177e8c8904635848b8a19d3ccfaac2dd251789e28174d67229a595e50b1b66ef0083c83b5e8807422276f2d75a097821f6be5b618ada15f8d10e666
-EBUILD evisum-0.2.6.ebuild 647 BLAKE2B 5be77ea47801cf4dc982300559d2bc3d21cdfdbc807c3ae87b17a15a517e9cb11934a9ccdf4e232d449e694d5b880458156a05c3a27b98a4bab10fdd0a7ce653 SHA512 828700dc6177e8c8904635848b8a19d3ccfaac2dd251789e28174d67229a595e50b1b66ef0083c83b5e8807422276f2d75a097821f6be5b618ada15f8d10e666
MISC metadata.xml 815 BLAKE2B d969cde79150c0cd2977017520a7ac95713b1c43aad52645f4d354f5a3ef3320638f5da097f0b7999689135036f1f8594b5331d2ca3420af93a2c3bfc726569e SHA512 c1b2c28863e8572ddfb79f8159e9ffc0defb4dc9c7b02c3ad7b1a4804ddcad06034471d9774f4e09bda1c84a8ce72393172f194c30cb5e5fda0a1177db842c3e
diff --git a/sys-process/evisum/evisum-0.2.6.ebuild b/sys-process/evisum/evisum-0.2.6.ebuild
deleted file mode 100644
index 9ea74684dde2..000000000000
--- a/sys-process/evisum/evisum-0.2.6.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg-utils
-
-DESCRIPTION="System and process monitor written with EFL"
-HOMEPAGE="https://www.enlightenment.org/"
-SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="dev-libs/efl"
-RDEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] )"
-
-PATCHES=( "${FILESDIR}/${PN}-0.2.2-respect-cflags-ldflags.patch" )
-
-src_install() {
- emake PREFIX="${D}"/usr install
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 0dff8e66c8c0..3ee280bcb3b3 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -4,4 +4,4 @@ DIST lsof-4.93.2.tar.gz 1319222 BLAKE2B 3b1756e7b72a0b0a2a11bce82a9b386f6dc5727d
DIST lsof_4.91.tar.bz2 791734 BLAKE2B cd6211caedea34fdbb89266fd78a70902117eda6d4d7fa69115426f4a6f5cb5296fa09bbd946648d8d93483881e4ea4e2190f090be155c1081850e8366cfd05a SHA512 49f811941dd6303f7cb0655fddb8b1177af5d1b18f2bd1edfab09d2c128aea73daecf09c7a5375979c66ba764c88a6e70c9086b55c3634e3be01ab1aa12e9f92
EBUILD lsof-4.91.ebuild 3603 BLAKE2B 2e6e36eabd3dc6aa592dc3bee6560bd0c616a08016142491d5a91cd60b538ff51b2481aa2c244cd43dc83128c8010877b8e0ce0b16098446ca49110025682523 SHA512 e33d67630f3786d8de94fc39a0452f8eaf06b294c6169c1f6eeda63ec975ba7156cddc7b54d55a1a84e8dd8a9be18d6ad0801821d08ac0167782d70f3012e7a1
EBUILD lsof-4.93.2-r1.ebuild 3428 BLAKE2B c3dcc51ad7ca3c4f09f5e19d9f4c95ed55cf2913e99d7d1e67d093449bb9a8c55ca18963e8b2dcd0bd7e0dd3a2300feecb007179052599f278c14772ce0e993d SHA512 9e33c262db6493fae3218c0ed8396d45de86ed4649b3296a449dc8a5e91af9ff4d459b9d8e61f1ad54fcd764b0dca0f2f58f9e0e6cc985785faa3cfdff3492a3
-MISC metadata.xml 410 BLAKE2B fd0f172a687fe180b6fc367195925576c468612bbb516fe582ed6fb8be19c5de238f9ce3e762f2bedba9802167c55995f5d8319ffeb681cdb4a91e01a9292ab2 SHA512 47b91158e1621c03685f821f3126fbd3c4a6336fedb79c85f7fc245fe0a724b2df46e18abd15f926f5739b70e93072817ccde5862c9712314bf7cd9a4e43a812
+MISC metadata.xml 327 BLAKE2B 4dec6763546c6f65ccd6a2483e6cc99203313a267ee5f18ca0e646f9af8774c8760e4f56711735f2c64880af8bc78e26b22e47774b36fb48ccd2d841647d274e SHA512 c8c0efc3b339063936d805d533cf3528e1a4e1a84829c0e0f993fd3268751f4d7d4713f45cc6fec2956101b611e6e344e0c0336eb8d1b769a47481d72088fb98
diff --git a/sys-process/lsof/metadata.xml b/sys-process/lsof/metadata.xml
index 159182173aec..4f913c0bcab0 100644
--- a/sys-process/lsof/metadata.xml
+++ b/sys-process/lsof/metadata.xml
@@ -8,7 +8,4 @@
<use>
<flag name="rpc">support looking up RPC service info</flag>
</use>
-<upstream>
- <remote-id type="cpe">cpe:/a:lsof_project:lsof</remote-id>
-</upstream>
</pkgmetadata>
diff --git a/sys-process/numad/Manifest b/sys-process/numad/Manifest
index 05a06614cc9e..29730a419ee8 100644
--- a/sys-process/numad/Manifest
+++ b/sys-process/numad/Manifest
@@ -9,4 +9,4 @@ EBUILD numad-0.5-r2.ebuild 890 BLAKE2B 0db9cb7690a9ba505ed8f17cf34fe0ee660e13566
EBUILD numad-0.5-r3.ebuild 1127 BLAKE2B 845f5ccc5ffa599a22786aac1d14eefa41ca913436adbe21b61e14e07a78ad5b2b24221fde84a4f033d8643bac05cd7c9e3ca2bb23cb640311e6ee4e95c566ce SHA512 e3d08fae0d825dbab40f82fad728a4e6e95c2849cdab1ee69cb43619bfa2ecb45818aba2e7b6564e249c03ea90b8817881390e694136829a2321534d866cf654
EBUILD numad-0.5.ebuild 749 BLAKE2B 6809148d97102d48ba30aa3d56eeae53b7c1bfe5b3c7db445496cab3b160d53e2fb57f6cf5dd7fc53a057114405dd7b625e26608a8412e256ddcea69bd6af8cd SHA512 a0e13444332366c33ab78354a0c7d04943322d11299f5c69898c45e61a2debfb4de9f04a95e81f2efeb906eec65a41bdf2b1772a53f9bdce54c524775826a12e
EBUILD numad-9999.ebuild 980 BLAKE2B 467dffd645719dfbf60d4040628f7fa32701a1b70e251e2be9108392f9386b7373bb573bb85663c5dab6ff40362826d1567fd4c216d6f9256c668473976cd5ec SHA512 c460b61e43aaf24ae57fd147aa96c7539c319511cd48d29d5293947560341be8f2c15a5c9d00d25a24fada95152080606536d5ebf18f67568122546586a4d18e
-MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
+MISC metadata.xml 328 BLAKE2B 822cf0f0fc28b6d632cfb157d4f75e9e1e9744a142b2e22de3f80fd0c385e47ae9978a547c8287c4eea709e92101e52ecfc2d53a63bd0db8541f310d6aab1112 SHA512 1512c4008e723063cd4fbf1b82319fa2d55aad398017c17f6908bf9c6079087487490b68c5f5f63908dac835be5ef1ae299eb46168151a105ee1e093352bdb36
diff --git a/sys-process/numad/metadata.xml b/sys-process/numad/metadata.xml
index 56c124413057..f5e477fa1c04 100644
--- a/sys-process/numad/metadata.xml
+++ b/sys-process/numad/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<maintainer type="person">
+ <email>cardoe@gentoo.org</email>
+</maintainer>
<maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
diff --git a/sys-process/parallel/Manifest b/sys-process/parallel/Manifest
index 4e88253e9000..e826c487f183 100644
--- a/sys-process/parallel/Manifest
+++ b/sys-process/parallel/Manifest
@@ -1,5 +1,9 @@
+DIST parallel-20190422.tar.bz2 2011139 BLAKE2B 09da0f286ae0b7ed09225d0281eee1e73dfcec40723a35c6107f737d4d8cb50cda8df0391ac65f9a9a23d4e2af106991e3584007dd1828369c8e9decdf3b3433 SHA512 0b08b2883d8eb33ccebfdd3707a53f16db9d70ac3ca0637d369e6159408c494d34c494c868c7b537083f17a1145040f3f2e6290380d302a18d337d752ae219ef
+DIST parallel-20190622.tar.bz2 2037056 BLAKE2B 4fee4635e5643a07001f159a7748b1bba97b73813f893194ccd94fee1443130bd99bfbf430e6f0d8b78963e4e628d34a8b25b3dd0adb479ab1f4fa1f2d8edf92 SHA512 c785537d127492d52c1eb40b5e3111f0ace3197dfacf0af4676d0722dac22dbf3e70f37c90508e8cadb3fa9a709ac647615dd221f27c231ab4ea7a2d2c3d23b4
DIST parallel-20190722.tar.bz2 2055028 BLAKE2B 4c0d21eb44298ee970e9bb1838a869c874b1057081010a990c1122f615df3eb83a99c2e8bd6b5ea6612fdebe7db213ee631ab143772c6b64dae7bad59ea08d4f SHA512 37d76081863c05200082cd4d6b97c03628c2a77e6565df69c099923ef5025d3509bb4802791cc4a6e79056471664f7eae146c48c293f71c6f7719ff91dda1217
DIST parallel-20190822.tar.bz2 2066472 BLAKE2B 02dc53d9074ba3e41f1c9aaaab216b0a56eb03d1821c0e75383cdf9a5b08c0091fbf971a27651c39c435ad9211a024b9461f8cfd9e9c0bb466bdd8945b7fba17 SHA512 60adc8b0283fe5111864be08e02383d6dd49304268dd48dd2fb48c8417b3545bdb1cd6ef7820b1688f3ac22316bebd2573639af0f57c196c94cda5321daf623e
-EBUILD parallel-20190722.ebuild 875 BLAKE2B 1105bb6f44507eb1e8fab2fd23b0dbfbbc3bae2593e50f9734bcb46612f9d91ee11a0bc5316893db4d2df528a4f2e2cca81423980d1a598c16ce8d74ed6c86e7 SHA512 b536e1af212b6ccf77a0e933a3811e7e1867ee0dc6701b60a732be19ff5d919b79350e9f504fb560404a8c00f86f5d926369ffe54c8638fc473ea8bcd6137784
+EBUILD parallel-20190422.ebuild 875 BLAKE2B 343f4c995cada466af2808fcf4446bd4335423998d212313ab2797433617f61c307fca7ff65bd00ec124c6814b76c7010ef12e01f198337fb2702394fac0816b SHA512 2e5275b74295ca8cd480314dfa5e5c941eb61f52a47e852c3d0c2e397b56aa20ec2dc5f7808302a8b97a0e2920749efb9e5b058c54bf4d7811174c1c6ece02a8
+EBUILD parallel-20190622.ebuild 877 BLAKE2B 2c7d88b69284f33cb6143cbc446029473d55edb7dd34b7a76731c3611d272deb0a8824160b288444d9bd618a6346070b7b8ae11d507f67461ee6417752162d1b SHA512 f02bf01d25ced665d53e21fc5b6c42f935c356aae8dce6d85fd713000c35c865dc9c7cdff51a4ae2b346789f20f2202281929775f27d4a8bb1d0407ba3cfa3a1
+EBUILD parallel-20190722.ebuild 877 BLAKE2B 2c7d88b69284f33cb6143cbc446029473d55edb7dd34b7a76731c3611d272deb0a8824160b288444d9bd618a6346070b7b8ae11d507f67461ee6417752162d1b SHA512 f02bf01d25ced665d53e21fc5b6c42f935c356aae8dce6d85fd713000c35c865dc9c7cdff51a4ae2b346789f20f2202281929775f27d4a8bb1d0407ba3cfa3a1
EBUILD parallel-20190822.ebuild 877 BLAKE2B 2c7d88b69284f33cb6143cbc446029473d55edb7dd34b7a76731c3611d272deb0a8824160b288444d9bd618a6346070b7b8ae11d507f67461ee6417752162d1b SHA512 f02bf01d25ced665d53e21fc5b6c42f935c356aae8dce6d85fd713000c35c865dc9c7cdff51a4ae2b346789f20f2202281929775f27d4a8bb1d0407ba3cfa3a1
MISC metadata.xml 1003 BLAKE2B a5a05ad6fb91321ade93dc8534764af73614a4495ae0ae023825b155be4a2d8f095df51971bb174c3e5fa335d7753121b09b22d8fef5ec4ffce3460b95fa2ed1 SHA512 a9da23fd3dc9476e2934a06ed8c0638fb3ee2530ea0ed9305a88ef0fa517a2996494d4e97492a709a601937d794748b0cba794d0b919667decdace77123c700f
diff --git a/sys-process/parallel/parallel-20190422.ebuild b/sys-process/parallel/parallel-20190422.ebuild
new file mode 100644
index 000000000000..e033960bdf87
--- /dev/null
+++ b/sys-process/parallel/parallel-20190422.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A shell tool for executing jobs in parallel locally or on remote machines"
+HOMEPAGE="https://www.gnu.org/software/parallel/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-lang/perl:=
+ dev-perl/Devel-Size
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Temp
+ virtual/perl-IO"
+DEPEND="${RDEPEND}"
+
+DOCS="NEWS README"
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+
+ # See src/Makefile.am for this one:
+ rm -f "${ED}"/usr/bin/sem || die
+ dosym ${PN} /usr/bin/sem
+}
+
+pkg_postinst() {
+ elog "To distribute jobs to remote machines you'll need these dependencies"
+ elog " net-misc/openssh"
+ elog " net-misc/rsync"
+}
diff --git a/sys-process/parallel/parallel-20190622.ebuild b/sys-process/parallel/parallel-20190622.ebuild
new file mode 100644
index 000000000000..30fa03438813
--- /dev/null
+++ b/sys-process/parallel/parallel-20190622.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A shell tool for executing jobs in parallel locally or on remote machines"
+HOMEPAGE="https://www.gnu.org/software/parallel/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-lang/perl:=
+ dev-perl/Devel-Size
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Temp
+ virtual/perl-IO"
+DEPEND="${RDEPEND}"
+
+DOCS="NEWS README"
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+
+ # See src/Makefile.am for this one:
+ rm -f "${ED}"/usr/bin/sem || die
+ dosym ${PN} /usr/bin/sem
+}
+
+pkg_postinst() {
+ elog "To distribute jobs to remote machines you'll need these dependencies"
+ elog " net-misc/openssh"
+ elog " net-misc/rsync"
+}
diff --git a/sys-process/parallel/parallel-20190722.ebuild b/sys-process/parallel/parallel-20190722.ebuild
index c2cccfe01b9e..30fa03438813 100644
--- a/sys-process/parallel/parallel-20190722.ebuild
+++ b/sys-process/parallel/parallel-20190722.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-lang/perl:=
diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 6717ffa3c8cd..22e08c6b48b8 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,4 +1,6 @@
AUX rtirq 435 BLAKE2B db105cd1c0765a92ede509ec010b8c2c96cd6180dcdfefff3c4f9dac6ed18a2da32f04dc4d023b6b7d21708d9a0897f20ddb4a87cb0c7eef2257bfcf0be2205a SHA512 9b7ef8e58098032f68210b64ae604558fed58a66b8d86ec9198dcf2f4b020582d8c4983d95f60e048bc97c0ef19b4b31cdc615635b4f57902362843a11a5fc6f
+DIST rtirq-20150216.tar.gz 12249 BLAKE2B b138c3b274e7d0875fc18d21ff77291975f86d841cfd06d704b428bcf7e106fb06b4738a4d8dd88ca2e58fa719b8232ef8a61df0bd088c9a368497e27095bd39 SHA512 4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c
DIST rtirq-20180209.tar.gz 12290 BLAKE2B 432bf6c931b753d4d9a5d7c50a35b0fb9b2161d09c9f762b97a5aae88152de1f3d14a2a4ccc46d8607d7379e4a7a659d603cc09ee20017923b176359eb4b9133 SHA512 9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2
+EBUILD rtirq-20150216.ebuild 1128 BLAKE2B 8de8512f1d1ef106ae9b97e82a6895941237ca00e86de683665a4fee0b99bafa2c9c60bf5aef239635ac14f047df66fbb57f014679eaece84393b33c418845df SHA512 825723f800562b58574c048bc5e38de971d8e52f257801191ca8e87bdae4e2548be4a4935c3270e8bfed5e6263654a0ff580867eedc392eed37236670424ca44
EBUILD rtirq-20180209.ebuild 902 BLAKE2B 0081b1bc8013e04ef1994fe26296988726a1c080d9f97c8f09218cbb19a14e85db92ac03d666129b0266656a4bea05f22147c1c65622e38aad678e9e7cf9ff75 SHA512 e56be7a09553cdc6b734c04a652f3ebe28196818ed21b3e12b9b1797f392b6f3e8da1cc55024cc9c999e273bb2bc663ed0f16715c34596b443d000e27cec7847
MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274
diff --git a/sys-process/rtirq/rtirq-20150216.ebuild b/sys-process/rtirq/rtirq-20150216.ebuild
new file mode 100644
index 000000000000..5bd86fb047b1
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20150216.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+
+SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=sys-apps/util-linux-2.13"
+
+src_prepare() {
+ # Correct config file path.
+ sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die
+ sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die
+
+ default
+}
+
+src_install(){
+ dosbin ${PN}.sh
+ doinitd "${FILESDIR}"/${PN}
+ newconfd ${PN}.conf ${PN}
+}
+
+pkg_postinst(){
+ if [[ "$(rc-config list default | grep rtirq)" = "" ]] ; then
+ elog "You probably want to add rtirq to the default runlevel, i.e."
+ elog " rc-update add rtirq default"
+ fi
+ if [[ "$(uname -r | grep rt)" = "" ]] ; then
+ elog "To use rtirq you need a realtime kernel."
+ elog "Realtime kernel sources are supplied in sys-kernel/rt-sources."
+ fi
+ elog "To display the rtirq status issue:"
+ elog " /etc/init.d/rtirq status"
+}
diff --git a/sys-process/usbtop/Manifest b/sys-process/usbtop/Manifest
index 324305871160..be0fc427723d 100644
--- a/sys-process/usbtop/Manifest
+++ b/sys-process/usbtop/Manifest
@@ -1,5 +1,3 @@
DIST usbtop-0.2.tar.gz 10828 BLAKE2B d595fda23adee6778060c25176d1951250bb45cc25ea8040661222736c63aa356605ec8ca52b71e7142cf0f8e7807a77a54fffbc54165178f44af63dfb5ba712 SHA512 43a4512abcff6107ac7a56d65ee19c2b17f4aeb9d38e42e630d724c6744c7d23c85d2c66325c0e6b50404431312754646f1290202fa51f3dee1f94a9d211ba25
-DIST usbtop-1.0.tar.gz 626770 BLAKE2B 4f14e1e8d926ce7f6ffd1a276871d7d9072979d844a55e477c402bcac343a3cc14faebbfd3886b386a48b01399bcb748fb843453a0eee48b8e09578841eab356 SHA512 bc2003c1085fae238d99347bbf3caa1da7e44aa8f5b07abbde3f96b4124b301bbbc896f7b5e341665db1cdba44a59752884e3b9fe3a6104ef804aa94c510a5c0
EBUILD usbtop-0.2.ebuild 669 BLAKE2B a00a54ac96300e21d924644324afd8b28d726c1fa5aac84e5216d8eca974cad29125fdc9e8a18c6193107c748e5ff275ad486169806063be5d82cf5f056830a0 SHA512 cf05e52e7e7279f7175b92539f86b74148ec0ed9756d82e33b2ef96858a9dab82204e2abc956978c00371a1ed19a13fb591cb65acf0e22117459fd709c53ddf4
-EBUILD usbtop-1.0.ebuild 656 BLAKE2B 37c194b60c182cf6fbb17d9a109b2ef0c00badd2efdf0f71beed903095ff58e223c35c9a148fa9ba83b02877a0a8ce4869add0c49db71483d464572141f443ad SHA512 b7420381fde0583a64b4f7e9aa6b009148af45dc62dde0372f54a9d72bfc72c2259aa91ca20091d7097f962deae0dbfb991f5724b6b0e4c4bfd5cc59ef7ff3f6
MISC metadata.xml 247 BLAKE2B 0aa7491a8e9a68ed7ad1c53c8442fd44a9dbdfbd7ef0662e838195b44ce72a77f5dc3b846cf9951bb61de78e05aac37649b78dd4c27e304780e1223d607a4252 SHA512 3344e220b20caad7bc32141ad5d51630ff0738ab14608334576638297fdd2a48d5169ef54fb33e36d27bd448d92f8ef9e41880df388521efd4a2c58d102c7c69
diff --git a/sys-process/usbtop/usbtop-1.0.ebuild b/sys-process/usbtop/usbtop-1.0.ebuild
deleted file mode 100644
index 7b8e3d1fcb94..000000000000
--- a/sys-process/usbtop/usbtop-1.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils linux-info
-
-DESCRIPTION="utility that shows an estimated instantaneous bandwidth on USB buses and devices"
-HOMEPAGE="https://github.com/aguinet/usbtop"
-SRC_URI="https://github.com/aguinet/usbtop/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="net-libs/libpcap:=[usb]
- dev-libs/boost:="
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-pkg_setup() {
- linux-info_pkg_setup
- if linux_config_exists; then
- CONFIG_CHECK="~USB_MON"
- check_extra_config
- fi
-}
diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest
index cc7d55677c4f..1b5a17ddbde0 100644
--- a/sys-process/vixie-cron/Manifest
+++ b/sys-process/vixie-cron/Manifest
@@ -8,11 +8,13 @@ AUX vixie-cron-4.1-cron.deny 148 BLAKE2B 3da92c65667ccacd74e32443e1cd5623d8040a7
AUX vixie-cron-4.1-crontabrace.patch 658 BLAKE2B 4958e13b14519b484b677a7fd7593f2b17adbbb7cac46d18e0cd68714841e50614d472cdb880ce7f45e456ba30b9119671c44c217edfa81679d5a231bab8be30 SHA512 7aac74563a26bc86bb99488ab0a556a389b5a3d36bed7c80c355a3504d9175d1ac8d437ebdba60831de42a1cc7188b464956f8e94876f8eaf465c9f7005b8242
AUX vixie-cron-4.1-hardlink.patch 369 BLAKE2B a1e3f1106ca15411b59ebb0a162181675189ae9c459169b01893ffc33cd6ca2b256eaee043c48d841cb8ee8789414ebaf7d153f5a600190d6c8b096c2d06fbd9 SHA512 32a804929f1a005edbe58c17e5a4e57141e1b379724e1d760729ba2e5f578b9e509e5e04893e648f463dc250804a9b6303b3dfb7d91c485e57ac02e1c866600a
AUX vixie-cron-4.1-pam.patch 1714 BLAKE2B 04d3b0f76b794e357b8d93f2a95a45f64f9f6baddd92901626f8cad96d9a6033802727d5d54bc3983acf3073b0e860228567f1a6894021c260222de22d99c880 SHA512 596e3888c9ba484b5e4f2b0db14aac0449760d9e4ca91105cac19555c4e45ae96c9e5e302335c5559697881286eae98d7149742e4f01102cc5042edf795d46fc
+AUX vixie-cron-4.1-selinux-1.diff 4658 BLAKE2B de680ec7292d1ddb8380c2c315ce1e6a33e78388b73a354d7ddecab8b8b969c0a17da19b862069246014afd47761d055fe6d69939f02f658769bd5a2212d8d01 SHA512 aa226982ace71b951d46af7777c173c8c4a1dcb4fc5967fa7396cbe617a7c341add25cfbf6210aa99ab8f1af9773d55fc57985f396a827b75acca12dd542dc54
AUX vixie-cron-4.1-selinux-2.patch 6566 BLAKE2B 21aec85c6ca39e6479252f34d7f8e557fbbc191d8336d056c37a41f487f8c417dea827e3f608f9c605960431583db0453db024f4bbe329a89b81661c5eba641f SHA512 b272b8a9dda7b80f6213ce7b0b38dc3beb16bf38ae202410c9062ae0c14653174dc309fe6dffa469058acf58fae903e0eb670b721213bbdcba3bf21eccfbdfd3
AUX vixie-cron-4.1-setuid_check.patch 767 BLAKE2B b14d22d7a457fd984a65b32bacd30f6f4a01b6670f486d3529a28afd2f880791e0995043066035870e0221b9ae66af68f7134081ec25d18f4757249bd7119784 SHA512 4c49ac5465a142a49799ce1ab816aacd458b44287a3200d9dc35afe1b717d095b2db93eee70913c3c6ee4171afe1293d6838af3f0e6156a96e1e6431ded2af70
AUX vixie-cron.rc7 239 BLAKE2B 64248f4d67ba35ae9c4cbcc9f800782a4da9c0b8780b326cf97d8800cd606cb449ab1725b68d98879d1e33db7552b090ca458fe2ba10f86d360130e65563945f SHA512 d491ae5db8e6ad00bf59380a3358577dfe45a0d137fa5100c22252b8d6d84149d379aae860a30b39c4bdbfc0274ed6cf8fe8d2dfedbea29f4260d5aaab975766
AUX vixie-cron.service 178 BLAKE2B 2ef614075505ef9a48b89ae46d21c5c3544db711b430eabc04870b436437d9b194963b6da572c3bf2c758c4fc7aa37ee90500a1e72fc135ecb8a59f7582ebbba SHA512 09af14c9010c55c204db8755872df531d0e28b473d56f0b5f99c037e2183e2f9e2be9cc66895f4da2036b74efa7bc472e932331fac13722a505ae2be400a068d
DIST vixie-cron-4.1-gentoo-r4.patch.bz2 4204 BLAKE2B 1e276ade20e61ae17e45c10145532e3f32dfa74e32b6cbecde22863de82afb280e97d3b380626451524cfc7fc0663934657509b228a51b3b5ad42e26e5cceb3d SHA512 eec8f89a97927a3557bd1350ed7e9baa0ec133e2c49f8f0fbf51adf62c377451dc48867ca6affcc7576833a5b6b749613c9b99641b1b658853f91d8071c3411b
DIST vixie-cron-4.1.tar.bz2 54246 BLAKE2B 920bf5d95b24cd41677f4a748da02231ed75713ff280acafdf476ad0a71e73068bbad9070fc57d3b0cb39a9539da24182aa2dbc9eb9dfe241adaf9a46f9c5db2 SHA512 1db9a246243dbd4934438ce70bf022215ccffed4b899a77b076d5a7679a7b98a23ef67344e329fc7a836df90685581e10b1c95709db40601c33d2052ce561e04
+EBUILD vixie-cron-4.1-r14.ebuild 3489 BLAKE2B bce170b850ca7446bbb7bb58ed0de15fcac1c4d34c9c5395078978bd5ee58495c753cfa69244065e952c3dc9e4320cfb0f2f8049b30340fa8a22da08fc7877d8 SHA512 2b71cca48dc0bf4075de8db96ccafbd585ecca4987854a50a50816ab188ab9c1fed140707962e564b5a6bdf470e395272befca724c833639f6c8eddbdfd12cf5
EBUILD vixie-cron-4.1-r15.ebuild 3487 BLAKE2B a6c3d77988b303c818458e3d8745b5019493e45235fe1b530968c219be95bc473e496ceaf0413e4db85bf832c14b3481d8291a819c472be0634b172d8c1dbc2c SHA512 84fd99d5dea56b6beb2edb5704b39c64257f94569c1276b0ea1392acdd2d51c17da2f2a5211300d17d3c3e97af84f248522b83a23ba98f1bea509ab30a5fefd4
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-selinux-1.diff b/sys-process/vixie-cron/files/vixie-cron-4.1-selinux-1.diff
new file mode 100644
index 000000000000..ec2493e8c3ca
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-selinux-1.diff
@@ -0,0 +1,144 @@
+diff -purN vixie-cron-4.1.orig/Makefile vixie-cron-4.1/Makefile
+--- vixie-cron-4.1.orig/Makefile 2004-08-27 14:09:33.000000000 -0400
++++ vixie-cron-4.1/Makefile 2008-08-25 15:17:20.062720415 -0400
+@@ -68,7 +68,8 @@ LINTFLAGS = -hbxa $(INCLUDE) $(DEBUGGING
+ #<<want to use a nonstandard CC?>>
+ CC = gcc -Wall -Wno-unused -Wno-comment
+ #<<manifest defines>>
+-DEFS =
++DEFS = -s -DWITH_SELINUX
++LIBS += -lselinux
+ #(SGI IRIX systems need this)
+ #DEFS = -D_BSD_SIGNALS -Dconst=
+ #<<the name of the BSD-like install program>>
+diff -purN vixie-cron-4.1.orig/database.c vixie-cron-4.1/database.c
+--- vixie-cron-4.1.orig/database.c 2004-08-27 14:09:34.000000000 -0400
++++ vixie-cron-4.1/database.c 2008-08-27 08:19:37.948930858 -0400
+@@ -28,6 +28,16 @@ static char rcsid[] = "# $Id$
+
+ #include "cron.h"
+
++#ifdef WITH_SELINUX
++#include <selinux/selinux.h>
++#include <selinux/flask.h>
++#include <selinux/av_permissions.h>
++#include <selinux/get_context_list.h>
++#define SYSUSERNAME "system_u"
++#else
++#define SYSUSERNAME "*system*"
++#endif
++
+ #define TMAX(a,b) ((a)>(b)?(a):(b))
+
+ static void process_crontab(const char *, const char *,
+@@ -183,7 +193,7 @@ process_crontab(const char *uname, const
+ if (fname == NULL) {
+ /* must be set to something for logging purposes.
+ */
+- fname = "*system*";
++ fname = SYSUSERNAME;
+ } else if ((pw = getpwnam(uname)) == NULL) {
+ /* file doesn't have a user in passwd file.
+ */
+@@ -245,6 +255,56 @@ process_crontab(const char *uname, const
+ free_user(u);
+ log_it(fname, getpid(), "RELOAD", tabname);
+ }
++#ifdef WITH_SELINUX
++ if (is_selinux_enabled()) {
++ security_context_t file_context=NULL;
++ security_context_t user_context=NULL;
++ struct av_decision avd;
++ int retval=0;
++ char *seuser=NULL;
++ char *level=NULL;
++
++ if (fgetfilecon(crontab_fd, &file_context) < OK) {
++ log_it(fname, getpid(), "getfilecon FAILED", tabname);
++ goto next_crontab;
++ }
++
++ /*
++ * Since crontab files are not directly executed,
++ * crond must ensure that the crontab file has
++ * a context that is appropriate for the context of
++ * the user cron job. It performs an entrypoint
++ * permission check for this purpose.
++ */
++ if (getseuserbyname(fname, &seuser, &level) < 0) {
++ log_it(fname, getpid(), "NO SEUSER", tabname);
++ goto next_crontab;
++ }
++
++ if (get_default_context_with_level(seuser, level, NULL, &user_context) < 0) {
++ log_it(fname, getpid(), "NO CONTEXT", tabname);
++ freecon(file_context);
++ free(seuser);
++ free(level);
++ goto next_crontab;
++ }
++
++ retval = security_compute_av(user_context,
++ file_context,
++ SECCLASS_FILE,
++ FILE__ENTRYPOINT,
++ &avd);
++ freecon(user_context);
++ freecon(file_context);
++ free(seuser);
++ free(level);
++
++ if (retval || ((FILE__ENTRYPOINT & avd.allowed) != FILE__ENTRYPOINT)) {
++ log_it(fname, getpid(), "ENTRYPOINT FAILED", tabname);
++ goto next_crontab;
++ }
++ }
++#endif
+ u = load_user(crontab_fd, pw, fname);
+ if (u != NULL) {
+ u->mtime = statbuf->st_mtime;
+diff -purN vixie-cron-4.1.orig/do_command.c vixie-cron-4.1/do_command.c
+--- vixie-cron-4.1.orig/do_command.c 2004-08-27 14:09:34.000000000 -0400
++++ vixie-cron-4.1/do_command.c 2008-08-25 15:43:43.289174371 -0400
+@@ -25,6 +25,11 @@ static char rcsid[] = "# $Id$
+
+ #include "cron.h"
+
++#ifdef WITH_SELINUX
++#include <selinux/selinux.h>
++#include <selinux/get_context_list.h>
++#endif
++
+ static void child_process(entry *, user *);
+ static int safe_p(const char *, const char *);
+
+@@ -265,6 +270,29 @@ child_process(entry *e, user *u) {
+ _exit(OK_EXIT);
+ }
+ # endif /*DEBUGGING*/
++#ifdef WITH_SELINUX
++ if (is_selinux_enabled()) {
++ char *seuser=NULL;
++ char *level=NULL;
++ security_context_t scontext;
++
++ if (getseuserbyname(u->name, &seuser, &level) < 0) {
++ fprintf(stderr, "getseuserbyname: Could not determine seuser for user %s\n", u->name);
++ _exit(ERROR_EXIT);
++ }
++ if (get_default_context_with_level(seuser, level, NULL, &scontext) < 0) {
++ fprintf(stderr, "get_default_context_with_level: could not get security context for user %s, seuser %s\n", u->name, seuser);
++ _exit(ERROR_EXIT);
++ }
++ if (setexeccon(scontext) < 0) {
++ fprintf(stderr, "setexeccon: Could not set exec context to %s for user %s\n", scontext, u->name);
++ _exit(ERROR_EXIT);
++ }
++ free(seuser);
++ free(level);
++ freecon(scontext);
++ }
++#endif
+ execle(shell, shell, "-c", e->cmd, (char *)0, e->envp);
+ fprintf(stderr, "execl: couldn't exec `%s'\n", shell);
+ perror("execl");
diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild
new file mode 100644
index 000000000000..09604bb30746
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit cron toolchain-funcs pam eutils flag-o-matic user systemd
+
+# no useful homepage, bug #65898
+HOMEPAGE="ftp://ftp.isc.org/isc/cron/"
+DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation"
+
+SELINUX_PATCH="${P}-selinux-1.diff"
+GENTOO_PATCH_REV="r4"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2"
+
+LICENSE="ISC BSD-2 BSD"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="selinux pam debug"
+
+DEPEND="selinux? ( sys-libs/libselinux )
+ pam? ( virtual/pam )"
+
+RDEPEND="selinux? ( sys-libs/libselinux )
+ pam? ( virtual/pam )"
+
+#vixie-cron supports /etc/crontab
+CRON_SYSTEM_CRONTAB="yes"
+
+pkg_setup() {
+ enewgroup crontab
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${WORKDIR}"/${P}-gentoo-${GENTOO_PATCH_REV}.patch
+ epatch "${FILESDIR}"/crontab.5.diff
+ epatch "${FILESDIR}"/${P}-commandline.patch
+ epatch "${FILESDIR}"/${P}-basename.diff
+ epatch "${FILESDIR}"/${P}-setuid_check.patch
+ epatch "${FILESDIR}"/${P}-hardlink.patch
+ epatch "${FILESDIR}"/${P}-crontabrace.patch
+ use pam && epatch "${FILESDIR}"/${P}-pam.patch
+ use selinux && epatch "${FILESDIR}"/${SELINUX_PATCH}
+}
+
+src_compile() {
+ use debug && append-flags -DDEBUGGING
+
+ sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \
+ -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ docrondir -m 1730 -o root -g crontab
+ docron
+ docrontab -m 2755 -o root -g crontab
+
+ # /etc stuff
+ insinto /etc
+ newins "${FILESDIR}"/crontab-3.0.1-r4 crontab
+ newins "${FILESDIR}"/${P}-cron.deny cron.deny
+
+ keepdir /etc/cron.d
+ newpamd "${FILESDIR}"/pamd.compatible cron
+ newinitd "${FILESDIR}"/vixie-cron.rc7 vixie-cron
+
+ # doc stuff
+ doman crontab.1 crontab.5 cron.8
+ dodoc "${FILESDIR}"/crontab
+ dodoc CHANGES CONVERSION FEATURES MAIL README THANKS
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-4.1-r10"
+ fix_spool_dir_perms=$?
+}
+
+pkg_postinst() {
+ if [[ -f ${ROOT}/etc/init.d/vcron ]]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ # bug 71326
+ if [[ -u ${ROOT}/etc/pam.d/cron ]] ; then
+ echo
+ ewarn "Warning: previous ebuilds didn't reset permissions prior"
+ ewarn "to installing crontab, resulting in /etc/pam.d/cron being"
+ ewarn "installed with the SUID and executable bits set."
+ ewarn
+ ewarn "Run the following as root to set the proper permissions:"
+ ewarn " chmod 0644 /etc/pam.d/cron"
+ echo
+ fi
+
+ # bug 164466
+ if [[ $fix_spool_dir_perms = 0 ]] ; then
+ echo
+ ewarn "Previous ebuilds didn't correctly set permissions on"
+ ewarn "the crontabs spool directory. Proper permissions are"
+ ewarn "now being set on ${ROOT}var/spool/cron/crontabs/"
+ ewarn "Look at this directory if you have a specific configuration"
+ ewarn "that needs special ownerships or permissions."
+ echo
+ chmod 1730 "${ROOT}/var/spool/cron/crontabs" || die "chmod failed"
+ chgrp -R crontab "${ROOT}/var/spool/cron/crontabs" || die "chgrp failed"
+ cd "${ROOT}/var/spool/cron/crontabs/"
+ for cronfile in * ; do
+ [[ ! -f $cronfile ]] || chown "$cronfile:crontab" "$cronfile" \
+ || ewarn "chown failed on $cronfile, you probably have an orphan file."
+ done
+ fi
+
+ cron_pkg_postinst
+}