[arch-commits] Commit in logrotate/trunk (PKGBUILD logrotate.cron.daily)

Pierre Schmitz pierre at nymeria.archlinux.org
Sun May 12 10:52:05 UTC 2013


    Date: Sunday, May 12, 2013 @ 12:52:04
  Author: pierre
Revision: 185239

upgpkg: logrotate 3.8.4-2

move binaries from bin to sbin

Modified:
  logrotate/trunk/PKGBUILD
  logrotate/trunk/logrotate.cron.daily

----------------------+
 PKGBUILD             |    5 +++--
 logrotate.cron.daily |   10 +++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 10:46:44 UTC (rev 185238)
+++ PKGBUILD	2013-05-12 10:52:04 UTC (rev 185239)
@@ -3,7 +3,7 @@
 
 pkgname=logrotate
 pkgver=3.8.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Rotates system logs automatically"
 arch=('i686' 'x86_64')
 url="https://fedorahosted.org/logrotate/"
@@ -21,7 +21,7 @@
          'cd76976b5ce37d328b452c806b55a015'
          'e76526bcd6fc33c9d921e1cb1eff1ffb'
          '86209d257c8b8bc0ae34d6f6ef057c0f'
-         'aa8ac8283908b6114483a293adcb650f')
+         '3909380f8a55fa160f62ed976a8bef4b')
 
 build() {
 	cd "$srcdir/${pkgname}-${pkgver}"
@@ -40,6 +40,7 @@
 package() {
 	cd "$srcdir/${pkgname}-${pkgver}"
 	make PREFIX="$pkgdir" MANDIR="/usr/share/man" install
+	mv ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
 
 	install -dm755 "$pkgdir/etc/logrotate.d"
 	install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf"

Modified: logrotate.cron.daily
===================================================================
--- logrotate.cron.daily	2013-05-12 10:46:44 UTC (rev 185238)
+++ logrotate.cron.daily	2013-05-12 10:52:04 UTC (rev 185239)
@@ -9,16 +9,16 @@
 # 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
 IONICE_PRIORITY=7
 
-CMD_LOGROTATE="/usr/sbin/logrotate /etc/logrotate.conf"
- 
+CMD_LOGROTATE="/usr/bin/logrotate /etc/logrotate.conf"
+
 if [ -x /usr/bin/nice ]; then
   CMD_LOGROTATE="/usr/bin/nice -n ${NICE:-19} ${CMD_LOGROTATE}"
 fi
- 
+
 if [ -x /usr/bin/ionice ]; then
   CMD_LOGROTATE="/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} ${CMD_LOGROTATE}"
 fi
- 
+
 ${CMD_LOGROTATE}
- 
+
 exit 0




More information about the arch-commits mailing list