From bbb460f85242e6ac03f47b74b9d0be66ff089ac4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 May 2011 22:34:00 +0000 Subject: Mon May 9 22:34:00 UTC 2011 --- social/diaspora-git/PKGBUILD | 3 ++- social/ruby-headers/PKGBUILD | 11 ++++++----- social/tinc/PKGBUILD | 21 +++++++++++++++++++++ social/tomoyo-tools/PKGBUILD | 28 ++++++++++++++++++++++++++++ social/tomoyo-tools/tomoyo-tools.install | 11 +++++++++++ 5 files changed, 68 insertions(+), 6 deletions(-) create mode 100644 social/tinc/PKGBUILD create mode 100644 social/tomoyo-tools/PKGBUILD create mode 100644 social/tomoyo-tools/tomoyo-tools.install (limited to 'social') 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 +# Maintainer: fauno +# Contributor: Hilton Medeiros 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 + +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 +} -- cgit v1.2.3-54-g00ecf