logrotate: Drop package

Message ID 20230221115530.632397-1-stefan.schantl@ipfire.org
State Accepted
Commit c82b4b9580909e16a283765cd50d0e67fa3cb3c3
Headers
Series logrotate: Drop package |

Commit Message

Stefan Schantl Feb. 21, 2023, 11:55 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 logrotate/logrotate.nm              | 57 -----------------------------
 logrotate/systemd/logrotate.service |  5 ---
 2 files changed, 62 deletions(-)
 delete mode 100644 logrotate/logrotate.nm
 delete mode 100644 logrotate/systemd/logrotate.service
  

Patch

diff --git a/logrotate/logrotate.nm b/logrotate/logrotate.nm
deleted file mode 100644
index c15906b6b..000000000
--- a/logrotate/logrotate.nm
+++ /dev/null
@@ -1,57 +0,0 @@ 
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = logrotate
-version    = 3.9.1
-release    = 1
-
-groups     = System/Base
-url        = https://fedorahosted.org/releases/l/o/logrotate/
-license    = GPL+
-summary    = Rotates, compresses, removes and mails system log files.
-
-description
-	The logrotate utility is designed to simplify the administration of
-	log files on a system which generates a lot of log files. Logrotate
-	allows for the automatic rotation compression, removal and mailing of
-	log files.  Logrotate can be set to handle a log file daily, weekly,
-	monthly or when the log file gets to a certain size.
-end
-
-source_dl  = https://fedorahosted.org/releases/l/o/logrotate/
-
-build
-	requires
-		coreutils
-		gzip
-		popt-devel
-		which
-	end
-
-	build
-		make RPM_OPT_FLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
-	end
-
-	install
-		make install BASEDIR=%{prefix} PREFIX=%{BUILDROOT} \
-			MANDIR=%{mandir}
-
-		mkdir -pv %{BUILDROOT}%{localstatedir}
-		touch %{BUILDROOT}%{localstatedir}/logrotate.status
-
-		# Creating directory for config files
-		mkdir -pv %{BUILDROOT}%{sysconfdir}/logrotate.d
-	end
-end
-
-packages
-	package %{name}
-		groups += Base
-	end
-
-	package %{name}-debuginfo
-		template DEBUGINFO
-	end
-end
diff --git a/logrotate/systemd/logrotate.service b/logrotate/systemd/logrotate.service
deleted file mode 100644
index 0b45621d3..000000000
--- a/logrotate/systemd/logrotate.service
+++ /dev/null
@@ -1,5 +0,0 @@ 
-[Unit]
-Description=logrotate
-
-[Service]
-ExexStart=/usr/sbin/logrotate /etc/logrotate.d/*