summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/conntrack-tools/PKGBUILD34
-rw-r--r--community/ebtables/PKGBUILD48
-rw-r--r--community/ebtables/ebtables.conf37
-rw-r--r--community/ebtables/ebtables.rc128
-rw-r--r--community/ipset/PKGBUILD28
-rw-r--r--community/libmnl/PKGBUILD25
-rw-r--r--community/newton-dynamics/PKGBUILD3
-rw-r--r--community/nload/PKGBUILD26
-rw-r--r--community/perf/PKGBUILD29
-rw-r--r--community/sfk/PKGBUILD26
-rw-r--r--community/skrooge/PKGBUILD9
-rw-r--r--community/skrooge/skrooge.changelog2
-rw-r--r--community/viking/PKGBUILD8
-rw-r--r--community/viking/viking.changelog3
-rw-r--r--community/vlan/PKGBUILD27
15 files changed, 423 insertions, 10 deletions
diff --git a/community/conntrack-tools/PKGBUILD b/community/conntrack-tools/PKGBUILD
new file mode 100644
index 000000000..a70a1663f
--- /dev/null
+++ b/community/conntrack-tools/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 59559 2011-11-28 03:06:32Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Contributor: Valere Monseur <valere_monseur@hotmail.com>
+# Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>
+# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
+
+pkgname=conntrack-tools
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Userspace tools to interact with the Netfilter's Connection Tracking System"
+arch=('i686' 'x86_64')
+url='http://www.netfilter.org/projects/conntrack-tools'
+license=('GPL2')
+depends=('libnetfilter_conntrack')
+source=(http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('5add24d4761baf17af630d5627a71752')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ # install binaries
+ make DESTDIR="${pkgdir}" install
+
+ # install directories
+ install -d "${pkgdir}/etc/conntrackd"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/ebtables/PKGBUILD b/community/ebtables/PKGBUILD
new file mode 100644
index 000000000..5b1e406dd
--- /dev/null
+++ b/community/ebtables/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 59563 2011-11-28 03:11:50Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Contributor: Michal Soltys <soltys@ziu.info>
+
+pkgname=ebtables
+pkgver='2.0.10_2'
+pkgrel=2
+pkgdesc='Ethernet bridge filtering utilities'
+arch=('i686' 'x86_64')
+backup=('etc/conf.d/ebtables')
+url='http://ebtables.sourceforge.net/'
+license=('GPL2')
+source=(
+ "http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz"
+ 'ebtables.rc'
+ 'ebtables.conf'
+ )
+md5sums=('c5ae7fb75810fd936a5445239e853fd8'
+ '368825c83a2b1180d2223e61b9f3bd07'
+ '86fc3622e6fc0a7a7920c90ff576cc38')
+
+build() {
+ cd ${pkgname}-v${pkgver/_/-}
+ make \
+ CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' \
+ LDFLAGS=''
+}
+
+package() {
+ cd "${pkgname}-v${pkgver/_/-}"
+ make install \
+ DESTDIR="${pkgdir}" \
+ LIBDIR=/usr/lib \
+ MANDIR=/usr/share/man \
+ BINDIR=/usr/sbin \
+ INITDIR=/etc/rc.d \
+ SYSCONFIGDIR=/etc/ebtables
+
+ # rm package ebtables rc.d scripts
+ rm "${pkgdir}/etc/rc.d/ebtables"
+ rm "${pkgdir}/etc/ebtables/ebtables-config"
+
+ # install custom ebtables rc.d scripts
+ install -D -m 0755 "${srcdir}/ebtables.rc" "${pkgdir}/etc/rc.d/ebtables"
+ install -D -m 0644 "${srcdir}/ebtables.conf" "${pkgdir}/etc/conf.d/ebtables"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/ebtables/ebtables.conf b/community/ebtables/ebtables.conf
new file mode 100644
index 000000000..0005444e7
--- /dev/null
+++ b/community/ebtables/ebtables.conf
@@ -0,0 +1,37 @@
+# Save (and possibly restore) in text format.
+# Value: yes|no, default: yes
+# Save the firewall rules in text format to /etc/conf.d/ebtables
+# If EBTABLES_BINARY_FORMAT="no" then restoring the firewall rules
+# is done using this text format.
+EBTABLES_TEXT_FORMAT="yes"
+
+# Save (and restore) in binary format.
+# Value: yes|no, default: yes
+# Save (and restore) the firewall rules in binary format to (and from)
+# /etc/ebtables/ebtables.<chain>. Enabling this option will make
+# firewall initialisation a lot faster.
+EBTABLES_BINARY_FORMAT="yes"
+
+# Unload modules on restart and stop
+# Value: yes|no, default: yes
+# This option has to be 'yes' to get to a sane state for a firewall
+# restart or stop. Only set to 'no' if there are problems unloading netfilter
+# modules.
+EBTABLES_MODULES_UNLOAD="yes"
+
+# Save current firewall rules on stop.
+# Value: yes|no, default: no
+# Saves all firewall rules if firewall gets stopped
+# (e.g. on system shutdown).
+EBTABLES_SAVE_ON_STOP="no"
+
+# Save current firewall rules on restart.
+# Value: yes|no, default: no
+# Saves all firewall rules if firewall gets restarted.
+EBTABLES_SAVE_ON_RESTART="no"
+
+# Save (and restore) rule counters.
+# Value: yes|no, default: no
+# Save rule counters when saving a kernel table to a file. If the
+# rule counters were saved, they will be restored when restoring the table.
+EBTABLES_SAVE_COUNTER="no"
diff --git a/community/ebtables/ebtables.rc b/community/ebtables/ebtables.rc
new file mode 100644
index 000000000..3a889b914
--- /dev/null
+++ b/community/ebtables/ebtables.rc
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Credits to:
+# Sebastien Luttringer <seblu+arch@seblu.net>
+# Bart De Schuymer <bdschuym@pandora.be>
+# Rok Papez <rok.papez@arnes.si>
+# Dag Wieers <dag@wieers.com>
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+#default configuration:
+EBTABLES_TEXT_FORMAT="yes"
+EBTABLES_BINARY_FORMAT="yes"
+EBTABLES_MODULES_UNLOAD="yes"
+EBTABLES_SAVE_ON_STOP="no"
+EBTABLES_SAVE_ON_RESTART="no"
+EBTABLES_SAVE_COUNTER="no"
+
+[[ -r "/etc/conf.d/ebtables" ]] && . "/etc/conf.d/ebtables"
+
+RETVAL=0
+
+start() {
+ stat_busy "Starting ebtables"
+ ! ck_daemon ebtables && stat_done && RETVAL=0 && return
+ if [[ "$EBTABLES_BINARY_FORMAT" = yes ]]; then
+ for table in $(ls /etc/ebtables/ebtables.* 2>/dev/null | sed -e 's/.*ebtables\.//' -e '/save/d' ); do
+ /usr/sbin/ebtables -t ${table} --atomic-file /etc/ebtables/ebtables.${table} --atomic-commit || RETVAL=1
+ done
+ elif [[ "$EBTABLES_TEXT_FORMAT" = "yes" ]]; then
+ [[ ! -r /etc/ebtables/ebtables ]] && :>/etc/ebtables/ebtables
+ /usr/sbin/ebtables-restore </etc/ebtables/ebtables || RETVAL=1
+ else
+ RETVAL=1
+ fi
+
+ if (( RETVAL == 0 )); then
+ stat_done
+ add_daemon ebtables
+ else
+ stat_fail
+ fi
+}
+
+stop() {
+ stat_busy "Stopping ebtables"
+ ck_daemon ebtables && stat_done && RETVAL=0 && return
+ for table in $(grep '^ebtable_' /proc/modules | sed -e 's/ebtable_\([^ ]*\).*/\1/'); do
+ /usr/sbin/ebtables -t $table --init-table || RETVAL=1
+ done
+
+ if [[ "$EBTABLES_MODULES_UNLOAD" = yes ]]; then
+ for mod in $(grep -E '^(ebt|ebtable)_' /proc/modules | cut -f1 -d' ') ebtables; do
+ /sbin/rmmod $mod 2> /dev/null
+ done
+ fi
+
+ if (( RETVAL == 0 )); then
+ rm_daemon ebtables
+ stat_done
+ else
+ stat_fail
+ fi
+}
+
+restart() {
+ stop
+ sleep 1
+ start
+}
+
+save() {
+ stat_busy "Saving ebtables"
+ if [[ "$EBTABLES_TEXT_FORMAT" = yes ]]; then
+ if [[ -r /etc/ebtables/ebtables ]]; then
+ mv -f /etc/ebtables/ebtables /etc/ebtables/ebtables.save
+ fi
+ /usr/sbin/ebtables-save >/etc/ebtables/ebtables || RETVAL=1
+ fi
+ if [[ "$EBTABLES_BINARY_FORMAT" = yes ]]; then
+ rm -f /etc/ebtables/ebtables.*.save
+ for oldtable in $(ls /etc/ebtables/ebtables.* 2>/dev/null | grep -vF 'ebtables.save'); do
+ mv -f $oldtable $oldtable.save
+ done
+ for table in $(grep '^ebtable_' /proc/modules | sed -e 's/ebtable_\([^ ]*\).*/\1/'); do
+ :> /etc/ebtables/ebtables.$table
+ /usr/sbin/ebtables -t $table --atomic-file /etc/ebtables/ebtables.$table --atomic-save || RETVAL=1
+ if [[ "$EBTABLES_SAVE_COUNTER" = no ]]; then
+ /usr/sbin/ebtables -t $table --atomic-file /etc/ebtables/ebtables.$table -Z || RETVAL=1
+ fi
+ done
+ fi
+
+ (( RETVAL == 0 )) && stat_done || stat_fail
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ [[ "$EBTABLES_SAVE_ON_STOP" = yes ]] && save
+ stop
+ ;;
+ restart|reload)
+ [[ "$EBTABLES_SAVE_ON_RESTART" = yes ]] && save
+ restart
+ ;;
+ condrestart)
+ ! ck_daemon ebtables && restart
+ RETVAL=$?
+ ;;
+ save)
+ save
+ ;;
+ status)
+ /usr/sbin/ebtables-save
+ RETVAL=$?
+ ;;
+ *)
+ echo "Usage $0 {start|stop|restart|condrestart|save|status}"
+ RETVAL=1
+esac
+
+exit $RETVAL
+
+# vim:set ts=2 sw=2 ft=sh noet:
diff --git a/community/ipset/PKGBUILD b/community/ipset/PKGBUILD
new file mode 100644
index 000000000..edabb23c9
--- /dev/null
+++ b/community/ipset/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 59544 2011-11-28 00:43:00Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+
+pkgname=ipset
+pkgver=6.9.1
+pkgrel=2
+pkgdesc='Administration tool for IP sets'
+arch=('i686' 'x86_64')
+url='http://ipset.netfilter.org'
+license=('GPL2')
+depends=('libmnl')
+makedepends=('linux-headers')
+source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2")
+md5sums=('71f4b826e025be5918a52e9843673167')
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr --with-kbuild=/lib/modules/$(pacman -Qi linux-headers|sed -rn 's,Version[[:space:]]*:[[:space:]]*(.*),\1,p')-ARCH/build
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/libmnl/PKGBUILD b/community/libmnl/PKGBUILD
new file mode 100644
index 000000000..ab2f8549f
--- /dev/null
+++ b/community/libmnl/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 59542 2011-11-28 00:38:43Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net
+# Contributor: Christian Hesse <mail@earthworm.de>
+
+pkgname=libmnl
+pkgver=1.0.1
+pkgrel=2
+pkgdesc='Minimalistic user-space library oriented to Netlink developers.'
+arch=('i686' 'x86_64')
+url='http://www.netfilter.org/projects/libmnl/'
+license=('LGPL2.1')
+source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2")
+md5sums=('e936236bb57a2375afa4e70e75dc3ba9')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/newton-dynamics/PKGBUILD b/community/newton-dynamics/PKGBUILD
index 93a578450..defe9db75 100644
--- a/community/newton-dynamics/PKGBUILD
+++ b/community/newton-dynamics/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Christophe Robin (bombstrike) <crobin@php.net>
pkgname=newton-dynamics
pkgver=2.33
-pkgrel=1
+pkgrel=2
pkgdesc="A simple physics API"
arch=('i686' 'x86_64')
url="http://www.newtondynamics.com"
@@ -37,6 +37,7 @@ build() {
## build lib
cd "${builddir}"
+ sed -i 's/ -o libNewton.so/ -lpthread -lstdc++ -o libNewton.so/' makefile
make
install -D -m644 "${builddir}/libNewton.a" "${pkgdir}/usr/lib/libNewton.a"
diff --git a/community/nload/PKGBUILD b/community/nload/PKGBUILD
new file mode 100644
index 000000000..2518e64ee
--- /dev/null
+++ b/community/nload/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net
+# Contributor: Andreas Hauser <andy-aur@splashground.de>
+
+pkgname=nload
+pkgver=0.7.3
+pkgrel=2
+pkgdesc='Console application which monitors network traffic and bandwidth usage in real time'
+url='http://www.roland-riegel.de/nload'
+license=('GPL2')
+depends=('ncurses' 'gcc-libs')
+arch=('i686' 'x86_64')
+source=("$url/$pkgname-$pkgver.tar.gz")
+md5sums=('9b97c37fe1474f1da42f265fead24081')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/perf/PKGBUILD b/community/perf/PKGBUILD
new file mode 100644
index 000000000..0fca9ed9a
--- /dev/null
+++ b/community/perf/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+
+pkgname=perf
+pkgver=3.1.2
+pkgrel=1
+pkgdesc="Linux kernel $pkgver performance tool"
+license=('GPL2')
+arch=('i686' 'x86_64')
+url='http://www.kernel.org'
+options=(!strip)
+depends=('python2' 'libnewt' 'elfutils')
+makedepends=('asciidoc' 'xmlto')
+source=("http://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$pkgver.tar.xz")
+md5sums=('24027361d3ea6ea2cdd7bbdd2effe43f')
+
+build() {
+ cd linux-$pkgver/tools/perf
+ make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" PERF_VERSION=$pkgver \
+ all man
+}
+
+package() {
+ cd linux-${pkgver}/tools/perf
+ make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" PERF_VERSION=$pkgver \
+ install install-man
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/sfk/PKGBUILD b/community/sfk/PKGBUILD
new file mode 100644
index 000000000..3a6cb9e24
--- /dev/null
+++ b/community/sfk/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 59548 2011-11-28 01:04:30Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Contributor: Baumi <baumi@gmx.com>
+
+pkgname=sfk
+pkgver=1.6.4
+pkgrel=2
+pkgdesc='Swiss File Knife - A Command Line Tools Collection'
+arch=('i686' 'x86_64')
+url='http://stahlforce.com/dev/?tool=sfk'
+license=('custom: BSD')
+source=("http://downloads.sourceforge.net/swissfileknife/${pkgname}${pkgver//./}.zip")
+md5sums=('263df6a8e18f6ebb6032f3c048df0b6d')
+
+build() {
+ cd ${pkgname}${pkgver//./}
+ g++ $CXXFLAGS $LDFLAGS sfk.cpp sfknet.cpp patch.cpp inst.cpp -o sfk
+}
+
+package() {
+ cd ${pkgname}${pkgver//./}
+ install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -D -m444 bsd-license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/skrooge/PKGBUILD b/community/skrooge/PKGBUILD
index 04cdef219..cf52881d5 100644
--- a/community/skrooge/PKGBUILD
+++ b/community/skrooge/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 56764 2011-10-11 21:59:15Z ebelanger $
-# Maintainer:
+# $Id: PKGBUILD 59508 2011-11-27 13:44:23Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
pkgname=skrooge
-pkgver=1.0.0
+pkgver=1.1.1
pkgrel=1
pkgdesc="A personal finances manager for KDE"
arch=('i686' 'x86_64')
@@ -14,8 +14,9 @@ license=('GPL')
depends=('kdebase-runtime' 'libofx' 'qca-ossl')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
install=$pkgname.install
+changelog=$pkgname.changelog
source=("http://skrooge.org/files/$pkgname-$pkgver.tar.bz2")
-md5sums=('900da5dd41b940272941ee71e78cf8b4')
+sha256sums=('6553a61a74bb4f5d0272fff4844e47d983fa38cd6af0481658f4d1e3150c6d62')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/skrooge/skrooge.changelog b/community/skrooge/skrooge.changelog
new file mode 100644
index 000000000..ce1768e34
--- /dev/null
+++ b/community/skrooge/skrooge.changelog
@@ -0,0 +1,2 @@
+2011-11-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * skrooge 1.1.1-1
diff --git a/community/viking/PKGBUILD b/community/viking/PKGBUILD
index b007a93dd..ce38ac15e 100644
--- a/community/viking/PKGBUILD
+++ b/community/viking/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 54936 2011-08-28 15:44:24Z jlichtblau $
+# $Id: PKGBUILD 59505 2011-11-27 13:11:14Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Nick Østergaard <oe.nick@gmail.com>
# Contributor: Jonny Gerold <jonny@fsk141.com>
pkgname=viking
-pkgver=1.2.1
+pkgver=1.2.2
pkgrel=1
pkgdesc="GTK+2 application to manage GPS data"
arch=('i686' 'x86_64')
@@ -17,13 +17,11 @@ options=('!emptydirs')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('7c4b36398a9ec121ab11b66f042d17368dd46cf328a2a0e00bda38fd357a9743')
+sha256sums=('9f96f9bdfc9cae8c65d391f9e972a987ec7f3d9d662a0e4df8bd14282879b10c')
build() {
cd ${srcdir}/$pkgname-$pkgver
- sed '/#include <curl\/types.h>/d' -i src/osm-traces.c
-
./configure --prefix=/usr --disable-realtime-gps-tracking --enable-geocaches --enable-expedia
make
}
diff --git a/community/viking/viking.changelog b/community/viking/viking.changelog
index bffeb3245..b195927d1 100644
--- a/community/viking/viking.changelog
+++ b/community/viking/viking.changelog
@@ -1,3 +1,6 @@
+2011-11-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * viking 1.2.2-1
+
2011-08-28 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* viking 1.2.1-1
diff --git a/community/vlan/PKGBUILD b/community/vlan/PKGBUILD
new file mode 100644
index 000000000..8cdaddd47
--- /dev/null
+++ b/community/vlan/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 59555 2011-11-28 01:48:10Z seblu $
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+
+pkgname=vlan
+pkgver=1.9
+pkgrel=1
+pkgdesc='Virtual LAN configuration utility'
+arch=('i686' 'x86_64')
+url='http://www.candelatech.com/~greear/vlan.html'
+license=('GPL')
+source=("http://www.candelatech.com/~greear/vlan/vlan.${pkgver}.tar.gz")
+md5sums=('5f0c6060b33956fb16e11a15467dd394')
+
+build() {
+ cd vlan
+ make clean all
+}
+
+package() {
+ cd vlan
+ install -D -m755 'vconfig' "$pkgdir/usr/sbin/vconfig"
+ install -D -m755 'macvlan_config' "$pkgdir/usr/sbin/macvlan_config"
+ install -D -m644 'vconfig.8' "$pkgdir/usr/share/man/man8/vconfig.8"
+}
+
+# vim:set ts=2 sw=2 ft=sh et: