summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/arno-iptables-firewall/PKGBUILD69
-rw-r--r--pcr/arno-iptables-firewall/arno-iptables-firewall.patch25
-rw-r--r--pcr/arno-iptables-firewall/arno-iptables-firewall.service14
-rw-r--r--pcr/bbb-gadgets/LICENSE17
-rw-r--r--pcr/bbb-gadgets/PKGBUILD30
-rw-r--r--pcr/bbb-gadgets/dhcpd-usb0.conf4
-rwxr-xr-xpcr/bbb-gadgets/g-ether-load.sh71
-rw-r--r--pcr/bbb-gadgets/network-gadget-init.service11
-rw-r--r--pcr/bbb-gadgets/storage-gadget-init.service10
-rw-r--r--pcr/cowpatty/PKGBUILD29
-rw-r--r--pcr/devmem/PKGBUILD24
-rw-r--r--pcr/ipycli-git/PKGBUILD55
-rw-r--r--pcr/irssi-otr/PKGBUILD26
-rw-r--r--pcr/packer/PKGBUILD44
-rw-r--r--pcr/pacman2pacman/PKGBUILD7
-rw-r--r--pcr/pacman2pacman/instructions.install41
-rw-r--r--pcr/parcimonie-sh-git/PKGBUILD32
-rw-r--r--pcr/python-xbee/PKGBUILD17
-rw-r--r--pcr/ros-hydro-rosserial-xbee/PKGBUILD58
-rw-r--r--pcr/ttf-font-awesome/PKGBUILD14
-rw-r--r--pcr/ums/PKGBUILD15
21 files changed, 498 insertions, 115 deletions
diff --git a/pcr/arno-iptables-firewall/PKGBUILD b/pcr/arno-iptables-firewall/PKGBUILD
new file mode 100644
index 000000000..f0def1909
--- /dev/null
+++ b/pcr/arno-iptables-firewall/PKGBUILD
@@ -0,0 +1,69 @@
+# Contributor (Arch) : Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor (Arch) : Arto Puranen <purcher@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=arno-iptables-firewall
+pkgver=2.0.1d
+pkgrel=2
+pkgdesc="A secure stateful firewall for both single and multi-homed machine"
+arch=('any')
+url=(http://rocky.eld.leidenuniv.nl/joomla/)
+license=('GPL')
+depends=('iptables' 'iproute2')
+makedepends=('patch')
+backup=(etc/${pkgname}/firewall.conf
+ etc/${pkgname}/custom-rules
+ etc/${pkgname}/plugins/dmz-dnat.conf
+ etc/${pkgname}/plugins/dsl-ppp-modem.conf
+ etc/${pkgname}/plugins/dyndns-host-open.conf
+ etc/${pkgname}/plugins/ids-protection.conf
+ etc/${pkgname}/plugins/ipsec-vpn.conf
+ etc/${pkgname}/plugins/ipv6-over-ipv4.conf
+ etc/${pkgname}/plugins/linux-upnp-igd.conf
+ etc/${pkgname}/plugins/mac-address-filter.conf
+ etc/${pkgname}/plugins/multiroute.conf
+ etc/${pkgname}/plugins/sip-voip.conf
+ etc/${pkgname}/plugins/ssh-brute-force-protection.conf
+ etc/${pkgname}/plugins/traffic-accounting.conf
+ etc/${pkgname}/plugins/traffic-shaper.conf
+ etc/${pkgname}/plugins/transparent-dnat.conf
+ etc/${pkgname}/plugins/transparent-proxy.conf)
+source=(http://rocky.eld.leidenuniv.nl/${pkgname}/${pkgname}_${pkgver}.tar.gz
+ ${pkgname}.patch \
+ ${pkgname}.service)
+
+package() {
+ cd ${srcdir}/${pkgname}_${pkgver}
+
+# patch
+ patch -Np0 -i ${srcdir}/${pkgname}.patch
+
+# conf files
+ install -d -m 0755 etc/${pkgname}/plugins/ ${pkgdir}/etc/${pkgname}/plugins/
+ for i in `find etc/${pkgname} -type f`; do install -T -m 0600 $i ${pkgdir}/$i ;done
+ install -D -m 0644 share/${pkgname}/environment ${pkgdir}/usr/share/${pkgname}/environment
+
+# plugins
+ install -d -m 0755 share/${pkgname}/plugins/ ${pkgdir}/usr/share/${pkgname}/plugins/
+ for i in share/${pkgname}/plugins/*plugin; do install -T -m 0644 $i ${pkgdir}/usr/$i ;done
+ install -D -m 0744 share/${pkgname}/plugins/dyndns-host-open-helper \
+ ${pkgdir}/usr/share/${pkgname}/plugins/dyndns-host-open-helper
+ install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-helper \
+ ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-helper
+ install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-log-rotate \
+ ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-log-rotate
+ install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-show \
+ ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-show
+
+# binary
+ install -D -m 0744 bin/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -D -m 0744 bin/arno-fwfilter ${pkgdir}/usr/bin/arno-fwfilter
+ install -D -m 0744 contrib/adsl-failover ${pkgdir}/usr/bin/adsl-failover
+
+# man files
+ install -D -m 0644 share/man/man1/arno-fwfilter.1 ${pkgdir}/usr/share/man/man1/arno-fwfilter.1
+ install -D -m 0644 share/man/man8/${pkgname}.8 ${pkgdir}/usr/share/man/man8/${pkgname}.8
+
+# systemd script
+ install -D -m 0644 ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+}
diff --git a/pcr/arno-iptables-firewall/arno-iptables-firewall.patch b/pcr/arno-iptables-firewall/arno-iptables-firewall.patch
new file mode 100644
index 000000000..298d0c0b8
--- /dev/null
+++ b/pcr/arno-iptables-firewall/arno-iptables-firewall.patch
@@ -0,0 +1,25 @@
+--- etc/arno-iptables-firewall/firewall.conf 2010-12-30 13:17:02.000000000 +0100
++++ etc/arno-iptables-firewall/firewall.conf 2011-01-22 21:10:39.000000000 +0100
+@@ -233,18 +233,18 @@
+ # 'whereis iptables' to manually locate it), required for (default) IPv4 support
+ # -----------------------------------------------------------------------------
+-IP4TABLES="/sbin/iptables"
++IP4TABLES="/usr/bin/iptables"
+
+ # (EXPERT SETTING!) Location of the ip6tables-binary (use 'locate ip6tables' or
+ # 'whereis ip6tables' to manually locate it), required for IPv6 support
+ # -----------------------------------------------------------------------------
+-IP6TABLES="/sbin/ip6tables"
++IP6TABLES="/usr/bin/ip6tables"
+
+ # (EXPERT SETTING!) Location of the environment file
+ # -----------------------------------------------------------------------------
+-ENV_FILE="/usr/local/share/arno-iptables-firewall/environment"
++ENV_FILE="/usr/share/arno-iptables-firewall/environment"
+
+ # (EXPERT SETTING!) Location of plugin binary & config files
+ # -----------------------------------------------------------------------------
+-PLUGIN_BIN_PATH="/usr/local/share/arno-iptables-firewall/plugins"
++PLUGIN_BIN_PATH="/usr/share/arno-iptables-firewall/plugins"
+ PLUGIN_CONF_PATH="/etc/arno-iptables-firewall/plugins"
+
diff --git a/pcr/arno-iptables-firewall/arno-iptables-firewall.service b/pcr/arno-iptables-firewall/arno-iptables-firewall.service
new file mode 100644
index 000000000..2d81c9869
--- /dev/null
+++ b/pcr/arno-iptables-firewall/arno-iptables-firewall.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=A secure stateful firewall for both single and multi-homed machine
+Before=network.target
+Wants=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/arno-iptables-firewall start
+ExecStop=/usr/bin/arno-iptables-firewall stop
+ExecReload=/usr/bin/arno-iptables-firewall force-reload
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/bbb-gadgets/LICENSE b/pcr/bbb-gadgets/LICENSE
new file mode 100644
index 000000000..fb950dc69
--- /dev/null
+++ b/pcr/bbb-gadgets/LICENSE
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/pcr/bbb-gadgets/PKGBUILD b/pcr/bbb-gadgets/PKGBUILD
new file mode 100644
index 000000000..4affed078
--- /dev/null
+++ b/pcr/bbb-gadgets/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor (Arch) : Brice Waegeneire < brice dot wge at gmail dot com >
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=bbb-gadgets
+pkgver=20130905
+pkgrel=3
+pkgdesc="Units to initialize usb gadgets for the BeagleBone Black"
+arch=('any')
+url="http://www.beagleboard.org/"
+license=('MIT')
+makedepends=('git')
+depends=('bash' 'systemd' 'dhcp' 'devmem')
+backup=('etc/dhcpd-usb0.conf')
+source=('dhcpd-usb0.conf'
+ 'g-ether-load.sh'
+ 'LICENSE'
+ 'network-gadget-init.service'
+ 'storage-gadget-init.service')
+
+package() {
+ install -d $pkgdir/usr/lib/systemd/system
+ install -m 0644 $srcdir/*.service $pkgdir/usr/lib/systemd/system
+
+ install -D -m 0644 $srcdir/dhcpd-usb0.conf $pkgdir/etc/dhcpd-usb0.conf
+
+ install -D -m 0755 $srcdir/g-ether-load.sh $pkgdir/usr/bin/g-ether-load.sh
+
+ install -D -m 0644 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
diff --git a/pcr/bbb-gadgets/dhcpd-usb0.conf b/pcr/bbb-gadgets/dhcpd-usb0.conf
new file mode 100644
index 000000000..935477523
--- /dev/null
+++ b/pcr/bbb-gadgets/dhcpd-usb0.conf
@@ -0,0 +1,4 @@
+subnet 192.168.7.0 netmask 255.255.255.0 {
+ range 192.168.7.1 192.168.7.1;
+}
+
diff --git a/pcr/bbb-gadgets/g-ether-load.sh b/pcr/bbb-gadgets/g-ether-load.sh
new file mode 100755
index 000000000..e4f39079d
--- /dev/null
+++ b/pcr/bbb-gadgets/g-ether-load.sh
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+function get_devmem()
+{
+ /usr/bin/devmem2 $1 | grep ": " | cut -d ":" -f 2|cut -d "x" -f 2
+}
+
+function hex_to_mac_addr()
+{
+ addr=$1
+ n=0
+ mac_addr=$(echo ${addr} | while read -r -n2 c; do
+ if [ ! -z "$c" ]; then
+ if [ $n -ne 0 ] ; then
+ echo -n ":${c}"
+ else
+ echo -n "${c}"
+ fi
+ fi
+ n=$(($n+1))
+ done)
+ echo ${mac_addr}
+}
+
+function reverse_bytes()
+{
+ addr=$1
+ New_addr=$(echo ${addr} | while read -r -n2 c; do
+ if [ ! -z "$c" ]; then
+ New_addr=${c}${New_addr}
+ else echo
+ echo ${New_addr}
+ fi
+ done)
+ echo ${New_addr}
+}
+
+mac_address="/proc/device-tree/ocp/ethernet@4a100000/slave@4a100300/mac-address"
+if [ -f ${mac_address} ] ; then
+ DEV_ADDR=$(hexdump -v -e '1/1 "%02X" ":"' ${mac_address} | sed 's/.$//')
+else
+ DEVMEM_ADDR_LO=$(get_devmem 0x44e10638|bc)
+ DEVMEM_ADDR_LO=$(reverse_bytes ${DEVMEM_ADDR_LO})
+
+ DEVMEM_ADDR_HI=$(get_devmem 0x44e1063C)
+ DEVMEM_ADDR_HI=$(reverse_bytes ${DEVMEM_ADDR_HI})
+
+ DEV_ADDR=$(hex_to_mac_addr "${DEVMEM_ADDR_HI}${DEVMEM_ADDR_LO}")
+fi
+
+SERIAL_NUMBER=$(hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -s 14 -n 2)-$(hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -s 16 -n 12)
+ISBLACK=$(hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -s 8 -n 4)
+
+BLACK=""
+
+if [ "${ISBLACK}" = "BBBK" ] ; then
+ BLACK="Black"
+fi
+
+if [ "${ISBLACK}" = "BNLT" ] ; then
+ BLACK="Black"
+fi
+
+modprobe g_multi file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1 iSerialNumber=${SERIAL_NUMBER} iManufacturer=Circuitco iProduct=BeagleBone${BLACK} host_addr=${DEV_ADDR}
+
+sleep 1
+
+/usr/bin/ifconfig usb0 192.168.7.2 netmask 255.255.255.252
+/usr/bin/route add default gw 192.168.7.1
+
+/usr/bin/dhcpd -4 -q -cf /etc/dhcpd-usb0.conf usb0
diff --git a/pcr/bbb-gadgets/network-gadget-init.service b/pcr/bbb-gadgets/network-gadget-init.service
new file mode 100644
index 000000000..47573a1ec
--- /dev/null
+++ b/pcr/bbb-gadgets/network-gadget-init.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Start USB Ethernet gadget
+Conflicts=storage-gadget-init.service
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/usr/bin/g-ether-load.sh
+ExecStop=/usr/bin/rmmod g_ether
+
+[Install]
+WantedBy=basic.target
diff --git a/pcr/bbb-gadgets/storage-gadget-init.service b/pcr/bbb-gadgets/storage-gadget-init.service
new file mode 100644
index 000000000..8c2a30c12
--- /dev/null
+++ b/pcr/bbb-gadgets/storage-gadget-init.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Start usb mass storage gadget
+After=dev-mmcblk0p1.device
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/g-ether-load.sh
+
+[Install]
+WantedBy=basic.target
diff --git a/pcr/cowpatty/PKGBUILD b/pcr/cowpatty/PKGBUILD
new file mode 100644
index 000000000..c29c53ad8
--- /dev/null
+++ b/pcr/cowpatty/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor (Arch) : CRT <crt.011@gmail.com>
+# Contributor (Arch) : Sébastien Duquette <ekse.0x@gmail.com>
+# Contributor (Arch) : icarus <icarus.roaming@gmail.com>
+# Contributor (Arch) : Stephane Travostino <stephane.travostino@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=cowpatty
+pkgver=4.6
+pkgrel=5
+pkgdesc="Wireless WPA/WPA2 PSK handshake cracking utility"
+arch=('i686' 'x86_64')
+url="http://www.wirelessdefence.org/Contents/coWPAttyMain.htm"
+license=('GPL')
+depends=('openssl' 'libpcap')
+options=('docs' '!makeflags')
+source=("http://www.wirelessdefence.org/Contents/Files/cowpatty-$pkgver.tgz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+ make strip
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" BINDIR="/usr/bin/" install
+ install -D -m644 dict "$pkgdir"/usr/share/cowpatty/dict
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
+}
diff --git a/pcr/devmem/PKGBUILD b/pcr/devmem/PKGBUILD
new file mode 100644
index 000000000..ab664447e
--- /dev/null
+++ b/pcr/devmem/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor (Arch) : Brice Waegeneire < brice dot wge at gmail dot com >
+# Contributor (Arch) : Alexander Lam <lambchop468 *AT* gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=devmem
+pkgver=2
+pkgrel=2
+pkgdesc="A small utility to access /dev/mem and read/write to any memory location"
+arch=('any')
+url="http://free-electrons.com/pub/mirror/devmem2.c"
+license=('GPL2')
+source=("http://free-electrons.com/pub/mirror/${pkgname}${pkgver}.c")
+
+
+build() {
+ cd "$srcdir/"
+ gcc devmem2.c -o devmem2
+}
+
+package() {
+ install -D -m755 ${srcdir}/devmem2 ${pkgdir}/usr/bin/devmem2
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/ipycli-git/PKGBUILD b/pcr/ipycli-git/PKGBUILD
index 7ccf64839..533d96a78 100644
--- a/pcr/ipycli-git/PKGBUILD
+++ b/pcr/ipycli-git/PKGBUILD
@@ -1,56 +1,41 @@
-# Contributor (Arch): Francois Boulogne <fboulogne at april dot org>
-# Maintainer: Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=ipycli-git
-pkgver=20121109
-pkgrel=2
+pkgver=r135.baa33ed
+pkgrel=1
pkgdesc="IPython subapp that supports adding arbitrary notebooks from the command line"
arch=('i686' 'x86_64')
url="https://github.com/dalejung/ipycli/"
-license=('UNKNOWN')
+license=('BSD')
depends=('python2' 'ipython2')
optdepends=()
makedepends=('git' 'python2')
install=
provides=()
conflicts=()
-source=()
+source=("git://github.com/dalejung/ipycli.git")
+md5sums=("SKIP")
+pkgver() {
+ cd "$srcdir/ipycli"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
-_gitroot="git://github.com/dalejung/ipycli.git"
-_gitname="ipycli"
-
-build() {
-
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot $_gitname
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
-
+package() {
+ cd "$srcdir/ipycli"
#lib
- python2 setup.py install --root="${pkgdir}"
+ python2 setup.py install --root="${pkgdir}"
#bin
mkdir "${pkgdir}/usr/bin"
- cp "bin/nb" "${pkgdir}/usr/bin"
- sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/nb"
- cp "bin/ipycli" "${pkgdir}/usr/bin"
- sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/ipycli"
+ cp "bin/nb" "${pkgdir}/usr/bin"
+ sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/nb"
+ cp "bin/ipycli" "${pkgdir}/usr/bin"
+ sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/ipycli"
#templates/statics
- cp -r "ipycli/static" "${pkgdir}/usr/lib/python2.7/site-packages/ipycli/"
- cp -r "ipycli/templates" "${pkgdir}/usr/lib/python2.7/site-packages/ipycli/"
+ cp -r "ipycli/static" "${pkgdir}/usr/lib/python2.7/site-packages/ipycli/"
+ cp -r "ipycli/templates" "${pkgdir}/usr/lib/python2.7/site-packages/ipycli/"
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/irssi-otr/PKGBUILD b/pcr/irssi-otr/PKGBUILD
new file mode 100644
index 000000000..ae8552c33
--- /dev/null
+++ b/pcr/irssi-otr/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Christian Babeux <christian.babeux@0x80.ca>
+
+pkgname=irssi-otr
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Off-the-Record Messaging (OTR) for the Irssi IRC client"
+arch=('i686' 'x86_64')
+url="https://github.com/cryptodotis/irssi-otr"
+provides=('irssi-otr4')
+license=('GPL2')
+depends=('libotr>=4.0.0' 'irssi>=0.8.15' 'libgcrypt>=1.5.0' 'glib2')
+source=("https://github.com/cryptodotis/irssi-otr/archive/v$pkgver.tar.gz")
+sha1sums=('1a981b96317778cdf72c0d2a8b08c44f72d808e5')
+
+build()
+{
+ cd "irssi-otr-${pkgver}"
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "irssi-otr-${pkgver}"
+ make install DESTDIR=${pkgdir}
+}
diff --git a/pcr/packer/PKGBUILD b/pcr/packer/PKGBUILD
index f2ea54a76..5354d0192 100644
--- a/pcr/packer/PKGBUILD
+++ b/pcr/packer/PKGBUILD
@@ -1,36 +1,32 @@
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor (Arch) : Kyle Keen <keenerd@gmail.com>
+# Contributor (Arch) : Gilrain <pierre.buard+aur gmail com>
+# Contributor (Arch) : bruenig
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=packer
-pkgver=20120302
+pkgver=20131001
pkgrel=1
pkgdesc="Bash wrapper for pacman and aur"
-url="http://github.com/bruenig/packer"
-license="GPL"
+url="http://github.com/keenerd/packer"
+license=("GPL3")
arch=('any')
+source=("https://repo.parabolagnulinux.org/other/~aurelien/packer/packer-${pkgver}.tar.gz")
+
makedepends=('git')
-depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon')
+depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon' 'expac')
optdepends=('sudo: install and update packages as non-root'
'customizepkg: apply customizepkg modifications')
-_gitroot='https://github.com/bruenig/packer.git'
-_gitname='packer'
-# Xavion is a non-contributing idiot
+source=('git+https://github.com/keenerd/packer.git')
+
+
+pkgver() {
+ cd "$pkgname"
+ git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
-build() {
- cd "$srcdir"
-
- msg "Connecting to github GIT server...."
-
- if [ -d "$srcdir/$_gitname" ] ; then
- cd $_gitname && git pull origin
- else
- git clone "$_gitroot"
- cd $_gitname
- fi
-
- mkdir -p "$pkgdir/usr/bin/"
- mkdir -p "$pkgdir/usr/share/man/man8/"
- install -m 755 packer "$pkgdir/usr/bin/packer"
- install -m 644 packer.8 "$pkgdir/usr/share/man/man8/packer.8"
+package() {
+ install -Dm755 "$srcdir/$pkgname/packer" "$pkgdir/usr/bin/packer"
+ install -Dm644 "$srcdir/$pkgname/packer.8" "$pkgdir/usr/share/man/man8/packer.8"
}
diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD
index 7862f5a02..13dcf2e18 100644
--- a/pcr/pacman2pacman/PKGBUILD
+++ b/pcr/pacman2pacman/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Joseph Graham <joseph@t67.eu>
pkgname=pacman2pacman
-pkgver=1.3.0
-pkgrel=1
+pkgver=1.4.1
+pkgrel=2
pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up"
arch=(any)
url="https://wiki.parabolagnulinux.org/Pacman2pacman"
@@ -10,12 +10,15 @@ depends=(transmission-cli)
options=(emptydirs)
install=$pkgname.install
source=(https://t67.eu/filebin/$pkgname-$pkgver.tar.gz)
+md5sums=('c7972067210b67c1b51d81c6f537927a')
package() {
cd $pkgname
mkdir -p "${pkgdir}/srv/pacman2pacman/torrents"
+ mkdir -p "${pkgdir}/srv/pacman2pacman/dbcache"
+
chown -R transmission "${pkgdir}/srv/pacman2pacman/"
mkdir -p "${pkgdir}/usr/bin"
diff --git a/pcr/pacman2pacman/instructions.install b/pcr/pacman2pacman/instructions.install
deleted file mode 100644
index 503573305..000000000
--- a/pcr/pacman2pacman/instructions.install
+++ /dev/null
@@ -1,41 +0,0 @@
-# This is a default template for a post-install scriptlet.
-# Uncomment only required functions and remove any functions
-# you don't need (and this header).
-
-## arg 1: the new package version
-#pre_install() {
- # do something here
-#}
-
-## arg 1: the new package version
-post_install() {
- # do something here
- echo 'transmission-daemon needs to be running for pacman2pacman to work:'
- echo 'systemctl start transmission'
- echo 'systemctl enable transmission'
- echo
- echo 'Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o'
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-#pre_upgrade() {
- # do something here
-#}
-
-## arg 1: the new package version
-## arg 2: the old package version
-#post_upgrade() {
- # do something here
-#}
-
-## arg 1: the old package version
-#pre_remove() {
- # do something here
-#}
-
-## arg 1: the old package version
-post_remove() {
- # do something here
- echo "Don't forget to remove pacman2pacman from pacman.conf's \`XferCommand' setting."
-}
diff --git a/pcr/parcimonie-sh-git/PKGBUILD b/pcr/parcimonie-sh-git/PKGBUILD
new file mode 100644
index 000000000..da9097afc
--- /dev/null
+++ b/pcr/parcimonie-sh-git/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Etienne Perot <etienne at perot dot me>
+pkgname=parcimonie-sh-git
+pkgver=16.9523a3e
+pkgrel=1
+pkgdesc='Bash reimplementation of parcimonie - Refresh your GnuPG keyring without disclosing your whole contact list to the world'
+arch=('any')
+url='https://github.com/EtiennePerot/parcimonie.sh'
+license=('WTFPL')
+depends=('bash' 'torsocks' 'tor' 'gnupg')
+makedepends=('git')
+source=('git+https://github.com/EtiennePerot/parcimonie.sh')
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$startdir/parcimonie.sh"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ :
+}
+
+package() {
+ cd "$srcdir/parcimonie.sh"
+ install -D -m644 README.md "${pkgdir}/usr/share/parcimonie.sh/README.md"
+ install -D -m755 parcimonie.sh "${pkgdir}/usr/share/parcimonie.sh/parcimonie.sh"
+ install -D -m644 pkg/parcimonie.sh@.service "${pkgdir}/usr/lib/systemd/system/parcimonie.sh@.service"
+ install -D -m644 pkg/sample-configuration.conf.sample "${pkgdir}/etc/parcimonie.sh.d/sample-configuration.conf.sample"
+ install -D -m644 pkg/all-users.conf "${pkgdir}/etc/parcimonie.sh.d/all-users.conf"
+ mkdir -p "${pkgdir}/usr/bin"
+ ln -sf /usr/share/parcimonie.sh/parcimonie.sh "${pkgdir}/usr/bin/parcimonie.sh"
+}
diff --git a/pcr/python-xbee/PKGBUILD b/pcr/python-xbee/PKGBUILD
new file mode 100644
index 000000000..c0771bf3e
--- /dev/null
+++ b/pcr/python-xbee/PKGBUILD
@@ -0,0 +1,17 @@
+# Contributor (Arch) : ?
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python-xbee
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Python tools for working with XBee radios'
+url='https://pypi.python.org/pypi/XBee'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-pyserial')
+source=("https://pypi.python.org/packages/source/X/XBee/XBee-${pkgver}.tar.gz")
+
+package() {
+ cd XBee-$pkgver
+ python setup.py install --root="$pkgdir"
+}
diff --git a/pcr/ros-hydro-rosserial-xbee/PKGBUILD b/pcr/ros-hydro-rosserial-xbee/PKGBUILD
new file mode 100644
index 000000000..cbd21c4ee
--- /dev/null
+++ b/pcr/ros-hydro-rosserial-xbee/PKGBUILD
@@ -0,0 +1,58 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+# pkgdesc="ROS - rosserial_xbee provides tools to do point to multipoint communication between rosserial nodes connected to an xbee."
+# url='http://ros.org/wiki/rosserial_xbee'
+# Contributor (Arch) : ?
+# Contributor (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname='ros-hydro-rosserial-xbee'
+pkgver='0.5.5'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-hydro-catkin)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-hydro-rospy
+ ros-hydro-diagnostic-msgs
+ ros-hydro-rosserial-msgs
+ ros-hydro-rosserial-python)
+depends=(${ros_depends[@]}
+ python2-pyserial)
+
+_tag=release/hydro/rosserial_xbee/${pkgver}-${_pkgver_patch}
+_dir=rosserial_xbee
+source=("${_dir}"::"git+https://github.com/ros-gbp/rosserial-release.git"#tag=${_tag})
+md5sums=('SKIP')
+
+build() {
+ # Use ROS environment variables
+ /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/hydro/setup.bash ] && source /opt/ros/hydro/setup.bash
+
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Fix Python2/Python3 conflicts
+ /usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/${_dir}
+
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/hydro \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}
diff --git a/pcr/ttf-font-awesome/PKGBUILD b/pcr/ttf-font-awesome/PKGBUILD
index 37254c735..179d8566c 100644
--- a/pcr/ttf-font-awesome/PKGBUILD
+++ b/pcr/ttf-font-awesome/PKGBUILD
@@ -1,9 +1,9 @@
-#Contributer (Arch): UNKNOWN o_O
-#Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@replicant.io>
+# Contributor (Arch) : ?
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=ttf-font-awesome
-pkgver=3.2.1
-pkgrel=2
+pkgver=4.0.3
+pkgrel=1
pkgdesc="Iconic font designed for Bootstrap"
url="http://fortawesome.github.io/Font-Awesome/"
license=('CCPL')
@@ -11,9 +11,11 @@ depends=('fontconfig' 'xorg-font-utils')
options=("!strip")
install=$pkgname.install
arch=('any')
-source=('http://fortawesome.github.io/Font-Awesome/assets/font-awesome.zip')
+source=("https://github.com/FortAwesome/Font-Awesome/archive/master.zip")
+#source=("http://fortawesome.github.io/Font-Awesome/assets/font-awesome-$pkgver.zip")
+
package() {
install -d "$pkgdir/usr/share/fonts/TTF"
- cp -dpr --no-preserve=ownership "$srcdir/font-awesome/font/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+ cp -dpr --no-preserve=ownership "$srcdir/Font-Awesome-master/fonts/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
}
diff --git a/pcr/ums/PKGBUILD b/pcr/ums/PKGBUILD
index 35d5878c4..5894c65d1 100644
--- a/pcr/ums/PKGBUILD
+++ b/pcr/ums/PKGBUILD
@@ -1,9 +1,9 @@
-# Contributor (Arch): Red Squirrel <iam at redsquirrel87 dot com>
-# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@xload.io>
+# Contributor (Arch) : Red Squirrel <iam at redsquirrel87 dot com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
# Based on PMS PKGBUILD
pkgname=ums
-pkgver=3.4.0
+pkgver=4.0.0
pkgrel=1
pkgdesc="Universal Media Server: a DLNA-compliant UPnP Media Server."
arch=('i686' 'x86_64')
@@ -15,18 +15,19 @@ makedepends=("unzip")
optdepends=("vlc: For Internet video/audio")
[ "$CARCH" = "x86_64" ] && \
optdepends=("vlc: Internet video/audio support"
+ "dcraw: thumbnails creation support"
"lib32-gcc-libs: tsMuxeR support"
"lib32-glibc: tsMuxeR support")
backup=(opt/ums/UMS.conf \
opt/ums/WEB.conf)
-source=("http://downloads.sourceforge.net/project/unimediaserver/Official%20Releases/Linux/UMS-$pkgver.tgz")
+source=("http://downloads.sourceforge.net/project/unimediaserver/Official%20Releases/Linux/UMS-$pkgver-a1.tgz")
package() {
mkdir -p $pkgdir/opt/ums
mkdir $pkgdir/opt/ums/database
mkdir -p $pkgdir/usr/bin
- chmod -R 755 $srcdir/$pkgname-$pkgver/plugins $srcdir/$pkgname-$pkgver/documentation
- cp -r $srcdir/$pkgname-$pkgver/* $pkgdir/opt/ums/
+ chmod -R 755 $srcdir/$pkgname-$pkgver-a1/plugins $srcdir/$pkgname-$pkgver-a1/documentation
+ cp -r $srcdir/$pkgname-$pkgver-a1/* $pkgdir/opt/ums/
chmod +x $pkgdir/opt/ums/UMS.sh \
$pkgdir/opt/ums/linux/tsMuxeR
touch $pkgdir/opt/ums/UMS.conf
@@ -41,7 +42,7 @@ package() {
$pkgdir/opt/ums/debug.log \
$pkgdir/opt/ums/database
- unzip -q -u $srcdir/$pkgname-$pkgver/ums.jar -d ums_jar
+ unzip -q -u $srcdir/$pkgname-$pkgver-a1/ums.jar -d ums_jar
install -d -m 755 $pkgdir/usr/share/pixmaps
install -D -m 644 $srcdir/ums_jar/resources/images/logo.png $pkgdir/usr/share/pixmaps/ums.png