* [PATCH] logrotate: Drop package
@ 2023-02-21 11:55 Stefan Schantl
0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2023-02-21 11:55 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)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
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(a)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/*
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-21 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 11:55 [PATCH] logrotate: Drop package Stefan Schantl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox