From 29cefdccedfcb48822a8da80b259ed0bb0f73266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 25 Jul 2014 04:03:32 +0000 Subject: Fri Jul 25 03:59:36 UTC 2014 --- community/arptables/PKGBUILD | 49 ---------- community/arptables/arptables.service | 11 --- community/arptables/arptables.systemd | 21 ---- community/bind/01-fix-forgotten-log.patch | 41 -------- community/bind/127.0.0.zone | 11 --- community/bind/PKGBUILD | 87 ----------------- community/bind/bind.install | 23 ----- community/bind/localhost.zone | 10 -- community/bind/named.conf | 64 ------------- community/bind/named.logrotate | 6 -- community/bind/named.service | 11 --- community/bind/tmpfiles.d | 1 - community/bird/PKGBUILD | 89 ----------------- community/bird/bird.service | 12 --- community/bird/bird6.service | 12 --- community/conntrack-tools/PKGBUILD | 49 ---------- community/conntrack-tools/conntrack-tools.install | 9 -- community/conntrack-tools/conntrackd.service | 8 -- community/ebtables/PKGBUILD | 51 ---------- community/ebtables/ebtables.install | 9 -- community/ebtables/ebtables.service | 11 --- community/ebtables/ebtables.systemd | 21 ---- community/gdc/PKGBUILD | 8 +- community/gradm/PKGBUILD | 4 +- community/hardening-wrapper/PKGBUILD | 31 ++++++ community/hardening-wrapper/cc-wrapper.sh | 106 +++++++++++++++++++++ .../hardening-wrapper/hardening-wrapper-i686.conf | 6 ++ .../hardening-wrapper-x86_64.conf | 6 ++ community/hardening-wrapper/path.sh | 1 + community/ipset/PKGBUILD | 40 -------- community/ipset/ipset.service | 13 --- community/libgit2-glib/PKGBUILD | 8 +- community/libmnl/PKGBUILD | 26 ----- community/libnetfilter_acct/PKGBUILD | 28 ------ community/libnetfilter_conntrack/PKGBUILD | 30 ------ community/libnetfilter_cthelper/PKGBUILD | 25 ----- community/libnetfilter_cttimeout/PKGBUILD | 25 ----- community/libnetfilter_log/PKGBUILD | 28 ------ community/libnetfilter_queue/PKGBUILD | 28 ------ community/libnfnetlink/PKGBUILD | 29 ------ community/libnftnl/PKGBUILD | 32 ------- community/nfacct/PKGBUILD | 32 ------- community/nftables/02-manpages.patch | 40 -------- community/nftables/PKGBUILD | 32 ------- community/perl-mouse/PKGBUILD | 46 +++++++++ community/perl-test-leaktrace/PKGBUILD | 50 ++++++++++ community/python-pygit2/PKGBUILD | 8 +- community/quagga/PKGBUILD | 86 ----------------- community/quagga/babeld.service | 16 ---- community/quagga/bgpd.service | 16 ---- community/quagga/isisd.service | 16 ---- community/quagga/ospf6d.service | 16 ---- community/quagga/ospfd.service | 16 ---- community/quagga/quagga.install | 36 ------- community/quagga/ripd.service | 16 ---- community/quagga/ripngd.service | 16 ---- community/quagga/zebra.service | 16 ---- community/tigervnc/PKGBUILD | 10 +- community/tigervnc/vncviewer.desktop | 9 +- community/ulogd/PKGBUILD | 60 ------------ community/ulogd/ulogd.conf | 20 ---- community/ulogd/ulogd.logrotate | 10 -- community/ulogd/ulogd.service | 9 -- community/xulrunner/PKGBUILD | 7 +- core/curl/PKGBUILD | 6 +- extra/arptables/PKGBUILD | 49 ++++++++++ extra/arptables/arptables.service | 11 +++ extra/arptables/arptables.systemd | 21 ++++ extra/bind/01-fix-forgotten-log.patch | 41 ++++++++ extra/bind/127.0.0.zone | 11 +++ extra/bind/PKGBUILD | 87 +++++++++++++++++ extra/bind/bind.install | 23 +++++ extra/bind/localhost.zone | 10 ++ extra/bind/named.conf | 64 +++++++++++++ extra/bind/named.logrotate | 6 ++ extra/bind/named.service | 11 +++ extra/bind/tmpfiles.d | 1 + extra/bird/PKGBUILD | 89 +++++++++++++++++ extra/bird/bird.service | 12 +++ extra/bird/bird6.service | 12 +++ extra/colord/PKGBUILD | 6 +- extra/conntrack-tools/PKGBUILD | 49 ++++++++++ extra/conntrack-tools/conntrack-tools.install | 9 ++ extra/conntrack-tools/conntrackd.service | 8 ++ extra/ebtables/PKGBUILD | 51 ++++++++++ extra/ebtables/ebtables.install | 9 ++ extra/ebtables/ebtables.service | 11 +++ extra/ebtables/ebtables.systemd | 21 ++++ extra/glib-perl/PKGBUILD | 8 +- extra/gtk2-perl/PKGBUILD | 12 +-- extra/ibus/PKGBUILD | 6 +- extra/ipset/PKGBUILD | 40 ++++++++ extra/ipset/ipset.service | 13 +++ extra/libmnl/PKGBUILD | 26 +++++ extra/libnetfilter_acct/PKGBUILD | 28 ++++++ extra/libnetfilter_conntrack/PKGBUILD | 30 ++++++ extra/libnetfilter_cthelper/PKGBUILD | 25 +++++ extra/libnetfilter_cttimeout/PKGBUILD | 25 +++++ extra/libnetfilter_log/PKGBUILD | 28 ++++++ extra/libnetfilter_queue/PKGBUILD | 28 ++++++ extra/libnfnetlink/PKGBUILD | 29 ++++++ extra/libnftnl/PKGBUILD | 32 +++++++ extra/libtorrent-rasterbar/PKGBUILD | 6 +- extra/libxext/PKGBUILD | 10 +- extra/netcdf/PKGBUILD | 12 ++- extra/nfacct/PKGBUILD | 32 +++++++ extra/nftables/PKGBUILD | 30 ++++++ extra/pango-perl/PKGBUILD | 11 ++- extra/python-geoip/PKGBUILD | 27 ++++-- extra/quagga/PKGBUILD | 86 +++++++++++++++++ extra/quagga/babeld.service | 16 ++++ extra/quagga/bgpd.service | 16 ++++ extra/quagga/isisd.service | 16 ++++ extra/quagga/ospf6d.service | 16 ++++ extra/quagga/ospfd.service | 16 ++++ extra/quagga/quagga.install | 36 +++++++ extra/quagga/ripd.service | 16 ++++ extra/quagga/ripngd.service | 16 ++++ extra/quagga/zebra.service | 16 ++++ extra/telepathy-gabble/PKGBUILD | 8 +- extra/telepathy-mission-control/PKGBUILD | 8 +- extra/ulogd/PKGBUILD | 60 ++++++++++++ extra/ulogd/ulogd | 54 +++++++++++ extra/ulogd/ulogd.conf | 20 ++++ extra/ulogd/ulogd.logrotate | 10 ++ extra/ulogd/ulogd.service | 9 ++ 126 files changed, 1717 insertions(+), 1441 deletions(-) delete mode 100644 community/arptables/PKGBUILD delete mode 100644 community/arptables/arptables.service delete mode 100644 community/arptables/arptables.systemd delete mode 100644 community/bind/01-fix-forgotten-log.patch delete mode 100644 community/bind/127.0.0.zone delete mode 100644 community/bind/PKGBUILD delete mode 100644 community/bind/bind.install delete mode 100644 community/bind/localhost.zone delete mode 100644 community/bind/named.conf delete mode 100644 community/bind/named.logrotate delete mode 100644 community/bind/named.service delete mode 100644 community/bind/tmpfiles.d delete mode 100644 community/bird/PKGBUILD delete mode 100644 community/bird/bird.service delete mode 100644 community/bird/bird6.service delete mode 100644 community/conntrack-tools/PKGBUILD delete mode 100644 community/conntrack-tools/conntrack-tools.install delete mode 100644 community/conntrack-tools/conntrackd.service delete mode 100644 community/ebtables/PKGBUILD delete mode 100644 community/ebtables/ebtables.install delete mode 100644 community/ebtables/ebtables.service delete mode 100644 community/ebtables/ebtables.systemd create mode 100644 community/hardening-wrapper/PKGBUILD create mode 100755 community/hardening-wrapper/cc-wrapper.sh create mode 100644 community/hardening-wrapper/hardening-wrapper-i686.conf create mode 100644 community/hardening-wrapper/hardening-wrapper-x86_64.conf create mode 100644 community/hardening-wrapper/path.sh delete mode 100644 community/ipset/PKGBUILD delete mode 100644 community/ipset/ipset.service delete mode 100644 community/libmnl/PKGBUILD delete mode 100644 community/libnetfilter_acct/PKGBUILD delete mode 100644 community/libnetfilter_conntrack/PKGBUILD delete mode 100644 community/libnetfilter_cthelper/PKGBUILD delete mode 100644 community/libnetfilter_cttimeout/PKGBUILD delete mode 100644 community/libnetfilter_log/PKGBUILD delete mode 100644 community/libnetfilter_queue/PKGBUILD delete mode 100644 community/libnfnetlink/PKGBUILD delete mode 100644 community/libnftnl/PKGBUILD delete mode 100644 community/nfacct/PKGBUILD delete mode 100644 community/nftables/02-manpages.patch delete mode 100644 community/nftables/PKGBUILD create mode 100644 community/perl-mouse/PKGBUILD create mode 100644 community/perl-test-leaktrace/PKGBUILD delete mode 100644 community/quagga/PKGBUILD delete mode 100644 community/quagga/babeld.service delete mode 100644 community/quagga/bgpd.service delete mode 100644 community/quagga/isisd.service delete mode 100644 community/quagga/ospf6d.service delete mode 100644 community/quagga/ospfd.service delete mode 100644 community/quagga/quagga.install delete mode 100644 community/quagga/ripd.service delete mode 100644 community/quagga/ripngd.service delete mode 100644 community/quagga/zebra.service delete mode 100644 community/ulogd/PKGBUILD delete mode 100644 community/ulogd/ulogd.conf delete mode 100644 community/ulogd/ulogd.logrotate delete mode 100644 community/ulogd/ulogd.service create mode 100644 extra/arptables/PKGBUILD create mode 100644 extra/arptables/arptables.service create mode 100644 extra/arptables/arptables.systemd create mode 100644 extra/bind/01-fix-forgotten-log.patch create mode 100644 extra/bind/127.0.0.zone create mode 100644 extra/bind/PKGBUILD create mode 100644 extra/bind/bind.install create mode 100644 extra/bind/localhost.zone create mode 100644 extra/bind/named.conf create mode 100644 extra/bind/named.logrotate create mode 100644 extra/bind/named.service create mode 100644 extra/bind/tmpfiles.d create mode 100644 extra/bird/PKGBUILD create mode 100644 extra/bird/bird.service create mode 100644 extra/bird/bird6.service create mode 100644 extra/conntrack-tools/PKGBUILD create mode 100644 extra/conntrack-tools/conntrack-tools.install create mode 100644 extra/conntrack-tools/conntrackd.service create mode 100644 extra/ebtables/PKGBUILD create mode 100644 extra/ebtables/ebtables.install create mode 100644 extra/ebtables/ebtables.service create mode 100644 extra/ebtables/ebtables.systemd create mode 100644 extra/ipset/PKGBUILD create mode 100644 extra/ipset/ipset.service create mode 100644 extra/libmnl/PKGBUILD create mode 100644 extra/libnetfilter_acct/PKGBUILD create mode 100644 extra/libnetfilter_conntrack/PKGBUILD create mode 100644 extra/libnetfilter_cthelper/PKGBUILD create mode 100644 extra/libnetfilter_cttimeout/PKGBUILD create mode 100644 extra/libnetfilter_log/PKGBUILD create mode 100644 extra/libnetfilter_queue/PKGBUILD create mode 100644 extra/libnfnetlink/PKGBUILD create mode 100644 extra/libnftnl/PKGBUILD create mode 100644 extra/nfacct/PKGBUILD create mode 100644 extra/nftables/PKGBUILD create mode 100644 extra/quagga/PKGBUILD create mode 100644 extra/quagga/babeld.service create mode 100644 extra/quagga/bgpd.service create mode 100644 extra/quagga/isisd.service create mode 100644 extra/quagga/ospf6d.service create mode 100644 extra/quagga/ospfd.service create mode 100644 extra/quagga/quagga.install create mode 100644 extra/quagga/ripd.service create mode 100644 extra/quagga/ripngd.service create mode 100644 extra/quagga/zebra.service create mode 100644 extra/ulogd/PKGBUILD create mode 100644 extra/ulogd/ulogd create mode 100644 extra/ulogd/ulogd.conf create mode 100644 extra/ulogd/ulogd.logrotate create mode 100644 extra/ulogd/ulogd.service diff --git a/community/arptables/PKGBUILD b/community/arptables/PKGBUILD deleted file mode 100644 index edc4066e8..000000000 --- a/community/arptables/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: PKGBUILD 90489 2013-05-12 22:21:54Z seblu $ -# Maintainer: Sébastien Luttringer -# Contributor: Daniel Micay -# Contributor: Michal Soltys - -pkgname=arptables -pkgver=0.0.4 -pkgrel=2 -pkgdesc='ARP filtering utility' -arch=('i686' 'x86_64') -url='http://ebtables.sourceforge.net/' -depends=('glibc' 'perl' 'bash') -license=('GPL') -backup=("etc/$pkgname.conf") -source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz" - "$pkgname.systemd" - "$pkgname.service") -md5sums=('c2e99c3aa9d78c9dfa30710ca3168182' - 'e54342a833c52b2bc67e7985e8f8fdfd' - 'b26771191e52905d8aea6333c26cb1c3') - -build() { - cd $pkgname-v${pkgver//_/-} - make -} - -package() { - pushd $pkgname-v${pkgver//_/-} - make install \ - DESTDIR="$pkgdir" \ - PREFIX=/usr \ - LIBDIR=/usr/lib/arptables \ - BINDIR=/usr/bin \ - MANDIR=/usr/share/man \ - INITDIR=/etc/rc.d \ - SYSCONFIGDIR=/etc - popd - # 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 et: diff --git a/community/arptables/arptables.service b/community/arptables/arptables.service deleted file mode 100644 index 4fc11f17d..000000000 --- a/community/arptables/arptables.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=ARP Tables - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/scripts/arptables start -ExecStop=/usr/lib/systemd/scripts/arptables stop - -[Install] -WantedBy=multi-user.target diff --git a/community/arptables/arptables.systemd b/community/arptables/arptables.systemd deleted file mode 100644 index 6a4019257..000000000 --- a/community/arptables/arptables.systemd +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -CONFIG_FILE='/etc/arptables.conf' - -case $1 in - start) - arptables-restore < "$CONFIG_FILE" - ;; - stop) - arptables-restore < /dev/null - ;; - save) - arptables-save > "$CONFIG_FILE" - ;; - *) - echo "usage: ${0##*/} {start|stop|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/bind/01-fix-forgotten-log.patch b/community/bind/01-fix-forgotten-log.patch deleted file mode 100644 index a9af283d5..000000000 --- a/community/bind/01-fix-forgotten-log.patch +++ /dev/null @@ -1,41 +0,0 @@ -# https://lists.isc.org/pipermail/bind-users/2014-May/093124.html -From 73a2c0ec42c0915bde0275c81861f57645daf683 Mon Sep 17 00:00:00 2001 -From: Tony Finch -Date: Thu, 28 Nov 2013 17:23:57 +0000 -Subject: [PATCH] Disable XXXMPA verbose packet logging in EDNS fallback code. - ---- - lib/dns/resolver.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c -index 11c805f..e50071e 100644 ---- a/lib/dns/resolver.c -+++ b/lib/dns/resolver.c -@@ -7339,9 +7339,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { - sizeof(addrbuf)); - snprintf(buf, sizeof(buf), "received packet from %s " - "(bad edns):\n", addrbuf); -+/* - dns_message_logpacket(message, buf, - DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, - ISC_LOG_NOTICE, fctx->res->mctx); -+*/ - dns_adb_changeflags(fctx->adb, query->addrinfo, - DNS_FETCHOPT_NOEDNS0, - DNS_FETCHOPT_NOEDNS0); -@@ -7369,9 +7371,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { - sizeof(addrbuf)); - snprintf(buf, sizeof(buf), "received packet from %s (no opt):\n", - addrbuf); -+/* - dns_message_logpacket(message, buf, - DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, - ISC_LOG_NOTICE, fctx->res->mctx); -+*/ - dns_adb_changeflags(fctx->adb, query->addrinfo, - DNS_FETCHOPT_NOEDNS0, - DNS_FETCHOPT_NOEDNS0); --- -1.9.1 - diff --git a/community/bind/127.0.0.zone b/community/bind/127.0.0.zone deleted file mode 100644 index 509c311f6..000000000 --- a/community/bind/127.0.0.zone +++ /dev/null @@ -1,11 +0,0 @@ -$ORIGIN 0.0.127.in-addr.arpa. - -@ 1D IN SOA localhost. root.localhost. ( - 42 ; serial (yyyymmdd##) - 3H ; refresh - 15M ; retry - 1W ; expiry - 1D ) ; minimum ttl - - 1D IN NS localhost. -1 1D IN PTR localhost. diff --git a/community/bind/PKGBUILD b/community/bind/PKGBUILD deleted file mode 100644 index 27e21db95..000000000 --- a/community/bind/PKGBUILD +++ /dev/null @@ -1,87 +0,0 @@ -# $Id: PKGBUILD 113079 2014-06-12 22:25:58Z seblu $ -# Maintainer: Sébastien Luttringer -# Contributor: Gaetan Bisson -# Contributor: judd -# Contributor: Mario Vazquez - -pkgname=bind -_pkgver=9.10.0-P2 -pkgver=${_pkgver//-/.} -pkgrel=1 -pkgdesc='The ISC BIND nameserver' -url='http://www.isc.org/software/bind/' -license=('custom:ISC') -arch=('i686' 'x86_64') -options=('!makeflags') -depends=('openssl' 'krb5' 'libxml2') -provides=('dns-server') -backup=('etc/logrotate.d/named' - 'etc/named.conf') -install=$pkgname.install -source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc} - '01-fix-forgotten-log.patch' - 'root.hint::http://www.internic.net/zones/named.root' - 'tmpfiles.d' - 'named.conf' - 'named.service' - 'named.logrotate' - 'localhost.zone' - '127.0.0.zone') -sha1sums=('c57b5825e36933119e9fd6f43e3f52262e7ff4ed' - 'SKIP' - '4d96c9b9ef0aebdad7e79c749536858a344779b5' - '029f89c49550c40ec7a95116b6a33f0e5a041094' - 'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11' - 'c71a7fc02d4bf0d55e8e29d1e014607ac1d58726' - 'cb2e81b4cbf9efafb3e81e3752f0154e779cc7ec' - '3fe1f0b5c1a51dc1db9ebe5e173d18c52c97169b' - '76a0d4cd1b913db177a5a375bebc47e5956866ec' - '53be0f1437ebe595240d8dbdd819939582b97fb9') - -prepare() { - # remove dig to avoid conflict with dnsutils - sed -i 's/dig//' $pkgname-$_pkgver/bin/Makefile.in - # https://lists.isc.org/pipermail/bind-users/2014-May/093124.html - patch -p1 -d bind-$_pkgver < 01-fix-forgotten-log.patch -} - -build() { - cd bind-$_pkgver - # for gcc 4.8 rebuild - export CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --disable-static \ - --with-openssl \ - --with-libxml2 \ - --with-libtool - make -} - -package() { - cd "bind-$_pkgver" - - install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - make DESTDIR="$pkgdir" install - - rmdir "$pkgdir/var/run" - install -d "$pkgdir/usr/share/doc/$pkgname" - install doc/arm/*.html "$pkgdir/usr/share/doc/$pkgname" - - cd "$srcdir" - install -D -m644 tmpfiles.d "$pkgdir/usr/lib/tmpfiles.d/named.conf" - install -D -m644 named.service "$pkgdir/usr/lib/systemd/system/named.service" - install -D -m600 named.logrotate "$pkgdir/etc/logrotate.d/named" - install -D -m640 -o 0 -g 40 named.conf "$pkgdir/etc/named.conf" - - install -d -m770 -o 0 -g 40 "$pkgdir/var/named" - install -m640 -o 0 -g 40 root.hint "$pkgdir/var/named" - install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named" - install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/bind/bind.install b/community/bind/bind.install deleted file mode 100644 index 170042111..000000000 --- a/community/bind/bind.install +++ /dev/null @@ -1,23 +0,0 @@ -post_install() { - getent group named &>/dev/null || groupadd -g 40 named - getent passwd named &>/dev/null || useradd -u 40 -c 'BIND DNS Server' -g named -d /var/named -s /bin/false named - passwd -l named &>/dev/null - - touch var/log/named.log - chown named:named var/log/named.log - - # create an rndc.key if it doesn't already exist - if [[ ! -s etc/rndc.key ]]; then - rndc-confgen -r /dev/urandom -b 256 | head -n 5 >>etc/rndc.key - chown root:named etc/rndc.key - chmod 640 etc/rndc.key - fi -} - -pre_remove() { - getent passwd named &>/dev/null && userdel named >/dev/null - getent group named &>/dev/null && groupdel named >/dev/null - return 0 -} - -# vim:set ts=2 sw=2 et: diff --git a/community/bind/localhost.zone b/community/bind/localhost.zone deleted file mode 100644 index e3ff9641c..000000000 --- a/community/bind/localhost.zone +++ /dev/null @@ -1,10 +0,0 @@ -$ORIGIN localhost. -@ 1D IN SOA @ root ( - 42 ; serial (yyyymmdd##) - 3H ; refresh - 15M ; retry - 1W ; expiry - 1D ) ; minimum ttl - - 1D IN NS @ - 1D IN A 127.0.0.1 diff --git a/community/bind/named.conf b/community/bind/named.conf deleted file mode 100644 index 4aaf19a49..000000000 --- a/community/bind/named.conf +++ /dev/null @@ -1,64 +0,0 @@ -// -// /etc/named.conf -// - -options { - directory "/var/named"; - pid-file "/run/named/named.pid"; - auth-nxdomain yes; - datasize default; -// Uncomment these to enable IPv6 connections support -// IPv4 will still work: -// listen-on-v6 { any; }; -// Add this for no IPv4: -// listen-on { none; }; - - // Default security settings. - allow-recursion { 127.0.0.1; }; - allow-transfer { none; }; - allow-update { none; }; - version none; - hostname none; - server-id none; -}; - -zone "localhost" IN { - type master; - file "localhost.zone"; - allow-transfer { any; }; -}; - -zone "0.0.127.in-addr.arpa" IN { - type master; - file "127.0.0.zone"; - allow-transfer { any; }; -}; - -zone "." IN { - type hint; - file "root.hint"; -}; - -//zone "example.org" IN { -// type slave; -// file "example.zone"; -// masters { -// 192.168.1.100; -// }; -// allow-query { any; }; -// allow-transfer { any; }; -//}; - -logging { - channel xfer-log { - file "/var/log/named.log"; - print-category yes; - print-severity yes; - print-time yes; - severity info; - }; - category xfer-in { xfer-log; }; - category xfer-out { xfer-log; }; - category notify { xfer-log; }; -}; - diff --git a/community/bind/named.logrotate b/community/bind/named.logrotate deleted file mode 100644 index 5f9a47693..000000000 --- a/community/bind/named.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/named.log { - missingok - postrotate - /bin/kill -HUP `cat /run/named/named.pid 2>/dev/null` 2>/dev/null || true - endscript -} diff --git a/community/bind/named.service b/community/bind/named.service deleted file mode 100644 index 1a7832edc..000000000 --- a/community/bind/named.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Internet domain name server -After=network.target - -[Service] -ExecStart=/usr/bin/named -f -u named -ExecReload=/usr/bin/rndc reload -ExecStop=/usr/bin/rndc stop - -[Install] -WantedBy=multi-user.target diff --git a/community/bind/tmpfiles.d b/community/bind/tmpfiles.d deleted file mode 100644 index 1cfc82d08..000000000 --- a/community/bind/tmpfiles.d +++ /dev/null @@ -1 +0,0 @@ -d /run/named 0750 named named - diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD deleted file mode 100644 index 91e14a867..000000000 --- a/community/bird/PKGBUILD +++ /dev/null @@ -1,89 +0,0 @@ -# $Id: PKGBUILD 115782 2014-07-16 17:09:52Z seblu $ -# Maintainer: Sébastien Luttringer - -pkgbase=bird -pkgname=('bird' 'bird6') -pkgver=1.4.4 -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.service' - 'bird6.service') -md5sums=('4ec3a9165928a541326ec9de316da974' - '69221e063a3f07dcad519d5eeacaae75' - '5b172bd052b523efd95ee018e891e181') - -build() { - cd $pkgbase-$pkgver - [[ -e _build4 ]] && rm -rf _build4 - [[ -e _build6 ]] && rm -rf _build6 - mkdir _build4 _build6 - - # build ipv4 bird - cd _build4 - ../configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/share/doc/$pkgname - make - - # build ipv6 bird - cd ../_build6 - ../configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/share/doc/$pkgname \ - --enable-ipv6 - make -} - -package_bird () { - pkgdesc='RIP, OSPFv2 and BGP daemon (ipv4 version)' - backup=('etc/bird.conf') - - cd $pkgbase-$pkgver/_build4 - make \ - prefix="$pkgdir/usr" \ - sysconfdir="$pkgdir/etc" \ - sbindir="$pkgdir/usr/bin" \ - localstatedir="$pkgdir/var" \ - docdir="$pkgdir/usr/share/doc/$pkgname" \ - install - #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs - - # no /var inside pkg - rm -r "$pkgdir/var" - - # systemd - install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" -} - -package_bird6 () { - pkgdesc='RIP, OSPFv3, RADV and BGP daemon (ipv6 version)' - backup=('etc/bird6.conf') - - cd $pkgbase-$pkgver/_build6 - make \ - prefix="$pkgdir/usr" \ - sysconfdir="$pkgdir/etc" \ - sbindir="$pkgdir/usr/bin" \ - localstatedir="$pkgdir/var" \ - docdir="$pkgdir/usr/share/doc/$pkgname" \ - install - #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs - - # no /var inside pkg - rm -r "$pkgdir/var" - - # systemd - install -D -m 644 "$srcdir/bird6.service" "$pkgdir/usr/lib/systemd/system/bird6.service" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/bird/bird.service b/community/bird/bird.service deleted file mode 100644 index c2e2572bf..000000000 --- a/community/bird/bird.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=BIRD routing daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/bird -ExecReload=/usr/bin/birdc configure -ExecStop=/usr/bin/birdc down - -[Install] -WantedBy=multi-user.target diff --git a/community/bird/bird6.service b/community/bird/bird6.service deleted file mode 100644 index b7fed8637..000000000 --- a/community/bird/bird6.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=BIRD IPv6 routing daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/bird6 -ExecReload=/usr/bin/birdc6 configure -ExecStop=/usr/bin/birdc6 down - -[Install] -WantedBy=multi-user.target diff --git a/community/conntrack-tools/PKGBUILD b/community/conntrack-tools/PKGBUILD deleted file mode 100644 index 006a0fe3a..000000000 --- a/community/conntrack-tools/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: PKGBUILD 99719 2013-10-30 23:13:52Z allan $ -# Maintainer: Sébastien Luttringer -# Contributor: Valere Monseur -# Contributor: Alessandro Sagratini -# Contributor: Kevin Edmonds - -pkgname=conntrack-tools -pkgver=1.4.2 -pkgrel=1 -pkgdesc='Userspace tools to interact with the Netfilter connection tracking system' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/conntrack-tools' -license=('GPL2') -depends=('libnetfilter_conntrack' - 'libnetfilter_cttimeout' - 'libnetfilter_cthelper' - 'libnetfilter_queue') -backup=('etc/conntrackd.conf') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig} - 'conntrackd.service') -install=$pkgname.install -sha1sums=('50b89305bb689973d42a163c480dc77a5c0f6fe0' - 'SKIP' - 'ab888d59b98b673709d2d89554c668e2bea0cb86') - -prepare() { - sed -i -e 's,/etc/conntrackd/,/etc/,' -e 's,/var/lock/,/run/lock/,' \ - $pkgname-$pkgver/include/conntrackd.h -} - - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin - make -} - -package() { - # install binaries - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - # systemd - cd "$pkgdir" - install -D -m 644 "$srcdir/conntrackd.service" usr/lib/systemd/system/conntrackd.service - # install empty configuration files - install -D -m 644 /dev/null etc/conntrackd.conf -} - -# vim:set ts=2 sw=2 et: diff --git a/community/conntrack-tools/conntrack-tools.install b/community/conntrack-tools/conntrack-tools.install deleted file mode 100644 index d21a5f92c..000000000 --- a/community/conntrack-tools/conntrack-tools.install +++ /dev/null @@ -1,9 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - [ $(vercmp "$2" '1.0.1-2') -gt 0 ] || cat < - -pkgname=ebtables -pkgver=2.0.10_4 -pkgrel=4 -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/bin \ - INITDIR=/etc/rc.d \ - SYSCONFIGDIR=/etc - popd - # rm package ebtables rc.d scripts - rm "$pkgdir/etc/ebtables-config" - rm -r "$pkgdir/etc/rc.d" - # 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: diff --git a/community/ebtables/ebtables.install b/community/ebtables/ebtables.install deleted file mode 100644 index 7dd6921ed..000000000 --- a/community/ebtables/ebtables.install +++ /dev/null @@ -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 < "$CONFIG_FILE" - ;; - *) - echo "usage: ${0##*/} {start|stop|save}" >&2 - exit 1 - ;; -esac - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/gdc/PKGBUILD b/community/gdc/PKGBUILD index c8d9ff8a0..02dee35b1 100644 --- a/community/gdc/PKGBUILD +++ b/community/gdc/PKGBUILD @@ -4,8 +4,8 @@ # Contributor: Jesus Alvarez pkgname=('gdc' 'libgphobos-devel') -pkgver=4.9.0 -pkgrel=3 +pkgver=4.9.1 +pkgrel=1 arch=('i686' 'x86_64') url="https://github.com/D-Programming-GDC/GDC" license=('GPL') @@ -18,7 +18,7 @@ source=( "folders.diff" ) sha256sums=( - 'b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257' + 'd334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e' 'SKIP' 'SKIP' '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4' @@ -106,7 +106,7 @@ package_libgphobos-devel() rm $pkgdir/usr/include/dlang/gdc/gcc/libbacktrace.d.in # phobos - cp $srcdir/gdc/libphobos/src/crc32.d ${pkgdir}/usr/include/dlang/gdc/ + # cp $srcdir/gdc/libphobos/src/crc32.d ${pkgdir}/usr/include/dlang/gdc/ cp -r $srcdir/gdc/libphobos/src/std ${pkgdir}/usr/include/dlang/gdc/std cp -r $srcdir/gdc/libphobos/src/etc ${pkgdir}/usr/include/dlang/gdc/etc diff --git a/community/gradm/PKGBUILD b/community/gradm/PKGBUILD index f7ad64f4b..1570843e1 100644 --- a/community/gradm/PKGBUILD +++ b/community/gradm/PKGBUILD @@ -7,7 +7,7 @@ pkgname=gradm _version=3.0 -_timestamp=201407162022 +_timestamp=201407222118 pkgver=3.0.$_timestamp pkgrel=1 pkgdesc="Administration utility for grsecurity's Role Based Access Control (RBAC)" @@ -19,7 +19,7 @@ source=(https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz.sig learn_config policy) -sha256sums=('300d119f584644a4698cf6c9125fa0cd17a7ff00b4f7885fe782828b93881e1b' +sha256sums=('6c29274d63293540646be8c8c2c131654ec307b17674c25085b352305562e7e8' 'SKIP' '704ea6ba7f748761735cbe1cf52ef04f53eab1a1e9ea1bdcb6abaaf4a641e44d' '0d069e28845f789d0e9da82fc6dffa368ab71b2ca4ab37e0d3e3c6951e82d98a') diff --git a/community/hardening-wrapper/PKGBUILD b/community/hardening-wrapper/PKGBUILD new file mode 100644 index 000000000..a05316b84 --- /dev/null +++ b/community/hardening-wrapper/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Daniel Micay +pkgname=hardening-wrapper +pkgver=3 +pkgrel=4 +pkgdesc='Wrapper script for building hardened executables by default' +arch=(i686 x86_64) +url='https://archlinux.org/' +license=('GPL') +depends=(bash) +backup=(etc/hardening-wrapper.conf) +source=(cc-wrapper.sh path.sh hardening-wrapper-i686.conf hardening-wrapper-x86_64.conf) +sha1sums=('edddffd8d8bf6c4b57d7a8fa32b65e29020c2a3c' + '1e5f6d9931f01b26bb4b6fbb839e21d34d534cdc' + '658aed4d1039393f0ba08152c1320fca04ce1315' + 'ff104a6624ce898010f277fe22e6f964aeb34300') + +package() { + install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf" + install -Dm644 path.sh "$pkgdir/etc/profile.d/hardening-wrapper.sh" + + mkdir -p "$pkgdir/usr/lib/hardening-wrapper/bin" + install -m755 cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/c89" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/c99" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/cc" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/c++" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/clang" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/clang++" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/gcc" + ln -s ../cc-wrapper.sh "$pkgdir/usr/lib/hardening-wrapper/bin/g++" +} diff --git a/community/hardening-wrapper/cc-wrapper.sh b/community/hardening-wrapper/cc-wrapper.sh new file mode 100755 index 000000000..4f16bd062 --- /dev/null +++ b/community/hardening-wrapper/cc-wrapper.sh @@ -0,0 +1,106 @@ +#!/bin/bash + +set -o nounset + +declare -A default="($(< /etc/hardening-wrapper.conf))" + +force_bindnow="${HARDENING_BINDNOW:-"${default[HARDENING_BINDNOW]:-1}"}" +force_fPIE="${HARDENING_PIE:-"${default[HARDENING_PIE]:-1}"}" +force_fortify="${HARDENING_FORTIFY:-"${default[HARDENING_FORTIFY]:-2}"}" +force_pie="${HARDENING_PIE:-"${default[HARDENING_PIE]:-1}"}" +force_relro="${HARDENING_RELRO:-"${default[HARDENING_RELRO]:-1}"}" +force_stack_check="${HARDENING_STACK_CHECK:-"${default[HARDENING_STACK_CHECK]:-0}"}" +force_stack_protector="${HARDENING_STACK_PROTECTOR:-${default[HARDENING_STACK_PROTECTOR]:-2}}" + +error() { + echo "$1" >&2 + exit 1 +} + +linking=1 +optimizing=0 + +for opt; do + case "$opt" in + -fno-PIC|-fno-pic|-fno-PIE|-fno-pie|-nopie|-static|--static|-shared|--shared|-D__KERNEL__|-nostdlib|-nostartfiles) + force_fPIE=0 + force_pie=0 + ;; + -fPIC|-fpic|-fPIE|-fpie) + force_fPIE=0 + ;; + -c) + linking=0 + ;; + -nostdlib|-ffreestanding) + force_stack_protector=0 + ;; + -D_FORTIFY_SOURCE*) + force_fortify=0 + ;; + -O0) + optimizing=0 + ;; + -O*) + optimizing=1 + ;; + esac +done + +arguments=() + +case "$force_bindnow" in + 0) ;; + 1) (( linking )) && arguments+=(-Wl,-z,now) ;; + *) error 'invalid value for HARDENING_BINDNOW' ;; +esac + +case "$force_fPIE" in + 0) ;; + 1) arguments+=(-fPIE) ;; + *) error 'invalid value for HARDENING_PIE' ;; +esac + +case "$force_fortify" in + 0) ;; + 1|2) (( optimizing )) && arguments+=(-D_FORTIFY_SOURCE=$force_fortify) ;; + *) error 'invalid value for HARDENING_FORTIFY' ;; +esac + +case "$force_pie" in + 0) ;; + 1) (( linking )) && arguments+=(-pie) ;; + *) error 'invalid value for HARDENING_PIE' ;; +esac + +case "$force_relro" in + 0) ;; + 1) (( linking )) && arguments+=(-Wl,-z,relro) ;; + *) error 'invalid value for HARDENING_RELRO' ;; +esac + +case "$force_stack_check" in + 0) ;; + 1) arguments+=(-fstack-check) ;; + *) error 'invalid value for HARDENING_STACK_CHECK' ;; +esac + +case "$force_stack_protector" in + 0) ;; + 1) arguments+=(-fstack-protector) ;; + 2) arguments+=(-fstack-protector-strong) ;; + 3) arguments+=(-fstack-protector-all) ;; + *) error 'invalid value for HARDENING_STACK_PROTECTOR' ;; +esac + +unwrapped=false +IFS=: read -ra path <<< "$PATH"; +for p in "${path[@]}"; do + binary="$p/${0##*/}" + if [[ "$binary" != "$0" && -x "$binary" ]]; then + unwrapped="$binary" + break + fi +done + +exec "$unwrapped" "${arguments[@]}" "$@" diff --git a/community/hardening-wrapper/hardening-wrapper-i686.conf b/community/hardening-wrapper/hardening-wrapper-i686.conf new file mode 100644 index 000000000..ec1ae26c9 --- /dev/null +++ b/community/hardening-wrapper/hardening-wrapper-i686.conf @@ -0,0 +1,6 @@ +[HARDENING_BINDNOW]=0 +[HARDENING_PIE]=0 +[HARDENING_FORTIFY]=2 +[HARDENING_RELRO]=1 +[HARDENING_STACK_CHECK]=0 +[HARDENING_STACK_PROTECTOR]=2 diff --git a/community/hardening-wrapper/hardening-wrapper-x86_64.conf b/community/hardening-wrapper/hardening-wrapper-x86_64.conf new file mode 100644 index 000000000..2ced2364f --- /dev/null +++ b/community/hardening-wrapper/hardening-wrapper-x86_64.conf @@ -0,0 +1,6 @@ +[HARDENING_BINDNOW]=0 +[HARDENING_PIE]=1 +[HARDENING_FORTIFY]=2 +[HARDENING_RELRO]=1 +[HARDENING_STACK_CHECK]=0 +[HARDENING_STACK_PROTECTOR]=2 diff --git a/community/hardening-wrapper/path.sh b/community/hardening-wrapper/path.sh new file mode 100644 index 000000000..640ab758c --- /dev/null +++ b/community/hardening-wrapper/path.sh @@ -0,0 +1 @@ +export PATH="/usr/lib/hardening-wrapper/bin:$PATH" diff --git a/community/ipset/PKGBUILD b/community/ipset/PKGBUILD deleted file mode 100644 index e39d66c6c..000000000 --- a/community/ipset/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $Id: PKGBUILD 111272 2014-05-15 22:33:19Z seblu $ -# Maintainer: Sébastien Luttringer - -pkgname=ipset -pkgver=6.21.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") -source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2" - "$pkgname.service") -md5sums=('9c136fd51694eb0ef259cda085145da0' - '60ebe10f071314fc9e8647440a02467c') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no - make -} - -package() { - pushd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - # 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 - # systemd - 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: diff --git a/community/ipset/ipset.service b/community/ipset/ipset.service deleted file mode 100644 index 4318b056c..000000000 --- a/community/ipset/ipset.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Loading IP Sets -Before=iptables.service ip6tables.service - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore -ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore -ExecStop=/usr/bin/ipset destroy - -[Install] -WantedBy=multi-user.target diff --git a/community/libgit2-glib/PKGBUILD b/community/libgit2-glib/PKGBUILD index af18e0b42..391f64155 100644 --- a/community/libgit2-glib/PKGBUILD +++ b/community/libgit2-glib/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 115211 2014-07-06 16:43:59Z thestinger $ +# $Id: PKGBUILD 116312 2014-07-24 19:00:05Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) pkgname=libgit2-glib -pkgver=0.0.18 +pkgver=0.0.20 pkgrel=1 pkgdesc="GLib wrapper for libgit2" url="http://wiki.gnome.org/Projects/Libgit2-glib" license=(LGPL2.1) arch=(i686 x86_64) depends=(glib2 libgit2) -makedepends=(gobject-introspection) +makedepends=(gobject-introspection vala) source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('9f27b1dc3cfb5ce0d7685be12757f8549778b63b8a2a0b6565c5cad9ed84470c') +sha256sums=('f8a10c8d3fcad14eed080dff6b8db0c72866c11a05b9731af31cb7258bcc8d95') build() { cd $pkgname-$pkgver diff --git a/community/libmnl/PKGBUILD b/community/libmnl/PKGBUILD deleted file mode 100644 index 09b5ec8fd..000000000 --- a/community/libmnl/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# $Id: PKGBUILD 114509 2014-07-01 18:42:51Z seblu $ -# Maintainer: Sébastien Luttringer -# Contributor: Christian Hesse - -pkgname=libmnl -pkgver=1.0.3 -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') -depends=('glibc') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -sha1sums=('c27e25f67c6422ebf893fc3a844af8085a1c5b63') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnetfilter_acct/PKGBUILD b/community/libnetfilter_acct/PKGBUILD deleted file mode 100644 index 80fe36702..000000000 --- a/community/libnetfilter_acct/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: PKGBUILD 71613 2012-05-31 08:51:38Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Kevin Edmonds -# Maintainer: Filip Wojciechowski, filip at loka dot pl - -pkgname=libnetfilter_acct -pkgver=1.0.2 -pkgrel=2 -pkgdesc='Library providing interface to extended accounting infrastructure' -arch=('i686' 'x86_64') -url="http://www.netfilter.org/projects/libnetfilter_acct/index.html" -license=('GPL') -depends=('libnfnetlink' 'libmnl') -makedepends=('pkgconfig') -source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2) -md5sums=('2118d9514c079839ebd9cb3144ad2ad7') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} diff --git a/community/libnetfilter_conntrack/PKGBUILD b/community/libnetfilter_conntrack/PKGBUILD deleted file mode 100644 index b9fd92625..000000000 --- a/community/libnetfilter_conntrack/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 99861 2013-10-31 02:08:43Z allan $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Alessandro Sagratini -# Contributor: Kevin Edmonds - -pkgname=libnetfilter_conntrack -pkgver=1.0.4 -pkgrel=1 -pkgdesc='Library providing an API to the in-kernel connection tracking state table' -arch=('i686' 'x86_64') -depends=('libnfnetlink' 'libmnl') -url='http://www.netfilter.org/projects/libnetfilter_conntrack/' -license=('GPL') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig}) -md5sums=('18cf80c4b339a3285e78822dbd4f08d7' - 'SKIP') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - - -# vim:set ts=2 sw=2 et: diff --git a/community/libnetfilter_cthelper/PKGBUILD b/community/libnetfilter_cthelper/PKGBUILD deleted file mode 100644 index b7e525fed..000000000 --- a/community/libnetfilter_cthelper/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: PKGBUILD 114526 2014-07-01 18:57:10Z seblu $ -# Maintainer: Sébastien Luttringer - -pkgname=libnetfilter_cthelper -pkgver=1.0.0 -pkgrel=2 -pkgdesc='Library for the connection tracking helper infrastructure' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/libnetfilter_cthelper/' -license=('GPL2') -depends=('libmnl') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('b2efab1a3a198a5add448960ba011acd') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnetfilter_cttimeout/PKGBUILD b/community/libnetfilter_cttimeout/PKGBUILD deleted file mode 100644 index 143f98ff8..000000000 --- a/community/libnetfilter_cttimeout/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: PKGBUILD 114528 2014-07-01 18:57:43Z seblu $ -# Maintainer: Sébastien Luttringer - -pkgname=libnetfilter_cttimeout -pkgver=1.0.0 -pkgrel=4 -pkgdesc='Library for the connection tracking timeout infrastructure' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/libnetfilter_cttimeout/' -license=('GPL2') -depends=('libmnl') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('7697437fc9ebb6f6b83df56a633db7f9') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnetfilter_log/PKGBUILD b/community/libnetfilter_log/PKGBUILD deleted file mode 100644 index 8b277027a..000000000 --- a/community/libnetfilter_log/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: PKGBUILD 71613 2012-05-31 08:51:38Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Kevin Edmonds -# Maintainer: Filip Wojciechowski, filip at loka dot pl - -pkgname=libnetfilter_log -pkgver=1.0.1 -pkgrel=3 -pkgdesc='Library providing API to packets that have been logged by netfilter' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/libnetfilter_log/' -license=('GPL') -depends=('libnfnetlink') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('2a4bb0654ae675a52d2e8d1c06090b94') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnetfilter_queue/PKGBUILD b/community/libnetfilter_queue/PKGBUILD deleted file mode 100644 index 9944582e2..000000000 --- a/community/libnetfilter_queue/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: PKGBUILD 114045 2014-07-01 12:23:12Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Kevin Edmonds -# Maintainer: Filip Wojciechowski, filip at loka dot pl - -pkgname=libnetfilter_queue -pkgver=1.0.2 -pkgrel=2 -pkgdesc='Userspace API to packets that have been queued by the kernel packet filter' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/libnetfilter_queue/' -license=('GPL') -depends=('libnfnetlink' 'libmnl') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('df09befac35cb215865b39a36c96a3fa') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnfnetlink/PKGBUILD b/community/libnfnetlink/PKGBUILD deleted file mode 100644 index a0e5d7594..000000000 --- a/community/libnfnetlink/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 114046 2014-07-01 12:23:31Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Kevin Edmonds -# Contributor: Filip Wojciechowski, filip at loka dot pl - -pkgname=libnfnetlink -pkgver=1.0.1 -pkgrel=2 -pkgdesc='Low-level library for netfilter related kernel/userspace communication' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/libnfnetlink/' -license=('GPL') -depends=('glibc') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('98927583d2016a9fb1936fed992e2c5e') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/libnftnl/PKGBUILD b/community/libnftnl/PKGBUILD deleted file mode 100644 index b418a2366..000000000 --- a/community/libnftnl/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Sébastien Luttringer - -pkgname=libnftnl -pkgver=1.0.2 -pkgrel=1 -pkgdesc='Netfilter library providing interface to the nf_tables subsystem' -arch=('i686' 'x86_64') -url='http://netfilter.org/projects/libnftnl/' -license=('GPL2') -depends=('libmnl') -source=("http://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig}) -sha1sums=('19b6903b3dc2a86cc13bb560ae55f779b92cae69' - 'SKIP') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -check() { - cd $pkgname-$pkgver - make check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/nfacct/PKGBUILD b/community/nfacct/PKGBUILD deleted file mode 100644 index 5cdc87038..000000000 --- a/community/nfacct/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: PKGBUILD 99928 2013-10-31 02:31:30Z allan $ -# Maintainer: Sébastien Luttringer -# Contributor: Alessandro Sagratini - -pkgname=nfacct -pkgver=1.0.1 -pkgrel=2 -pkgdesc='Command line tool to create/retrieve/delete accounting objects' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/nfacct/' -license=('GPL2') -depends=('libnetfilter_acct') -source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") -md5sums=('992e863409d144350dbc8f0554a0f478') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sbindir=/usr/bin - make -} - -check() { - cd $pkgname-$pkgver - make -k check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir/" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/nftables/02-manpages.patch b/community/nftables/02-manpages.patch deleted file mode 100644 index 9a47303db..000000000 --- a/community/nftables/02-manpages.patch +++ /dev/null @@ -1,40 +0,0 @@ -# https://bugzilla.netfilter.org/show_bug.cgi?id=893 - -diff -r -u nftables-0.099/configure.ac nftables-0.099.new/configure.ac ---- nftables-0.099/configure.ac 2014-01-20 08:15:16.000000000 -0500 -+++ nftables-0.099.new/configure.ac 2014-02-02 13:01:39.355368732 -0500 -@@ -24,11 +24,19 @@ - AC_PROG_MKDIR_P - AC_PROG_INSTALL - AC_PROG_SED -+AC_PROG_GREP - --AC_CHECK_PROG(CONFIG_MAN, docbook2x-man, y, n) --if test "$CONFIG_MAN" != "y" -+AC_PATH_PROGS_FEATURE_CHECK([DOCBOOK2MAN], [docbook2x-man docbook2man], -+ [$ac_path_DOCBOOK2MAN --version | grep -qm1 'part of docbook2X' \ -+ && ac_cv_path_DOCBOOK2MAN=$ac_path_DOCBOOK2MAN ac_path_DOCBOOK2MAN_found=:]) -+ -+if test -n "$ac_cv_path_DOCBOOK2MAN" - then -- AC_MSG_WARN([docbookx2-man not found, no manpages will be built]) -+ AC_SUBST([CONFIG_MAN], "y") -+ AC_SUBST([DOCBOOK2MAN], [$ac_cv_path_DOCBOOK2MAN]) -+else -+ AC_SUBST([CONFIG_MAN], "n") -+ AC_MSG_WARN([docbookx2-man not found, no manpages will be built]) - fi - - AC_CHECK_PROG(CONFIG_PDF, db2pdf, y, n) -diff -r -u nftables-0.099/Makefile.rules.in nftables-0.099.new/Makefile.rules.in ---- nftables-0.099/Makefile.rules.in 2014-01-20 08:15:16.000000000 -0500 -+++ nftables-0.099.new/Makefile.rules.in 2014-02-02 13:02:53.660639570 -0500 -@@ -37,7 +37,7 @@ - - %.8: %.xml $(makedeps) - @echo -e " MAN\t\t$@" -- (cd $(SUBDIR); docbook2x-man ../$<) -+ (cd $(SUBDIR); @DOCBOOK2MAN@ ../$<) - - %.pdf: %.xml $(makedeps) - @echo -e " PDF\t\t$@" diff --git a/community/nftables/PKGBUILD b/community/nftables/PKGBUILD deleted file mode 100644 index 599c7a0d4..000000000 --- a/community/nftables/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Sébastien Luttringer - -pkgname=nftables -epoch=1 -pkgver=0.2 -pkgrel=1 -pkgdesc='Netfilter nftables userspace tools' -arch=('i686' 'x86_64') -url='http://netfilter.org/projects/nftables/' -license=('GPL2') -depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses') -makedepends=('docbook2x') -source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig} - '02-manpages.patch') -sha1sums=('1d1959e02e970b1de0e9435142a64d09240c0591' - 'SKIP' - '3ef58d5199b358ceb184307aca3e215c40ce3707') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ - CONFIG_MAN=y DB2MAN=docbook2man - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/perl-mouse/PKGBUILD b/community/perl-mouse/PKGBUILD new file mode 100644 index 000000000..a6868da9a --- /dev/null +++ b/community/perl-mouse/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 116310 2014-07-24 18:54:35Z jsteel $ +# Maintainer: Jonathan Steel +# Contributor: Justin Davis + +pkgname=perl-mouse +pkgver=2.3.0 +pkgrel=1 +pkgdesc="Moose minus the antlers" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Mouse" +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-test-exception' 'perl-test-fatal' 'perl-module-build' + 'perl-module-build-xsutil' 'perl-test-requires' + 'perl-test-leaktrace' 'perl-test-output' 'perl-test-deep' + 'perl-io-string') +source=(http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-$pkgver.tar.gz) +md5sums=('aae2b55f280f773a92fa16c6bdcc358d') + +build() { + cd "$srcdir"/Mouse-$pkgver + + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + /usr/bin/perl Build.PL + ./Build + ) +} + +check() { + cd "$srcdir"/Mouse-$pkgver + + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + ./Build test + ) +} + +package() { + cd "$srcdir"/Mouse-$pkgver + + ./Build install +} diff --git a/community/perl-test-leaktrace/PKGBUILD b/community/perl-test-leaktrace/PKGBUILD new file mode 100644 index 000000000..679fd8305 --- /dev/null +++ b/community/perl-test-leaktrace/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 116275 2014-07-24 02:03:15Z fyan $ +# Maintainer: Felix Yan +# Contributor: John D Jones III +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname=perl-test-leaktrace +pkgver=0.14 +pkgrel=2 +pkgdesc="Traces memory leaks" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url='http://search.cpan.org/dist/Test-LeakTrace' +source=('http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Test-LeakTrace-0.14.tar.gz') +sha512sums=('1bbd77bc2bc081a51b1f9fc946ece08bc5266efa41ac52d7216622b56ab2b122b419fdc0ba9f6a329eb506d6be56711b823310ef71b3171da0e13d4d3a8497d1') +_distdir="Test-LeakTrace-0.14" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/community/python-pygit2/PKGBUILD b/community/python-pygit2/PKGBUILD index 699b07c7c..9df58821a 100644 --- a/community/python-pygit2/PKGBUILD +++ b/community/python-pygit2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 115212 2014-07-06 16:44:00Z thestinger $ +# $Id: PKGBUILD 116289 2014-07-24 03:35:26Z thestinger $ # Maintainer: Daniel Micay pkgbase=python-pygit2 pkgname=(python-pygit2 python2-pygit2) -pkgver=0.21.0 -pkgrel=0 +pkgver=0.21.1 +pkgrel=1 pkgdesc='Python bindings for libgit2' url="https://github.com/libgit2/pygit2" depends=(libgit2) @@ -12,7 +12,7 @@ makedepends=(python-cffi python2-cffi) arch=(i686 x86_64) license=('GPL2') source=(https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz) -md5sums=('e72518f75fd8d960eefd3150f54aafaf') +md5sums=('b453f5483b3da061aa6063916a4b6255') package_python-pygit2() { cd pygit2-$pkgver diff --git a/community/quagga/PKGBUILD b/community/quagga/PKGBUILD deleted file mode 100644 index c35d3de10..000000000 --- a/community/quagga/PKGBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# $Id: PKGBUILD 113570 2014-06-25 19:42:14Z seblu $ -# Maintainer: Sébastien Luttringer - -pkgname=quagga -pkgver=0.99.23 -pkgrel=1 -pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite' -arch=('i686' 'x86_64') -url='http://www.quagga.net' -license=('GPL2') -depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses' 'perl') -options=('!buildflags') -install=quagga.install -source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" - 'babeld.service' - 'bgpd.service' - 'isisd.service' - 'ospf6d.service' - 'ospfd.service' - 'ripd.service' - 'ripngd.service' - 'zebra.service') -md5sums=('d17145e62b6ea14f0f13bb63f59e5166' - '20a8e36ad851d4e06467aeb56a84b245' - 'cc90c234aac9098c5132d653037d5269' - '67d0ada0f3000b9a86351798786c5256' - '6e2569ef339838aa41375e913a8e19ce' - '260f5fcf9b53ef201a8fb34e7ea90457' - 'b6e3549d780355914ae8edd43e15630a' - '72dd63c49fdaea41729a4318d0fbac79' - '577f1e7caeea31d910f2dc29c28ada7d') - -prepare() { - cd $pkgname-$pkgver - shopt -s nullglob - for _p in "$srcdir"/*.patch; do - msg2 "Applying ${_p##*/}" - patch -p 1 -i "$_p" - done -} - -build() { - cd $pkgname-$pkgver - # fix broken 0.99.22.4 tarball - autoreconf -fvi - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc/quagga \ - --localstatedir=/run/quagga \ - --enable-exampledir=/usr/share/doc/quagga/examples \ - --enable-vtysh \ - --enable-isisd \ - --enable-isis-topology \ - --enable-netlink \ - --enable-snmp \ - --enable-tcp-zebra \ - --enable-irdp \ - --enable-pcreposix \ - --enable-multipath=64 \ - --enable-user=quagga \ - --enable-group=quagga \ - --enable-configfile-mask=0640 \ - --enable-logfile-mask=0640 - make -} - -package() { - # upstream install - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - # logrotate stuff - install -D -m 644 redhat/$pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname" - sed -ri 's,/var/run/quagga,/run/quagga,g' "$pkgdir/etc/logrotate.d/$pkgname" - - # systemd - cd "$srcdir" - for _d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld; do - install -D -m 644 $_d.service "$pkgdir/usr/lib/systemd/system/$_d.service" - done - install -D -m 644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" - echo "d /run/$pkgname 0750 $pkgname $pkgname" > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/quagga/babeld.service b/community/quagga/babeld.service deleted file mode 100644 index 7279f0336..000000000 --- a/community/quagga/babeld.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Babel routing daemon -Documentation=man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/babeld.conf - -[Service] -Type=forking -PIDFile=/run/quagga/babeld.pid -ExecStart=/usr/bin/babeld -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/bgpd.service b/community/quagga/bgpd.service deleted file mode 100644 index b0bf1db0f..000000000 --- a/community/quagga/bgpd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=BGP routing daemon -Documentation=man:bgpd(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/bgpd.conf - -[Service] -Type=forking -PIDFile=/run/quagga/bgpd.pid -ExecStart=/usr/bin/bgpd -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/isisd.service b/community/quagga/isisd.service deleted file mode 100644 index 5ad16c1a4..000000000 --- a/community/quagga/isisd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=IS-IS routing daemon -Documentation=man:isis(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/isisd.conf - -[Service] -Type=forking -PIDFile=/run/quagga/isisd.pid -ExecStart=/usr/bin/isisd -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/ospf6d.service b/community/quagga/ospf6d.service deleted file mode 100644 index dae3dc322..000000000 --- a/community/quagga/ospf6d.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=OSPF routing daemon for IPv6 -Documentation=man:ospfd(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/ospf6d.conf - -[Service] -Type=forking -PIDFile=/run/quagga/ospf6d.pid -ExecStart=/usr/bin/ospf6d -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/ospfd.service b/community/quagga/ospfd.service deleted file mode 100644 index e43c474cc..000000000 --- a/community/quagga/ospfd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=OSPF routing daemon -Documentation=man:ospfd(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/ospfd.conf - -[Service] -Type=forking -PIDFile=/run/quagga/ospfd.pid -ExecStart=/usr/bin/ospfd -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/quagga.install b/community/quagga/quagga.install deleted file mode 100644 index c5d88b976..000000000 --- a/community/quagga/quagga.install +++ /dev/null @@ -1,36 +0,0 @@ -infodir=/usr/share/info -filelist=(quagga.info quagga.info-1 quagga.info-2) - -post_install() { - groupadd -r quagga - useradd -MNr -s /bin/false -d /run/quagga -g quagga quagga && passwd -l quagga &>/dev/null - install -d -m 750 -o quagga -g quagga /{run,etc,var/log}/quagga - post_upgrade -} - -post_upgrade() { - if [[ -x /usr/bin/install-info ]]; then - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done - fi -} - -pre_remove() { - for d in zebra ripd ripngd bgpd ospfd ospf6d isisd; do - /etc/rc.d/$d stop &>/dev/null - done - if [[ -x /usr/bin/install-info ]]; then - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done - fi -} - -post_remove() { - userdel quagga &>/dev/null - groupdel quagga &>/dev/null - rmdir /{etc,var/log}/quagga -} - -# vim: ft=sh ts=2 sw=2 et: diff --git a/community/quagga/ripd.service b/community/quagga/ripd.service deleted file mode 100644 index a55498100..000000000 --- a/community/quagga/ripd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=RIP routing daemon -Documentation=man:ripd(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/ripd.conf - -[Service] -Type=forking -PIDFile=/run/quagga/ripd.pid -ExecStart=/usr/bin/ripd -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/ripngd.service b/community/quagga/ripngd.service deleted file mode 100644 index 4990669d2..000000000 --- a/community/quagga/ripngd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=RIP routing daemon for IPv6 -Documentation=man:ripngd(8) man:zebra(8) -BindTo=zebra.service -After=network.target zebra.service -ConditionPathExists=/etc/quagga/ripngd.conf - -[Service] -Type=forking -PIDFile=/run/quagga/ripngd.pid -ExecStart=/usr/bin/ripngd -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/quagga/zebra.service b/community/quagga/zebra.service deleted file mode 100644 index 02813c37c..000000000 --- a/community/quagga/zebra.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=GNU Zebra routing manager -Documentation=man:zebra(8) -After=network.target -ConditionPathExists=/etc/quagga/zebra.conf - -[Service] -Type=forking -PIDFile=/run/quagga/zebra.pid -ExecStartPre=/sbin/ip route flush proto zebra -ExecStart=/usr/bin/zebra -d -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/community/tigervnc/PKGBUILD b/community/tigervnc/PKGBUILD index 221b3a1fd..d8087ca4a 100644 --- a/community/tigervnc/PKGBUILD +++ b/community/tigervnc/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 107841 2014-03-20 09:16:29Z spupykin $ +# $Id: PKGBUILD 116308 2014-07-24 13:27:03Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Uroš Vampl pkgname=tigervnc pkgver=1.3.1 -pkgrel=1 -_xorgver=1.15.0 +pkgrel=2 +_xorgver=1.15.2 pkgdesc="suite of VNC servers and clients. VNC 4 branch of TightVNC." arch=('i686' 'x86_64') url="http://www.tigervnc.org" @@ -26,9 +26,9 @@ source=(http://downloads.sourceforge.net/project/tigervnc/tigervnc/$pkgver/tiger getmaster.patch xorg115.patch) md5sums=('e80b16aa74f1d8e89f284a6aef99955d' - 'c2ace3697b32414094cf8c597c39d7d9' + '69229fe5cdf3f20f74665d57b7601d26' '0903d5a0dfa38e0b04964505b644585c' - '71cac0fb9701b0a041430f0fddfe00c8' + 'b200d83c60e80c6f9693ea19a2d9f5b0' '22f1523a0eca56ad79cfabd0db6e2cf6' 'e056a2502dfe0cb3b02e08cab689482f' 'd7765cb11be43b557ee77dfa486fdb68') diff --git a/community/tigervnc/vncviewer.desktop b/community/tigervnc/vncviewer.desktop index 5f6046db2..d8005d307 100644 --- a/community/tigervnc/vncviewer.desktop +++ b/community/tigervnc/vncviewer.desktop @@ -1,10 +1,9 @@ [Desktop Entry] -Encoding=UTF-8 Type=Application -Name=TigerVNC viewer -Comment=TigerVNC viewer +Name=TigerVNC Viewer +Comment=VNC client Exec=/usr/bin/vncviewer -Icon=tigervnc.png +Icon=tigervnc Terminal=false StartupNotify=false -Categories=Application; Network; +Categories=Network;RemoteAccess; diff --git a/community/ulogd/PKGBUILD b/community/ulogd/PKGBUILD deleted file mode 100644 index d929ec124..000000000 --- a/community/ulogd/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# $Id: PKGBUILD 109350 2014-04-13 22:19:51Z seblu $ -# Maintainer: Sergej Pupykin -# Maintainer: Sébastien Luttringer -# Contributor: Dale Blount -# Contributor: Sergej Pupykin - -pkgname=ulogd -pkgver=2.0.4 -pkgrel=1 -pkgdesc='Userspace Packet Logging for netfilter' -arch=('i686' 'x86_64') -url='http://www.netfilter.org/projects/ulogd/index.html' -license=('GPL2') -depends=('libmnl' - 'libnetfilter_acct' - 'libnetfilter_conntrack' - 'libnetfilter_log' - 'libnfnetlink') -backup=('etc/ulogd.conf') -makedepends=('libmariadbclient' - 'libpcap' - 'libdbi' - 'postgresql-libs' - 'sqlite') -optdepends=("${makedepends[@]}") -source=("http://www.netfilter.org/projects/ulogd/files/$pkgname-$pkgver.tar.bz2"{,.sig} - "$pkgname.logrotate" - "$pkgname.conf" - "$pkgname.service") -md5sums=('7c71ec460dfea5287eba27472c521ebc' - 'SKIP' - '95f05af0a0c8f5fdea5bd92ccb2fd465' - '2c8cbedb2fb455cba220ca35186ad846' - '092d72209e30c132e0a08112e4062772') - -build() { - cd $pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --with-mysql \ - --with-pgsql \ - --with-dbi - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -dm755 "$pkgdir/usr/share/doc/ulogd" - install -Dm644 ulogd.conf "$pkgdir/usr/share/doc/ulogd/ulogd.conf" - install -m644 doc/*.{table,sql} "$pkgdir/usr/share/doc/ulogd" - cd "$srcdir" - install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" - install -Dm644 $pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname" - install -Dm644 $pkgname.conf "$pkgdir/etc/$pkgname.conf" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/ulogd/ulogd.conf b/community/ulogd/ulogd.conf deleted file mode 100644 index 643892e88..000000000 --- a/community/ulogd/ulogd.conf +++ /dev/null @@ -1,20 +0,0 @@ -[global] -logfile="/var/log/ulogd.log" -loglevel=5 -rmem=131071 -bufsize=150000 - -plugin="/usr/lib/ulogd/ulogd_inppkt_NFLOG.so" -plugin="/usr/lib/ulogd/ulogd_raw2packet_BASE.so" -plugin="/usr/lib/ulogd/ulogd_filter_IP2STR.so" -plugin="/usr/lib/ulogd/ulogd_filter_PRINTPKT.so" -plugin="/usr/lib/ulogd/ulogd_output_LOGEMU.so" -plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so" - -stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU - -[log1] -group=1 - -[emu1] -file=/var/log/ulogd.syslogemu diff --git a/community/ulogd/ulogd.logrotate b/community/ulogd/ulogd.logrotate deleted file mode 100644 index 299e93d02..000000000 --- a/community/ulogd/ulogd.logrotate +++ /dev/null @@ -1,10 +0,0 @@ -/var/log/ulogd.log /var/log/ulogd.syslogemu { - missingok - notifempty - sharedscripts - create 0640 root root - - postrotate - systemctl kill --signal=SIGHUP ulogd.service || true - endscript -} diff --git a/community/ulogd/ulogd.service b/community/ulogd/ulogd.service deleted file mode 100644 index 12450c9cc..000000000 --- a/community/ulogd/ulogd.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Netfilter Ulogd daemon -After=network.target - -[Service] -ExecStart=/usr/bin/ulogd - -[Install] -WantedBy=multi-user.target diff --git a/community/xulrunner/PKGBUILD b/community/xulrunner/PKGBUILD index 950ade5be..aa52b8481 100644 --- a/community/xulrunner/PKGBUILD +++ b/community/xulrunner/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 113196 2014-06-16 03:29:43Z cbehan $ +# $Id: PKGBUILD 116295 2014-07-24 09:31:33Z cbehan $ # Maintainer: Connor Behan # Contributor: Jan de Groot # Contributor: Alexander Baldeck pkgname=xulrunner -pkgver=30.0 +pkgver=31.0 pkgrel=1 pkgdesc="Mozilla Runtime Environment" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ source=(ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$pkgver/source/ shared-libs.patch) options=('!emptydirs' '!makeflags' 'staticlibs') replaces=('xulrunner-oss') -sha256sums=('7faee20752c87433c746a650006acdeb710b21d216894101bb44356123f557ad' +sha256sums=('6f4cb97e4debe2225f94bc813057154d2aa2680f5aa69573048633507cecb21e' 'df0e663e7f9246b84936882e564270fac541c6bb39450b759abe686e5c27a052' '23485d937035648add27a7657f6934dc5b295e886cdb0506eebd02a43d07f269' 'e2b4a00d14f4ba69c62b3f9ef9908263fbab179ba8004197cbc67edbd916fdf1') @@ -70,3 +70,4 @@ package() { sed -i 's|!/usr/bin/env python$|!/usr/bin/env python2|' \ "$pkgdir"/usr/lib/xulrunner-devel-$pkgver/sdk/bin/{xpt,header,typelib,xpidl}.py } +sha256sums=('6f4cb97e4debe2225f94bc813057154d2aa2680f5aa69573048633507cecb21e' 'df0e663e7f9246b84936882e564270fac541c6bb39450b759abe686e5c27a052' '23485d937035648add27a7657f6934dc5b295e886cdb0506eebd02a43d07f269' 'e2b4a00d14f4ba69c62b3f9ef9908263fbab179ba8004197cbc67edbd916fdf1') diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD index a1e9088a4..ddf59a494 100644 --- a/core/curl/PKGBUILD +++ b/core/curl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 213659 2014-05-27 18:04:31Z dreisner $ +# $Id: PKGBUILD 217819 2014-07-24 13:47:43Z dreisner $ # Maintainer: Dave Reisner # Contributor: Angel Velasquez # Contributor: Eric Belanger @@ -6,7 +6,7 @@ # Contributor: Daniel J Griffiths pkgname=curl -pkgver=7.37.0 +pkgver=7.37.1 pkgrel=1 pkgdesc="An URL retrieval utility and library" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ provides=('libcurl.so') options=('strip' 'debug') source=("http://curl.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc} curlbuild.h) -md5sums=('c35d0b20a7ef38951da81b6cae7e5c36' +md5sums=('a944b069ac70c3e574c25def6e1d6b2f' 'SKIP' '751bd433ede935c8fae727377625a8ae') diff --git a/extra/arptables/PKGBUILD b/extra/arptables/PKGBUILD new file mode 100644 index 000000000..9a2e491cf --- /dev/null +++ b/extra/arptables/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 217759 2014-07-23 22:34:43Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Daniel Micay +# Contributor: Michal Soltys + +pkgname=arptables +pkgver=0.0.4 +pkgrel=2 +pkgdesc='ARP filtering utility' +arch=('i686' 'x86_64') +url='http://ebtables.sourceforge.net/' +depends=('glibc' 'perl' 'bash') +license=('GPL') +backup=("etc/$pkgname.conf") +source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz" + "$pkgname.systemd" + "$pkgname.service") +md5sums=('c2e99c3aa9d78c9dfa30710ca3168182' + 'e54342a833c52b2bc67e7985e8f8fdfd' + 'b26771191e52905d8aea6333c26cb1c3') + +build() { + cd $pkgname-v${pkgver//_/-} + make +} + +package() { + pushd $pkgname-v${pkgver//_/-} + make install \ + DESTDIR="$pkgdir" \ + PREFIX=/usr \ + LIBDIR=/usr/lib/arptables \ + BINDIR=/usr/bin \ + MANDIR=/usr/share/man \ + INITDIR=/etc/rc.d \ + SYSCONFIGDIR=/etc + popd + # 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 et: diff --git a/extra/arptables/arptables.service b/extra/arptables/arptables.service new file mode 100644 index 000000000..4fc11f17d --- /dev/null +++ b/extra/arptables/arptables.service @@ -0,0 +1,11 @@ +[Unit] +Description=ARP Tables + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/lib/systemd/scripts/arptables start +ExecStop=/usr/lib/systemd/scripts/arptables stop + +[Install] +WantedBy=multi-user.target diff --git a/extra/arptables/arptables.systemd b/extra/arptables/arptables.systemd new file mode 100644 index 000000000..6a4019257 --- /dev/null +++ b/extra/arptables/arptables.systemd @@ -0,0 +1,21 @@ +#!/bin/bash + +CONFIG_FILE='/etc/arptables.conf' + +case $1 in + start) + arptables-restore < "$CONFIG_FILE" + ;; + stop) + arptables-restore < /dev/null + ;; + save) + arptables-save > "$CONFIG_FILE" + ;; + *) + echo "usage: ${0##*/} {start|stop|save}" >&2 + exit 1 + ;; +esac + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/extra/bind/01-fix-forgotten-log.patch b/extra/bind/01-fix-forgotten-log.patch new file mode 100644 index 000000000..a9af283d5 --- /dev/null +++ b/extra/bind/01-fix-forgotten-log.patch @@ -0,0 +1,41 @@ +# https://lists.isc.org/pipermail/bind-users/2014-May/093124.html +From 73a2c0ec42c0915bde0275c81861f57645daf683 Mon Sep 17 00:00:00 2001 +From: Tony Finch +Date: Thu, 28 Nov 2013 17:23:57 +0000 +Subject: [PATCH] Disable XXXMPA verbose packet logging in EDNS fallback code. + +--- + lib/dns/resolver.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c +index 11c805f..e50071e 100644 +--- a/lib/dns/resolver.c ++++ b/lib/dns/resolver.c +@@ -7339,9 +7339,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { + sizeof(addrbuf)); + snprintf(buf, sizeof(buf), "received packet from %s " + "(bad edns):\n", addrbuf); ++/* + dns_message_logpacket(message, buf, + DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, + ISC_LOG_NOTICE, fctx->res->mctx); ++*/ + dns_adb_changeflags(fctx->adb, query->addrinfo, + DNS_FETCHOPT_NOEDNS0, + DNS_FETCHOPT_NOEDNS0); +@@ -7369,9 +7371,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { + sizeof(addrbuf)); + snprintf(buf, sizeof(buf), "received packet from %s (no opt):\n", + addrbuf); ++/* + dns_message_logpacket(message, buf, + DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, + ISC_LOG_NOTICE, fctx->res->mctx); ++*/ + dns_adb_changeflags(fctx->adb, query->addrinfo, + DNS_FETCHOPT_NOEDNS0, + DNS_FETCHOPT_NOEDNS0); +-- +1.9.1 + diff --git a/extra/bind/127.0.0.zone b/extra/bind/127.0.0.zone new file mode 100644 index 000000000..509c311f6 --- /dev/null +++ b/extra/bind/127.0.0.zone @@ -0,0 +1,11 @@ +$ORIGIN 0.0.127.in-addr.arpa. + +@ 1D IN SOA localhost. root.localhost. ( + 42 ; serial (yyyymmdd##) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum ttl + + 1D IN NS localhost. +1 1D IN PTR localhost. diff --git a/extra/bind/PKGBUILD b/extra/bind/PKGBUILD new file mode 100644 index 000000000..e2216d941 --- /dev/null +++ b/extra/bind/PKGBUILD @@ -0,0 +1,87 @@ +# $Id: PKGBUILD 113060 2014-06-12 10:51:06Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Gaetan Bisson +# Contributor: judd +# Contributor: Mario Vazquez + +pkgname=bind +_pkgver=9.10.0-P2 +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc='The ISC BIND nameserver' +url='http://www.isc.org/software/bind/' +license=('custom:ISC') +arch=('i686' 'x86_64') +options=('!makeflags') +depends=('openssl' 'krb5' 'libxml2' 'libcap') +provides=('dns-server') +backup=('etc/logrotate.d/named' + 'etc/named.conf') +install=$pkgname.install +source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc} + '01-fix-forgotten-log.patch' + 'root.hint::http://www.internic.net/zones/named.root' + 'tmpfiles.d' + 'named.conf' + 'named.service' + 'named.logrotate' + 'localhost.zone' + '127.0.0.zone') +sha1sums=('c57b5825e36933119e9fd6f43e3f52262e7ff4ed' + 'SKIP' + '4d96c9b9ef0aebdad7e79c749536858a344779b5' + '029f89c49550c40ec7a95116b6a33f0e5a041094' + 'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11' + 'c71a7fc02d4bf0d55e8e29d1e014607ac1d58726' + 'cb2e81b4cbf9efafb3e81e3752f0154e779cc7ec' + '3fe1f0b5c1a51dc1db9ebe5e173d18c52c97169b' + '76a0d4cd1b913db177a5a375bebc47e5956866ec' + '53be0f1437ebe595240d8dbdd819939582b97fb9') + +prepare() { + # remove dig to avoid conflict with dnsutils + sed -i 's/dig//' $pkgname-$_pkgver/bin/Makefile.in + # https://lists.isc.org/pipermail/bind-users/2014-May/093124.html + patch -p1 -d bind-$_pkgver < 01-fix-forgotten-log.patch +} + +build() { + cd bind-$_pkgver + # for gcc 4.8 rebuild + export CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --disable-static \ + --with-openssl \ + --with-libxml2 \ + --with-libtool + make +} + +package() { + cd "bind-$_pkgver" + + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + make DESTDIR="$pkgdir" install + + rmdir "$pkgdir/var/run" + install -d "$pkgdir/usr/share/doc/$pkgname" + install doc/arm/*.html "$pkgdir/usr/share/doc/$pkgname" + + cd "$srcdir" + install -D -m644 tmpfiles.d "$pkgdir/usr/lib/tmpfiles.d/named.conf" + install -D -m644 named.service "$pkgdir/usr/lib/systemd/system/named.service" + install -D -m600 named.logrotate "$pkgdir/etc/logrotate.d/named" + install -D -m640 -o 0 -g 40 named.conf "$pkgdir/etc/named.conf" + + install -d -m770 -o 0 -g 40 "$pkgdir/var/named" + install -m640 -o 0 -g 40 root.hint "$pkgdir/var/named" + install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named" + install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/bind/bind.install b/extra/bind/bind.install new file mode 100644 index 000000000..170042111 --- /dev/null +++ b/extra/bind/bind.install @@ -0,0 +1,23 @@ +post_install() { + getent group named &>/dev/null || groupadd -g 40 named + getent passwd named &>/dev/null || useradd -u 40 -c 'BIND DNS Server' -g named -d /var/named -s /bin/false named + passwd -l named &>/dev/null + + touch var/log/named.log + chown named:named var/log/named.log + + # create an rndc.key if it doesn't already exist + if [[ ! -s etc/rndc.key ]]; then + rndc-confgen -r /dev/urandom -b 256 | head -n 5 >>etc/rndc.key + chown root:named etc/rndc.key + chmod 640 etc/rndc.key + fi +} + +pre_remove() { + getent passwd named &>/dev/null && userdel named >/dev/null + getent group named &>/dev/null && groupdel named >/dev/null + return 0 +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/bind/localhost.zone b/extra/bind/localhost.zone new file mode 100644 index 000000000..e3ff9641c --- /dev/null +++ b/extra/bind/localhost.zone @@ -0,0 +1,10 @@ +$ORIGIN localhost. +@ 1D IN SOA @ root ( + 42 ; serial (yyyymmdd##) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum ttl + + 1D IN NS @ + 1D IN A 127.0.0.1 diff --git a/extra/bind/named.conf b/extra/bind/named.conf new file mode 100644 index 000000000..4aaf19a49 --- /dev/null +++ b/extra/bind/named.conf @@ -0,0 +1,64 @@ +// +// /etc/named.conf +// + +options { + directory "/var/named"; + pid-file "/run/named/named.pid"; + auth-nxdomain yes; + datasize default; +// Uncomment these to enable IPv6 connections support +// IPv4 will still work: +// listen-on-v6 { any; }; +// Add this for no IPv4: +// listen-on { none; }; + + // Default security settings. + allow-recursion { 127.0.0.1; }; + allow-transfer { none; }; + allow-update { none; }; + version none; + hostname none; + server-id none; +}; + +zone "localhost" IN { + type master; + file "localhost.zone"; + allow-transfer { any; }; +}; + +zone "0.0.127.in-addr.arpa" IN { + type master; + file "127.0.0.zone"; + allow-transfer { any; }; +}; + +zone "." IN { + type hint; + file "root.hint"; +}; + +//zone "example.org" IN { +// type slave; +// file "example.zone"; +// masters { +// 192.168.1.100; +// }; +// allow-query { any; }; +// allow-transfer { any; }; +//}; + +logging { + channel xfer-log { + file "/var/log/named.log"; + print-category yes; + print-severity yes; + print-time yes; + severity info; + }; + category xfer-in { xfer-log; }; + category xfer-out { xfer-log; }; + category notify { xfer-log; }; +}; + diff --git a/extra/bind/named.logrotate b/extra/bind/named.logrotate new file mode 100644 index 000000000..5f9a47693 --- /dev/null +++ b/extra/bind/named.logrotate @@ -0,0 +1,6 @@ +/var/log/named.log { + missingok + postrotate + /bin/kill -HUP `cat /run/named/named.pid 2>/dev/null` 2>/dev/null || true + endscript +} diff --git a/extra/bind/named.service b/extra/bind/named.service new file mode 100644 index 000000000..1a7832edc --- /dev/null +++ b/extra/bind/named.service @@ -0,0 +1,11 @@ +[Unit] +Description=Internet domain name server +After=network.target + +[Service] +ExecStart=/usr/bin/named -f -u named +ExecReload=/usr/bin/rndc reload +ExecStop=/usr/bin/rndc stop + +[Install] +WantedBy=multi-user.target diff --git a/extra/bind/tmpfiles.d b/extra/bind/tmpfiles.d new file mode 100644 index 000000000..1cfc82d08 --- /dev/null +++ b/extra/bind/tmpfiles.d @@ -0,0 +1 @@ +d /run/named 0750 named named - diff --git a/extra/bird/PKGBUILD b/extra/bird/PKGBUILD new file mode 100644 index 000000000..71a637ab7 --- /dev/null +++ b/extra/bird/PKGBUILD @@ -0,0 +1,89 @@ +# $Id: PKGBUILD 217785 2014-07-23 22:53:04Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgbase=bird +pkgname=('bird' 'bird6') +pkgver=1.4.4 +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.service' + 'bird6.service') +md5sums=('4ec3a9165928a541326ec9de316da974' + '69221e063a3f07dcad519d5eeacaae75' + '5b172bd052b523efd95ee018e891e181') + +build() { + cd $pkgbase-$pkgver + [[ -e _build4 ]] && rm -rf _build4 + [[ -e _build6 ]] && rm -rf _build6 + mkdir _build4 _build6 + + # build ipv4 bird + cd _build4 + ../configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/share/doc/$pkgname + make + + # build ipv6 bird + cd ../_build6 + ../configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/share/doc/$pkgname \ + --enable-ipv6 + make +} + +package_bird () { + pkgdesc='RIP, OSPFv2 and BGP daemon (ipv4 version)' + backup=('etc/bird.conf') + + cd $pkgbase-$pkgver/_build4 + make \ + prefix="$pkgdir/usr" \ + sysconfdir="$pkgdir/etc" \ + sbindir="$pkgdir/usr/bin" \ + localstatedir="$pkgdir/var" \ + docdir="$pkgdir/usr/share/doc/$pkgname" \ + install + #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs + + # no /var inside pkg + rm -r "$pkgdir/var" + + # systemd + install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" +} + +package_bird6 () { + pkgdesc='RIP, OSPFv3, RADV and BGP daemon (ipv6 version)' + backup=('etc/bird6.conf') + + cd $pkgbase-$pkgver/_build6 + make \ + prefix="$pkgdir/usr" \ + sysconfdir="$pkgdir/etc" \ + sbindir="$pkgdir/usr/bin" \ + localstatedir="$pkgdir/var" \ + docdir="$pkgdir/usr/share/doc/$pkgname" \ + install + #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs + + # no /var inside pkg + rm -r "$pkgdir/var" + + # systemd + install -D -m 644 "$srcdir/bird6.service" "$pkgdir/usr/lib/systemd/system/bird6.service" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/bird/bird.service b/extra/bird/bird.service new file mode 100644 index 000000000..c2e2572bf --- /dev/null +++ b/extra/bird/bird.service @@ -0,0 +1,12 @@ +[Unit] +Description=BIRD routing daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/bird +ExecReload=/usr/bin/birdc configure +ExecStop=/usr/bin/birdc down + +[Install] +WantedBy=multi-user.target diff --git a/extra/bird/bird6.service b/extra/bird/bird6.service new file mode 100644 index 000000000..b7fed8637 --- /dev/null +++ b/extra/bird/bird6.service @@ -0,0 +1,12 @@ +[Unit] +Description=BIRD IPv6 routing daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/bird6 +ExecReload=/usr/bin/birdc6 configure +ExecStop=/usr/bin/birdc6 down + +[Install] +WantedBy=multi-user.target diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD index 41a8bed91..89b737669 100644 --- a/extra/colord/PKGBUILD +++ b/extra/colord/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 211866 2014-04-28 15:11:57Z jgc $ +# $Id: PKGBUILD 217804 2014-07-24 03:38:09Z fyan $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru pkgname=colord -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc="System daemon for managing color devices" arch=(i686 x86_64) @@ -15,7 +15,7 @@ optdepends=('sane: scanner support') replaces=('shared-color-profiles') install=colord.install source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc}) -sha1sums=('a96619dcca24aea1527054f0117211cf7ac30dec' +sha1sums=('4547f3a4d65fea36053f303f7313f60eae14b7d9' 'SKIP') build() { diff --git a/extra/conntrack-tools/PKGBUILD b/extra/conntrack-tools/PKGBUILD new file mode 100644 index 000000000..fd276db5a --- /dev/null +++ b/extra/conntrack-tools/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 217779 2014-07-23 22:49:31Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Valere Monseur +# Contributor: Alessandro Sagratini +# Contributor: Kevin Edmonds + +pkgname=conntrack-tools +pkgver=1.4.2 +pkgrel=1 +pkgdesc='Userspace tools to interact with the Netfilter connection tracking system' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/conntrack-tools' +license=('GPL2') +depends=('libnetfilter_conntrack' + 'libnetfilter_cttimeout' + 'libnetfilter_cthelper' + 'libnetfilter_queue') +backup=('etc/conntrackd.conf') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig} + 'conntrackd.service') +install=$pkgname.install +sha1sums=('50b89305bb689973d42a163c480dc77a5c0f6fe0' + 'SKIP' + 'ab888d59b98b673709d2d89554c668e2bea0cb86') + +prepare() { + sed -i -e 's,/etc/conntrackd/,/etc/,' -e 's,/var/lock/,/run/lock/,' \ + $pkgname-$pkgver/include/conntrackd.h +} + + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin + make +} + +package() { + # install binaries + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + # systemd + cd "$pkgdir" + install -D -m 644 "$srcdir/conntrackd.service" usr/lib/systemd/system/conntrackd.service + # install empty configuration files + install -D -m 644 /dev/null etc/conntrackd.conf +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/conntrack-tools/conntrack-tools.install b/extra/conntrack-tools/conntrack-tools.install new file mode 100644 index 000000000..d21a5f92c --- /dev/null +++ b/extra/conntrack-tools/conntrack-tools.install @@ -0,0 +1,9 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + [ $(vercmp "$2" '1.0.1-2') -gt 0 ] || cat < + +pkgname=ebtables +pkgver=2.0.10_4 +pkgrel=4 +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/bin \ + INITDIR=/etc/rc.d \ + SYSCONFIGDIR=/etc + popd + # rm package ebtables rc.d scripts + rm "$pkgdir/etc/ebtables-config" + rm -r "$pkgdir/etc/rc.d" + # 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: diff --git a/extra/ebtables/ebtables.install b/extra/ebtables/ebtables.install new file mode 100644 index 000000000..7dd6921ed --- /dev/null +++ b/extra/ebtables/ebtables.install @@ -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 < "$CONFIG_FILE" + ;; + *) + echo "usage: ${0##*/} {start|stop|save}" >&2 + exit 1 + ;; +esac + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/extra/glib-perl/PKGBUILD b/extra/glib-perl/PKGBUILD index 01cf9e067..1a3877f00 100644 --- a/extra/glib-perl/PKGBUILD +++ b/extra/glib-perl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 214193 2014-06-04 13:50:52Z bluewind $ +# $Id: PKGBUILD 217806 2014-07-24 03:50:52Z fyan $ # Maintainer: Jan de Groot # Contributor: Sarah Hay pkgname=glib-perl -pkgver=1.304 -pkgrel=2 +pkgver=1.305 +pkgrel=1 pkgdesc="Perl wrappers for glib 2.x, including GObject" arch=(i686 x86_64) license=('LGPL') @@ -13,7 +13,7 @@ options=('!emptydirs') depends=('glib2' 'perl') makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig') source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${pkgver}.tar.gz) -md5sums=('62e454da4eb8eccdb59452c8bfd8565c') +md5sums=('75a5d3a93fa8ec8e804a344a2a65507f') build() { cd Glib-$pkgver diff --git a/extra/gtk2-perl/PKGBUILD b/extra/gtk2-perl/PKGBUILD index 19568ee84..de0297a6c 100644 --- a/extra/gtk2-perl/PKGBUILD +++ b/extra/gtk2-perl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 214200 2014-06-04 13:51:03Z bluewind $ +# $Id: PKGBUILD 217794 2014-07-24 02:50:59Z fyan $ # Maintainer: Jan de Groot # Contributor: Sarah Hay pkgname=gtk2-perl -pkgver=1.249 -pkgrel=2 +pkgver=1.2492 +pkgrel=1 pkgdesc="Perl bindings for GTK+ 2.x" arch=(i686 x86_64) license=('LGPL') @@ -14,7 +14,7 @@ depends=('gtk2' 'pango-perl') checkdepends=('ttf-dejavu' 'xorg-server-xvfb') options=('!emptydirs') source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-${pkgver}.tar.gz) -md5sums=('605b419fca92c5166f0d0077663c7c98') +md5sums=('36ac652001392f67bf6b1539b67d5edc') prepare() { cd Gtk2-$pkgver @@ -30,9 +30,7 @@ build() { check() { cd Gtk2-$pkgver - LD_PRELOAD="" Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 2>/dev/null & - LD_PRELOAD="" DISPLAY=:99 make test - kill $! + xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test } package() { diff --git a/extra/ibus/PKGBUILD b/extra/ibus/PKGBUILD index beea403f5..363fa68b2 100644 --- a/extra/ibus/PKGBUILD +++ b/extra/ibus/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 211952 2014-05-02 05:52:10Z fyan $ +# $Id: PKGBUILD 217815 2014-07-24 07:24:43Z fyan $ # Maintainer: Felix Yan pkgbase=ibus pkgname=(ibus libibus) -pkgver=1.5.7 -pkgrel=2 +pkgver=1.5.8 +pkgrel=1 pkgdesc="Next Generation Input Bus for Linux" arch=('i686' 'x86_64') url="http://ibus.googlecode.com" diff --git a/extra/ipset/PKGBUILD b/extra/ipset/PKGBUILD new file mode 100644 index 000000000..8efe0fb53 --- /dev/null +++ b/extra/ipset/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 217765 2014-07-23 22:38:00Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=ipset +pkgver=6.21.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") +source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2" + "$pkgname.service") +md5sums=('9c136fd51694eb0ef259cda085145da0' + '60ebe10f071314fc9e8647440a02467c') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no + make +} + +package() { + pushd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + # 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 + # systemd + 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: diff --git a/extra/ipset/ipset.service b/extra/ipset/ipset.service new file mode 100644 index 000000000..4318b056c --- /dev/null +++ b/extra/ipset/ipset.service @@ -0,0 +1,13 @@ +[Unit] +Description=Loading IP Sets +Before=iptables.service ip6tables.service + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore +ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore +ExecStop=/usr/bin/ipset destroy + +[Install] +WantedBy=multi-user.target diff --git a/extra/libmnl/PKGBUILD b/extra/libmnl/PKGBUILD new file mode 100644 index 000000000..06dcb0147 --- /dev/null +++ b/extra/libmnl/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 217761 2014-07-23 22:35:47Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Christian Hesse + +pkgname=libmnl +pkgver=1.0.3 +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') +depends=('glibc') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +sha1sums=('c27e25f67c6422ebf893fc3a844af8085a1c5b63') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnetfilter_acct/PKGBUILD b/extra/libnetfilter_acct/PKGBUILD new file mode 100644 index 000000000..ee5ad38bf --- /dev/null +++ b/extra/libnetfilter_acct/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 217769 2014-07-23 22:41:04Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Kevin Edmonds +# Maintainer: Filip Wojciechowski, filip at loka dot pl + +pkgname=libnetfilter_acct +pkgver=1.0.2 +pkgrel=2 +pkgdesc='Library providing interface to extended accounting infrastructure' +arch=('i686' 'x86_64') +url="http://www.netfilter.org/projects/libnetfilter_acct/index.html" +license=('GPL') +depends=('libnfnetlink' 'libmnl') +makedepends=('pkgconfig') +source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2) +md5sums=('2118d9514c079839ebd9cb3144ad2ad7') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/extra/libnetfilter_conntrack/PKGBUILD b/extra/libnetfilter_conntrack/PKGBUILD new file mode 100644 index 000000000..8906df042 --- /dev/null +++ b/extra/libnetfilter_conntrack/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 217775 2014-07-23 22:45:56Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Alessandro Sagratini +# Contributor: Kevin Edmonds + +pkgname=libnetfilter_conntrack +pkgver=1.0.4 +pkgrel=1 +pkgdesc='Library providing an API to the in-kernel connection tracking state table' +arch=('i686' 'x86_64') +depends=('libnfnetlink' 'libmnl') +url='http://www.netfilter.org/projects/libnetfilter_conntrack/' +license=('GPL') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig}) +md5sums=('18cf80c4b339a3285e78822dbd4f08d7' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnetfilter_cthelper/PKGBUILD b/extra/libnetfilter_cthelper/PKGBUILD new file mode 100644 index 000000000..b7d54d8c2 --- /dev/null +++ b/extra/libnetfilter_cthelper/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 217777 2014-07-23 22:48:27Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=libnetfilter_cthelper +pkgver=1.0.0 +pkgrel=2 +pkgdesc='Library for the connection tracking helper infrastructure' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/libnetfilter_cthelper/' +license=('GPL2') +depends=('libmnl') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('b2efab1a3a198a5add448960ba011acd') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnetfilter_cttimeout/PKGBUILD b/extra/libnetfilter_cttimeout/PKGBUILD new file mode 100644 index 000000000..b153661c8 --- /dev/null +++ b/extra/libnetfilter_cttimeout/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 217781 2014-07-23 22:50:33Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=libnetfilter_cttimeout +pkgver=1.0.0 +pkgrel=4 +pkgdesc='Library for the connection tracking timeout infrastructure' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/libnetfilter_cttimeout/' +license=('GPL2') +depends=('libmnl') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('7697437fc9ebb6f6b83df56a633db7f9') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnetfilter_log/PKGBUILD b/extra/libnetfilter_log/PKGBUILD new file mode 100644 index 000000000..374229e55 --- /dev/null +++ b/extra/libnetfilter_log/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 217783 2014-07-23 22:51:34Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Kevin Edmonds +# Maintainer: Filip Wojciechowski, filip at loka dot pl + +pkgname=libnetfilter_log +pkgver=1.0.1 +pkgrel=3 +pkgdesc='Library providing API to packets that have been logged by netfilter' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/libnetfilter_log/' +license=('GPL') +depends=('libnfnetlink') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('2a4bb0654ae675a52d2e8d1c06090b94') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnetfilter_queue/PKGBUILD b/extra/libnetfilter_queue/PKGBUILD new file mode 100644 index 000000000..92cda464a --- /dev/null +++ b/extra/libnetfilter_queue/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 217773 2014-07-23 22:44:08Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Kevin Edmonds +# Maintainer: Filip Wojciechowski, filip at loka dot pl + +pkgname=libnetfilter_queue +pkgver=1.0.2 +pkgrel=2 +pkgdesc='Userspace API to packets that have been queued by the kernel packet filter' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/libnetfilter_queue/' +license=('GPL') +depends=('libnfnetlink' 'libmnl') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('df09befac35cb215865b39a36c96a3fa') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnfnetlink/PKGBUILD b/extra/libnfnetlink/PKGBUILD new file mode 100644 index 000000000..fe318d939 --- /dev/null +++ b/extra/libnfnetlink/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 217767 2014-07-23 22:39:24Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Kevin Edmonds +# Contributor: Filip Wojciechowski, filip at loka dot pl + +pkgname=libnfnetlink +pkgver=1.0.1 +pkgrel=2 +pkgdesc='Low-level library for netfilter related kernel/userspace communication' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/libnfnetlink/' +license=('GPL') +depends=('glibc') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('98927583d2016a9fb1936fed992e2c5e') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libnftnl/PKGBUILD b/extra/libnftnl/PKGBUILD new file mode 100644 index 000000000..6f4aedc5d --- /dev/null +++ b/extra/libnftnl/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 217763 2014-07-23 22:36:56Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=libnftnl +pkgver=1.0.2 +pkgrel=1 +pkgdesc='Netfilter library providing interface to the nf_tables subsystem' +arch=('i686' 'x86_64') +url='http://netfilter.org/projects/libnftnl/' +license=('GPL2') +depends=('libmnl') +source=("http://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig}) +sha1sums=('19b6903b3dc2a86cc13bb560ae55f779b92cae69' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD index fe0840997..b64335ebc 100644 --- a/extra/libtorrent-rasterbar/PKGBUILD +++ b/extra/libtorrent-rasterbar/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 209784 2014-04-04 06:21:48Z fyan $ +# $Id: PKGBUILD 217798 2014-07-24 03:20:18Z fyan $ # Maintainer : Ionut Biru # Contributor: Hugo Doria pkgname=libtorrent-rasterbar -pkgver=0.16.16 +pkgver=0.16.17 pkgrel=1 epoch=1 pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" @@ -14,7 +14,7 @@ depends=('boost-libs' 'geoip' 'python2') makedepends=('boost') options=('!emptydirs') source=(http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz) -sha1sums=('de8faed5cbc09baddb2748cb7b75edd07ab0addc') +sha1sums=('e713b5dfc45194bfc50fa21096ab67c374ae3740') build() { cd $pkgname-$pkgver diff --git a/extra/libxext/PKGBUILD b/extra/libxext/PKGBUILD index 34c0f853c..d9059aa0a 100644 --- a/extra/libxext/PKGBUILD +++ b/extra/libxext/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 198277 2013-10-30 13:53:20Z allan $ +# $Id: PKGBUILD 217818 2014-07-24 13:43:51Z andyrtr $ # Maintainer: Andreas Radke # Maintainer: Jan de Groot pkgname=libxext -pkgver=1.3.2 +pkgver=1.3.3 pkgrel=1 pkgdesc="X11 miscellaneous extensions library" arch=('i686' 'x86_64') @@ -12,16 +12,16 @@ license=('custom') depends=('libx11' 'xextproto') makedepends=('xorg-util-macros') source=("${url}/releases/individual/lib/libXext-${pkgver}.tar.bz2") -sha256sums=('f829075bc646cdc085fa25d98d5885d83b1759ceb355933127c257e8e50432e0') +sha256sums=('b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35') build() { - cd "${srcdir}/libXext-${pkgver}" + cd libXext-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --disable-static make } package() { - cd "${srcdir}/libXext-${pkgver}" + cd libXext-${pkgver} make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD index c8bb48cb5..82a52e90e 100644 --- a/extra/netcdf/PKGBUILD +++ b/extra/netcdf/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 207581 2014-03-12 13:10:24Z bpiotrowski $ +# $Id: PKGBUILD 217812 2014-07-24 07:23:09Z fyan $ # Maintainer: Ronald van Haren # Contributor: damir pkgname=netcdf -pkgver=4.3.1.1 +pkgver=4.3.2 pkgrel=1 pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library" arch=("i686" "x86_64") @@ -13,13 +13,17 @@ optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') options=('!makeflags') license=('custom') source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz) -sha1sums=('6aed20fa906e4963017ce9d1591aab39d8a556e4') +sha1sums=('6e1bacab02e5220954fe0328d710ebb71c071d19') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-shared --enable-netcdf-4 --enable-dap-netcdf make -# make check +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check } package() { diff --git a/extra/nfacct/PKGBUILD b/extra/nfacct/PKGBUILD new file mode 100644 index 000000000..c3ffa2aff --- /dev/null +++ b/extra/nfacct/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 217771 2014-07-23 22:42:09Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Alessandro Sagratini + +pkgname=nfacct +pkgver=1.0.1 +pkgrel=2 +pkgdesc='Command line tool to create/retrieve/delete accounting objects' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/nfacct/' +license=('GPL2') +depends=('libnetfilter_acct') +source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2") +md5sums=('992e863409d144350dbc8f0554a0f478') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sbindir=/usr/bin + make +} + +check() { + cd $pkgname-$pkgver + make -k check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/nftables/PKGBUILD b/extra/nftables/PKGBUILD new file mode 100644 index 000000000..6523b1e93 --- /dev/null +++ b/extra/nftables/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 217787 2014-07-23 22:59:21Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=nftables +epoch=1 +pkgver=0.2 +pkgrel=1 +pkgdesc='Netfilter nftables userspace tools' +arch=('i686' 'x86_64') +url='http://netfilter.org/projects/nftables/' +license=('GPL2') +depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses') +makedepends=('docbook2x') +source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig}) +sha1sums=('1d1959e02e970b1de0e9435142a64d09240c0591' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ + CONFIG_MAN=y DB2MAN=docbook2man + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD index fbd8edf9c..f52c17573 100644 --- a/extra/pango-perl/PKGBUILD +++ b/extra/pango-perl/PKGBUILD @@ -1,18 +1,19 @@ -# $Id: PKGBUILD 214208 2014-06-04 13:51:15Z bluewind $ +# $Id: PKGBUILD 217808 2014-07-24 04:06:57Z fyan $ # Maintainer: Jan de Groot pkgname=pango-perl -pkgver=1.225 -pkgrel=2 +pkgver=1.226 +pkgrel=1 pkgdesc="Perl bindings for Pango" arch=(i686 x86_64) license=('LGPL') url="http://gtk2-perl.sourceforge.net/" makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends') +checkdepends=('gtk2-perl' 'xorg-server-xvfb') depends=('pango' 'glib-perl' 'cairo-perl') options=('!emptydirs') source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz) -md5sums=('944ed0b4a89823c66362d5e2ecbe1054') +md5sums=('9ff2dee3cc1d37563ea98b91a45e6ba1') build() { cd Pango-$pkgver @@ -22,7 +23,7 @@ build() { check() { cd Pango-$pkgver - make test + xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test } package() { diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD index 0b269bbb2..5b43f1181 100644 --- a/extra/python-geoip/PKGBUILD +++ b/extra/python-geoip/PKGBUILD @@ -1,28 +1,43 @@ -# $Id: PKGBUILD 205071 2014-02-04 11:01:58Z jgc $ +# $Id: PKGBUILD 217810 2014-07-24 07:09:06Z fyan $ # Maintainer: Jan de Groot # Contributor: Angel Velasquez -pkgname=('python2-geoip') pkgbase=python-geoip -pkgver=1.2.9 +pkgname=('python-geoip' 'python2-geoip') +pkgver=1.3.1 pkgrel=1 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library" arch=('i686' 'x86_64') url="https://pypi.python.org/pypi/GeoIP/" license=('LGPL') -depends=('python2' 'geoip') +makedepends=('python' 'python2' 'geoip') source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz) -md5sums=('367a083a13c442309eeb47fa061bd262') +md5sums=('21fbd501fce9822e0ccc147ab8321f7f') + +prepare() { + cp -a "GeoIP-$pkgver"{,-py2} +} build() { cd "GeoIP-$pkgver" + python setup.py build + + cd "../GeoIP-$pkgver-py2" python2 setup.py build } +package_python-geoip() { + depends=('python' 'geoip') + + cd "GeoIP-$pkgver" + python setup.py install --root="$pkgdir" -O1 +} + package_python2-geoip() { + depends=('python2' 'geoip') conflicts=('python-geoip<1.2.8') - cd "GeoIP-$pkgver" + cd "GeoIP-$pkgver-py2" python2 setup.py install --root="$pkgdir" -O1 } diff --git a/extra/quagga/PKGBUILD b/extra/quagga/PKGBUILD new file mode 100644 index 000000000..296f48be2 --- /dev/null +++ b/extra/quagga/PKGBUILD @@ -0,0 +1,86 @@ +# $Id: PKGBUILD 217792 2014-07-23 23:18:55Z seblu $ +# Maintainer: Sébastien Luttringer + +pkgname=quagga +pkgver=0.99.23 +pkgrel=1 +pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite' +arch=('i686' 'x86_64') +url='http://www.quagga.net' +license=('GPL2') +depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses' 'perl') +options=('!buildflags') +install=quagga.install +source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" + 'babeld.service' + 'bgpd.service' + 'isisd.service' + 'ospf6d.service' + 'ospfd.service' + 'ripd.service' + 'ripngd.service' + 'zebra.service') +md5sums=('d17145e62b6ea14f0f13bb63f59e5166' + '20a8e36ad851d4e06467aeb56a84b245' + 'cc90c234aac9098c5132d653037d5269' + '67d0ada0f3000b9a86351798786c5256' + '6e2569ef339838aa41375e913a8e19ce' + '260f5fcf9b53ef201a8fb34e7ea90457' + 'b6e3549d780355914ae8edd43e15630a' + '72dd63c49fdaea41729a4318d0fbac79' + '577f1e7caeea31d910f2dc29c28ada7d') + +prepare() { + cd $pkgname-$pkgver + shopt -s nullglob + for _p in "$srcdir"/*.patch; do + msg2 "Applying ${_p##*/}" + patch -p 1 -i "$_p" + done +} + +build() { + cd $pkgname-$pkgver + # fix broken 0.99.22.4 tarball + autoreconf -fvi + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc/quagga \ + --localstatedir=/run/quagga \ + --enable-exampledir=/usr/share/doc/quagga/examples \ + --enable-vtysh \ + --enable-isisd \ + --enable-isis-topology \ + --enable-netlink \ + --enable-snmp \ + --enable-tcp-zebra \ + --enable-irdp \ + --enable-pcreposix \ + --enable-multipath=64 \ + --enable-user=quagga \ + --enable-group=quagga \ + --enable-configfile-mask=0640 \ + --enable-logfile-mask=0640 + make +} + +package() { + # upstream install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # logrotate stuff + install -D -m 644 redhat/$pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname" + sed -ri 's,/var/run/quagga,/run/quagga,g' "$pkgdir/etc/logrotate.d/$pkgname" + + # systemd + cd "$srcdir" + for _d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld; do + install -D -m 644 $_d.service "$pkgdir/usr/lib/systemd/system/$_d.service" + done + install -D -m 644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + echo "d /run/$pkgname 0750 $pkgname $pkgname" > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/quagga/babeld.service b/extra/quagga/babeld.service new file mode 100644 index 000000000..7279f0336 --- /dev/null +++ b/extra/quagga/babeld.service @@ -0,0 +1,16 @@ +[Unit] +Description=Babel routing daemon +Documentation=man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/babeld.conf + +[Service] +Type=forking +PIDFile=/run/quagga/babeld.pid +ExecStart=/usr/bin/babeld -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/bgpd.service b/extra/quagga/bgpd.service new file mode 100644 index 000000000..b0bf1db0f --- /dev/null +++ b/extra/quagga/bgpd.service @@ -0,0 +1,16 @@ +[Unit] +Description=BGP routing daemon +Documentation=man:bgpd(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/bgpd.conf + +[Service] +Type=forking +PIDFile=/run/quagga/bgpd.pid +ExecStart=/usr/bin/bgpd -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/isisd.service b/extra/quagga/isisd.service new file mode 100644 index 000000000..5ad16c1a4 --- /dev/null +++ b/extra/quagga/isisd.service @@ -0,0 +1,16 @@ +[Unit] +Description=IS-IS routing daemon +Documentation=man:isis(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/isisd.conf + +[Service] +Type=forking +PIDFile=/run/quagga/isisd.pid +ExecStart=/usr/bin/isisd -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/ospf6d.service b/extra/quagga/ospf6d.service new file mode 100644 index 000000000..dae3dc322 --- /dev/null +++ b/extra/quagga/ospf6d.service @@ -0,0 +1,16 @@ +[Unit] +Description=OSPF routing daemon for IPv6 +Documentation=man:ospfd(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/ospf6d.conf + +[Service] +Type=forking +PIDFile=/run/quagga/ospf6d.pid +ExecStart=/usr/bin/ospf6d -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/ospfd.service b/extra/quagga/ospfd.service new file mode 100644 index 000000000..e43c474cc --- /dev/null +++ b/extra/quagga/ospfd.service @@ -0,0 +1,16 @@ +[Unit] +Description=OSPF routing daemon +Documentation=man:ospfd(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/ospfd.conf + +[Service] +Type=forking +PIDFile=/run/quagga/ospfd.pid +ExecStart=/usr/bin/ospfd -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/quagga.install b/extra/quagga/quagga.install new file mode 100644 index 000000000..c5d88b976 --- /dev/null +++ b/extra/quagga/quagga.install @@ -0,0 +1,36 @@ +infodir=/usr/share/info +filelist=(quagga.info quagga.info-1 quagga.info-2) + +post_install() { + groupadd -r quagga + useradd -MNr -s /bin/false -d /run/quagga -g quagga quagga && passwd -l quagga &>/dev/null + install -d -m 750 -o quagga -g quagga /{run,etc,var/log}/quagga + post_upgrade +} + +post_upgrade() { + if [[ -x /usr/bin/install-info ]]; then + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done + fi +} + +pre_remove() { + for d in zebra ripd ripngd bgpd ospfd ospf6d isisd; do + /etc/rc.d/$d stop &>/dev/null + done + if [[ -x /usr/bin/install-info ]]; then + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done + fi +} + +post_remove() { + userdel quagga &>/dev/null + groupdel quagga &>/dev/null + rmdir /{etc,var/log}/quagga +} + +# vim: ft=sh ts=2 sw=2 et: diff --git a/extra/quagga/ripd.service b/extra/quagga/ripd.service new file mode 100644 index 000000000..a55498100 --- /dev/null +++ b/extra/quagga/ripd.service @@ -0,0 +1,16 @@ +[Unit] +Description=RIP routing daemon +Documentation=man:ripd(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/ripd.conf + +[Service] +Type=forking +PIDFile=/run/quagga/ripd.pid +ExecStart=/usr/bin/ripd -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/ripngd.service b/extra/quagga/ripngd.service new file mode 100644 index 000000000..4990669d2 --- /dev/null +++ b/extra/quagga/ripngd.service @@ -0,0 +1,16 @@ +[Unit] +Description=RIP routing daemon for IPv6 +Documentation=man:ripngd(8) man:zebra(8) +BindTo=zebra.service +After=network.target zebra.service +ConditionPathExists=/etc/quagga/ripngd.conf + +[Service] +Type=forking +PIDFile=/run/quagga/ripngd.pid +ExecStart=/usr/bin/ripngd -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/quagga/zebra.service b/extra/quagga/zebra.service new file mode 100644 index 000000000..02813c37c --- /dev/null +++ b/extra/quagga/zebra.service @@ -0,0 +1,16 @@ +[Unit] +Description=GNU Zebra routing manager +Documentation=man:zebra(8) +After=network.target +ConditionPathExists=/etc/quagga/zebra.conf + +[Service] +Type=forking +PIDFile=/run/quagga/zebra.pid +ExecStartPre=/sbin/ip route flush proto zebra +ExecStart=/usr/bin/zebra -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/extra/telepathy-gabble/PKGBUILD b/extra/telepathy-gabble/PKGBUILD index 96eb4705b..d8c904b1e 100644 --- a/extra/telepathy-gabble/PKGBUILD +++ b/extra/telepathy-gabble/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 198714 2013-11-02 08:58:18Z ioni $ +# $Id: PKGBUILD 217800 2014-07-24 03:21:22Z fyan $ # Maintainer : Ionut Biru # Contributor: Daniel Balieiro # Contributor: Rodrigo L. M. Flores pkgname=telepathy-gabble -pkgver=0.18.1 -pkgrel=2 +pkgver=0.18.3 +pkgrel=1 pkgdesc="A Jabber/XMPP connection manager for Telepathy" arch=('i686' 'x86_64') url="http://telepathy.freedesktop.org" @@ -15,7 +15,7 @@ makedepends=('libxslt' 'python2') options=('!emptydirs') source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) install=telepathy-gabble.install -md5sums=('a5384758df829b80d47fbc8a672609ad') +md5sums=('40f2fbabc4e6e147258c83ed697f2fcf') build() { cd $pkgname-$pkgver diff --git a/extra/telepathy-mission-control/PKGBUILD b/extra/telepathy-mission-control/PKGBUILD index 150f48d26..0fb317f22 100644 --- a/extra/telepathy-mission-control/PKGBUILD +++ b/extra/telepathy-mission-control/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 210535 2014-04-14 20:07:32Z jgc $ +# $Id: PKGBUILD 217802 2014-07-24 03:23:16Z fyan $ # Maintainer: Ionut Biru # Contributor: Ju Liu # Contributor: Bjorn Lindeijer # Contributor: Andreas Zwinkau pkgname=telepathy-mission-control -pkgver=5.16.1 -pkgrel=2 +pkgver=5.16.2 +pkgrel=1 pkgdesc="A Telepathy component providing abstraction of some of the details of connection managers." arch=('i686' 'x86_64') url="http://telepathy.freedesktop.org/wiki/Mission Control" @@ -15,7 +15,7 @@ depends=('telepathy-glib' 'libgnome-keyring' 'dconf' 'networkmanager') makedepends=('libxslt' 'python2' 'gtk-doc') install=telepathy-mission-control.install source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('421115a35b9e427807326877f86e7f43') +md5sums=('8dc751da77a84abef3f9153bc422a17b') build() { cd "$pkgname-$pkgver" diff --git a/extra/ulogd/PKGBUILD b/extra/ulogd/PKGBUILD new file mode 100644 index 000000000..b7c44ae9c --- /dev/null +++ b/extra/ulogd/PKGBUILD @@ -0,0 +1,60 @@ +# $Id: PKGBUILD 217790 2014-07-23 23:16:37Z seblu $ +# Maintainer: Sergej Pupykin +# Maintainer: Sébastien Luttringer +# Contributor: Dale Blount +# Contributor: Sergej Pupykin + +pkgname=ulogd +pkgver=2.0.4 +pkgrel=1 +pkgdesc='Userspace Packet Logging for netfilter' +arch=('i686' 'x86_64') +url='http://www.netfilter.org/projects/ulogd/index.html' +license=('GPL2') +depends=('libmnl' + 'libnetfilter_acct' + 'libnetfilter_conntrack' + 'libnetfilter_log' + 'libnfnetlink') +backup=('etc/ulogd.conf') +makedepends=('libmariadbclient' + 'libpcap' + 'libdbi' + 'postgresql-libs' + 'sqlite') +optdepends=("${makedepends[@]}") +source=("http://www.netfilter.org/projects/ulogd/files/$pkgname-$pkgver.tar.bz2"{,.sig} + "$pkgname.logrotate" + "$pkgname.conf" + "$pkgname.service") +md5sums=('7c71ec460dfea5287eba27472c521ebc' + 'SKIP' + '95f05af0a0c8f5fdea5bd92ccb2fd465' + '2c8cbedb2fb455cba220ca35186ad846' + '092d72209e30c132e0a08112e4062772') + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --with-mysql \ + --with-pgsql \ + --with-dbi + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -dm755 "$pkgdir/usr/share/doc/ulogd" + install -Dm644 ulogd.conf "$pkgdir/usr/share/doc/ulogd/ulogd.conf" + install -m644 doc/*.{table,sql} "$pkgdir/usr/share/doc/ulogd" + cd "$srcdir" + install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -Dm644 $pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname" + install -Dm644 $pkgname.conf "$pkgdir/etc/$pkgname.conf" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/ulogd/ulogd b/extra/ulogd/ulogd new file mode 100644 index 000000000..071546f8c --- /dev/null +++ b/extra/ulogd/ulogd @@ -0,0 +1,54 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +get_pid() { + pidof /usr/sbin/ulogd +} + +case "$1" in + start) + stat_busy "Starting ulogd daemon" + + [ -f /var/run/ulog.pid ] && rm -f /var/run/ulog.pid + PID=`get_pid` + if [ -z "$PID" ]; then + /usr/sbin/ulogd -d + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + echo `get_pid` > /var/run/ulogd.pid + add_daemon ulogd + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping ulog daemon" + PID=`get_pid` + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/ulogd.pid &> /dev/null + rm_daemon ulogd + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/extra/ulogd/ulogd.conf b/extra/ulogd/ulogd.conf new file mode 100644 index 000000000..643892e88 --- /dev/null +++ b/extra/ulogd/ulogd.conf @@ -0,0 +1,20 @@ +[global] +logfile="/var/log/ulogd.log" +loglevel=5 +rmem=131071 +bufsize=150000 + +plugin="/usr/lib/ulogd/ulogd_inppkt_NFLOG.so" +plugin="/usr/lib/ulogd/ulogd_raw2packet_BASE.so" +plugin="/usr/lib/ulogd/ulogd_filter_IP2STR.so" +plugin="/usr/lib/ulogd/ulogd_filter_PRINTPKT.so" +plugin="/usr/lib/ulogd/ulogd_output_LOGEMU.so" +plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so" + +stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU + +[log1] +group=1 + +[emu1] +file=/var/log/ulogd.syslogemu diff --git a/extra/ulogd/ulogd.logrotate b/extra/ulogd/ulogd.logrotate new file mode 100644 index 000000000..299e93d02 --- /dev/null +++ b/extra/ulogd/ulogd.logrotate @@ -0,0 +1,10 @@ +/var/log/ulogd.log /var/log/ulogd.syslogemu { + missingok + notifempty + sharedscripts + create 0640 root root + + postrotate + systemctl kill --signal=SIGHUP ulogd.service || true + endscript +} diff --git a/extra/ulogd/ulogd.service b/extra/ulogd/ulogd.service new file mode 100644 index 000000000..12450c9cc --- /dev/null +++ b/extra/ulogd/ulogd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Netfilter Ulogd daemon +After=network.target + +[Service] +ExecStart=/usr/bin/ulogd + +[Install] +WantedBy=multi-user.target -- cgit v1.2.2