[arch-commits] Commit in metalog/repos/extra-i686 (6 files)

Juergen Hoetzel juergen at archlinux.org
Fri Apr 13 07:43:21 EDT 2012


    Date: Friday, April 13, 2012 @ 07:43:21
  Author: juergen
Revision: 156092

archrelease: copy trunk to extra-i686

Added:
  metalog/repos/extra-i686/PKGBUILD
    (from rev 156091, metalog/trunk/PKGBUILD)
  metalog/repos/extra-i686/metalog
    (from rev 156091, metalog/trunk/metalog)
  metalog/repos/extra-i686/metalog.confd
    (from rev 156091, metalog/trunk/metalog.confd)
Deleted:
  metalog/repos/extra-i686/PKGBUILD
  metalog/repos/extra-i686/metalog
  metalog/repos/extra-i686/metalog.confd

---------------+
 PKGBUILD      |   64 +++++++++++++++++++++----------------------
 metalog       |   82 ++++++++++++++++++++++++++++----------------------------
 metalog.confd |   16 +++++-----
 3 files changed, 82 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-13 11:43:03 UTC (rev 156091)
+++ PKGBUILD	2012-04-13 11:43:21 UTC (rev 156092)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: juergen <juergen at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=metalog
-pkgver=2.0
-pkgrel=1
-pkgdesc="Metalog is a modern replacement for syslogd and klogd"
-url="http://metalog.sourceforge.net"
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('pcre')
-provides=('logger')
-backup=('etc/metalog.conf' 'etc/conf.d/metalog')
-source=("http://sourceforge.net/projects/metalog/files/metalog-2.tar.xz/download" 'metalog' 'metalog.confd')
-md5sums=('e948d10d780205eae17645c89aee1361'
-         'cdd1d34eedbfbc2d9e659bf0a0f58f56'
-         '86bccd5a02996921e29eff8a0394d11f')
-
-build() {
-  cd $srcdir/$pkgname-2
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-2
-  make DESTDIR=$pkgdir install
-  install -D -m755 $srcdir/metalog $pkgdir/etc/rc.d/metalog
-  install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog
-  install -D -m644 metalog.conf $pkgdir/etc/metalog.conf
-}

Copied: metalog/repos/extra-i686/PKGBUILD (from rev 156091, metalog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-04-13 11:43:21 UTC (rev 156092)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: juergen <juergen at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=metalog
+pkgver=2.0
+pkgrel=2
+pkgdesc="Metalog is a modern replacement for syslogd and klogd"
+url="http://metalog.sourceforge.net"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('pcre')
+provides=('logger')
+backup=('etc/metalog.conf' 'etc/conf.d/metalog')
+source=("http://sourceforge.net/projects/metalog/files/metalog-2.tar.xz/download" 'metalog' 'metalog.confd')
+md5sums=('e948d10d780205eae17645c89aee1361'
+         '9e73301a7f0be291749ee30638527cb9'
+         '86bccd5a02996921e29eff8a0394d11f')
+
+build() {
+  cd $srcdir/$pkgname-2
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-2
+  make DESTDIR=$pkgdir install
+  install -D -m755 $srcdir/metalog $pkgdir/etc/rc.d/metalog
+  install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog
+  install -D -m644 metalog.conf $pkgdir/etc/metalog.conf
+}

Deleted: metalog
===================================================================
--- metalog	2012-04-13 11:43:03 UTC (rev 156091)
+++ metalog	2012-04-13 11:43:21 UTC (rev 156092)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-[ -f /etc/conf.d/metalog ] && . /etc/conf.d/metalog
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/metalog`
-case "$1" in
-  start)
-    stat_busy "Starting Metalog"
-    [ -z "$PID" ] && /usr/sbin/metalog -B $METALOG_OPTS 2>&1
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      echo $PID > /var/run/metalog.pid
-      add_daemon metalog
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Metalog"
-    [ ! -z "$PID" ]  && kill $PID &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon metalog
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}" 
-esac
-exit 0 

Copied: metalog/repos/extra-i686/metalog (from rev 156091, metalog/trunk/metalog)
===================================================================
--- metalog	                        (rev 0)
+++ metalog	2012-04-13 11:43:21 UTC (rev 156092)
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+# source application-specific settings
+[ -f /etc/conf.d/metalog ] && . /etc/conf.d/metalog
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+if [ -f /var/run/metalog.pid ]; then
+    PID=$(cat /var/run/metalog.pid) 2>/dev/null
+fi
+
+case "$1" in
+  start)
+    stat_busy "Starting Metalog"
+    [ -z "$PID" ] && /usr/sbin/metalog -B $METALOG_OPTS 2>&1
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon metalog
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping Metalog"
+    [ ! -z "$PID" ]  && kill $PID &>/dev/null
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      rm_daemon metalog
+      stat_done
+    fi
+    ;;
+  restart)
+    $0 stop
+    sleep 1
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}" 
+esac
+exit 0 

Deleted: metalog.confd
===================================================================
--- metalog.confd	2012-04-13 11:43:03 UTC (rev 156091)
+++ metalog.confd	2012-04-13 11:43:21 UTC (rev 156092)
@@ -1,8 +0,0 @@
-#
-# Parameters to be passed to metalog
-#
-
-# NOTE: Since v.0.7, metalog disables buffering by default.
-# Add '-a' if you want buffering.
-
-METALOG_OPTS=""

Copied: metalog/repos/extra-i686/metalog.confd (from rev 156091, metalog/trunk/metalog.confd)
===================================================================
--- metalog.confd	                        (rev 0)
+++ metalog.confd	2012-04-13 11:43:21 UTC (rev 156092)
@@ -0,0 +1,8 @@
+#
+# Parameters to be passed to metalog
+#
+
+# NOTE: Since v.0.7, metalog disables buffering by default.
+# Add '-a' if you want buffering.
+
+METALOG_OPTS=""



More information about the arch-commits mailing list