Date: Monday, February 4, 2013 @ 15:45:58 Author: seblu Revision: 83705
archrelease: copy trunk to community-i686, community-x86_64 Added: ebtables/repos/community-i686/PKGBUILD (from rev 83704, ebtables/trunk/PKGBUILD) ebtables/repos/community-i686/ebtables.install (from rev 83704, ebtables/trunk/ebtables.install) ebtables/repos/community-i686/ebtables.service (from rev 83704, ebtables/trunk/ebtables.service) ebtables/repos/community-i686/ebtables.systemd (from rev 83704, ebtables/trunk/ebtables.systemd) ebtables/repos/community-x86_64/PKGBUILD (from rev 83704, ebtables/trunk/PKGBUILD) ebtables/repos/community-x86_64/ebtables.install (from rev 83704, ebtables/trunk/ebtables.install) ebtables/repos/community-x86_64/ebtables.service (from rev 83704, ebtables/trunk/ebtables.service) ebtables/repos/community-x86_64/ebtables.systemd (from rev 83704, ebtables/trunk/ebtables.systemd) Deleted: ebtables/repos/community-i686/PKGBUILD ebtables/repos/community-i686/ebtables.conf ebtables/repos/community-i686/ebtables.install ebtables/repos/community-i686/ebtables.rc ebtables/repos/community-i686/ebtables.service ebtables/repos/community-i686/ebtables.systemd ebtables/repos/community-x86_64/PKGBUILD ebtables/repos/community-x86_64/ebtables.conf ebtables/repos/community-x86_64/ebtables.install ebtables/repos/community-x86_64/ebtables.rc ebtables/repos/community-x86_64/ebtables.service ebtables/repos/community-x86_64/ebtables.systemd -----------------------------------+ community-i686/PKGBUILD | 106 ++++++++++++++++-------------------- community-i686/ebtables.conf | 7 -- community-i686/ebtables.install | 18 +++--- community-i686/ebtables.rc | 31 ---------- community-i686/ebtables.service | 22 +++---- community-i686/ebtables.systemd | 43 +++++++------- community-x86_64/PKGBUILD | 106 ++++++++++++++++-------------------- community-x86_64/ebtables.conf | 7 -- community-x86_64/ebtables.install | 18 +++--- community-x86_64/ebtables.rc | 31 ---------- community-x86_64/ebtables.service | 22 +++---- community-x86_64/ebtables.systemd | 43 +++++++------- 12 files changed, 182 insertions(+), 272 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/PKGBUILD 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sébastien Luttringer <se...@aur.archlinux.org> -# Contributor: Michal Soltys <sol...@ziu.info> - -pkgname=ebtables -pkgver=2.0.10_4 -pkgrel=2 -pkgdesc='Ethernet bridge filtering utilities' -arch=('i686' 'x86_64') -url='http://ebtables.sourceforge.net/' -license=('GPL2') -backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname") -# ebtables segfault with --as-needed -options=('!buildflags') -install=$pkgname.install -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz" - "$pkgname.conf" - "$pkgname.rc" - "$pkgname.systemd" - "$pkgname.service") -md5sums=('506742a3d44b9925955425a659c1a8d0' - 'c6f0838de4429af68d21b4d61f00db59' - 'd0e340f2cefe91b1569c0e87c2a1288f' - '5a49ea09af202cb438c8a1b15abf9147' - 'baf923443c3b16277e50d60d2e68f534') - -build() { - cd $pkgname-v${pkgver/_/-} - make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' -} - -package() { - pushd $pkgname-v${pkgver/_/-} - make install \ - DESTDIR="$pkgdir" \ - LIBDIR=/usr/lib \ - MANDIR=/usr/share/man \ - BINDIR=/usr/sbin \ - INITDIR=/etc/rc.d \ - SYSCONFIGDIR=/etc - popd - # rm package ebtables rc.d scripts - rm "$pkgdir/etc/ebtables-config" - # install initscripts - install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" - install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" - # install systemd service - install -Dm 755 $pkgname.systemd \ - "$pkgdir/usr/lib/systemd/scripts/$pkgname" - install -Dm 644 $pkgname.service \ - "$pkgdir/usr/lib/systemd/system/$pkgname.service" - # default config file - install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-i686/PKGBUILD (from rev 83704, ebtables/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sébastien Luttringer <se...@archlinux.org> +# Contributor: Michal Soltys <sol...@ziu.info> + +pkgname=ebtables +pkgver=2.0.10_4 +pkgrel=3 +pkgdesc='Ethernet bridge filtering utilities' +arch=('i686' 'x86_64') +url='http://ebtables.sourceforge.net/' +depends=('perl' 'bash') +license=('GPL2') +backup=("etc/$pkgname.conf") +# ebtables segfault with --as-needed +options=('!buildflags') +install=$pkgname.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz" + "$pkgname.systemd" + "$pkgname.service") +md5sums=('506742a3d44b9925955425a659c1a8d0' + 'b4c329060809e5b290ae49fbd0ad61f2' + 'baf923443c3b16277e50d60d2e68f534') + +build() { + cd $pkgname-v${pkgver/_/-} + make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' +} + +package() { + pushd $pkgname-v${pkgver/_/-} + make install \ + DESTDIR="$pkgdir" \ + LIBDIR=/usr/lib \ + MANDIR=/usr/share/man \ + BINDIR=/usr/sbin \ + INITDIR=/etc/rc.d \ + SYSCONFIGDIR=/etc + popd + # rm package ebtables rc.d scripts + rm "$pkgdir/etc/ebtables-config" + # systemd + install -Dm 755 $pkgname.systemd \ + "$pkgdir/usr/lib/systemd/scripts/$pkgname" + install -Dm 644 $pkgname.service \ + "$pkgdir/usr/lib/systemd/system/$pkgname.service" + # default config file + install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/ebtables.conf =================================================================== --- community-i686/ebtables.conf 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/ebtables.conf 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,7 +0,0 @@ -# Configuration file used to load/save configuration. -CONFIG_FILE='/etc/ebtables.conf' - -# Save configuration on stop/restart. -#SAVE_ON_STOP=yes - -# vim:set ts=2 sw=2 ft=sh et: Deleted: community-i686/ebtables.install =================================================================== --- community-i686/ebtables.install 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/ebtables.install 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,9 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - [ $(vercmp "$2" '2.0.10_4-1') -gt 0 ] || cat <<EOF -Config file have been moved to /etc/ebtables.conf and only support text format. -EOF -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-i686/ebtables.install (from rev 83704, ebtables/trunk/ebtables.install) =================================================================== --- community-i686/ebtables.install (rev 0) +++ community-i686/ebtables.install 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,9 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + [ $(vercmp "$2" '2.0.10_4-1') -gt 0 ] || cat <<EOF +Config file have been moved to /etc/ebtables.conf and only support text format. +EOF +} + +# vim:set ts=2 sw=2 ft=sh et: Deleted: community-i686/ebtables.rc =================================================================== --- community-i686/ebtables.rc 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/ebtables.rc 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,31 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/${0##*/} - -case "$1" in - start) - stat_busy 'Loading ebtables rules' - ebtables-restore < "$CONFIG_FILE" && - add_daemon ${0##*/} && stat_done || stat_die - ;; - stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save - status 'Clearing ebtables rules' ebtables -F && rm_daemon ${0##*/} || exit 1 - ;; - restart) - $0 stop - $0 start - ;; - save) - stat_busy 'Saving ebtables rules' - ebtables-save > "$CONFIG_FILE" && stat_done || stat_die - ;; - *) - echo "usage: ${0##*/} {start|stop|restart|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: Deleted: community-i686/ebtables.service =================================================================== --- community-i686/ebtables.service 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/ebtables.service 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,11 +0,0 @@ -[Unit] -Description=Ethernet bridge table - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/scripts/ebtables start -ExecStop=/usr/lib/systemd/scripts/ebtables stop - -[Install] -WantedBy=multi-user.target Copied: ebtables/repos/community-i686/ebtables.service (from rev 83704, ebtables/trunk/ebtables.service) =================================================================== --- community-i686/ebtables.service (rev 0) +++ community-i686/ebtables.service 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,11 @@ +[Unit] +Description=Ethernet bridge table + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/lib/systemd/scripts/ebtables start +ExecStop=/usr/lib/systemd/scripts/ebtables stop + +[Install] +WantedBy=multi-user.target Deleted: community-i686/ebtables.systemd =================================================================== --- community-i686/ebtables.systemd 2013-02-04 14:45:46 UTC (rev 83704) +++ community-i686/ebtables.systemd 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,22 +0,0 @@ -#!/bin/bash - -. /etc/conf.d/ebtables - -case $1 in - start) - ebtables-restore < "$CONFIG_FILE" - ;; - stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save - ebtables -F - ;; - save) - ebtables-save > "$CONFIG_FILE" - ;; - *) - echo "usage: ${0##*/} {start|stop|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-i686/ebtables.systemd (from rev 83704, ebtables/trunk/ebtables.systemd) =================================================================== --- community-i686/ebtables.systemd (rev 0) +++ community-i686/ebtables.systemd 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,21 @@ +#!/bin/bash + +CONFIG_FILE='/etc/ebtables.conf' + +case $1 in + start) + ebtables-restore < "$CONFIG_FILE" + ;; + stop) + ebtables -F + ;; + save) + ebtables-save > "$CONFIG_FILE" + ;; + *) + echo "usage: ${0##*/} {start|stop|save}" >&2 + exit 1 + ;; +esac + +# vim:set ts=2 sw=2 ft=sh et: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/PKGBUILD 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sébastien Luttringer <se...@aur.archlinux.org> -# Contributor: Michal Soltys <sol...@ziu.info> - -pkgname=ebtables -pkgver=2.0.10_4 -pkgrel=2 -pkgdesc='Ethernet bridge filtering utilities' -arch=('i686' 'x86_64') -url='http://ebtables.sourceforge.net/' -license=('GPL2') -backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname") -# ebtables segfault with --as-needed -options=('!buildflags') -install=$pkgname.install -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz" - "$pkgname.conf" - "$pkgname.rc" - "$pkgname.systemd" - "$pkgname.service") -md5sums=('506742a3d44b9925955425a659c1a8d0' - 'c6f0838de4429af68d21b4d61f00db59' - 'd0e340f2cefe91b1569c0e87c2a1288f' - '5a49ea09af202cb438c8a1b15abf9147' - 'baf923443c3b16277e50d60d2e68f534') - -build() { - cd $pkgname-v${pkgver/_/-} - make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' -} - -package() { - pushd $pkgname-v${pkgver/_/-} - make install \ - DESTDIR="$pkgdir" \ - LIBDIR=/usr/lib \ - MANDIR=/usr/share/man \ - BINDIR=/usr/sbin \ - INITDIR=/etc/rc.d \ - SYSCONFIGDIR=/etc - popd - # rm package ebtables rc.d scripts - rm "$pkgdir/etc/ebtables-config" - # install initscripts - install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" - install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" - # install systemd service - install -Dm 755 $pkgname.systemd \ - "$pkgdir/usr/lib/systemd/scripts/$pkgname" - install -Dm 644 $pkgname.service \ - "$pkgdir/usr/lib/systemd/system/$pkgname.service" - # default config file - install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-x86_64/PKGBUILD (from rev 83704, ebtables/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sébastien Luttringer <se...@archlinux.org> +# Contributor: Michal Soltys <sol...@ziu.info> + +pkgname=ebtables +pkgver=2.0.10_4 +pkgrel=3 +pkgdesc='Ethernet bridge filtering utilities' +arch=('i686' 'x86_64') +url='http://ebtables.sourceforge.net/' +depends=('perl' 'bash') +license=('GPL2') +backup=("etc/$pkgname.conf") +# ebtables segfault with --as-needed +options=('!buildflags') +install=$pkgname.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz" + "$pkgname.systemd" + "$pkgname.service") +md5sums=('506742a3d44b9925955425a659c1a8d0' + 'b4c329060809e5b290ae49fbd0ad61f2' + 'baf923443c3b16277e50d60d2e68f534') + +build() { + cd $pkgname-v${pkgver/_/-} + make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' +} + +package() { + pushd $pkgname-v${pkgver/_/-} + make install \ + DESTDIR="$pkgdir" \ + LIBDIR=/usr/lib \ + MANDIR=/usr/share/man \ + BINDIR=/usr/sbin \ + INITDIR=/etc/rc.d \ + SYSCONFIGDIR=/etc + popd + # rm package ebtables rc.d scripts + rm "$pkgdir/etc/ebtables-config" + # systemd + install -Dm 755 $pkgname.systemd \ + "$pkgdir/usr/lib/systemd/scripts/$pkgname" + install -Dm 644 $pkgname.service \ + "$pkgdir/usr/lib/systemd/system/$pkgname.service" + # default config file + install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/ebtables.conf =================================================================== --- community-x86_64/ebtables.conf 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/ebtables.conf 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,7 +0,0 @@ -# Configuration file used to load/save configuration. -CONFIG_FILE='/etc/ebtables.conf' - -# Save configuration on stop/restart. -#SAVE_ON_STOP=yes - -# vim:set ts=2 sw=2 ft=sh et: Deleted: community-x86_64/ebtables.install =================================================================== --- community-x86_64/ebtables.install 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/ebtables.install 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,9 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - [ $(vercmp "$2" '2.0.10_4-1') -gt 0 ] || cat <<EOF -Config file have been moved to /etc/ebtables.conf and only support text format. -EOF -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-x86_64/ebtables.install (from rev 83704, ebtables/trunk/ebtables.install) =================================================================== --- community-x86_64/ebtables.install (rev 0) +++ community-x86_64/ebtables.install 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,9 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + [ $(vercmp "$2" '2.0.10_4-1') -gt 0 ] || cat <<EOF +Config file have been moved to /etc/ebtables.conf and only support text format. +EOF +} + +# vim:set ts=2 sw=2 ft=sh et: Deleted: community-x86_64/ebtables.rc =================================================================== --- community-x86_64/ebtables.rc 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/ebtables.rc 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,31 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/${0##*/} - -case "$1" in - start) - stat_busy 'Loading ebtables rules' - ebtables-restore < "$CONFIG_FILE" && - add_daemon ${0##*/} && stat_done || stat_die - ;; - stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save - status 'Clearing ebtables rules' ebtables -F && rm_daemon ${0##*/} || exit 1 - ;; - restart) - $0 stop - $0 start - ;; - save) - stat_busy 'Saving ebtables rules' - ebtables-save > "$CONFIG_FILE" && stat_done || stat_die - ;; - *) - echo "usage: ${0##*/} {start|stop|restart|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: Deleted: community-x86_64/ebtables.service =================================================================== --- community-x86_64/ebtables.service 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/ebtables.service 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,11 +0,0 @@ -[Unit] -Description=Ethernet bridge table - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/scripts/ebtables start -ExecStop=/usr/lib/systemd/scripts/ebtables stop - -[Install] -WantedBy=multi-user.target Copied: ebtables/repos/community-x86_64/ebtables.service (from rev 83704, ebtables/trunk/ebtables.service) =================================================================== --- community-x86_64/ebtables.service (rev 0) +++ community-x86_64/ebtables.service 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,11 @@ +[Unit] +Description=Ethernet bridge table + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/lib/systemd/scripts/ebtables start +ExecStop=/usr/lib/systemd/scripts/ebtables stop + +[Install] +WantedBy=multi-user.target Deleted: community-x86_64/ebtables.systemd =================================================================== --- community-x86_64/ebtables.systemd 2013-02-04 14:45:46 UTC (rev 83704) +++ community-x86_64/ebtables.systemd 2013-02-04 14:45:58 UTC (rev 83705) @@ -1,22 +0,0 @@ -#!/bin/bash - -. /etc/conf.d/ebtables - -case $1 in - start) - ebtables-restore < "$CONFIG_FILE" - ;; - stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save - ebtables -F - ;; - save) - ebtables-save > "$CONFIG_FILE" - ;; - *) - echo "usage: ${0##*/} {start|stop|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: Copied: ebtables/repos/community-x86_64/ebtables.systemd (from rev 83704, ebtables/trunk/ebtables.systemd) =================================================================== --- community-x86_64/ebtables.systemd (rev 0) +++ community-x86_64/ebtables.systemd 2013-02-04 14:45:58 UTC (rev 83705) @@ -0,0 +1,21 @@ +#!/bin/bash + +CONFIG_FILE='/etc/ebtables.conf' + +case $1 in + start) + ebtables-restore < "$CONFIG_FILE" + ;; + stop) + ebtables -F + ;; + save) + ebtables-save > "$CONFIG_FILE" + ;; + *) + echo "usage: ${0##*/} {start|stop|save}" >&2 + exit 1 + ;; +esac + +# vim:set ts=2 sw=2 ft=sh et: