public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] logrotate: Drop package
Date: Tue, 21 Feb 2023 12:55:30 +0100	[thread overview]
Message-ID: <20230221115530.632397-1-stefan.schantl@ipfire.org> (raw)

[-- 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


                 reply	other threads:[~2023-02-21 11:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230221115530.632397-1-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox