commit:     5dae97f17125cf62646557cf2a361855e22912fa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 16:40:56 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 16:40:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dae97f1

app-admin/newsyslog: Remove last-rited pkg

Closes: https://bugs.gentoo.org/874087
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/newsyslog/Manifest                       |  1 -
 .../files/newsyslog-1.1.0.81-fno-common.patch      | 43 --------------------
 .../newsyslog/files/newsyslog-1.1.0.81-html.patch  | 20 ----------
 app-admin/newsyslog/metadata.xml                   |  8 ----
 app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild   | 46 ----------------------
 profiles/package.mask                              |  6 ---
 6 files changed, 124 deletions(-)

diff --git a/app-admin/newsyslog/Manifest b/app-admin/newsyslog/Manifest
deleted file mode 100644
index 74338d4fc15d..000000000000
--- a/app-admin/newsyslog/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST newsyslog-1.1.0.81.tar.gz 174411 BLAKE2B 
d7916396ecf7dda9928891c3bd1020be45354c9623e53d9a52170567c811b3cad3e82efec8145f51a68ed851c46a6c3fb6e8bf944bedf935f2a6589e4b45d3e1
 SHA512 
de7ae2f71fb5a2a3fad0eaaa793da1ff2b36bc5757a30c70e8f740da8ea2647aea0422c13c1cc1a5e082e41938cbb590c8bb0ecf46d5d584466069f319db47c2

diff --git a/app-admin/newsyslog/files/newsyslog-1.1.0.81-fno-common.patch 
b/app-admin/newsyslog/files/newsyslog-1.1.0.81-fno-common.patch
deleted file mode 100644
index b63e439064ee..000000000000
--- a/app-admin/newsyslog/files/newsyslog-1.1.0.81-fno-common.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-https://bugs.gentoo.org/707452
---- a/sig2str.c
-+++ b/sig2str.c
-@@ -63,7 +63,7 @@ extern const unsigned int sys_nsigname;      /* also from 
sys_signame.c */
- #endif
- 
- #if !defined(SYS_SIGNAME_DECLARED)
--const char *const sys_signame[];      /* defined in sys_signame.c */
-+extern const char *const sys_signame[];       /* defined in sys_signame.c */
- #endif
- 
- #if !defined(HAVE_DECL_SIG2STR)
---- a/str2sig.c
-+++ b/str2sig.c
-@@ -29,7 +29,7 @@ static const char rcsid[] =
- #include "newsyslog.h"                /* generic portability definitions */
- 
- #if !defined(SYS_SIGNAME_DECLARED)
--const char *const sys_signame[];              /* defined in signame.c */
-+extern const char *const sys_signame[];               /* defined in signame.c 
*/
- #endif
- 
- /* NetBSD gained sys_nsig sometime just prior to 1.4 */
-@@ -65,7 +65,7 @@ extern const unsigned int sys_nsigname;      /* also from 
sys_signame.c */
- #endif
- 
- #if !defined(SYS_SIGNAME_DECLARED)
--const char *const sys_signame[];      /* defined in sys_signame.c */
-+extern const char *const sys_signame[];       /* defined in sys_signame.c */
- #endif
- 
- #if !defined(HAVE_DECL_STR2SIG)
---- a/sys_signame.c
-+++ b/sys_signame.c
-@@ -22,7 +22,7 @@
- #include "config.h"
- #include <sys/types.h>
- 
--const char *const sys_signame[] = {
-+extern const char *const sys_signame[] = {
- /*  0 */ "Signal 0",  /* Fake value for zero */
- /*  1 */ "HUP",               /* Control TTY hangup */
- /*  2 */ "INT",               /* Control TTY interrupt */

diff --git a/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch 
b/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch
deleted file mode 100644
index 1e2b07019f35..000000000000
--- a/app-admin/newsyslog/files/newsyslog-1.1.0.81-html.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -763,7 +763,7 @@
- 
- .8.8.html:
-       @rm -f $@
--      ($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
-+      ($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
- 
- .5.5.ps:
-       @rm -f $@
-@@ -771,7 +771,7 @@
- 
- .5.5.html:
-       @rm -f $@
--      ($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
-+      ($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
- 
- .cat5.cat5-dist:
-       @rm -f $@

diff --git a/app-admin/newsyslog/metadata.xml b/app-admin/newsyslog/metadata.xml
deleted file mode 100644
index 4c0d3032d69c..000000000000
--- a/app-admin/newsyslog/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Patrice Clement</name>
-       </maintainer>
-</pkgmetadata>

diff --git a/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild 
b/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild
deleted file mode 100644
index e4c307946c09..000000000000
--- a/app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="a highly configurable program for managing and archiving log 
files"
-HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html";
-SRC_URI="http://download.openpkg.org/components/cache/${PN}/${P}.tar.gz";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~mips ppc ppc64 ~sparc x86"
-
-BDEPEND="sys-apps/groff"
-RDEPEND="
-       virtual/cron
-       app-arch/gzip"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-html.patch
-       "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_configure() {
-       local myconf=(
-               --with-gzip
-               --with-newsyslog_conf="${EPREFIX}"/etc/newsyslog.conf
-       )
-       if has_version 'app-admin/syslog-ng'; then
-               myconf+=( --with-syslogd_pid="${EPREFIX}"/var/run/syslog-ng.pid 
)
-       else
-               myconf+=( --with-syslogd_pid="${EPREFIX}"/var/run/syslog.pid )
-       fi
-
-       econf "${myconf[@]}"
-}
-
-src_install() {
-       # The "install" target would install cached man pages #840951
-       emake \
-               DESTDIR="${D}" \
-               install-exec install-man
-
-       einstalldocs
-       dodoc newsyslog.conf ToDo
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index b18a74b920ea..222fdacdc0ec 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -172,12 +172,6 @@ app-misc/utimer
 # Removal on 2024-01-30.  Bug #849077.
 sys-block/noflushd
 
-# Michał Górny <[email protected]> (2023-12-31)
-# Buggy code that carries local patches already.  The ebuild installs
-# junk files.  No upstream activity since 2009.
-# Removal on 2024-01-30.  Bug #874087.
-app-admin/newsyslog
-
 # Andreas Sturmlechner <[email protected]> (2023-12-25)
 # Masked until KF6 is unmasked.
 ~media-libs/mpvqt-1.0.0

Reply via email to