summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-05-09 16:50:25 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-05-09 16:50:25 -0300
commitb6aef2fa31eefccec41172ba32ece5326c729291 (patch)
tree7a6e6efcc20c45c379f244ea388dda5e1a0c2334 /social
parentdccab1509d2289e66edf699d1f90d127648fdeeb (diff)
parent13bf0e2a4ebb6c8b591b204f4c2e3c8e73e6fe18 (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre
Conflicts: libre/kernel26-libre-lts/PKGBUILD libre/kernel26-libre-lts/config.x86_64
Diffstat (limited to 'social')
-rw-r--r--social/bitcoin-daemon/PKGBUILD12
-rw-r--r--social/inadyn-opendns/PKGBUILD32
-rw-r--r--social/inadyn-opendns/inadyn-opendns.install17
-rw-r--r--social/inadyn-opendns/inadyn.rc-script38
-rw-r--r--social/liblockfile/PKGBUILD30
-rw-r--r--social/lockfile-progs/PKGBUILD2
-rw-r--r--social/monkeysphere/PKGBUILD3
7 files changed, 125 insertions, 9 deletions
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD
index 4728160d0..c00439328 100644
--- a/social/bitcoin-daemon/PKGBUILD
+++ b/social/bitcoin-daemon/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=bitcoin-daemon
_pkgname=bitcoin
-pkgver=0.3.20.2
-_bcver=0.3.20
+pkgver=0.3.21
+_bcver=0.3.21
pkgrel=1
pkgdesc="Bitcoin is a peer-to-peer network based digital currency."
arch=('i686' 'x86_64')
@@ -19,10 +19,6 @@ source=(http://ufpr.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-$_bcver/b
makefile.archlinux
bitcoin-daemon.install
rc.bitcoind)
-md5sums=('f527a2669f4cfe82abf1fe9bea070c64'
- '8e2ff558c2538e53c177513ad7d8b9a5'
- 'a388684057de2bb543cb7f795dc693cf'
- '4a9ab4997487bb5f8e3c6b1d580045af')
build() {
cd $srcdir/${_pkgname}-${pkgver}/src
@@ -53,3 +49,7 @@ package() {
chown -R 8333:8333 $pkgdir/var/lib/$pkgname
chmod -R 700 $pkgdir/var/lib/$pkgname
}
+md5sums=('19e530a9b60e3a0987998a87b30d8cdc'
+ '8e2ff558c2538e53c177513ad7d8b9a5'
+ 'a388684057de2bb543cb7f795dc693cf'
+ '4a9ab4997487bb5f8e3c6b1d580045af')
diff --git a/social/inadyn-opendns/PKGBUILD b/social/inadyn-opendns/PKGBUILD
new file mode 100644
index 000000000..75e8dc1ae
--- /dev/null
+++ b/social/inadyn-opendns/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bug <Bug2000@gmail.com>
+# Maintainer: Bug <Bug2000@gmail.com>
+pkgname=inadyn-opendns
+pkgver=1.99
+pkgrel=3
+pkgdesc="Simple dynamic DNS client with SSL support"
+arch=('i686')
+url="http://www.opendns.com/account/dynamic_dns/downloads"
+license=('GPL')
+makedepends=('unzip')
+depends=('curl')
+conflicts=('inadyn')
+provides=('inadyn')
+backup=('etc/inadyn.conf')
+install=('inadyn-opendns.install')
+source=("http://www.opendns.com/support/ddns_files/inadyn.source.v$pkgver.zip"
+ 'inadyn.rc-script')
+md5sums=('0f2cf9c3ea3482c03e1c42f8480f1c55'
+ '73c61f9939546c28119242a1e12ffcff')
+
+build() {
+ cd "$srcdir/inadyn.source.v$pkgver"
+
+ make || return 1
+
+ install -Dm755 bin/linux/inadyn $pkgdir/usr/sbin/inadyn
+ install -Dm644 man/inadyn.8 $pkgdir/usr/share/man/man8/inadyn.8
+ install -Dm644 man/inadyn.conf.5 $pkgdir/usr/share/man/man5/inadyn.conf.5
+ install -Dm644 readme.html $pkgdir/usr/share/doc/inadyn/readme.html
+ install -Dm755 $srcdir/inadyn.rc-script $pkgdir/etc/rc.d/inadyn
+ install -Dm644 inadyn.conf $pkgdir/etc/inadyn.conf
+}
diff --git a/social/inadyn-opendns/inadyn-opendns.install b/social/inadyn-opendns/inadyn-opendns.install
new file mode 100644
index 000000000..e1a842430
--- /dev/null
+++ b/social/inadyn-opendns/inadyn-opendns.install
@@ -0,0 +1,17 @@
+post_install() {
+/bin/true
+echo Please remember to change the /etc/inadyn.conf file for your settings.
+}
+
+post_upgrade() {
+/bin/true
+}
+
+pre_remove() {
+/bin/true
+}
+
+op=$1
+shift
+
+$op "$@" \ No newline at end of file
diff --git a/social/inadyn-opendns/inadyn.rc-script b/social/inadyn-opendns/inadyn.rc-script
new file mode 100644
index 000000000..2ee29d59e
--- /dev/null
+++ b/social/inadyn-opendns/inadyn.rc-script
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/sbin/inadyn`
+case "$1" in
+ start)
+ stat_busy "Starting INADYN Daemon"
+ [ -z "$PID" ] && /usr/sbin/inadyn --background --input_file /etc/inadyn.conf >>/var/log/inadyn 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ PID=`pidof -o %PPID /usr/sbin/inadyn`
+ echo $PID >/var/run/inadyn.pid
+ add_daemon inadyn
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping INADYN Daemon"
+ [ ! -z "$PID" ] && kill $PID &>/dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon inadyn
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
+
diff --git a/social/liblockfile/PKGBUILD b/social/liblockfile/PKGBUILD
new file mode 100644
index 000000000..e3428763c
--- /dev/null
+++ b/social/liblockfile/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
+
+pkgname=liblockfile
+pkgver=1.08_4
+pkgrel=1
+pkgdesc="a library with NFS-safe locking functions"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/unstable/libs/liblockfile1"
+depends=('glibc')
+makedepends=()
+source=(http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_1.08.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${pkgver/_/-}.debian.tar.bz2)
+
+build() {
+ cd $startdir/src/$pkgname-1.08
+
+ for p in `cat ../debian/patches/series` ; do
+ patch -p1 < ../debian/patches/$p
+ done
+
+ ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+ make || return 1
+
+ mkdir -p $startdir/pkg/usr/{lib,bin,include,share/man/man1,share/man/man3}
+ make install prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man || return 1
+}
+
+md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e'
+ '50c0c049d2838704f5720f5fd9eaddac')
diff --git a/social/lockfile-progs/PKGBUILD b/social/lockfile-progs/PKGBUILD
index 3fced1597..57d833952 100644
--- a/social/lockfile-progs/PKGBUILD
+++ b/social/lockfile-progs/PKGBUILD
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
license=('GPL')
url="http://packages.debian.org/unstable/misc/lockfile-progs"
depends=('glibc')
-makedepends=('gcc' 'make' 'liblockfile')
+makedepends=('liblockfile')
source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)
build() {
diff --git a/social/monkeysphere/PKGBUILD b/social/monkeysphere/PKGBUILD
index 33c1bcf1b..c804b8409 100644
--- a/social/monkeysphere/PKGBUILD
+++ b/social/monkeysphere/PKGBUILD
@@ -12,6 +12,7 @@ license=('GPL3')
depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1')
source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
install=monkeysphere.install
+md5sums=('481ac14c9fdef0ccd1944c593bd4f517')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -19,5 +20,3 @@ build() {
make DESTDIR="$pkgdir/" install
mkdir -p $pkgdir/var/lib/monkeysphere
}
-md5sums=()
-md5sums=('481ac14c9fdef0ccd1944c593bd4f517')