summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
Diffstat (limited to 'social')
-rw-r--r--social/diaspora-git/PKGBUILD3
-rw-r--r--social/ruby-headers/PKGBUILD11
-rw-r--r--social/tinc/PKGBUILD21
-rw-r--r--social/tomoyo-tools/PKGBUILD28
-rw-r--r--social/tomoyo-tools/tomoyo-tools.install11
5 files changed, 68 insertions, 6 deletions
diff --git a/social/diaspora-git/PKGBUILD b/social/diaspora-git/PKGBUILD
index 52a6b990e..b19241655 100644
--- a/social/diaspora-git/PKGBUILD
+++ b/social/diaspora-git/PKGBUILD
@@ -6,7 +6,7 @@
# https://wiki.archlinux.org/index.php/Diaspora
pkgname=diaspora-git
-pkgver=20110208
+pkgver=20110417
pkgrel=1
pkgdesc="A privacy aware, personally controlled, do-it-all, open source social network"
arch=('i686' 'x86_64')
@@ -76,6 +76,7 @@ build() {
package() {
cd "$srcdir"
+ options=(!strip)
usrdir="$pkgdir/usr/share/webapps"
diff --git a/social/ruby-headers/PKGBUILD b/social/ruby-headers/PKGBUILD
index b7ef76edc..73b85c3c1 100644
--- a/social/ruby-headers/PKGBUILD
+++ b/social/ruby-headers/PKGBUILD
@@ -1,17 +1,17 @@
-# Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com>
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail dot com>
pkgname=ruby-headers
_pkgname=ruby
-pkgver=1.9.2_p136
-_pkgver=1.9.2-p136
+pkgver=1.9.2_p180
+_pkgver=1.9.2-p180
pkgrel=1
pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug."
arch=('any')
url="http://www.ruby-lang.org/en/"
license=('custom')
depends=('ruby')
-source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2")
-md5sums=('52958d35d1b437f5d9d225690de94c13')
+source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2")
build() {
/bin/true
@@ -27,3 +27,4 @@ package() {
install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
+md5sums=('68510eeb7511c403b91fe5476f250538')
diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD
new file mode 100644
index 000000000..8c56c0fc2
--- /dev/null
+++ b/social/tinc/PKGBUILD
@@ -0,0 +1,21 @@
+pkgname=tinc
+pkgver=1.0.13
+pkgrel=2
+pkgdesc="VPN (Virtual Private Network) daemon"
+arch=(i686 x86_64)
+url="http://www.tinc-vpn.org/"
+license=('GPL')
+depends=('lzo2' 'zlib' 'openssl')
+source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz)
+md5sums=('86263994d38c750431efd17e9a91a248')
+
+build() {
+ cd "$startdir/src/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make || return 1
+ make DESTDIR="$startdir/pkg" install
+
+ mkdir -p $startdir/pkg/etc/tinc/
+ tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/
+}
diff --git a/social/tomoyo-tools/PKGBUILD b/social/tomoyo-tools/PKGBUILD
new file mode 100644
index 000000000..aacd1dbe4
--- /dev/null
+++ b/social/tomoyo-tools/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk>
+
+pkgname=tomoyo-tools
+_basever=2.3.0
+_timestamp=20110211
+pkgver=${_basever}.${_timestamp}
+pkgrel=4
+pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernel 2.6.36 and later'
+arch=('i686' 'x86_64')
+url='http://tomoyo.sourceforge.jp'
+license=('GPL')
+depends=('ncurses')
+makedepends=('help2man')
+conflicts=('ccs-tools')
+install=tomoyo-tools.install
+source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/${pkgname}-${_basever}-${_timestamp}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ make -j1 || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make INSTALLDIR="${pkgdir}" install || return 1
+}
+
+sha256sums=('3144bbd6056528c85f63889c8b977b994d5596611b74afdc9a3924162cf94db0')
diff --git a/social/tomoyo-tools/tomoyo-tools.install b/social/tomoyo-tools/tomoyo-tools.install
new file mode 100644
index 000000000..6fb5e16d2
--- /dev/null
+++ b/social/tomoyo-tools/tomoyo-tools.install
@@ -0,0 +1,11 @@
+post_install () {
+ echo
+ echo " * To enable TOMOYO Linux, append 'security=tomoyo' to the kernel"
+ echo " boot options and initialize policy with this command:"
+ echo " /usr/lib/tomoyo/init_policy"
+ echo
+}
+
+post_upgrade () {
+ post_install $1
+}