diff options
Diffstat (limited to 'community')
23 files changed, 442 insertions, 135 deletions
diff --git a/community/acpid/0001-Fix-format-of-video-tabletmode-event-string.patch b/community/acpid/0001-Fix-format-of-video-tabletmode-event-string.patch new file mode 100644 index 000000000..d111214d3 --- /dev/null +++ b/community/acpid/0001-Fix-format-of-video-tabletmode-event-string.patch @@ -0,0 +1,45 @@ +From ddf5be1f8fc35c38dc241ca935bf4d408f2ff61d Mon Sep 17 00:00:00 2001 +From: Ted Felix <ted@tedfelix.com> +Date: Thu, 17 Jan 2013 20:03:54 -0500 +Subject: [PATCH] Fix format of video/tabletmode event string + +The previous format caused Xorg's xserver to crash in +lnxACPIGetEventFromOs() because it doesn't check for NULL +returns from strtok(). +--- + input_layer.c | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +diff --git a/input_layer.c b/input_layer.c +index 591ad64..db410c0 100644 +--- a/input_layer.c ++++ b/input_layer.c +@@ -56,6 +56,14 @@ struct evtab_entry { + evtest.c, acpi_genl, or kacpimon to find new events to add to this + table. */ + ++/* ++ * The two numbers (e.g. "00000080 00000000") in each string is a format ++ * that Xorg and maybe others expect. ++ * ++ * See hw/xfree86/os-support/linux/lnx_acpi.c in xserver and specifically ++ * lnxACPIGetEventFromOs(). ++ */ ++ + static struct evtab_entry evtab[] = { + + /*** COMMON EVENTS ***/ +@@ -66,8 +74,8 @@ static struct evtab_entry evtab[] = { + {{{0,0}, EV_KEY, KEY_SLEEP, 1}, "button/sleep SBTN 00000080 00000000"}, + {{{0,0}, EV_SW, SW_LID, 1}, "button/lid LID close"}, + {{{0,0}, EV_SW, SW_LID, 0}, "button/lid LID open"}, +- {{{0,0}, EV_SW, SW_TABLET_MODE, 0}, "video/tabletmode TBLT off"}, +- {{{0,0}, EV_SW, SW_TABLET_MODE, 1}, "video/tabletmode TBLT on"}, ++ {{{0,0}, EV_SW, SW_TABLET_MODE, 0}, "video/tabletmode TBLT 0000008A 00000000"}, ++ {{{0,0}, EV_SW, SW_TABLET_MODE, 1}, "video/tabletmode TBLT 0000008A 00000001"}, + + + /*** VIDEO ***/ +-- +1.8.1.1 + diff --git a/community/acpid/PKGBUILD b/community/acpid/PKGBUILD index f08eee579..9f477998c 100644 --- a/community/acpid/PKGBUILD +++ b/community/acpid/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 77739 2012-10-14 03:02:21Z seblu $ +# $Id: PKGBUILD 82787 2013-01-24 12:57:51Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: xduugu # Contributor: Manolis Tzanidakis @@ -6,7 +6,7 @@ pkgname=acpid pkgver=2.0.17 -pkgrel=3 +pkgrel=4 pkgdesc='A daemon for delivering ACPI power management events with netlink support' arch=('i686' 'x86_64') url='http://tedfelix.com/linux/acpid-netlink.html' @@ -14,24 +14,23 @@ license=('GPL') depends=('bash') optdepends=('perl: use perl based examples') replaces=('acpid2') -backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything' 'etc/conf.d/acpid') +backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything') source=("http://www.tedfelix.com/linux/$pkgname-$pkgver.tar.xz" - 'acpid.rc' - 'acpid.conf' 'acpid.socket' 'acpid.service' 'anything' - 'handler.sh') + 'handler.sh' + '0001-Fix-format-of-video-tabletmode-event-string.patch') md5sums=('d858729b7d984c5e3a0c7558e9de1584' - '077475c75fbdd9de75f9a397130ccd91' - '929c6d2e91295c22ed9ec6212d7eabef' 'ee6cb99e50e580c50331a73045412ae9' - '7f545754db5be7296d2dd97c049062ee' + '10290f69491206cd104654e5b900b661' '2d37b98d6e74bab815604b8b48c6cfd4' - '47f44ff5f02685dce8bcdab8568f0c38') + '47f44ff5f02685dce8bcdab8568f0c38' + 'a813e00553104f2129f64cae95a7983f') build() { cd $pkgname-$pkgver + patch -p1 -i "$srcdir/0001-Fix-format-of-video-tabletmode-event-string.patch" ./configure --prefix=/usr make } @@ -45,9 +44,7 @@ package() { install -Dm644 anything "$pkgdir/etc/acpi/events/anything" install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh" - # initscripts - install -Dm755 acpid.rc "$pkgdir/etc/rc.d/acpid" - install -Dm644 acpid.conf "$pkgdir/etc/conf.d/acpid" + # systemd install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket" install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service" @@ -55,4 +52,4 @@ package() { chmod 755 "$pkgdir/usr/sbin/acpid" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/acpid/acpid.service b/community/acpid/acpid.service index 4c0e073b0..e4ddacdbe 100644 --- a/community/acpid/acpid.service +++ b/community/acpid/acpid.service @@ -3,8 +3,7 @@ Description=ACPI event daemon Requires=acpid.socket [Service] -EnvironmentFile=/etc/conf.d/acpid -ExecStart=/usr/sbin/acpid -f $ACPID_ARGS +ExecStart=/usr/sbin/acpid -f [Install] WantedBy=multi-user.target diff --git a/community/arptables/PKGBUILD b/community/arptables/PKGBUILD index 40eba2685..c87d046bd 100644 --- a/community/arptables/PKGBUILD +++ b/community/arptables/PKGBUILD @@ -1,26 +1,22 @@ -# $Id: PKGBUILD 71317 2012-05-26 14:59:39Z seblu $ +# $Id: PKGBUILD 82774 2013-01-24 11:14:44Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: Michal Soltys <soltys@ziu.info> pkgname=arptables -pkgver=0.0.3_4 -pkgrel=3 +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" "etc/conf.d/$pkgname") -install=$pkgname.install +backup=("etc/$pkgname.conf") source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz" - "$pkgname.conf" - "$pkgname.rc" "$pkgname.systemd" "$pkgname.service") -md5sums=('1d4ab05761f063b0751645d8f2b8f8e5' - '00bfb5bd8a83a5b466c650ee5d8f86f3' - '60e0319b55b1ef9e13d9ac03dd98c8d4' - '65a9ed0b866f727184a87e4d480975bd' +md5sums=('c2e99c3aa9d78c9dfa30710ca3168182' + 'e54342a833c52b2bc67e7985e8f8fdfd' 'b26771191e52905d8aea6333c26cb1c3') build() { @@ -39,16 +35,15 @@ package() { INITDIR=/etc/rc.d \ SYSCONFIGDIR=/etc popd - # 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 + # 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" + # remove upstream rc + rm -rf "$pkgdir/etc/rc.d" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/arptables/arptables.systemd b/community/arptables/arptables.systemd index bc5acdbcf..6a4019257 100644 --- a/community/arptables/arptables.systemd +++ b/community/arptables/arptables.systemd @@ -1,13 +1,12 @@ #!/bin/bash -. /etc/conf.d/arptables +CONFIG_FILE='/etc/arptables.conf' case $1 in start) arptables-restore < "$CONFIG_FILE" ;; stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save arptables-restore < /dev/null ;; save) diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD index e6d6afd77..b74b4e930 100644 --- a/community/bird/PKGBUILD +++ b/community/bird/PKGBUILD @@ -1,24 +1,20 @@ -# $Id: PKGBUILD 75510 2012-08-26 17:46:55Z seblu $ +# $Id: PKGBUILD 82772 2013-01-24 11:12:07Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgbase=bird pkgname=('bird' 'bird6') -pkgver=1.3.8 -pkgrel=2 +pkgver=1.3.9 +pkgrel=1 arch=('i686' 'x86_64') url='http://bird.network.cz/' license=('GPL2') depends=('readline' 'ncurses') source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz" - 'bird.rc' - 'bird.conf' 'bird.service' 'bird6.service') -md5sums=('965fee1be1d5cd45ceef3926e49c18ce' - '5e5346a057f187f56cce928b7e423636' - '25241a4d7ef639506e0080431b2c1690' - '14e684c84249b8f7748d94eee6df155a' - '4988006fc8169c5e00771c75ca67e78f') +md5sums=('86042560b5053dd008ba0b5ecbdde136' + 'ccd12c994501e28a7256a6a2a17154b2' + '631eea3de9be2f259aaf91f281d2d39a') build() { cd $pkgbase-$pkgver @@ -48,10 +44,7 @@ package_bird () { # no /var inside pkg rm -r "$pkgdir/var" - # iniscripts files - install -D -m 755 "$srcdir/bird.rc" "$pkgdir/etc/rc.d/bird" - install -D -m 644 "$srcdir/bird.conf" "$pkgdir/etc/conf.d/bird" - # systemd file + # systemd install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" } @@ -66,11 +59,8 @@ package_bird6 () { # no /var inside pkg rm -r "$pkgdir/var" - # iniscripts files - install -D -m 755 "$srcdir/bird.rc" "$pkgdir/etc/rc.d/bird6" - install -D -m 644 "$srcdir/bird.conf" "$pkgdir/etc/conf.d/bird6" - # systemd config file + # systemd install -D -m 644 "$srcdir/bird6.service" "$pkgdir/usr/lib/systemd/system/bird6.service" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/bird/bird.service b/community/bird/bird.service index b72247208..f40068646 100644 --- a/community/bird/bird.service +++ b/community/bird/bird.service @@ -1,5 +1,6 @@ [Unit] Description=BIRD routing daemon +After=network.target [Service] ExecStart=/usr/sbin/bird -d diff --git a/community/bird/bird6.service b/community/bird/bird6.service index 4d245d187..284c75842 100644 --- a/community/bird/bird6.service +++ b/community/bird/bird6.service @@ -1,5 +1,6 @@ [Unit] Description=BIRD IPv6 routing daemon +After=network.target [Service] ExecStart=/usr/sbin/bird6 -d diff --git a/community/gnote/PKGBUILD b/community/gnote/PKGBUILD index b75356190..761cdf404 100644 --- a/community/gnote/PKGBUILD +++ b/community/gnote/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 79122 2012-10-30 23:06:42Z heftig $ +# $Id: PKGBUILD 82837 2013-01-24 20:04:23Z ioni $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: uastasi <uastasi@archlinux.us> pkgname=gnote -pkgver=3.6.1 +pkgver=3.6.2 pkgrel=1 pkgdesc="A note taking application." arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ makedepends=('intltool' 'itstool' 'boost') options=('!libtool') install=gnote.install source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('f1f62ccf9cce1eef2ee2b41039360f946f3b4223983ca52223ccb6687a59f2f9') +sha256sums=('38f3b069874658f281445e04b8376d946580e4a5e39620f7e30fdd8216d46c1e') build() { cd $pkgname-$pkgver diff --git a/community/iperf/PKGBUILD b/community/iperf/PKGBUILD index 5985ba0d1..fb4539a72 100644 --- a/community/iperf/PKGBUILD +++ b/community/iperf/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80971 2012-12-08 03:52:17Z seblu $ +# $Id: PKGBUILD 82783 2013-01-24 12:34:05Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Dale Blount <dale@archlinux.org> pkgname=iperf pkgver=2.0.5 -pkgrel=6 +pkgrel=7 pkgdesc='A tool to measure maximum TCP bandwidth' arch=('i686' 'x86_64') license=('custom') @@ -13,16 +13,12 @@ url='http://iperf.sourceforge.net' depends=('gcc-libs') install=iperf.install source=("http://downloads.sourceforge.net/iperf/iperf-$pkgver.tar.gz" - 'iperf.rc' - 'iperf.conf' 'iperf-tcp.service' 'iperf-udp.service' 'client.cpp.patch') md5sums=('44b5536b67719f4250faed632a3cd016' - 'e99dc0d41eb800970390dd149d70b544' - 'c75cb18434c6bf19fdc89b9caa766d7d' - 'd2203fb26bb50a3378c2699714ada8e5' - '573964ec1b1558a78cd667459676cdb7' + '1d8660b540aa0db2e627d3d400cb8de4' + 'a27a8d27b1585bc999a04a2f082e2726' '82ce63c87cc8bb2f0f94069857ac14a9') build() { @@ -41,9 +37,7 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/iperf/LICENSE" popd - # install initscripts - install -Dm755 iperf.rc "$pkgdir/etc/rc.d/iperf" - install -Dm644 iperf.conf "$pkgdir/etc/conf.d/iperf" + # systemd install -Dm644 iperf-tcp.service "$pkgdir/usr/lib/systemd/system/iperf-tcp.service" install -Dm644 iperf-udp.service "$pkgdir/usr/lib/systemd/system/iperf-udp.service" } diff --git a/community/iperf/iperf-tcp.service b/community/iperf/iperf-tcp.service index 29967815a..ccb8401c8 100644 --- a/community/iperf/iperf-tcp.service +++ b/community/iperf/iperf-tcp.service @@ -1,5 +1,6 @@ [Unit] Description=Iperf TCP Server +After=network.target [Service] ExecStart=/usr/bin/iperf -s -V diff --git a/community/iperf/iperf-udp.service b/community/iperf/iperf-udp.service index 2253f9c45..b3c5d2686 100644 --- a/community/iperf/iperf-udp.service +++ b/community/iperf/iperf-udp.service @@ -1,5 +1,6 @@ [Unit] Description=Iperf UDP Server +After=network.target [Service] ExecStart=/usr/bin/iperf -u -s -V diff --git a/community/ipset/PKGBUILD b/community/ipset/PKGBUILD index 98b2305c9..b9835f0e9 100644 --- a/community/ipset/PKGBUILD +++ b/community/ipset/PKGBUILD @@ -1,25 +1,21 @@ -# $Id: PKGBUILD 80651 2012-11-28 16:13:35Z seblu $ +# $Id: PKGBUILD 82785 2013-01-24 12:55:11Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgname=ipset pkgver=6.16.1 -pkgrel=1 +pkgrel=2 pkgdesc='Administration tool for IP sets' arch=('i686' 'x86_64') url='http://ipset.netfilter.org' license=('GPL2') -depends=('libmnl') -backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname") +depends=('libmnl' 'bash') +backup=("etc/$pkgname.conf") options=('!libtool') source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2" - "$pkgname.conf" - "$pkgname.rc" "$pkgname.systemd" "$pkgname.service") md5sums=('9fd70c825f052db7dc9d5ba0562b7083' - '3e606a2823a700b4e9c5f17511a6f6a5' - 'de89b054d967036e08b13bc6a7235286' - 'dfc3105b89ed41fc4a1feb4f4f13f2a3' + '7daa4f163eef9db216cb4c428e0342a3' 'b032241b96b5802975fe4321cc511c6b') build() { @@ -34,11 +30,10 @@ package() { # install doc install -dm755 "$pkgdir/usr/share/doc/$pkgname" install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname" + # install pkgconfig file + install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc" popd - # 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 + # systemd install -Dm 755 $pkgname.systemd \ "$pkgdir/usr/lib/systemd/scripts/$pkgname" install -Dm 644 $pkgname.service \ @@ -47,4 +42,4 @@ package() { install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/ipset/ipset.systemd b/community/ipset/ipset.systemd index 92397f3a7..c28086322 100644 --- a/community/ipset/ipset.systemd +++ b/community/ipset/ipset.systemd @@ -1,13 +1,12 @@ #!/bin/bash -. /etc/conf.d/ipset +CONFIG_FILE='/etc/ipset.conf' case $1 in start) ipset restore < "$CONFIG_FILE" ;; stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save ipset destroy ;; save) diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 47e98a72f..469f475a4 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 81357 2012-12-18 14:01:44Z seblu $ -# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> +# $Id: PKGBUILD 82779 2013-01-24 12:23:58Z seblu $ +# Maintainer: Sébastien Luttringer <seblu@archlinux.org> pkgbase=linux-tools pkgname=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') pkgver=3.7 -pkgrel=3 +pkgrel=4 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -21,22 +21,16 @@ makedepends+=('glib2' 'sysfsutils') groups=("$pkgbase") source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz" "http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.1.xz" - 'cpupower.conf' - 'cpupower.rc' + 'cpupower.default' 'cpupower.systemd' 'cpupower.service' - 'usbipd.conf' - 'usbipd.rc' 'usbipd.service') md5sums=('21223369d682bcf44bcdfe1521095983' '48f5f530b048e387e978e3e49de7742a' '56883c159381ba89e50ab8ea65efec77' - '5fc1fcda4cef93f16e752b1931db23e3' - 'c0d17b5295fe964623c772a2dd981771' + '7e0710c2f31c1eb1e1417a7972e676b1' '2450e8ff41b30eb58d43b5fffbfde1f4' - 'e8fac9c45a628015644b4150b139278a' - '8a3831d962ff6a9968c0c20fd601cdec' - 'ba7c1c513314dd21fb2334fb8417738f') + 'a8fb0c6159bee1b9e345a87cabb3ba27') build() { # apply stable patching set @@ -95,7 +89,7 @@ package_libtraceevent() { package_perf() { pkgdesc='Linux kernel performance auditing tool' - depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') + depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind' 'binutils') cd linux-$pkgver/tools/perf make \ @@ -110,7 +104,7 @@ package_perf() { package_cpupower() { pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' - backup=('etc/conf.d/cpupower') + backup=('etc/default/cpupower') depends=('bash' 'pciutils') conflicts=('cpufrequtils') replaces=('cpufrequtils') @@ -123,8 +117,7 @@ package_cpupower() { install install-man popd # install startup scripts - install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" - install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" + install -Dm 644 $pkgname.default "$pkgdir/etc/default/$pkgname" install -Dm 644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" install -Dm 755 $pkgname.systemd "$pkgdir/usr/lib/systemd/scripts/$pkgname" } @@ -149,9 +142,7 @@ package_usbip() { # module loading install -Dm 644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" printf 'usbip-core\nusbip-host\n' > "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" - # install daemon scripts - install -Dm 755 usbipd.rc "$pkgdir/etc/rc.d/usbipd" - install -Dm 644 usbipd.conf "$pkgdir/etc/conf.d/usbipd" + # systemd install -Dm 644 usbipd.service "$pkgdir/usr/lib/systemd/system/usbipd.service" } diff --git a/community/linux-tools/cpupower.default b/community/linux-tools/cpupower.default new file mode 100644 index 000000000..b5c522ea1 --- /dev/null +++ b/community/linux-tools/cpupower.default @@ -0,0 +1,29 @@ +# Define CPUs governor +# valid governors: ondemand, performance, powersave, conservative, userspace. +#governor='ondemand' + +# Limit frequency range +# Valid suffixes: Hz, kHz (default), MHz, GHz, THz +#min_freq="2.25GHz" +#max_freq="3GHz" + +# Specific frequency to be set. +# Requires userspace governor to be available. +# Do not set governor field if you use this one. +#freq= + +# Utilizes cores in one processor package/socket first before processes are +# scheduled to other processor packages/sockets. +# See man (1) CPUPOWER-SET for additional details. +#mc_scheduler= + +# Utilizes thread siblings of one processor core first before processes are +# scheduled to other cores. See man (1) CPUPOWER-SET for additional details. +#smp_scheduler= + +# Sets a register on supported Intel processore which allows software to convey +# its policy for the relative importance of performance versus energy savings to +# the processor. See man (1) CPUPOWER-SET for additional details. +#perf_bias= + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/linux-tools/cpupower.systemd b/community/linux-tools/cpupower.systemd index f45b02bc8..51c645415 100644 --- a/community/linux-tools/cpupower.systemd +++ b/community/linux-tools/cpupower.systemd @@ -1,6 +1,6 @@ #!/bin/bash -. /etc/conf.d/cpupower +. /etc/default/cpupower declare -i fail=0 diff --git a/community/linux-tools/usbipd.service b/community/linux-tools/usbipd.service index ac2f5f7c1..1f3da08db 100644 --- a/community/linux-tools/usbipd.service +++ b/community/linux-tools/usbipd.service @@ -1,5 +1,6 @@ [Unit] Description=USB/IP server +After=network.target [Service] ExecStart=/usr/sbin/usbipd diff --git a/community/lksctp-tools/0001-Modernize-autotools.patch b/community/lksctp-tools/0001-Modernize-autotools.patch new file mode 100644 index 000000000..2fa0b23c6 --- /dev/null +++ b/community/lksctp-tools/0001-Modernize-autotools.patch @@ -0,0 +1,257 @@ +From 6812d5ed157869d466058ad7383e1a94c3ead65c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net> +Date: Thu, 24 Jan 2013 12:41:49 +0100 +Subject: [PATCH] Modernize autotools +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Allow compilation with last version of autotools +- libtool 2.4.2 +- m4 1.4.16 +- autoconf 2.69 +- automake 1.13.1 +- make 3.82 + +Signed-off-by: Sébastien Luttringer <seblu@seblu.net> +--- + Makefile.am | 2 ++ + configure.ac | 75 ++++++++++++++++++++++++++++++++++++++++++++++ + configure.in | 74 --------------------------------------------- + src/apps/Makefile.am | 2 +- + src/func_tests/Makefile.am | 2 +- + src/lib/Makefile.am | 2 +- + src/testlib/Makefile.am | 2 +- + 7 files changed, 81 insertions(+), 78 deletions(-) + create mode 100644 configure.ac + delete mode 100644 configure.in + +diff --git a/Makefile.am b/Makefile.am +index 109f01d..2c9c8c6 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -12,6 +12,8 @@ EXTRA_DIST += ChangeLog AUTHORS COPYING COPYING.lib INSTALL \ + # bin or src products may be required to generate stuff in test/ + SUBDIRS = man bin src doc + ++ACLOCAL_AMFLAGS=-I m4 ++ + # Libtool support + LIBTOOL_DEPS = @LIBTOOL_DEPS@ + libtool: $(LIBTOOL_DEPS) +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..9af138b +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,75 @@ ++dnl -*-autoconf-*- ++ ++dnl lksctp-tools: Autoconf script ++dnl ++dnl $Id: configure.in,v 1.1.1.2 2002/08/06 23:55:45 inaky Exp $ ++ ++dnl (C) 2002 Intel Corporation ++dnl Iñaky Pérez-González <inaky.perez-gonzalez@intel.com> ++dnl - Initial packaging ++ ++dnl Package info ++dnl (CONFIG_AUX_DIR is for putting stuff in $TOPSRCDIR/bin, so we ++dnl reduce clutter in the root; if we put it below AM_INIT_AUTOMAKE, ++dnl configure will fail ...) ++ ++AC_INIT([lksctp-tools], [1.0.13]) ++AC_CONFIG_AUX_DIR(bin) ++AC_CONFIG_SRCDIR([src/apps/sctp_darn.c]) ++AC_CONFIG_HEADERS([config.h]) ++AC_CONFIG_MACRO_DIR([m4]) ++AC_REVISION($Revision: 1.1.1.2 $) ++AM_INIT_AUTOMAKE ++AM_SILENT_RULES([yes]) ++ ++dnl Set defaults ++dnl CFLAGS="$CFLAGS -g -Wall" ++ ++dnl Checks for programs. ++AC_PROG_AWK ++AC_PROG_CC ++AC_PROG_INSTALL ++AC_PROG_LN_S ++AC_ISC_POSIX ++ ++dnl Checks for libraries. ++AC_LIBTOOL_DLOPEN ++AC_PROG_LIBTOOL ++AC_SUBST(LIBTOOL_DEPS) ++ ++dnl Checks for header files. ++AC_HEADER_STDC ++AC_HEADER_SYS_WAIT ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h]) ++ ++dnl Checks for typedefs, structures, and compiler characteristics. ++AC_C_CONST ++AC_C_INLINE ++AC_TYPE_SIZE_T ++AC_HEADER_TIME ++AC_STRUCT_TM ++AC_C_VOLATILE ++ ++# Checks for library functions. ++AC_FUNC_MALLOC ++AC_FUNC_MEMCMP ++AC_FUNC_REALLOC ++AC_FUNC_SELECT_ARGTYPES ++AC_FUNC_SETVBUF_REVERSED ++AC_FUNC_VPRINTF ++AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul]) ++ ++AC_CONFIG_FILES([lksctp-tools.spec ++ Makefile ++ bin/Makefile ++ man/Makefile ++ src/Makefile ++ src/apps/Makefile ++ src/func_tests/Makefile ++ src/include/Makefile ++ src/include/netinet/Makefile ++ src/lib/Makefile ++ src/testlib/Makefile ++ src/withsctp/Makefile ++ doc/Makefile]) ++AC_OUTPUT +diff --git a/configure.in b/configure.in +deleted file mode 100644 +index c43ed9d..0000000 +--- a/configure.in ++++ /dev/null +@@ -1,74 +0,0 @@ +-dnl -*-autoconf-*- +- +-dnl lksctp-tools: Autoconf script +-dnl +-dnl $Id: configure.in,v 1.1.1.2 2002/08/06 23:55:45 inaky Exp $ +- +-dnl (C) 2002 Intel Corporation +-dnl Iñaky Pérez-González <inaky.perez-gonzalez@intel.com> +-dnl - Initial packaging +- +-dnl Package info +-dnl (CONFIG_AUX_DIR is for putting stuff in $TOPSRCDIR/bin, so we +-dnl reduce clutter in the root; if we put it below AM_INIT_AUTOMAKE, +-dnl configure will fail ...) +- +-AC_INIT([src/apps/sctp_darn.c]) +-AC_CONFIG_AUX_DIR(bin) +-AM_INIT_AUTOMAKE(lksctp-tools,1.0.13) +-AC_CONFIG_SRCDIR([config.h.in]) +-AM_CONFIG_HEADER([config.h]) +-AC_REVISION($Revision: 1.1.1.2 $) +-AM_SILENT_RULES([yes]) +- +-dnl Set defaults +-dnl CFLAGS="$CFLAGS -g -Wall" +- +-dnl Checks for programs. +-AC_PROG_AWK +-AC_PROG_CC +-AC_PROG_INSTALL +-AC_PROG_LN_S +-AC_ISC_POSIX +- +-dnl Checks for libraries. +-AC_LIBTOOL_DLOPEN +-AC_PROG_LIBTOOL +-AC_SUBST(LIBTOOL_DEPS) +- +-dnl Checks for header files. +-AC_HEADER_STDC +-AC_HEADER_SYS_WAIT +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h]) +- +-dnl Checks for typedefs, structures, and compiler characteristics. +-AC_C_CONST +-AC_C_INLINE +-AC_TYPE_SIZE_T +-AC_HEADER_TIME +-AC_STRUCT_TM +-AC_C_VOLATILE +- +-# Checks for library functions. +-AC_FUNC_MALLOC +-AC_FUNC_MEMCMP +-AC_FUNC_REALLOC +-AC_FUNC_SELECT_ARGTYPES +-AC_FUNC_SETVBUF_REVERSED +-AC_FUNC_VPRINTF +-AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul]) +- +-AC_CONFIG_FILES([lksctp-tools.spec +- Makefile +- bin/Makefile +- man/Makefile +- src/Makefile +- src/apps/Makefile +- src/func_tests/Makefile +- src/include/Makefile +- src/include/netinet/Makefile +- src/lib/Makefile +- src/testlib/Makefile +- src/withsctp/Makefile +- doc/Makefile]) +-AC_OUTPUT +diff --git a/src/apps/Makefile.am b/src/apps/Makefile.am +index c2e34e4..6d53e6d 100644 +--- a/src/apps/Makefile.am ++++ b/src/apps/Makefile.am +@@ -5,7 +5,7 @@ include $(top_srcdir)/Makefile.rules + include $(top_srcdir)/Makefile.dirs + + # General compilation flags +-INCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib ++AM_CPPFLAGS = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib + AM_CFLAGS = -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration + AM_LDFLAGS = + LDADD = $(top_builddir)/src/testlib/libsctputil.la \ +diff --git a/src/func_tests/Makefile.am b/src/func_tests/Makefile.am +index 9092ffb..b21e151 100644 +--- a/src/func_tests/Makefile.am ++++ b/src/func_tests/Makefile.am +@@ -5,7 +5,7 @@ include $(top_srcdir)/Makefile.rules + include $(top_srcdir)/Makefile.dirs + + # General compilation flags +-INCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib ++AM_CPPFLAGS = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib + AM_CFLAGS = -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration + AM_LDFLAGS = -lpthread + LDADD = $(top_builddir)/src/testlib/libsctputil.la \ +diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am +index 81cc814..af8bb51 100644 +--- a/src/lib/Makefile.am ++++ b/src/lib/Makefile.am +@@ -5,7 +5,7 @@ include $(top_srcdir)/Makefile.rules + include $(top_srcdir)/Makefile.dirs + + # General compilation flags +-INCLUDES = -I$(top_srcdir)/src/include ++AM_CPPFLAGS = -I$(top_srcdir)/src/include + + lib_LTLIBRARIES = libsctp.la + libsctp_la_SOURCES = bindx.c connectx.c peeloff.c opt_info.c addrs.c sendmsg.c recvmsg.c Versions.map +diff --git a/src/testlib/Makefile.am b/src/testlib/Makefile.am +index 3d7fd49..fae6bbc 100644 +--- a/src/testlib/Makefile.am ++++ b/src/testlib/Makefile.am +@@ -5,7 +5,7 @@ include $(top_srcdir)/Makefile.rules + include $(top_srcdir)/Makefile.dirs + + # General compilation flags +-INCLUDES = -I$(top_srcdir)/src/include ++AM_CPPFLAGS = -I$(top_srcdir)/src/include + + noinst_LTLIBRARIES = libsctputil.la + libsctputil_la_SOURCES = sctputil.c sctputil.h +-- +1.8.1.1 + diff --git a/community/lksctp-tools/PKGBUILD b/community/lksctp-tools/PKGBUILD index 7751723cb..8df17f34f 100644 --- a/community/lksctp-tools/PKGBUILD +++ b/community/lksctp-tools/PKGBUILD @@ -1,28 +1,39 @@ # $Id$ -# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> +# Maintainer: Sébastien Luttringer <seblu@archlinux.org> # Contributer: Nicolas Martyanoff <khaelin@gmail.com> pkgname=lksctp-tools -pkgver=1.0.11 +pkgver=1.0.13 pkgrel=1 pkgdesc='An implementation of the SCTP protocol' arch=('i686' 'x86_64') url='http://lksctp.sourceforge.net/' -license=('GPL2') +license=('GPL2' 'LGPL2.1') depends=('bash') options=('!libtool') -source=("http://downloads.sourceforge.net/sourceforge/lksctp/$pkgname-$pkgver.tar.gz") -md5sums=('e9cf6c57402c9d4f1173a9529466e16d') +source=("http://downloads.sourceforge.net/sourceforge/lksctp/$pkgname-$pkgver.tar.gz" + '0001-Modernize-autotools.patch') +md5sums=('96436a1b0d30ae588d0a13f6b646549a' + '84635abc83bcd85ef263160b6f435336') build() { cd $pkgname-$pkgver + # fix autotools + patch -p1 -i "$srcdir/0001-Modernize-autotools.patch" + ./bootstrap ./configure --prefix=/usr make } +#check() { +# cd $pkgname-$pkgver/src/func_tests +# make v4test +# make v6test +#} + package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD index 5ae8204b7..8a54b20ff 100644 --- a/community/ndisc6/PKGBUILD +++ b/community/ndisc6/PKGBUILD @@ -1,42 +1,38 @@ -# $Id: PKGBUILD 73033 2012-06-28 18:43:36Z cbrannon $ -# Maintainer: Chris Brannon <chris@the-brannons.com> +# $Id: PKGBUILD 82792 2013-01-24 13:20:12Z seblu $ +# Maintainer: Sébastien Luttringer <seblu@archlinux.org> +# Contributor: Chris Brannon <chris@the-brannons.com> # Contributor: Mark Smith <markzzzsmith@yahoo.com.au> + pkgname=ndisc6 pkgver=1.0.2 -pkgrel=4 -pkgdesc="A collection of IPv6 networking utilities - ndisc6, rdisc6, tcptraceroute6, tracert6, rltraceroute6, tcpspray6" +pkgrel=5 +pkgdesc='Collection of IPv6 networking utilities' arch=('i686' 'x86_64') -url="http://www.remlab.net/ndisc6/" -license=("GPL") +url='http://www.remlab.net/ndisc6/' +license=('GPL') depends=('glibc' 'perl') makedepends=('glibc' 'gcc') options=(!emptydirs) install=ndisc6.install -source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2 - rdnssd.rc.d - rdnssd.confd - rdnssd.service) +source=("http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2" + 'rdnssd.service') md5sums=('50cb4c19606cf6ff2b7388e71832f579' - '3421fd731c4da4f9e07fc6b6ff4e5084' - 'f1910902932e2622fc166960819db6c4' 'beeb4f033e9eb951e2de962f609c7c2a') build() { - cd "$srcdir/$pkgname-$pkgver" - + cd $pkgname-$pkgver + # patch invalid path + sed -ri 's,PATH=/sbin:/bin,PATH=/sbin:/bin:/usr/sbin:/usr/bin,' rdnssd/merge-hook.in ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" - + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - install -Dm755 "$srcdir/rdnssd.rc.d" "$pkgdir/etc/rc.d/rdnssd" - install -Dm644 "$srcdir/rdnssd.confd" "$pkgdir/etc/conf.d/rdnssd" - install -Dm644 "$srcdir/rdnssd.service" \ - "$pkgdir/usr/lib/systemd/system/rdnssd.service" - - install -d "$pkgdir/usr/lib/tmpfiles.d" - echo "d /run/rdnssd 0755 nobody root" > "$pkgdir/usr/lib/tmpfiles.d/ndisc6.conf" + install -Dm644 "$srcdir/rdnssd.service" "$pkgdir/usr/lib/systemd/system/rdnssd.service" + install -Dm644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + echo 'd /run/rdnssd 0755 nobody root' > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } + +# vim:set ts=2 sw=2 et: diff --git a/community/ndisc6/ndisc6.install b/community/ndisc6/ndisc6.install index 086fb6829..7d917ca19 100644 --- a/community/ndisc6/ndisc6.install +++ b/community/ndisc6/ndisc6.install @@ -1,3 +1,8 @@ +#!/bin/sh + +# arg 1: the new package version post_install() { systemd-tmpfiles --create usr/lib/tmpfiles.d/ndisc6.conf } + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/opendkim/PKGBUILD b/community/opendkim/PKGBUILD index 6e11bf0f4..edd1ed051 100644 --- a/community/opendkim/PKGBUILD +++ b/community/opendkim/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 78840 2012-10-25 13:10:38Z spupykin $ +# $Id: PKGBUILD 82828 2013-01-24 15:21:21Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Thomas Jost <schnouki@schnouki.net> pkgname=opendkim -pkgver=2.7.0 +pkgver=2.7.4 pkgrel=1 pkgdesc="An open source implementation of the DKIM sender authentication system. Based on a fork of dkim-milter." arch=(i686 x86_64) @@ -18,7 +18,7 @@ source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.g opendkim.conf opendkim.rc opendkim.service) -md5sums=('ec3f38e6b612c58cd3b4dabfd923274a' +md5sums=('310063cabe530eb0b5c16103334b3bb0' '3e2bb1058ac0662f01e675aa6ac7ee8f' '093f5c098a45cc68753f97e45a5b374c' 'bc1b73856bc1941faaa4842e00437cb5') |