X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by lists.alpinelinux.org (Postfix) with ESMTP id F179D1EBFF5 for ; Tue, 22 Mar 2011 08:31:17 +0000 (UTC) Received: by eyg7 with SMTP id 7so1914636eyg.13 for ; Tue, 22 Mar 2011 01:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=xjdKAlAthI5eF4+Hl9W3vnks7hi7NLCZMRRILykbOVU=; b=wJ/kdU0yBcZUjThWFLe7pF7Nv+Wzmsph41XAwSBLymTU5Es0TDS3LiIvL7i6K6v98A zSb54TkbtlYsmsbfbuHdmq4QCgd3ZiacbM0qYalyFLdXpQeEUPAJn/H4jHaomRu+l3IL 90MUQujp9D5xhaVVmDziGdpXG0m62p2GWEuQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=QMM8v8gxk8Juo9z/jJDkwbjl5fakq0sPrv+HRFRsh0riaYcEcXkaxZ/0ORJIPLYUV2 OKxGrU0jLbiLmqzjnJiGs1wSd2k/c2gVbpn5ltosOkZoL4YypNSeTo9R14DM+4Kw1gt0 iiaxEjN7IHpcxhuuNkj2R5fq4njNH4kgaAhEw= Received: by 10.213.28.147 with SMTP id m19mr1136123ebc.84.1300782673527; Tue, 22 Mar 2011 01:31:13 -0700 (PDT) Received: from localhost.localdomain ([196.35.155.75]) by mx.google.com with ESMTPS id q53sm2574585eeh.11.2011.03.22.01.31.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 01:31:12 -0700 (PDT) From: Duane Hughes To: alpine-devel@lists.alpinelinux.org Cc: Duane Hughes Subject: [alpine-devel] [PATCH] main/{liblockfile|logcheck|lockfile-progs}: moving to main branch Date: Tue, 22 Mar 2011 08:30:57 +0000 Message-Id: <1300782657-11590-1-git-send-email-duanejevon@gmail.com> X-Mailer: git-send-email 1.7.4.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: verified operation, moving to main repo --- main/liblockfile/APKBUILD | 38 ++++++++++++++++++++++++++++++++ main/lockfile-progs/APKBUILD | 32 ++++++++++++++++++++++++++ main/logcheck/APKBUILD | 30 +++++++++++++++++++++++++ main/logcheck/logcheck.cron.d | 9 +++++++ main/logcheck/logcheck.post-install | 3 ++ main/logcheck/logcheck.pre-install | 5 ++++ testing/liblockfile/APKBUILD | 38 -------------------------------- testing/lockfile-progs/APKBUILD | 32 -------------------------- testing/logcheck/APKBUILD | 30 ------------------------- testing/logcheck/logcheck.cron.d | 9 ------- testing/logcheck/logcheck.post-install | 3 -- testing/logcheck/logcheck.pre-install | 5 ---- 12 files changed, 117 insertions(+), 117 deletions(-) create mode 100644 main/liblockfile/APKBUILD create mode 100644 main/lockfile-progs/APKBUILD create mode 100644 main/logcheck/APKBUILD create mode 100644 main/logcheck/logcheck.cron.d create mode 100644 main/logcheck/logcheck.post-install create mode 100644 main/logcheck/logcheck.pre-install delete mode 100644 testing/liblockfile/APKBUILD delete mode 100644 testing/lockfile-progs/APKBUILD delete mode 100644 testing/logcheck/APKBUILD delete mode 100644 testing/logcheck/logcheck.cron.d delete mode 100644 testing/logcheck/logcheck.post-install delete mode 100644 testing/logcheck/logcheck.pre-install diff --git a/main/liblockfile/APKBUILD b/main/liblockfile/APKBUILD new file mode 100644 index 0000000..6f471cb --- /dev/null +++ b/main/liblockfile/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Duane Hughes +# Maintainer: Natanael Copa +pkgname=liblockfile +pkgver=1.08 +pkgrel=0 +pkgdesc="Shared library with NFS-safe locking functions" +url="http://packages.debian.org/sid/liblockfile1" +arch="all" +license="GPL" +depends="" +makedepends= +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.debian.org/debian/pool/main/libl/liblockfile/${pkgname}_$pkgver.orig.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man + make -j1 || return 1 +} + +package() { + cd "$_builddir" + + install -d "$pkgdir"/usr/include + install -d "$pkgdir"/usr/bin + install -d "$pkgdir"/usr/lib + install -d "$pkgdir"/usr/share/man + + make -j1 ROOT="$pkgdir" install +} + +md5sums="c24e2dfb4a2aab0263fe5ac1564d305e liblockfile_1.08.orig.tar.gz" diff --git a/main/lockfile-progs/APKBUILD b/main/lockfile-progs/APKBUILD new file mode 100644 index 0000000..a1c5aad --- /dev/null +++ b/main/lockfile-progs/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Duane Hughes +pkgname=lockfile-progs +pkgver=0.1.15 +pkgrel=0 +pkgdesc="Programs for locking and unlocking files and mailboxes" +url="http://packages.debian.org/sid/lockfile-progs" +arch="all" +license="GPL" +depends="liblockfile" +makedepends="liblockfile-dev" +install= +subpackages="$pkgname-doc" +source="http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_$pkgver.tar.gz" + +_builddir="$srcdir"/sid + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + + install -d "$pkgdir"/usr/bin + install -d "$pkgdir"/usr/share/man + install -m 755 "$_builddir"/bin/* "$pkgdir"/usr/bin + install -m 644 "$_builddir"/man/* "$pkgdir"/usr/share/man +} + +md5sums="abfcda83a1868073673f4d78066b8f8a lockfile-progs_0.1.15.tar.gz" diff --git a/main/logcheck/APKBUILD b/main/logcheck/APKBUILD new file mode 100644 index 0000000..e437f2c --- /dev/null +++ b/main/logcheck/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Duane Hughes +# Maintainer: Natanael Copa +pkgname=logcheck +pkgver=1.3.13 +pkgrel=0 +pkgdesc="Bash scripts used to monitor system log files for anomalies" +url="http://packages.debian.org/source/sid/logcheck" +arch="noarch" +license="GPL" +depends="lockfile-progs" +makedepends= +install="$pkgname.pre-install $pkgname.post-install" +subpackages="$pkgname-doc" +source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.gz + logcheck.cron.d + " + +_builddir="$srcdir"/$pkgname + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + + install -D -m 644 "$srcdir"/logcheck.cron.d "$pkgdir"/etc/logcheck/logcheck.cron.sample + install -d "$pkgdir"/usr/share/man + cp -a "$_builddir"/docs/* "$pkgdir"/usr/share/man +} + +md5sums="e2ff14f522bf2e30d5947c85fed44973 logcheck_1.3.13.tar.gz +89be84c722a958659df9a937826cbdc2 logcheck.cron.d" diff --git a/main/logcheck/logcheck.cron.d b/main/logcheck/logcheck.cron.d new file mode 100644 index 0000000..58cd047 --- /dev/null +++ b/main/logcheck/logcheck.cron.d @@ -0,0 +1,9 @@ +# /etc/cron.d/logcheck: crontab entries for the logcheck package + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +MAILTO=root + +@reboot logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi +2 * * * * logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi + +# EOF diff --git a/main/logcheck/logcheck.post-install b/main/logcheck/logcheck.post-install new file mode 100644 index 0000000..c343902 --- /dev/null +++ b/main/logcheck/logcheck.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +chown -R logcheck /etc/logcheck /var/lock/logcheck /var/lib/logcheck diff --git a/main/logcheck/logcheck.pre-install b/main/logcheck/logcheck.pre-install new file mode 100644 index 0000000..d6ea641 --- /dev/null +++ b/main/logcheck/logcheck.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup logcheck 2>/dev/null +adduser -S -H -h /dev/null -s /bin/false -D -G logcheck logcheck 2>/dev/null +exit 0 diff --git a/testing/liblockfile/APKBUILD b/testing/liblockfile/APKBUILD deleted file mode 100644 index 6f471cb..0000000 --- a/testing/liblockfile/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Duane Hughes -# Maintainer: Natanael Copa -pkgname=liblockfile -pkgver=1.08 -pkgrel=0 -pkgdesc="Shared library with NFS-safe locking functions" -url="http://packages.debian.org/sid/liblockfile1" -arch="all" -license="GPL" -depends="" -makedepends= -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.debian.org/debian/pool/main/libl/liblockfile/${pkgname}_$pkgver.orig.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man - make -j1 || return 1 -} - -package() { - cd "$_builddir" - - install -d "$pkgdir"/usr/include - install -d "$pkgdir"/usr/bin - install -d "$pkgdir"/usr/lib - install -d "$pkgdir"/usr/share/man - - make -j1 ROOT="$pkgdir" install -} - -md5sums="c24e2dfb4a2aab0263fe5ac1564d305e liblockfile_1.08.orig.tar.gz" diff --git a/testing/lockfile-progs/APKBUILD b/testing/lockfile-progs/APKBUILD deleted file mode 100644 index a1c5aad..0000000 --- a/testing/lockfile-progs/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Duane Hughes -pkgname=lockfile-progs -pkgver=0.1.15 -pkgrel=0 -pkgdesc="Programs for locking and unlocking files and mailboxes" -url="http://packages.debian.org/sid/lockfile-progs" -arch="all" -license="GPL" -depends="liblockfile" -makedepends="liblockfile-dev" -install= -subpackages="$pkgname-doc" -source="http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_$pkgver.tar.gz" - -_builddir="$srcdir"/sid - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - - install -d "$pkgdir"/usr/bin - install -d "$pkgdir"/usr/share/man - install -m 755 "$_builddir"/bin/* "$pkgdir"/usr/bin - install -m 644 "$_builddir"/man/* "$pkgdir"/usr/share/man -} - -md5sums="abfcda83a1868073673f4d78066b8f8a lockfile-progs_0.1.15.tar.gz" diff --git a/testing/logcheck/APKBUILD b/testing/logcheck/APKBUILD deleted file mode 100644 index e437f2c..0000000 --- a/testing/logcheck/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Duane Hughes -# Maintainer: Natanael Copa -pkgname=logcheck -pkgver=1.3.13 -pkgrel=0 -pkgdesc="Bash scripts used to monitor system log files for anomalies" -url="http://packages.debian.org/source/sid/logcheck" -arch="noarch" -license="GPL" -depends="lockfile-progs" -makedepends= -install="$pkgname.pre-install $pkgname.post-install" -subpackages="$pkgname-doc" -source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.gz - logcheck.cron.d - " - -_builddir="$srcdir"/$pkgname - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - install -D -m 644 "$srcdir"/logcheck.cron.d "$pkgdir"/etc/logcheck/logcheck.cron.sample - install -d "$pkgdir"/usr/share/man - cp -a "$_builddir"/docs/* "$pkgdir"/usr/share/man -} - -md5sums="e2ff14f522bf2e30d5947c85fed44973 logcheck_1.3.13.tar.gz -89be84c722a958659df9a937826cbdc2 logcheck.cron.d" diff --git a/testing/logcheck/logcheck.cron.d b/testing/logcheck/logcheck.cron.d deleted file mode 100644 index 58cd047..0000000 --- a/testing/logcheck/logcheck.cron.d +++ /dev/null @@ -1,9 +0,0 @@ -# /etc/cron.d/logcheck: crontab entries for the logcheck package - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -MAILTO=root - -@reboot logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi -2 * * * * logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi - -# EOF diff --git a/testing/logcheck/logcheck.post-install b/testing/logcheck/logcheck.post-install deleted file mode 100644 index c343902..0000000 --- a/testing/logcheck/logcheck.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -chown -R logcheck /etc/logcheck /var/lock/logcheck /var/lib/logcheck diff --git a/testing/logcheck/logcheck.pre-install b/testing/logcheck/logcheck.pre-install deleted file mode 100644 index d6ea641..0000000 --- a/testing/logcheck/logcheck.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -addgroup logcheck 2>/dev/null -adduser -S -H -h /dev/null -s /bin/false -D -G logcheck logcheck 2>/dev/null -exit 0 -- 1.7.4.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---