public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-admin/tmpreaper/files/, app-admin/tmpreaper/
@ 2024-08-09 15:32 Arthur Zamarin
  0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-08-09 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     0cf95274eb23786e9d98620e6ca4a7ec043339bc
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Thu Aug  8 07:24:45 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 15:31:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf95274

app-admin/tmpreaper: drop 1.6.14

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/38014
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-admin/tmpreaper/Manifest                       |  1 -
 .../files/tmpreaper-1.6.13-fix-protect.patch       | 46 ----------------------
 app-admin/tmpreaper/tmpreaper-1.6.14.ebuild        | 43 --------------------
 3 files changed, 90 deletions(-)

diff --git a/app-admin/tmpreaper/Manifest b/app-admin/tmpreaper/Manifest
index ec74884f7565..f9c6864e7a38 100644
--- a/app-admin/tmpreaper/Manifest
+++ b/app-admin/tmpreaper/Manifest
@@ -1,2 +1 @@
-DIST tmpreaper_1.6.14.tar.gz 158981 BLAKE2B 1c9ec124c6e57c0aab5d555594950dda37f06a6404a0d111da05be7a48bf6141e09e942c090d3f79ccf855f958a7b32f0d64c73da68b412da74465e39bdb72ae SHA512 e78fab0cd2cc8c851e2806be70c102697bff86230e181bfad1c76b15fe5455fb431bc0dd16bebf77a2e9bb64b5f5a1474d24254ff780d4d72d343ea0e6e30ccb
 DIST tmpreaper_1.6.17.tar.gz 158894 BLAKE2B 537e8020a9db4adc9dee5b967e89242573d340c8b1d3540ab2de76d9a74bae391ff398d19b71c4017bde04716f01f8958bb73957215b1b44628e5ae7ad805f8b SHA512 8272cb0232f8188f8ad45be40442b686d18bbf508dcd440d3f901f4dbf7d17e05da91ee3bfa5d23d163041fdb08de81d525ac45945f10bc7ff886ac468fc4ce0

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"
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-09 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 15:32 [gentoo-commits] repo/gentoo:master commit in: app-admin/tmpreaper/files/, app-admin/tmpreaper/ Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox