Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current/.git;a=commitdiff;h=c1bf1694a3340d6ab4316475aa01a0e11d5e4716

commit c1bf1694a3340d6ab4316475aa01a0e11d5e4716
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Wed Aug 8 14:48:04 2007 +0200

logrotate-3.7.5-1-i686
moved to apps

diff --git a/source/apps/logrotate/FrugalBuild 
b/source/apps/logrotate/FrugalBuild
new file mode 100644
index 0000000..6f18eb8
--- /dev/null
+++ b/source/apps/logrotate/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=logrotate
+pkgver=3.7.5
+# lynx -dump 
http://cvs.fedora.redhat.com/viewcvs/devel/logrotate/sources?view=markup |grep 
tar |sed -e 's/  .*//'
+pkg_md5="2b25c645bbcc52abc12ba6a4d52b18e5"
+pkgrel=1
+pkgdesc="Rotates, compresses, removes and mails system log files."
+url="http://cvs.fedora.redhat.com";
+depends=('popt')
+rodepends=('mailx')
+groups=('apps')
+archs=('i686' 'x86_64' 'ppc')
+up2date="lynx -dump $url/viewcvs/devel/logrotate/sources?view=markup |grep tar 
|sed -e 's/.*-\(.*\).t.*/\1/'"
+source=("$url/repo/dist/logrotate/logrotate-$pkgver.tar.gz/$pkg_md5/logrotate-$pkgver.tar.gz"
 \
+        logrotate.conf logrotate)
+
+build()
+{
+       Fsed 'CFLAGS = -Wall' "CFLAGS = -Wall $CFLAGS" Makefile
+       Fmkdir /etc/logrotate.d
+       Fpatchall
+       Fmake
+       make PREFIX=$Fdestdir install || Fdie
+       Ffile /etc/logrotate.conf
+       Fexe /etc/cron.daily/logrotate
+}
+
+sha1sums=('7c9dee4d4df97af2f6d919e2eac61f6a673bd13a'\
+          '4cdc2cfc1077668fae05bfb0ce61bfd781c34d95'\
+          'cadda9e47640ea91e5f1488b518e4982acebad49')
+# optimization OK
diff --git a/source/apps/logrotate/logrotate b/source/apps/logrotate/logrotate
new file mode 100644
index 0000000..e8ab921
--- /dev/null
+++ b/source/apps/logrotate/logrotate
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/sbin/logrotate /etc/logrotate.conf
diff --git a/source/apps/logrotate/logrotate.conf 
b/source/apps/logrotate/logrotate.conf
new file mode 100644
index 0000000..606513b
--- /dev/null
+++ b/source/apps/logrotate/logrotate.conf
@@ -0,0 +1,49 @@
+# /etc/logrotate.conf
+#
+# logrotate is designed to ease administration of systems that generate large
+# numbers of log files.  It allows automatic rotation, compression, removal, 
and
+# mailing of log files.  Each log file may be handled daily, weekly, monthly, 
or
+# when it grows too large.
+#
+# logrotate is normally run daily from root's crontab.
+#
+# For more details, see "man logrotate".
+
+# rotate log files weekly:
+weekly
+
+# keep 4 weeks worth of backlogs:
+rotate 4
+
+# create new (empty) log files after rotating old ones:
+create
+
+# uncomment this if you want your log files compressed:
+#compress
+
+# some packages install log rotation information in this directory:
+include /etc/logrotate.d
+
+# Rotate /var/log/wtmp:
+/var/log/wtmp {
+    monthly
+    create 0664 root utmp
+    rotate 1
+}
+
+#/var/log/httpd/*.log {
+#      monthly
+#      missingok
+#      rotate 3
+#      compress
+#      delaycompress
+#      postrotate
+#      if [ -f /var/run/httpd.pid ]; then
+#              /etc/rc.d/rc.httpd restart > /dev/null
+#      fi
+#      endscript
+#}
+
+# Note that /var/log/lastlog is not rotated.  This is intentional, and it 
should
+# not be.  The lastlog file is a database, and is also a sparse file that takes
+# up much less space on the drive than it appears.
diff --git a/source/base/logrotate/FrugalBuild 
b/source/base/logrotate/FrugalBuild
deleted file mode 100644
index 5087410..0000000
--- a/source/base/logrotate/FrugalBuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Compiling Time: 0.01 SBU
-# Maintainer: VMiklos <[EMAIL PROTECTED]>
-
-pkgname=logrotate
-pkgver=3.7.5
-# lynx -dump 
http://cvs.fedora.redhat.com/viewcvs/devel/logrotate/sources?view=markup |grep 
tar |sed -e 's/  .*//'
-pkg_md5="2b25c645bbcc52abc12ba6a4d52b18e5"
-pkgrel=1
-pkgdesc="Rotates, compresses, removes and mails system log files."
-url="http://cvs.fedora.redhat.com";
-depends=('popt')
-rodepends=('mailx')
-groups=('base')
-archs=('i686' 'x86_64' 'ppc')
-up2date="lynx -dump $url/viewcvs/devel/logrotate/sources?view=markup |grep tar 
|sed -e 's/.*-\(.*\).t.*/\1/'"
-source=("$url/repo/dist/logrotate/logrotate-$pkgver.tar.gz/$pkg_md5/logrotate-$pkgver.tar.gz"
 \
-        logrotate.conf logrotate)
-
-build()
-{
-       Fsed 'CFLAGS = -Wall' "CFLAGS = -Wall $CFLAGS" Makefile
-       Fmkdir /etc/logrotate.d
-       Fpatchall
-       Fmake
-       make PREFIX=$Fdestdir install || Fdie
-       Ffile /etc/logrotate.conf
-       Fexe /etc/cron.daily/logrotate
-}
-
-sha1sums=('7c9dee4d4df97af2f6d919e2eac61f6a673bd13a'\
-          '4cdc2cfc1077668fae05bfb0ce61bfd781c34d95'\
-          'cadda9e47640ea91e5f1488b518e4982acebad49')
-# optimization OK
diff --git a/source/base/logrotate/logrotate b/source/base/logrotate/logrotate
deleted file mode 100644
index e8ab921..0000000
--- a/source/base/logrotate/logrotate
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/usr/sbin/logrotate /etc/logrotate.conf
diff --git a/source/base/logrotate/logrotate.conf 
b/source/base/logrotate/logrotate.conf
deleted file mode 100644
index 606513b..0000000
--- a/source/base/logrotate/logrotate.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# /etc/logrotate.conf
-#
-# logrotate is designed to ease administration of systems that generate large
-# numbers of log files.  It allows automatic rotation, compression, removal, 
and
-# mailing of log files.  Each log file may be handled daily, weekly, monthly, 
or
-# when it grows too large.
-#
-# logrotate is normally run daily from root's crontab.
-#
-# For more details, see "man logrotate".
-
-# rotate log files weekly:
-weekly
-
-# keep 4 weeks worth of backlogs:
-rotate 4
-
-# create new (empty) log files after rotating old ones:
-create
-
-# uncomment this if you want your log files compressed:
-#compress
-
-# some packages install log rotation information in this directory:
-include /etc/logrotate.d
-
-# Rotate /var/log/wtmp:
-/var/log/wtmp {
-    monthly
-    create 0664 root utmp
-    rotate 1
-}
-
-#/var/log/httpd/*.log {
-#      monthly
-#      missingok
-#      rotate 3
-#      compress
-#      delaycompress
-#      postrotate
-#      if [ -f /var/run/httpd.pid ]; then
-#              /etc/rc.d/rc.httpd restart > /dev/null
-#      fi
-#      endscript
-#}
-
-# Note that /var/log/lastlog is not rotated.  This is intentional, and it 
should
-# not be.  The lastlog file is a database, and is also a sparse file that takes
-# up much less space on the drive than it appears.
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to