diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-10 11:05:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-10 11:05:14 +0100 |
commit | fbbf0ee3d56a6fd27adf182c6907dc745623aeaa (patch) | |
tree | 2c2869a78e5e3b6af9391df951ca217cced4608d /app-admin/tmpreaper | |
parent | 43297a4ed0a3760bbdd0b8c286b779f174ca5368 (diff) |
gentoo auto-resync : 10:08:2024 - 11:05:14
Diffstat (limited to 'app-admin/tmpreaper')
-rw-r--r-- | app-admin/tmpreaper/Manifest | 3 | ||||
-rw-r--r-- | app-admin/tmpreaper/files/tmpreaper-1.6.13-fix-protect.patch | 46 | ||||
-rw-r--r-- | app-admin/tmpreaper/tmpreaper-1.6.14.ebuild | 43 |
3 files changed, 0 insertions, 92 deletions
diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest index 06f3dcebdda1..8e692f57e893 100644 --- a/app-admin/tmpreaper/Manifest +++ b/app-admin/tmpreaper/Manifest @@ -1,7 +1,4 @@ -AUX tmpreaper-1.6.13-fix-protect.patch 1204 BLAKE2B 8c1b66d939ac8e997272265744873a22a5e5306d8fbec6e56ace78cf4162387c2cb2c2d7372ec62f0e7c99fa954d7e321482d0dbaa75ba6e3ff48a8785277e3c SHA512 7b7f386d8f685e6b38ff3a96030e69a5134016e0a0b30b6841ddc4ae02ae3f90c47388426be98ec35a920e40360aa0cd8662e29d03a765c6ae0209f9907c53c0 AUX tmpreaper-1.6.13-gentoo.patch 1766 BLAKE2B a619096b159686dbcdaacdbd3bf979f74664f8abb2c58957dec7fcb17bee7c1b5b790f4e7283af9f82fb1f7eac2a76f73c5ec26804c6bd799643d553fb56be17 SHA512 0086ac04a352bd35ce9e95576816fc324011bfff78cfa089828bf3befb8b183ae2213be9759422ce1f9ddd1cb26dcdf292b429ffe2d0873a1f6f6577e34c5fc9 -DIST tmpreaper_1.6.14.tar.gz 158981 BLAKE2B 1c9ec124c6e57c0aab5d555594950dda37f06a6404a0d111da05be7a48bf6141e09e942c090d3f79ccf855f958a7b32f0d64c73da68b412da74465e39bdb72ae SHA512 e78fab0cd2cc8c851e2806be70c102697bff86230e181bfad1c76b15fe5455fb431bc0dd16bebf77a2e9bb64b5f5a1474d24254ff780d4d72d343ea0e6e30ccb DIST tmpreaper_1.6.17.tar.gz 158894 BLAKE2B 537e8020a9db4adc9dee5b967e89242573d340c8b1d3540ab2de76d9a74bae391ff398d19b71c4017bde04716f01f8958bb73957215b1b44628e5ae7ad805f8b SHA512 8272cb0232f8188f8ad45be40442b686d18bbf508dcd440d3f901f4dbf7d17e05da91ee3bfa5d23d163041fdb08de81d525ac45945f10bc7ff886ac468fc4ce0 -EBUILD tmpreaper-1.6.14.ebuild 1140 BLAKE2B 90ed79e0bfdade02d0ae118aff75bc561a76fe887f59e930cdbda1feae62e010abce327a712db9af14ddb32b29281eeccbfde89bb71fc24bfdd84fc72bf8f6bc SHA512 64e8ef4d1e5bdba4ea3e78e95a3b2ac9079179dfe744611b594705f119567212273c52dd6f4f4a06043b4b517628f4fe86a1eeffc6ab98d4c98c9428d0f0adaa EBUILD tmpreaper-1.6.17.ebuild 1051 BLAKE2B d6c562ad0c56decdd26d92f3ea6aface7a2f126467d088200971fa6c399e580090c0e49552a513b746f860c59e30e24a102fc381e663777652769df18c4d00c8 SHA512 f7a23e20d64f7444c5ab217faaec6c0b9557e6a8600a20110aaee9ab7052b151b1e4ba2af976d32fb245db1bb3772b696b70476019b5fbff9a31427847f77323 MISC metadata.xml 1084 BLAKE2B 2a926ce68b2da9c8c71917baf8c2da1826c46d79cb8b8aa61600ffc7b9666b45117d500f0768950a420e41be7d5e3e64c08cd95230cabb85c64396607bef3f71 SHA512 fde31afd78bdfc08ee4809364a7b5952039c88574216c320d3ec2e6c7983927c2e892250d119f2de3b1d5b6e659acb0eb512092a107e7a62fae1d14ddc2d1520 diff --git a/app-admin/tmpreaper/files/tmpreaper-1.6.13-fix-protect.patch b/app-admin/tmpreaper/files/tmpreaper-1.6.13-fix-protect.patch deleted file mode 100644 index 9c07a4471e18..000000000000 --- a/app-admin/tmpreaper/files/tmpreaper-1.6.13-fix-protect.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- tmpreaper-1.6.13+nmu1/tmpreaper.c.orig 2006-12-05 10:55:58.000000000 -0800 -+++ tmpreaper-1.6.13+nmu1/tmpreaper.c 2006-12-05 10:56:46.000000000 -0800 -@@ -467,6 +467,21 @@ - continue; - } - -+ if (FLAGS_PROTECT_P (flags)) { -+ skip = i = 0; -+ do { -+ if (sb.st_ino == protect_table[i].inode) { -+ message (LOG_VERBOSE, -+ "Entry matching `--protect' pattern skipped. `%s'\n", -+ protect_table[i].name); -+ skip = 1; -+ break; -+ } -+ } while (protect_table[i++].name); -+ if (skip) -+ continue; -+ } -+ - if (S_ISDIR (sb.st_mode)) { - char *dst; - -@@ -489,21 +504,6 @@ - (u_int) getpid(), ent->d_name); - } - -- if (FLAGS_PROTECT_P (flags)) { -- skip = i = 0; -- do { -- if (sb.st_ino == protect_table[i].inode) { -- message (LOG_VERBOSE, -- "Entry matching `--protect' pattern skipped. `%s'\n", -- protect_table[i].name); -- skip = 1; -- break; -- } -- } while (protect_table[i++].name); -- if (skip) -- continue; -- } -- - /* Decide whether to remove the file or not */ - /* check for mtime on directory instead of atime if requested */ - if ( FLAGS_MTIME_P(flags) || diff --git a/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild b/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild deleted file mode 100644 index 94a33705d57b..000000000000 --- a/app-admin/tmpreaper/tmpreaper-1.6.14.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A utility for removing files based on when they were last accessed" -HOMEPAGE="https://packages.debian.org/sid/tmpreaper" -SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" -IUSE="" - -DEPEND="sys-apps/util-linux - sys-fs/e2fsprogs" - -RDEPEND="" - -# fix protect patch from debian bug 636459 -PATCHES=( - "${FILESDIR}"/${PN}-1.6.13-fix-protect.patch - "${FILESDIR}"/${PN}-1.6.13-gentoo.patch -) - -src_install() { - emake DESTDIR="${D}" install - insinto /etc - doins debian/tmpreaper.conf - - exeinto /etc/cron.daily - newexe debian/cron.daily tmpreaper - doman debian/tmpreaper.conf.5 - dodoc README debian/changelog debian/README* -} - -pkg_postinst() { - elog "This package installs a cron script under /etc/cron.daily" - elog "You can configure it using /etc/tmpreaper.conf" - elog "Consult tmpreaper.conf man page for more information" - elog "Read /usr/share/doc/${P}/README.security and" - elog "remove SHOWWARNING from /etc/tmpreaper.conf afterwards" -} |