diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/btrfs-progs/70-btrfs.rules | 1 | ||||
-rw-r--r-- | testing/btrfs-progs/PKGBUILD | 46 | ||||
-rw-r--r-- | testing/btrfs-progs/initcpio-hook-btrfs | 10 | ||||
-rw-r--r-- | testing/btrfs-progs/initcpio-install-btrfs | 17 | ||||
-rw-r--r-- | testing/ddrescue/PKGBUILD | 30 | ||||
-rw-r--r-- | testing/ddrescue/ddrescue.install | 22 | ||||
-rw-r--r-- | testing/iptables/0503-extension_cppflags.patch | 13 | ||||
-rw-r--r-- | testing/iptables/ip6tables.service | 11 | ||||
-rw-r--r-- | testing/iptables/iptables-1.4.12-fixresore.patch | 28 | ||||
-rwxr-xr-x | testing/iptables/iptables-flush | 18 | ||||
-rw-r--r-- | testing/iptables/iptables.service | 11 | ||||
-rw-r--r-- | testing/libwacom/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/qjackctl/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/rosegarden/PKGBUILD | 43 | ||||
-rw-r--r-- | testing/rosegarden/rosegarden.install | 14 |
15 files changed, 326 insertions, 0 deletions
diff --git a/testing/btrfs-progs/70-btrfs.rules b/testing/btrfs-progs/70-btrfs.rules new file mode 100644 index 000000000..c0e8c776c --- /dev/null +++ b/testing/btrfs-progs/70-btrfs.rules @@ -0,0 +1 @@ +ACTION!="remove", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="btrfs", RUN+="/usr/bin/btrfs device scan /dev/%k" diff --git a/testing/btrfs-progs/PKGBUILD b/testing/btrfs-progs/PKGBUILD new file mode 100644 index 000000000..e7252b7ec --- /dev/null +++ b/testing/btrfs-progs/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 164015 2012-07-24 01:22:05Z dreisner $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +pkgname=btrfs-progs +pkgver=0.19.20120328 +pkgrel=4 +pkgdesc="btrfs filesystem utilities" +arch=(i686 x86_64) +depends=('glibc' 'e2fsprogs') +url="http://btrfs.wiki.kernel.org/" +replaces=('btrfs-progs-unstable') +conflicts=('btrfs-progs-unstable') +provides=('btrfs-progs-unstable') +license=('GPL2') +source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz + 70-btrfs.rules + initcpio-install-btrfs + initcpio-hook-btrfs) +md5sums=('f4504e73cf9254779b78d5b2318ac570' + '345c62c8b267082361729ca5b647518f' + 'e5186ec3fe8a809b7473470128d1c4ab' + '9fb35142755b477a96cb7292f3d64839') + +build() { + cd $srcdir/$pkgname-$pkgver + make CFLAGS="$CFLAGS" +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + # fix manpage + mkdir -p $pkgdir/usr/share/ + mv $pkgdir/usr/man $pkgdir/usr/share/man + mkdir -p ${pkgdir}/sbin + ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs + + # add udev rule + install -Dm644 "$srcdir/70-btrfs.rules" "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules" + + # install mkinitcpio hooks + install -Dm644 "$srcdir/initcpio-install-btrfs" \ + "$pkgdir/usr/lib/initcpio/install/btrfs" + install -Dm644 "$srcdir/initcpio-hook-btrfs" \ + "$pkgdir/usr/lib/initcpio/hooks/btrfs" +} diff --git a/testing/btrfs-progs/initcpio-hook-btrfs b/testing/btrfs-progs/initcpio-hook-btrfs new file mode 100644 index 000000000..913cec528 --- /dev/null +++ b/testing/btrfs-progs/initcpio-hook-btrfs @@ -0,0 +1,10 @@ +#!/usr/bin/ash + +run_hook() { + # if udevd is running, this is done async by add/change events + if [ "$udevd_running" -ne 1 ]; then + btrfs device scan + fi +} + +# vim: set ft=sh ts=4 sw=4 et: diff --git a/testing/btrfs-progs/initcpio-install-btrfs b/testing/btrfs-progs/initcpio-install-btrfs new file mode 100644 index 000000000..aad263378 --- /dev/null +++ b/testing/btrfs-progs/initcpio-install-btrfs @@ -0,0 +1,17 @@ +#!/bin/bash + +build() { + add_module btrfs + add_binary btrfs + add_runscript + + add_file /usr/lib/udev/rules.d/70-btrfs.rules +} + +help() { + cat <<HELPEOF +This hook provides support for multi-device btrfs volumes. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: diff --git a/testing/ddrescue/PKGBUILD b/testing/ddrescue/PKGBUILD new file mode 100644 index 000000000..13824ccab --- /dev/null +++ b/testing/ddrescue/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 163956 2012-07-22 18:33:26Z schiv $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Contributor: Paul Mattal <paul@archlinux.org> + +pkgname=ddrescue +pkgver=1.16 +pkgrel=2 +pkgdesc="GNU data recovery tool" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/ddrescue/ddrescue.html" +license=('GPL3') +depends=('gcc-libs') +install=$pkgname.install +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" + "http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz.sig") +md5sums=('57b67407e882c6418531d48a2f20d16b' + 'bf072280587665d82829be15eb6fc9ad') + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install install-man + rm "$pkgdir"/usr/share/info/dir +} diff --git a/testing/ddrescue/ddrescue.install b/testing/ddrescue/ddrescue.install new file mode 100644 index 000000000..9e2afa74e --- /dev/null +++ b/testing/ddrescue/ddrescue.install @@ -0,0 +1,22 @@ +infodir=/usr/share/info +filelist=(ddrescue.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/iptables/0503-extension_cppflags.patch b/testing/iptables/0503-extension_cppflags.patch new file mode 100644 index 000000000..0eb645731 --- /dev/null +++ b/testing/iptables/0503-extension_cppflags.patch @@ -0,0 +1,13 @@ +Index: b/extensions/GNUmakefile.in +=================================================================== +--- a/extensions/GNUmakefile.in 2012-03-27 12:14:05.000000000 -0400 ++++ b/extensions/GNUmakefile.in 2012-03-27 16:03:48.378790221 -0400 +@@ -21,7 +21,7 @@ + kinclude_CPPFLAGS = @kinclude_CPPFLAGS@ + + AM_CFLAGS = ${regular_CFLAGS} +-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} ++AM_CPPFLAGS = ${CPPFLAGS} ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} + AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ + AM_LDFLAGS = @noundef_LDFLAGS@ + diff --git a/testing/iptables/ip6tables.service b/testing/iptables/ip6tables.service new file mode 100644 index 000000000..9a695f31e --- /dev/null +++ b/testing/iptables/ip6tables.service @@ -0,0 +1,11 @@ +[Unit] +Description=IPv6 Packet Filtering Framework + +[Service] +Type=oneshot +ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/ip6tables.rules +ExecStop=/usr/lib/systemd/scripts/iptables-flush 6 +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/testing/iptables/iptables-1.4.12-fixresore.patch b/testing/iptables/iptables-1.4.12-fixresore.patch new file mode 100644 index 000000000..94358f779 --- /dev/null +++ b/testing/iptables/iptables-1.4.12-fixresore.patch @@ -0,0 +1,28 @@ +diff -Nur iptables-1.4.12.2/iptables/ip6tables-restore.c iptables-1.4.12.2-fixrestore/iptables/ip6tables-restore.c +--- iptables-1.4.12.2/iptables/ip6tables-restore.c 2012-01-03 02:19:09.000000000 +0900 ++++ iptables-1.4.12.2-fixrestore/iptables/ip6tables-restore.c 2012-03-01 10:56:10.000000000 +0900 +@@ -380,9 +380,9 @@ + quote_open = 0; + escaped = 0; + param_len = 0; ++ char param_buffer[1024]; + + for (curchar = parsestart; *curchar; curchar++) { +- char param_buffer[1024]; + + if (quote_open) { + if (escaped) { +diff -Nur iptables-1.4.12.2/iptables/iptables-restore.c iptables-1.4.12.2-fixrestore/iptables/iptables-restore.c +--- iptables-1.4.12.2/iptables/iptables-restore.c 2012-01-03 02:19:09.000000000 +0900 ++++ iptables-1.4.12.2-fixrestore/iptables/iptables-restore.c 2012-03-01 10:56:00.000000000 +0900 +@@ -377,9 +377,9 @@ + quote_open = 0; + escaped = 0; + param_len = 0; ++ char param_buffer[1024]; + + for (curchar = parsestart; *curchar; curchar++) { +- char param_buffer[1024]; + + if (quote_open) { + if (escaped) { diff --git a/testing/iptables/iptables-flush b/testing/iptables/iptables-flush new file mode 100755 index 000000000..e6fafe950 --- /dev/null +++ b/testing/iptables/iptables-flush @@ -0,0 +1,18 @@ +#!/bin/bash +# +# Usage: iptables-flush [6] +# + +iptables=ip$1tables +if ! type -p "$iptables"; then + echo "error: invalid argument" + exit 1 +fi + +while read -r table; do + tables+=("/var/lib/$iptables/empty-$table.rules") +done <"/proc/net/ip$1_tables_names" + +if (( ${#tables[*]} )); then + cat "${tables[@]}" | "$iptables-restore" +fi diff --git a/testing/iptables/iptables.service b/testing/iptables/iptables.service new file mode 100644 index 000000000..3084f53b7 --- /dev/null +++ b/testing/iptables/iptables.service @@ -0,0 +1,11 @@ +[Unit] +Description=Packet Filtering Framework + +[Service] +Type=oneshot +ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules +ExecStop=/usr/lib/systemd/scripts/iptables-flush +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/testing/libwacom/PKGBUILD b/testing/libwacom/PKGBUILD new file mode 100644 index 000000000..5080168da --- /dev/null +++ b/testing/libwacom/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 164040 2012-07-24 23:12:01Z eric $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + +pkgname=libwacom +pkgver=0.6 +pkgrel=1 +pkgdesc="Library to identify Wacom tablets and their features" +arch=('x86_64' 'i686') +url="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Libwacom" +license=('MIT') +depends=('glib2' 'systemd-tools') +options=('!libtool') +source=(http://sourceforge.net/projects/linuxwacom/files/libwacom/$pkgname-$pkgver.tar.bz2) +sha256sums=('7115690698edc87deec482f0b2526567b858475d2135b5f8ccc946e5e76ec01d') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/testing/qjackctl/PKGBUILD b/testing/qjackctl/PKGBUILD new file mode 100644 index 000000000..0884a6587 --- /dev/null +++ b/testing/qjackctl/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 163957 2012-07-22 18:36:11Z schiv $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Tobias Kieslich <tobias@archlinux.org> + +pkgname=qjackctl +pkgver=0.3.9 +pkgrel=2 +pkgdesc="A Qt front-end for the JACK low-latency audio server" +url="http://qjackctl.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('jack' 'qt') +options=('!makeflags') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('f932c916f43ba3251d3a9ed62a448e43') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/rosegarden/PKGBUILD b/testing/rosegarden/PKGBUILD new file mode 100644 index 000000000..3fefe02e1 --- /dev/null +++ b/testing/rosegarden/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 163958 2012-07-22 18:37:45Z schiv $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: damir <damir@archlinux.org> +# Contributor: Robert Emil Berge <robert@rebi.no> + +pkgname=rosegarden +pkgver=12.04 +pkgrel=2 +pkgdesc="MIDI/audio sequencer and notation editor" +arch=('i686' 'x86_64') +url="http://www.rosegardenmusic.com/" +license=('GPL') +depends=('liblrdf' 'dssi' 'fftw' 'lirc-utils' + 'perl' 'qt' 'shared-mime-info') +makedepends=('imake') +optdepends=('lilypond: notation display' + 'cups: printing support' + 'okular: print preview, or any other PDF viewer' + 'timidity++: MIDI playback, or any other softsynth' + 'flac' + 'wavpack') +[ "$CARCH" = "i686" ] && optdepends+=('dssi-vst: win32 VST support') +install=$pkgname.install +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('b11f4fcad69df45365d2125181524559') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # lrdf + raptor2 compatibility + export lrdf_CFLAGS="$(pkg-config --cflags raptor2)" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/rosegarden/rosegarden.install b/testing/rosegarden/rosegarden.install new file mode 100644 index 000000000..5119faec2 --- /dev/null +++ b/testing/rosegarden/rosegarden.install @@ -0,0 +1,14 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: |