diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
commit | 6b933047f46efec1aa747570f945344254227457 (patch) | |
tree | a12a4b87b38f954c4de435272cf4b90d721df5e8 /sys-process/acct | |
parent | f45955e60d4da9b7f4a1088c98042f9c06669039 (diff) |
gentoo resync : 15.12.2017
Diffstat (limited to 'sys-process/acct')
-rw-r--r-- | sys-process/acct/Manifest | 19 | ||||
-rw-r--r-- | sys-process/acct/acct-6.5.5-r4.ebuild | 43 | ||||
-rw-r--r-- | sys-process/acct/acct-6.6.1.ebuild | 48 | ||||
-rw-r--r-- | sys-process/acct/acct-6.6.2-r1.ebuild | 45 | ||||
-rw-r--r-- | sys-process/acct/acct-6.6.2.ebuild | 45 | ||||
-rw-r--r-- | sys-process/acct/acct-6.6.4.ebuild | 44 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.5.5-cross-compile.patch | 323 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.5.5-no-gets.patch | 22 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.6.1-cross-compile.patch | 324 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.6.1-math.patch | 27 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.6.1-no-gets.patch | 25 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.6.1-texi-failure.patch | 32 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.6.2-cross-compile.patch | 320 | ||||
-rw-r--r-- | sys-process/acct/files/acct.confd | 13 | ||||
-rw-r--r-- | sys-process/acct/files/acct.initd | 36 | ||||
-rw-r--r-- | sys-process/acct/files/acct.initd-r1 | 33 | ||||
-rw-r--r-- | sys-process/acct/files/acct.logrotate | 14 |
17 files changed, 0 insertions, 1413 deletions
diff --git a/sys-process/acct/Manifest b/sys-process/acct/Manifest index f84306df7f4e..1ce3c7ba598c 100644 --- a/sys-process/acct/Manifest +++ b/sys-process/acct/Manifest @@ -1,27 +1,8 @@ -AUX acct-6.5.5-cross-compile.patch 8335 BLAKE2B 3d2f78e82dc2b256c49d4d45dc1bb823a611ab3e080b8a7f4e0b9787a759c2b675281ca4e0fa4a7bc408ba03d2a2b2a95e4c29eaf9e80c80263b7236f652ed77 SHA512 c30d71f7ef83ec1aea66bebe40eafcce55047b34f26e929ae1a93279c2371a69fca0934eaf3e1e915e451b2ec2d9ab97eab94d1dfe28e18532747d1815030e91 -AUX acct-6.5.5-no-gets.patch 779 BLAKE2B 5496f27fe6dfee86f11ec88640d233ffa8bc4148c7452d220a5a5a7962b11cde065e32a3d508427753246e65b198bd3941cbeefe9bb1540a03da50c6a95ea47c SHA512 adefec843a1339ff1f14c71b2164f1fc77d5f17f053a6da45dfe74851891e89b4a90dda8ef8405b277c9e5f08c18eb6767aae6cc069566526127cd93eba3fd4e -AUX acct-6.6.1-cross-compile.patch 8519 BLAKE2B 4795c53faf3681f72067c422aec2c73f381fdf7da250b985a654ba71d697be3b2e2a89584864edb57ce8c8439e724db438c56131efabfeac4886802897fdd411 SHA512 292a8cf149961c56dd70cdf7a119ae58e563bb42c06873720bd5e0050a88d7d661159d495b0e9171ba2dfe2d96ebbc042144f10a05f6910fd51b767455f33912 -AUX acct-6.6.1-math.patch 811 BLAKE2B 5cad74e7d56cf03ee7335781b5b58c3eecd7cbf8572de15ca6a5e543a2a5a959fc6930b6ee4ef080be579dfcbbf00bdbdf4e30010a73dbe7a3917564358ff9db SHA512 68ce8785bbe36600a9768a7e249c0de992b5d46a32924b79499dd97e6e6382d74f235cdb1d083b97aee39017bb0f43cc6e574d169e01b5608f0cbc850fa68803 -AUX acct-6.6.1-no-gets.patch 834 BLAKE2B a90e2ed61c151d95b310d1d2fa8ca22c5ecfbcdf5cc0bcc27d64a29fe6fdc0bcf1bcc17ad88b00bc2b931f129a2fffb5456010e9a997bb071b72f76980f9c574 SHA512 2c3b98c798b751a739a3a48346f4749b6173eb65ce88f578cda67a101ac6342e8a7b9478bab755d60dcd13552928c4976c94d45e2c69ef3980cd6552f0c0b8d7 -AUX acct-6.6.1-texi-failure.patch 1122 BLAKE2B b6213fb668337c9270fc5b3bd0c8edcf4c054794e40d585bf4edbfb79b67f38f7a3695e4a0e87a8e2176ec7d4943b97053da6747204d16aad01b5316ad9feafa SHA512 de33f73389220b440f484c96ec9ec323a640e420d4659bc09dd8b79da366a11d29631abec2be40f0a8d2b4579435b44a54f8f7f61eff8f785c1c28491213d8e3 -AUX acct-6.6.2-cross-compile.patch 8540 BLAKE2B df7527c1ef8f5cb66c4a1022e50d1d27b2e91411df70ee5c4f792f83aa4221e845ef702f43c0663d867af5339efc631ef10b64e87bac3ac3256c688e299c1375 SHA512 3afeac0d0271944da5b2e6c9efe487db979025fbbd563a3e088fbdde76296efa4a6de52660bca0690e3c921d62b8c8b9864f689d1cb1dcbcf52a396eaea931f2 AUX acct-6.6.4-cross-compile.patch 6473 BLAKE2B 6bf64a9cc3e7c695d44da4ecbe22f598000bd5f6de77ba98828613c63e8b02473011b1977402bba38c9be30db5832fb87fef670902f317ca2c78dee9987f3fa2 SHA512 225f96ceb8ae09c149a7c69093d0dd0ca3a791122c22246bd52848fcc9876c2d85e757a9ab354212299779a5fa1d622c6340eceaad0bc4042a4019f4eed5c004 -AUX acct.confd 389 BLAKE2B 2e54d2f5851d416f6b3ad059bff0888e9aacc15903b939a3b91e617284f37becd56fb5e82968fc64560f7c41778fc547b02c348f18bfce01a6f250c13469a443 SHA512 1d193d675f38ce8360251939ff0fdf89c1ba04244b2f2ee19a4180f180aa464447027dcd532cc044e9da7651c050c42e8bfe6ee350d29be3510395e44790c150 AUX acct.confd-r1 389 BLAKE2B a3c142c9b66260a6d855502098988be0c18b3fc49f95b1c4dd17b25e14ffaae9809172d02bed0614540991a1e449c1e3d61bdcdd2ebc0613d75b09ffc85b2eb6 SHA512 7d4bfd60f4ef05a55f3e93535c49ad56784f24912fa84991935d3b109e46fb543afaf682fcd085c9183c6747724c9537d25af07799221153eb4659bf5b821992 -AUX acct.initd 586 BLAKE2B 37d52764cbfd31981d6e890f4e9f60056ca4e7577fb303e44d0c39ea3754f612a73c07135d6e469afd3c8c572f3a928d897bf79f59da0d6e686007462ad7dd5c SHA512 275b0bcbd2f9049d72b7d2699c03265592ac122d7a94f5e8d09bcf7081bcb186e9a52ff8094e1f7de1f275eb0717d19c79269fb583ce35e839fe7121f001f8aa -AUX acct.initd-r1 535 BLAKE2B fe34d86d4bab1898e9c6e52d4053162eddf88fb1301a2063e89ee05fa5453d75145869415ff0af7e5498611ff790a18952e020e6fa1c5ae0690057ca98db9fd0 SHA512 a688d214cde9e485fa1cf4c251c313460a1d95f000770c1e0ae20b560534f84fc899b104be814386daa310ec860eb48a313d1b98b1554d9bf492feb8a20215e4 AUX acct.initd-r2 1080 BLAKE2B c1d2a49530df32adf143b4b3b50059602494df57efe0ef414c089589178f57646c1b42831d712486e6237bcc5035c3168653d55521cca9a31751d199adfc0d52 SHA512 1cf6143f65ce2a00646213b40d83d7aa29a206c740f2f6b81dc6674de3fa8a96ed86bcc32fefd58e2934ded17d49a95e40dfe1b805a6e92c35fa75b420a0b2a1 -AUX acct.logrotate 209 BLAKE2B 520c932ed4da94078df9097478f541938f9379739857d43d248719ff7d57c375f41e4372788cdc9c700afe9b6114955bebff283a67e6883939acbee3d2be0cac SHA512 a91ac927ce536827eea6c4ce5c454df831d61120ff453582c4e2fa186b1e8ea52792ed529c242e58ce8a575ac5d26bc1a97670880fb51e8c08598d54894fb90e AUX acct.logrotate-r1 304 BLAKE2B 60ddfe6b5a8fdf75c82bdf43308ad6f2e1da0c533e532277eabff670c46bb874b5dee90f1bd0d98cba9218cc47e82fd4a91e66170ffd1d367d2d8a01c1e3e00d SHA512 54fcb419f433df2a64eb51ecfc8122c4945960ca7d745d7a8816fec441586e15321cdfacb2db1feeec23c66b1b02b4191d3fc53355379a75c2956a00bc743332 AUX acct.service 382 BLAKE2B 7a777c0d9195676d897bf95087a3af2175587e365969956de0d458e842144b6fa97c3e7e1bac402467c8611ef19915c55b562466104b6cbc75279225870c25dc SHA512 8c2523526eb3185765eac62676761af6758d0090d68ba48aeacc59c7a45f0722c867fb97d02ff3ceaa8d77637d2b915938d545f7d782e4f7aa46861f25364bd3 -DIST acct-6.5.5.tar.gz 747225 BLAKE2B 7e44b8a3ccbaf31511185717c00089cee6ce55fb571a34a808aa26f919ed3d1f153a76bb9fd6a449adf1a298cec08e166a80f824f5813b7fd09fbbe35e4e17cc SHA512 6a36548cfe0e68829c94780aac4053f8a5840c5a704b88a9562758408dc64b4e26965743aec51ef02f7780efcfbf42d20805fecb12a68e7e1f279a1259151fb0 -DIST acct-6.6.1.tar.gz 2869677 BLAKE2B 8d84200d235f12bda99213d4910a24958b7ac77b9c6bb060d85926cc1ba04b67776cd5e7e3f88076ffaa4fa3540f53ae012b2a8dbc9198bf137d0c24a701ae71 SHA512 4bc3d6b41aeafcf8acfdd020057f1b6f15eea3589981387bca7e57aa8fe71d058e8def97f139dd2c11a1ac39f2d8b95bd103d31caff042cf716dd961b9588f5d -DIST acct-6.6.2.tar.gz 852375 BLAKE2B 34de3765ced8cf3f9e57428ce222c5e69a6c38b3d39be4c7f3482e9300713e0d7bff945fecf75a29ccc3056cda1558a3bf05b4e1b3413c2d5b3912f4c7208c9c SHA512 5942aa3d1faebb29bd6d6ff97c2ba8525dc5a9c85522c3f549ce0772042d3736e19126ddd7e10fe0681a6ac496b8d3aafda0894577a3b64c59f3b78fc222d2b3 DIST acct-6.6.4.tar.gz 853273 BLAKE2B 2ee42ae849f8e7c5c6dbe33d45e944f945cef87a5fef0074ac31848547ab9b7068509bce3c4b47b35bfde49b02daf43ae812cc58284c50185e4bdc660dccae52 SHA512 413aa446caece8fd773c92e2995bbaa034f63dd0ced521815a676c49f118e02982862b9c0ab7e60be5212c87d1e82ba6325bda212cf4857392a068d359a1e2c2 -EBUILD acct-6.5.5-r4.ebuild 1169 BLAKE2B 152a9407547bdffa4b059636830140c39b8dddf7fc5dc3a76c4d08f655be52f0fb17c27c8276d614a0a7885696132c2bb2643a6e0a84378b7639e229c87d12b6 SHA512 666869908d8b461d08ac404d80ffeeb850f200e967a66ecce9caf67c995cfcbc8a995d1c59b3deff92e8ee17ca651fca6c0f6138f1d3183127fd037f5741f704 -EBUILD acct-6.6.1.ebuild 1215 BLAKE2B 1ac47e8becc8ce578d509e6821a4be14625247cf936488ee9eee29b08398b540c42739dd5a298aeb9a80087d368178d8ae1947d45efce06051dd3991193d74cd SHA512 75d43e3cc0e2ffc64db1165a7301d79a881f04ffa7f54aa7dfd9a10bffb28c431ed3ff6f537f445f060d51a3c24656984386bd459d21031aa54edef8c5d90986 -EBUILD acct-6.6.2-r1.ebuild 1091 BLAKE2B d35c85aefef34bcfeb993061a33509d17ba57bb2fc47e12a4523609ba7d93c4e22a692cd9b984ac0cd5d33f8c29c8471475ccf867d32b564e6e9dccd55a70691 SHA512 9b245d213f72bde8e5166b919b36a68b623a982e88829af8ec07645029a3badc11ed51d5e295f05fe6111361e922481bbdeb160bd806d85f373cf1c1a4be235f -EBUILD acct-6.6.2.ebuild 1088 BLAKE2B 224fb7fd4466a030ea29fd91922fb77634575514a3628e9a6dfc6c81e17ba2d720139f2f8146e98195fb43eea48c88c4799e9e08a0ee7e47f4cc716863b38015 SHA512 111fa62f46d1e12b475a8440d2577c5019f7812c33ec95a155ab01a784913231fab963c021f01051bd14f134bd378279bd677325f890183f6d4ff2f7cd553be7 EBUILD acct-6.6.4-r1.ebuild 1038 BLAKE2B 2503f0cb1b51e166be8da3bd4e67289ce9e811d07a512adee0b1dcbf9dd55c16761c709d546836f06f5e2eaf72fb1daf5afd20901e780f643c3798ca8ec31f9d SHA512 0a2559f74a0a09720ebf619b3d9e888708c68e6773eecc829ee44f1ced942734f7b83787fb60db49c7e0eb3a959325a7454db9a33a18a0c5700dde777eb442ef -EBUILD acct-6.6.4.ebuild 1042 BLAKE2B 038e2c289deb9c13b2c1c433740e5dfd40465d024fe7098327847a776030fe9a1e24d821779312fb4a22d5d7d3055c8af91abebc59f9b1a3695690331a72cebc SHA512 bce6c29bc003e8261bf5c4dcdc985e75e39ae8178cbd4428b652b1b2415873804a0a61005326ec9fe85c96253af2fd1e5d5a7f9e1262929258c6927845c7ea5e MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-process/acct/acct-6.5.5-r4.ebuild b/sys-process/acct/acct-6.5.5-r4.ebuild deleted file mode 100644 index fbfc364215c2..000000000000 --- a/sys-process/acct/acct-6.5.5-r4.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 -inherit eutils autotools systemd - -DESCRIPTION="GNU system accounting utilities" -HOMEPAGE="https://savannah.gnu.org/projects/acct/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-6.5.5-cross-compile.patch \ - "${FILESDIR}"/${PN}-6.5.5-no-gets.patch - eautoreconf -} - -src_configure() { - econf --enable-linux-multiformat -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO - keepdir /var/account - newinitd "${FILESDIR}"/acct.initd-r1 acct || die - newconfd "${FILESDIR}"/acct.confd acct || die - systemd_dounit "${FILESDIR}"/acct.service - insinto /etc/logrotate.d - newins "${FILESDIR}"/acct.logrotate acct || die - - # sys-apps/sysvinit already provides this - rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die - - # accton in / is only a temp workaround for #239748 - dodir /sbin - mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die -} diff --git a/sys-process/acct/acct-6.6.1.ebuild b/sys-process/acct/acct-6.6.1.ebuild deleted file mode 100644 index f1852b70af1b..000000000000 --- a/sys-process/acct/acct-6.6.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools base systemd - -DESCRIPTION="GNU system accounting utilities" -HOMEPAGE="https://savannah.gnu.org/projects/acct/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -PATCHES=( - "${FILESDIR}"/${P}-cross-compile.patch - "${FILESDIR}"/${P}-no-gets.patch - "${FILESDIR}"/${P}-texi-failure.patch - "${FILESDIR}"/${P}-math.patch -) - -src_prepare() { - base_src_prepare - eautoreconf -} - -src_configure() { - econf --enable-linux-multiformat -} - -src_install() { - emake install DESTDIR="${D}" - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO - keepdir /var/account - newinitd "${FILESDIR}"/acct.initd acct - newconfd "${FILESDIR}"/acct.confd acct - systemd_dounit "${FILESDIR}"/acct.service - insinto /etc/logrotate.d - newins "${FILESDIR}"/acct.logrotate acct - - # sys-apps/sysvinit already provides this - rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die - - # accton in / is only a temp workaround for #239748 - dodir /sbin - mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die -} diff --git a/sys-process/acct/acct-6.6.2-r1.ebuild b/sys-process/acct/acct-6.6.2-r1.ebuild deleted file mode 100644 index 22276e67c861..000000000000 --- a/sys-process/acct/acct-6.6.2-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools base systemd - -DESCRIPTION="GNU system accounting utilities" -HOMEPAGE="https://savannah.gnu.org/projects/acct/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -PATCHES=( - "${FILESDIR}"/${PN}-6.6.2-cross-compile.patch - "${FILESDIR}"/${PN}-6.6.1-no-gets.patch -) - -src_prepare() { - base_src_prepare - eautoreconf -} - -src_configure() { - econf --enable-linux-multiformat -} - -src_install() { - default - keepdir /var/account - newinitd "${FILESDIR}"/acct.initd-r1 acct - newconfd "${FILESDIR}"/acct.confd acct - systemd_dounit "${FILESDIR}"/acct.service - insinto /etc/logrotate.d - newins "${FILESDIR}"/acct.logrotate acct - - # sys-apps/sysvinit already provides this - rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die - - # accton in / is only a temp workaround for #239748 - dodir /sbin - mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die -} diff --git a/sys-process/acct/acct-6.6.2.ebuild b/sys-process/acct/acct-6.6.2.ebuild deleted file mode 100644 index 95199c408eed..000000000000 --- a/sys-process/acct/acct-6.6.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools base systemd - -DESCRIPTION="GNU system accounting utilities" -HOMEPAGE="https://savannah.gnu.org/projects/acct/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -PATCHES=( - "${FILESDIR}"/${PN}-6.6.2-cross-compile.patch - "${FILESDIR}"/${PN}-6.6.1-no-gets.patch -) - -src_prepare() { - base_src_prepare - eautoreconf -} - -src_configure() { - econf --enable-linux-multiformat -} - -src_install() { - default - keepdir /var/account - newinitd "${FILESDIR}"/acct.initd acct - newconfd "${FILESDIR}"/acct.confd acct - systemd_dounit "${FILESDIR}"/acct.service - insinto /etc/logrotate.d - newins "${FILESDIR}"/acct.logrotate acct - - # sys-apps/sysvinit already provides this - rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die - - # accton in / is only a temp workaround for #239748 - dodir /sbin - mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die -} diff --git a/sys-process/acct/acct-6.6.4.ebuild b/sys-process/acct/acct-6.6.4.ebuild deleted file mode 100644 index 46888474a25d..000000000000 --- a/sys-process/acct/acct-6.6.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools systemd - -DESCRIPTION="GNU system accounting utilities" -HOMEPAGE="https://savannah.gnu.org/projects/acct/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -PATCHES=( - "${FILESDIR}"/${PN}-6.6.4-cross-compile.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --enable-linux-multiformat -} - -src_install() { - default - keepdir /var/account - newinitd "${FILESDIR}"/acct.initd-r2 acct - newconfd "${FILESDIR}"/acct.confd-r1 acct - systemd_dounit "${FILESDIR}"/acct.service - insinto /etc/logrotate.d - newins "${FILESDIR}"/acct.logrotate-r1 acct - - # sys-apps/sysvinit already provides this - rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die - - # accton in / is only a temp workaround for #239748 - dodir /sbin - mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die -} diff --git a/sys-process/acct/files/acct-6.5.5-cross-compile.patch b/sys-process/acct/files/acct-6.5.5-cross-compile.patch deleted file mode 100644 index 2fb7bfa7bc25..000000000000 --- a/sys-process/acct/files/acct-6.5.5-cross-compile.patch +++ /dev/null @@ -1,323 +0,0 @@ -https://savannah.gnu.org/patch/?7473 - -From 8958c3cb7b77ec50d8dae0490d8c80dee798e20d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com> -Date: Fri, 18 Feb 2011 06:13:20 +0100 -Subject: [PATCH] Don't generate files.h at build-time using an execution test. - -The *_LOC variables are never used in the build itself, but only in the -built code; this means that they don't need to be known to ./configure at -all. - -Since the previous method made acct not cross-compilable at all, this is -much preferred. - ---- a/Makefile.am -+++ b/Makefile.am -@@ -66,11 +66,6 @@ - SYS_AC = @SYS_AC@ - SYS_SA = @SYS_SA@ - --WTMP_FILE_LOC = @WTMP_FILE_LOC@ --ACCT_FILE_LOC = @ACCT_FILE_LOC@ --SAVACCT_FILE_LOC = @SAVACCT_FILE_LOC@ --USRACCT_FILE_LOC = @USRACCT_FILE_LOC@ -- - compare-ac: ac - @echo - @echo "Running tests for ac" ---- a/configure.ac -+++ b/configure.ac -@@ -159,101 +159,6 @@ - AC_EGREP_HEADER([comp_t],[sys/acct.h],[AC_DEFINE(HAVE_COMP_T, 1, Define if <sys/acct.h> uses the COMP_T type.)]) - ) ] - ) --dnl --dnl find out where utmp/pacct are stored --dnl --AC_RUN_IFELSE([AC_LANG_SOURCE([[ --#include <stdio.h> --#include <stdlib.h> --#include <sys/types.h> --#include <stdint.h> /* GNU/kFreeBSD */ --#include <sys/acct.h> --#include <utmp.h> -- --#ifndef WTMP_FILE --# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) --# define WTMP_FILE "/var/log/wtmp" --# else --# if defined(sun) || defined(AMIX) --# define WTMP_FILE "/var/adm/wtmp" --# else --# if defined(sgi) || defined(SVR4) --# define WTMP_FILE "/usr/adm/wtmp" --# else --# define WTMP_FILE "/usr/adm/wtmp" --# endif --# endif --# endif --#endif -- --#ifndef ACCT_FILE --# if defined(__FreeBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) --# define ACCT_FILE "/var/account/pacct" --# else --# if defined(__NetBSD__) --# define ACCT_FILE "/var/account/acct" --# else --# if defined(sun) || defined(AMIX) --# define ACCT_FILE "/var/adm/pacct" --# else --# if defined(sgi) || defined(SVR4) || defined(M_XENIX) --# define ACCT_FILE "/usr/adm/pacct" --# else --# define ACCT_FILE "/usr/adm/acct" --# endif --# endif --# endif --# endif --#endif -- --#ifndef SAVACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) --# define SAVACCT_FILE "/var/account/savacct" --# else --# if defined(sun) || defined(AMIX) --# define SAVACCT_FILE "/var/adm/savacct" --# else --# if defined(sgi) || defined(SVR4) --# define SAVACCT_FILE "/usr/adm/savacct" --# else --# define SAVACCT_FILE "/usr/adm/savacct" --# endif --# endif --# endif --#endif -- --#ifndef USRACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) --# define USRACCT_FILE "/var/account/usracct" --# else --# if defined(sun) || defined(AMIX) --# define USRACCT_FILE "/var/adm/usracct" --# else --# if defined(sgi) || defined(SVR4) --# define USRACCT_FILE "/usr/adm/usracct" --# else --# define USRACCT_FILE "/usr/adm/usracct" --# endif --# endif --# endif --#endif -- --main () --{ -- FILE *fp; -- fp = fopen ("locs", "w"); -- fprintf (fp, "WTMP_FILE_LOC=%s\n", WTMP_FILE); -- fprintf (fp, "ACCT_FILE_LOC=%s\n", ACCT_FILE); -- fprintf (fp, "SAVACCT_FILE_LOC=%s\n", SAVACCT_FILE); -- fprintf (fp, "USRACCT_FILE_LOC=%s\n", USRACCT_FILE); -- fclose (fp); -- exit(0); --} --]])],[. ./locs; rm locs],[echo "Error -- could not locate your wtmp and acct files."; exit 1],[echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 ]) - AC_TYPE_PID_T dnl for sys/acct.h - AC_TYPE_UID_T dnl same as above - AC_TYPE_SIZE_T -@@ -366,12 +271,6 @@ - AC_SUBST(LASTCOMM_MAN) - AC_SUBST(SA_MAN) - --dnl Substitutions for file locations --AC_SUBST(WTMP_FILE_LOC) --AC_SUBST(ACCT_FILE_LOC) --AC_SUBST(SAVACCT_FILE_LOC) --AC_SUBST(USRACCT_FILE_LOC) -- - dnl Dump the makefiles and etc. --AC_CONFIG_FILES([Makefile lib/Makefile files.h version.h]) -+AC_CONFIG_FILES([Makefile lib/Makefile version.h]) - AC_OUTPUT ---- /dev/null -+++ b/files.h -@@ -0,0 +1,123 @@ -+/* files.h -+ * -+ * file locations -+ * -+ */ -+ -+#ifndef FILES_H -+#define FILES_H -+ -+#include "config.h" -+ -+#include <stdio.h> -+#include <stdlib.h> -+#include <sys/types.h> -+#include <stdint.h> /* GNU/kFreeBSD */ -+ -+#ifdef LINUX_MULTIFORMAT -+# include "linux-acct.h" -+#else -+# include <stdint.h> /* GNU/kFreeBSD */ -+# include <sys/acct.h> -+# if defined __FreeBSD__ || defined __FreeBSD_kernel__ -+# include <osreldate.h> -+# if __FreeBSD_kernel__ -+# define __FreeBSD_version __FreeBSD_kernel_version -+# endif /* __FreeBSD_kernel__ */ -+# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ -+# define acct acctv2 -+# define ac_flag ac_flagx -+# endif -+# endif -+#endif -+ -+#include <utmp.h> -+ -+#ifndef WTMP_FILE -+# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define WTMP_FILE "/var/log/wtmp" -+# else -+# if defined(sun) || defined(AMIX) -+# define WTMP_FILE "/var/adm/wtmp" -+# else -+# if defined(sgi) || defined(SVR4) -+# define WTMP_FILE "/usr/adm/wtmp" -+# else -+# define WTMP_FILE "/usr/adm/wtmp" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef ACCT_FILE -+# if defined(__FreeBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define ACCT_FILE "/var/account/pacct" -+# else -+# if defined(__NetBSD__) -+# define ACCT_FILE "/var/account/acct" -+# else -+# if defined(sun) || defined(AMIX) -+# define ACCT_FILE "/var/adm/pacct" -+# else -+# if defined(sgi) || defined(SVR4) || defined(M_XENIX) -+# define ACCT_FILE "/usr/adm/pacct" -+# else -+# define ACCT_FILE "/usr/adm/acct" -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef SAVACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define SAVACCT_FILE "/var/account/savacct" -+# else -+# if defined(sun) || defined(AMIX) -+# define SAVACCT_FILE "/var/adm/savacct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define SAVACCT_FILE "/usr/adm/savacct" -+# else -+# define SAVACCT_FILE "/usr/adm/savacct" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef USRACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define USRACCT_FILE "/var/account/usracct" -+# else -+# if defined(sun) || defined(AMIX) -+# define USRACCT_FILE "/var/adm/usracct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define USRACCT_FILE "/usr/adm/usracct" -+# else -+# define USRACCT_FILE "/usr/adm/usracct" -+# endif -+# endif -+# endif -+#endif -+ -+#define WTMP_FILE_LOC WTMP_FILE -+#define ACCT_FILE_LOC ACCT_FILE -+#define SAVACCT_FILE_LOC SAVACCT_FILE -+#define USRACCT_FILE_LOC USRACCT_FILE -+ -+/* Workaround for a kernel includes problem */ -+#if defined(__linux__) && defined(__alpha__) -+#undef AHZ -+#define AHZ 1024 -+#endif -+ -+#ifndef AHZ -+#define AHZ 64 -+#endif -+ -+#endif /* ! FILES_H */ ---- a/files.h.in -+++ /dev/null -@@ -1,48 +0,0 @@ --/* files.h.in -- * -- * file locations -- * -- */ -- --#ifndef FILES_H --#define FILES_H -- --#include "config.h" -- --#include <sys/types.h> -- --#ifdef LINUX_MULTIFORMAT --# include "linux-acct.h" --#else --# include <stdint.h> /* GNU/kFreeBSD */ --# include <sys/acct.h> --# if defined __FreeBSD__ || defined __FreeBSD_kernel__ --# include <osreldate.h> --# if __FreeBSD_kernel__ --# define __FreeBSD_version __FreeBSD_kernel_version --# endif /* __FreeBSD_kernel__ */ --# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ --# define acct acctv2 --# define ac_flag ac_flagx --# endif --# endif --#endif -- --#include <utmp.h> -- --#define WTMP_FILE_LOC "@WTMP_FILE_LOC@" --#define ACCT_FILE_LOC "@ACCT_FILE_LOC@" --#define SAVACCT_FILE_LOC "@SAVACCT_FILE_LOC@" --#define USRACCT_FILE_LOC "@USRACCT_FILE_LOC@" -- --/* Workaround for a kernel includes problem */ --#if defined(__linux__) && defined(__alpha__) --#undef AHZ --#define AHZ 1024 --#endif -- --#ifndef AHZ --#define AHZ 64 --#endif -- --#endif /* ! FILES_H */ diff --git a/sys-process/acct/files/acct-6.5.5-no-gets.patch b/sys-process/acct/files/acct-6.5.5-no-gets.patch deleted file mode 100644 index 3478b66de9db..000000000000 --- a/sys-process/acct/files/acct-6.5.5-no-gets.patch +++ /dev/null @@ -1,22 +0,0 @@ -hack until acct pulls a newer gnulib version - -From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 -From: Eric Blake <eblake@redhat.com> -Date: Thu, 29 Mar 2012 13:30:41 -0600 -Subject: [PATCH] stdio: don't assume gets any more - -Gnulib intentionally does not have a gets module, and now that C11 -and glibc have dropped it, we should be more proactive about warning -any user on a platform that still has a declaration of this dangerous -interface. - ---- a/lib/stdio.in.h -+++ b/lib/stdio.in.h -@@ -125,7 +125,6 @@ - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/sys-process/acct/files/acct-6.6.1-cross-compile.patch b/sys-process/acct/files/acct-6.6.1-cross-compile.patch deleted file mode 100644 index 67ac7d56fad0..000000000000 --- a/sys-process/acct/files/acct-6.6.1-cross-compile.patch +++ /dev/null @@ -1,324 +0,0 @@ -https://savannah.gnu.org/patch/?7473 - -From 8958c3cb7b77ec50d8dae0490d8c80dee798e20d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com> -Date: Fri, 18 Feb 2011 06:13:20 +0100 -Subject: [PATCH] Don't generate files.h at build-time using an execution test. - -The *_LOC variables are never used in the build itself, but only in the -built code; this means that they don't need to be known to ./configure at -all. - -Since the previous method made acct not cross-compilable at all, this is -much preferred. - ---- acct-6.6.1/configure.ac -+++ acct-6.6.1/configure.ac -@@ -228,102 +228,6 @@ - AC_EGREP_HEADER([comp_t],[sys/acct.h],[AC_DEFINE(HAVE_COMP_T, 1, Define if <sys/acct.h> uses the COMP_T type.)]) - ) ] - ) --dnl --dnl find out where utmp/pacct are stored --dnl --AC_RUN_IFELSE([AC_LANG_SOURCE([[ --#include <stdio.h> --#include <stdlib.h> --#include <sys/types.h> --#include <stdint.h> /* GNU/kFreeBSD */ --#include <sys/acct.h> --#include <utmp.h> -- --#ifndef WTMP_FILE --# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define WTMP_FILE "/var/log/account/wtmp" --# else --# if defined(sun) || defined(AMIX) --# define WTMP_FILE "/var/adm/wtmp" --# else --# if defined(sgi) || defined(SVR4) --# define WTMP_FILE "/usr/adm/wtmp" --# else --# define WTMP_FILE "/usr/adm/wtmp" --# endif --# endif --# endif --#endif -- --#ifndef ACCT_FILE --# if defined(__FreeBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define ACCT_FILE "/var/log/account/pacct" --# else --# if defined(__NetBSD__) --# define ACCT_FILE "/var/log/account/acct" --# else --# if defined(sun) || defined(AMIX) --# define ACCT_FILE "/var/adm/pacct" --# else --# if defined(sgi) || defined(SVR4) || defined(M_XENIX) --# define ACCT_FILE "/usr/adm/pacct" --# else --# define ACCT_FILE "/usr/adm/acct" --# endif --# endif --# endif --# endif --#endif -- --#ifndef SAVACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define SAVACCT_FILE "/var/log/account/savacct" --# else --# if defined(sun) || defined(AMIX) --# define SAVACCT_FILE "/var/adm/savacct" --# else --# if defined(sgi) || defined(SVR4) --# define SAVACCT_FILE "/usr/adm/savacct" --# else --# define SAVACCT_FILE "/usr/adm/savacct" --# endif --# endif --# endif --#endif -- --#ifndef USRACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define USRACCT_FILE "/var/log/account/usracct" --# else --# if defined(sun) || defined(AMIX) --# define USRACCT_FILE "/var/adm/usracct" --# else --# if defined(sgi) || defined(SVR4) --# define USRACCT_FILE "/usr/adm/usracct" --# else --# define USRACCT_FILE "/usr/adm/usracct" --# endif --# endif --# endif --#endif -- --main () --{ -- FILE *fp; -- fp = fopen ("locs", "w"); -- fprintf (fp, "WTMP_FILE_LOC=%s\n", WTMP_FILE); -- fprintf (fp, "ACCT_FILE_LOC=%s\n", ACCT_FILE); -- fprintf (fp, "SAVACCT_FILE_LOC=%s\n", SAVACCT_FILE); -- fprintf (fp, "USRACCT_FILE_LOC=%s\n", USRACCT_FILE); -- fclose (fp); -- exit(0); --} --]])],[. ./locs; rm locs],[echo "Error -- could not locate your wtmp and acct files."; exit 1],[echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 ]) -- - dnl types - AC_TYPE_PID_T dnl for sys/acct.h - AC_TYPE_UID_T dnl same as above -@@ -366,12 +270,6 @@ - AC_SUBST(LASTCOMM_MAN) - AC_SUBST(SA_MAN) - --dnl Substitutions for file locations --AC_SUBST(WTMP_FILE_LOC) --AC_SUBST(ACCT_FILE_LOC) --AC_SUBST(SAVACCT_FILE_LOC) --AC_SUBST(USRACCT_FILE_LOC) -- - dnl Dump the makefiles and etc. --AC_CONFIG_FILES([Makefile lib/Makefile files.h version.h]) -+AC_CONFIG_FILES([Makefile lib/Makefile version.h]) - AC_OUTPUT ---- acct-6.6.1/files.h -+++ acct-6.6.1/files.h -@@ -0,0 +1,123 @@ -+/* files.h -+ * -+ * file locations -+ * -+ */ -+ -+#ifndef FILES_H -+#define FILES_H -+ -+#include "config.h" -+ -+#include <stdio.h> -+#include <stdlib.h> -+#include <sys/types.h> -+#include <stdint.h> /* GNU/kFreeBSD */ -+ -+#ifdef LINUX_MULTIFORMAT -+# include "linux-acct.h" -+#else -+# include <stdint.h> /* GNU/kFreeBSD */ -+# include <sys/acct.h> -+# if defined __FreeBSD__ || defined __FreeBSD_kernel__ -+# include <osreldate.h> -+# if __FreeBSD_kernel__ -+# define __FreeBSD_version __FreeBSD_kernel_version -+# endif /* __FreeBSD_kernel__ */ -+# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ -+# define acct acctv2 -+# define ac_flag ac_flagx -+# endif -+# endif -+#endif -+ -+#include <utmp.h> -+ -+#ifndef WTMP_FILE -+# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define WTMP_FILE "/var/log/wtmp" -+# else -+# if defined(sun) || defined(AMIX) -+# define WTMP_FILE "/var/adm/wtmp" -+# else -+# if defined(sgi) || defined(SVR4) -+# define WTMP_FILE "/usr/adm/wtmp" -+# else -+# define WTMP_FILE "/usr/adm/wtmp" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef ACCT_FILE -+# if defined(__FreeBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define ACCT_FILE "/var/account/pacct" -+# else -+# if defined(__NetBSD__) -+# define ACCT_FILE "/var/account/acct" -+# else -+# if defined(sun) || defined(AMIX) -+# define ACCT_FILE "/var/adm/pacct" -+# else -+# if defined(sgi) || defined(SVR4) || defined(M_XENIX) -+# define ACCT_FILE "/usr/adm/pacct" -+# else -+# define ACCT_FILE "/usr/adm/acct" -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef SAVACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define SAVACCT_FILE "/var/account/savacct" -+# else -+# if defined(sun) || defined(AMIX) -+# define SAVACCT_FILE "/var/adm/savacct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define SAVACCT_FILE "/usr/adm/savacct" -+# else -+# define SAVACCT_FILE "/usr/adm/savacct" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef USRACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) -+# define USRACCT_FILE "/var/account/usracct" -+# else -+# if defined(sun) || defined(AMIX) -+# define USRACCT_FILE "/var/adm/usracct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define USRACCT_FILE "/usr/adm/usracct" -+# else -+# define USRACCT_FILE "/usr/adm/usracct" -+# endif -+# endif -+# endif -+#endif -+ -+#define WTMP_FILE_LOC WTMP_FILE -+#define ACCT_FILE_LOC ACCT_FILE -+#define SAVACCT_FILE_LOC SAVACCT_FILE -+#define USRACCT_FILE_LOC USRACCT_FILE -+ -+/* Workaround for a kernel includes problem */ -+#if defined(__linux__) && defined(__alpha__) -+#undef AHZ -+#define AHZ 1024 -+#endif -+ -+#ifndef AHZ -+#define AHZ 64 -+#endif -+ -+#endif /* ! FILES_H */ ---- acct-6.6.1/files.h.in -+++ acct-6.6.1/files.h.in -@@ -1,48 +0,0 @@ --/* files.h.in -- * -- * file locations -- * -- */ -- --#ifndef FILES_H --#define FILES_H -- --#include "config.h" -- --#include <sys/types.h> -- --#ifdef LINUX_MULTIFORMAT --# include "linux-acct.h" --#else --# include <stdint.h> /* GNU/kFreeBSD */ --# include <sys/acct.h> --# if defined __FreeBSD__ || defined __FreeBSD_kernel__ --# include <osreldate.h> --# if __FreeBSD_kernel__ --# define __FreeBSD_version __FreeBSD_kernel_version --# endif /* __FreeBSD_kernel__ */ --# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ --# define acct acctv2 --# define ac_flag ac_flagx --# endif --# endif --#endif -- --#include <utmp.h> -- --#define WTMP_FILE_LOC "@WTMP_FILE_LOC@" --#define ACCT_FILE_LOC "@ACCT_FILE_LOC@" --#define SAVACCT_FILE_LOC "@SAVACCT_FILE_LOC@" --#define USRACCT_FILE_LOC "@USRACCT_FILE_LOC@" -- --/* Workaround for a kernel includes problem */ --#if defined(__linux__) && defined(__alpha__) --#undef AHZ --#define AHZ 1024 --#endif -- --#ifndef AHZ --#define AHZ 64 --#endif -- --#endif /* ! FILES_H */ ---- acct-6.6.1/Makefile.am -+++ acct-6.6.1/Makefile.am -@@ -66,11 +66,6 @@ - SYS_AC = @SYS_AC@ - SYS_SA = @SYS_SA@ - --WTMP_FILE_LOC = @WTMP_FILE_LOC@ --ACCT_FILE_LOC = @ACCT_FILE_LOC@ --SAVACCT_FILE_LOC = @SAVACCT_FILE_LOC@ --USRACCT_FILE_LOC = @USRACCT_FILE_LOC@ -- - compare-ac: ac - @echo - @echo "Running tests for ac" diff --git a/sys-process/acct/files/acct-6.6.1-math.patch b/sys-process/acct/files/acct-6.6.1-math.patch deleted file mode 100644 index a1d6fe72e758..000000000000 --- a/sys-process/acct/files/acct-6.6.1-math.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://savannah.gnu.org/bugs/?42973 -https://bugs.gentoo.org/519552 - -these files use frexp/ldexp which is in -lm - ---- a/Makefile.am -+++ b/Makefile.am -@@ -26,6 +26,7 @@ accton_SOURCES = accton.c common.c - - dump_acct_SOURCES = dump-acct.c common.c file_rd.c \ - pacct_rd.c -+dump_acct_LDADD = $(LDADD) -lm - - dump_utmp_SOURCES = dump-utmp.c common.c file_rd.c \ - utmp_rd.c -@@ -37,9 +38,11 @@ last_SOURCES = last.c common.c file_rd.c hashtab.c \ - - lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c \ - hashtab.c pacct_rd.c uid_hash.c -+lastcomm_LDADD = $(LDADD) -lm - - sa_SOURCES = sa.c common.c file_rd.c hashtab.c \ - pacct_rd.c uid_hash.c -+sa_LDADD = $(LDADD) -lm - - noinst_HEADERS = common.h config.h dev_hash.h file_rd.h hashtab.h \ - pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h diff --git a/sys-process/acct/files/acct-6.6.1-no-gets.patch b/sys-process/acct/files/acct-6.6.1-no-gets.patch deleted file mode 100644 index f2f83975d587..000000000000 --- a/sys-process/acct/files/acct-6.6.1-no-gets.patch +++ /dev/null @@ -1,25 +0,0 @@ -hack until acct pulls a newer gnulib version - -From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 -From: Eric Blake <eblake@redhat.com> -Date: Thu, 29 Mar 2012 13:30:41 -0600 -Subject: [PATCH] stdio: don't assume gets any more - -Gnulib intentionally does not have a gets module, and now that C11 -and glibc have dropped it, we should be more proactive about warning -any user on a platform that still has a declaration of this dangerous -interface. - ---- acct-6.6.1/lib/stdio.in.h -+++ acct-6.6.1/lib/stdio.in.h -@@ -699,10 +699,6 @@ - so any use of gets warrants an unconditional warning; besides, C11 - removed it. */ - #undef gets --#if HAVE_RAW_DECL_GETS --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); --#endif -- - - #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ - struct obstack; diff --git a/sys-process/acct/files/acct-6.6.1-texi-failure.patch b/sys-process/acct/files/acct-6.6.1-texi-failure.patch deleted file mode 100644 index aa9f3c3586b8..000000000000 --- a/sys-process/acct/files/acct-6.6.1-texi-failure.patch +++ /dev/null @@ -1,32 +0,0 @@ -Description: Fix FTBFS with new texinfo. -Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> - ---- acct-6.5.5.orig/accounting.texi -+++ acct-6.5.5/accounting.texi -@@ -66,7 +66,7 @@ approved by the Foundation. - @end titlepage - - @c ---------------------------------------------------------------------- --@ifinfo -+@ifnottex - @node Top, Preface, (dir), (dir) - - Welcome to the GNU Accounting Utilities! If you don't have a clue about -@@ -77,7 +77,7 @@ program's name. - This is Edition @value{EDITION} of the documentation, updated - @value{UPDATED} for version @value{VERSION} of the GNU Accounting - Utilities. --@end ifinfo -+@end ifnottex - - @menu - * Preface:: general information about the accounting utilities -@@ -468,7 +468,7 @@ overhead, it is forseeable that the entr - wrong order. GNU @code{ac} automatically compensates for this, but some - other @code{ac}s may not... beware. - --@unnumberedsubsubsec The FTP Problem -+@unnumberedsubsec The FTP Problem - - I've tested the standard @code{ac} in Ultrix 4.2 (DECstation/DECsystem), - SunOS 4.1.1 (Sun3, Sun4, Sparc), Mach 2.5 (Omron/Luna), and DomainOS diff --git a/sys-process/acct/files/acct-6.6.2-cross-compile.patch b/sys-process/acct/files/acct-6.6.2-cross-compile.patch deleted file mode 100644 index 70b0556fd486..000000000000 --- a/sys-process/acct/files/acct-6.6.2-cross-compile.patch +++ /dev/null @@ -1,320 +0,0 @@ -https://savannah.gnu.org/patch/?7473 - -From 8958c3cb7b77ec50d8dae0490d8c80dee798e20d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com> -Date: Fri, 18 Feb 2011 06:13:20 +0100 -Subject: [PATCH] Don't generate files.h at build-time using an execution test. - -The *_LOC variables are never used in the build itself, but only in the -built code; this means that they don't need to be known to ./configure at -all. - -Since the previous method made acct not cross-compilable at all, this is -much preferred. - ---- a/Makefile.am -+++ b/Makefile.am -@@ -69,11 +69,6 @@ SYS_LASTCOMM = @SYS_LASTCOMM@ - SYS_AC = @SYS_AC@ - SYS_SA = @SYS_SA@ - --WTMP_FILE_LOC = @WTMP_FILE_LOC@ --ACCT_FILE_LOC = @ACCT_FILE_LOC@ --SAVACCT_FILE_LOC = @SAVACCT_FILE_LOC@ --USRACCT_FILE_LOC = @USRACCT_FILE_LOC@ -- - compare-ac: ac - @echo - @echo "Running tests for ac" ---- a/configure.ac -+++ b/configure.ac -@@ -229,101 +229,6 @@ AC_CHECK_HEADER(sys/acct.h, - AC_EGREP_HEADER([comp_t],[sys/acct.h],[AC_DEFINE(HAVE_COMP_T, 1, Define if <sys/acct.h> uses the COMP_T type.)]) - ) ] - ) --dnl --dnl find out where utmp/pacct are stored --dnl --AC_RUN_IFELSE([AC_LANG_SOURCE([[ --#include <stdio.h> --#include <stdlib.h> --#include <sys/types.h> --#include <stdint.h> /* GNU/kFreeBSD */ --#include <sys/acct.h> --#include <utmp.h> -- --#ifndef WTMP_FILE --# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define WTMP_FILE "/var/log/account/wtmp" --# else --# if defined(sun) || defined(AMIX) --# define WTMP_FILE "/var/adm/wtmp" --# else --# if defined(sgi) || defined(SVR4) --# define WTMP_FILE "/usr/adm/wtmp" --# else --# define WTMP_FILE "/usr/adm/wtmp" --# endif --# endif --# endif --#endif -- --#ifndef ACCT_FILE --# if defined(__FreeBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define ACCT_FILE "/var/log/account/pacct" --# else --# if defined(__NetBSD__) --# define ACCT_FILE "/var/log/account/acct" --# else --# if defined(sun) || defined(AMIX) --# define ACCT_FILE "/var/adm/pacct" --# else --# if defined(sgi) || defined(SVR4) || defined(M_XENIX) --# define ACCT_FILE "/usr/adm/pacct" --# else --# define ACCT_FILE "/usr/adm/acct" --# endif --# endif --# endif --# endif --#endif -- --#ifndef SAVACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define SAVACCT_FILE "/var/log/account/savacct" --# else --# if defined(sun) || defined(AMIX) --# define SAVACCT_FILE "/var/adm/savacct" --# else --# if defined(sgi) || defined(SVR4) --# define SAVACCT_FILE "/usr/adm/savacct" --# else --# define SAVACCT_FILE "/usr/adm/savacct" --# endif --# endif --# endif --#endif -- --#ifndef USRACCT_FILE --# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -- || defined(__FreeBSD_kernel__) || defined(__GLIBC__) --# define USRACCT_FILE "/var/log/account/usracct" --# else --# if defined(sun) || defined(AMIX) --# define USRACCT_FILE "/var/adm/usracct" --# else --# if defined(sgi) || defined(SVR4) --# define USRACCT_FILE "/usr/adm/usracct" --# else --# define USRACCT_FILE "/usr/adm/usracct" --# endif --# endif --# endif --#endif -- --main () --{ -- FILE *fp; -- fp = fopen ("locs", "w"); -- fprintf (fp, "WTMP_FILE_LOC=%s\n", WTMP_FILE); -- fprintf (fp, "ACCT_FILE_LOC=%s\n", ACCT_FILE); -- fprintf (fp, "SAVACCT_FILE_LOC=%s\n", SAVACCT_FILE); -- fprintf (fp, "USRACCT_FILE_LOC=%s\n", USRACCT_FILE); -- fclose (fp); -- exit(0); --} --]])],[. ./locs; rm locs],[echo "Error -- could not locate your wtmp and acct files."; exit 1],[echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 ]) - - dnl types - AC_TYPE_PID_T dnl for sys/acct.h -@@ -367,12 +272,6 @@ AC_SUBST(ACCTON_MAN) - AC_SUBST(LASTCOMM_MAN) - AC_SUBST(SA_MAN) - --dnl Substitutions for file locations --AC_SUBST(WTMP_FILE_LOC) --AC_SUBST(ACCT_FILE_LOC) --AC_SUBST(SAVACCT_FILE_LOC) --AC_SUBST(USRACCT_FILE_LOC) -- - dnl Dump the makefiles and etc. --AC_CONFIG_FILES([Makefile lib/Makefile files.h version.h]) -+AC_CONFIG_FILES([Makefile lib/Makefile version.h]) - AC_OUTPUT ---- /dev/null -+++ b/files.h -@@ -0,0 +1,120 @@ -+/* files.h.in -+ * -+ * file locations -+ * -+ */ -+ -+#ifndef FILES_H -+#define FILES_H -+ -+#include "config.h" -+ -+#include <sys/types.h> -+ -+#ifdef LINUX_MULTIFORMAT -+# include "linux-acct.h" -+#else -+# include <stdint.h> /* GNU/kFreeBSD */ -+# include <sys/acct.h> -+# if defined __FreeBSD__ || defined __FreeBSD_kernel__ -+# include <osreldate.h> -+# if defined __FreeBSD_kernel__ -+# define __FreeBSD_version __FreeBSD_kernel_version -+# endif /* __FreeBSD_kernel__ */ -+# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ -+# define acct acctv2 -+# define ac_flag ac_flagx -+# endif -+# endif -+#endif -+ -+#include <utmp.h> -+ -+#ifndef WTMP_FILE -+# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) || defined(__GLIBC__) -+# define WTMP_FILE "/var/log/account/wtmp" -+# else -+# if defined(sun) || defined(AMIX) -+# define WTMP_FILE "/var/adm/wtmp" -+# else -+# if defined(sgi) || defined(SVR4) -+# define WTMP_FILE "/usr/adm/wtmp" -+# else -+# define WTMP_FILE "/usr/adm/wtmp" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef ACCT_FILE -+# if defined(__FreeBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) || defined(__GLIBC__) -+# define ACCT_FILE "/var/log/account/pacct" -+# else -+# if defined(__NetBSD__) -+# define ACCT_FILE "/var/log/account/acct" -+# else -+# if defined(sun) || defined(AMIX) -+# define ACCT_FILE "/var/adm/pacct" -+# else -+# if defined(sgi) || defined(SVR4) || defined(M_XENIX) -+# define ACCT_FILE "/usr/adm/pacct" -+# else -+# define ACCT_FILE "/usr/adm/acct" -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef SAVACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) || defined(__GLIBC__) -+# define SAVACCT_FILE "/var/log/account/savacct" -+# else -+# if defined(sun) || defined(AMIX) -+# define SAVACCT_FILE "/var/adm/savacct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define SAVACCT_FILE "/usr/adm/savacct" -+# else -+# define SAVACCT_FILE "/usr/adm/savacct" -+# endif -+# endif -+# endif -+#endif -+ -+#ifndef USRACCT_FILE -+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \ -+ || defined(__FreeBSD_kernel__) || defined(__GLIBC__) -+# define USRACCT_FILE "/var/log/account/usracct" -+# else -+# if defined(sun) || defined(AMIX) -+# define USRACCT_FILE "/var/adm/usracct" -+# else -+# if defined(sgi) || defined(SVR4) -+# define USRACCT_FILE "/usr/adm/usracct" -+# else -+# define USRACCT_FILE "/usr/adm/usracct" -+# endif -+# endif -+# endif -+#endif -+ -+#define WTMP_FILE_LOC WTMP_FILE -+#define ACCT_FILE_LOC ACCT_FILE -+#define SAVACCT_FILE_LOC SAVACCT_FILE -+#define USRACCT_FILE_LOC USRACCT_FILE -+ -+/* Workaround for a kernel includes problem */ -+#if defined(__linux__) && defined(__alpha__) -+#undef AHZ -+#define AHZ 1024 -+#endif -+ -+#ifndef AHZ -+#define AHZ 64 -+#endif -+ -+#endif /* ! FILES_H */ ---- a/files.h.in -+++ /dev/null -@@ -1,48 +0,0 @@ --/* files.h.in -- * -- * file locations -- * -- */ -- --#ifndef FILES_H --#define FILES_H -- --#include "config.h" -- --#include <sys/types.h> -- --#ifdef LINUX_MULTIFORMAT --# include "linux-acct.h" --#else --# include <stdint.h> /* GNU/kFreeBSD */ --# include <sys/acct.h> --# if defined __FreeBSD__ || defined __FreeBSD_kernel__ --# include <osreldate.h> --# if defined __FreeBSD_kernel__ --# define __FreeBSD_version __FreeBSD_kernel_version --# endif /* __FreeBSD_kernel__ */ --# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */ --# define acct acctv2 --# define ac_flag ac_flagx --# endif --# endif --#endif -- --#include <utmp.h> -- --#define WTMP_FILE_LOC "@WTMP_FILE_LOC@" --#define ACCT_FILE_LOC "@ACCT_FILE_LOC@" --#define SAVACCT_FILE_LOC "@SAVACCT_FILE_LOC@" --#define USRACCT_FILE_LOC "@USRACCT_FILE_LOC@" -- --/* Workaround for a kernel includes problem */ --#if defined(__linux__) && defined(__alpha__) --#undef AHZ --#define AHZ 1024 --#endif -- --#ifndef AHZ --#define AHZ 64 --#endif -- --#endif /* ! FILES_H */ diff --git a/sys-process/acct/files/acct.confd b/sys-process/acct/files/acct.confd deleted file mode 100644 index 133efabcf62d..000000000000 --- a/sys-process/acct/files/acct.confd +++ /dev/null @@ -1,13 +0,0 @@ -# /etc/conf.d/acct - -# ACCT_LOG specifies the accounting logging file. -# Remember to create it manually if it doesn't yet exist. - -ACCT_LOG="/var/account/pacct" - -# REPORT_OPTS contains arguments for the "sa" command, -# used for console-reporting. -# Please run "sa --help" or "man sa" to get a description -# of available options. - -REPORT_OPTS="--sort-real-time --list-all-names --percentage" diff --git a/sys-process/acct/files/acct.initd b/sys-process/acct/files/acct.initd deleted file mode 100644 index d6d9dfd62459..000000000000 --- a/sys-process/acct/files/acct.initd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="report" - -depend() { - need localmount -} - -checkconfig() { - export ACCT_LOG=${ACCT_LOG:-/var/account/pacct} - if [ ! -e "${ACCT_LOG}" ] ; then - touch "${ACCT_LOG}" - chmod 600 "${ACCT_LOG}" - fi - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting accounting" - accton "${ACCT_LOG}" >/dev/null - eend $? -} - -stop() { - ebegin "Stopping accounting" - accton off >/dev/null - eend $? -} - -report() { - sa ${REPORT_OPTS} "${ACCT_LOG}" -} diff --git a/sys-process/acct/files/acct.initd-r1 b/sys-process/acct/files/acct.initd-r1 deleted file mode 100644 index 09d9739fea23..000000000000 --- a/sys-process/acct/files/acct.initd-r1 +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="report" - -depend() { - need localmount -} - -checkconfig() { - export ACCT_LOG=${ACCT_LOG:-/var/account/pacct} - checkpath -f -m 600 "${ACCT_LOG}" - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting accounting" - accton "${ACCT_LOG}" >/dev/null - eend $? -} - -stop() { - ebegin "Stopping accounting" - accton off >/dev/null - eend $? -} - -report() { - sa ${REPORT_OPTS} "${ACCT_LOG}" -} diff --git a/sys-process/acct/files/acct.logrotate b/sys-process/acct/files/acct.logrotate deleted file mode 100644 index af6213434cd9..000000000000 --- a/sys-process/acct/files/acct.logrotate +++ /dev/null @@ -1,14 +0,0 @@ -# Logrotate file for acct - -/var/account/pacct { - compress - delaycompress - notifempty - daily - rotate 31 - create 0600 root root - missingok - postrotate - /etc/init.d/acct --quiet --ifstarted restart - endscript -} |