[arch-commits] Commit in arptables/trunk (PKGBUILD arptables.install)
seblu at nymeria.archlinux.org
seblu at nymeria.archlinux.org
Thu Jan 24 11:14:34 UTC 2013
Date: Thursday, January 24, 2013 @ 12:14:34
Author: seblu
Revision: 82773
upgpkg: arptables 0.0.4-1
Modified:
arptables/trunk/PKGBUILD
Deleted:
arptables/trunk/arptables.install
-------------------+
PKGBUILD | 10 ++++++----
arptables.install | 10 ----------
2 files changed, 6 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-24 11:12:07 UTC (rev 82772)
+++ PKGBUILD 2013-01-24 11:14:34 UTC (rev 82773)
@@ -4,18 +4,18 @@
# Contributor: Michal Soltys <soltys at ziu.info>
pkgname=arptables
-pkgver=0.0.3_4
-pkgrel=3.1
+pkgver=0.0.4
+pkgrel=1
pkgdesc='ARP filtering utility'
arch=('i686' 'x86_64')
url='http://ebtables.sourceforge.net/'
+depends=('glibc' 'perl' 'bash')
license=('GPL')
backup=("etc/$pkgname.conf")
-install=$pkgname.install
source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
"$pkgname.systemd"
"$pkgname.service")
-md5sums=('1d4ab05761f063b0751645d8f2b8f8e5'
+md5sums=('c2e99c3aa9d78c9dfa30710ca3168182'
'e54342a833c52b2bc67e7985e8f8fdfd'
'b26771191e52905d8aea6333c26cb1c3')
@@ -42,6 +42,8 @@
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
# default config file
install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+ # remove upstream rc
+ rm -rf "$pkgdir/etc/rc.d"
}
# vim:set ts=2 sw=2 et:
Deleted: arptables.install
===================================================================
--- arptables.install 2013-01-24 11:12:07 UTC (rev 82772)
+++ arptables.install 2013-01-24 11:14:34 UTC (rev 82773)
@@ -1,10 +0,0 @@
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- [ $(vercmp "$2" '0.0.3_4-2') -gt 0 ] || cat <<EOF
-Config file have been moved from /etc/arptables/arptables to /etc/arptables.conf.
-You can revert to the previous location by editing /etc/conf.d/arptables.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
More information about the arch-commits
mailing list