summaryrefslogtreecommitdiffstats
path: root/main/distcc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-15 13:37:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-15 13:37:53 +0000
commitd9ff9a38887f35ec8acbe1282703a79c2aa02d28 (patch)
treea734ead9803fccd697f5729bc6beab901838e50f /main/distcc
parent4819018efc8e6ae441611752b34fe423e8131b84 (diff)
downloadaports-d9ff9a38887f35ec8acbe1282703a79c2aa02d28.tar.bz2
aports-d9ff9a38887f35ec8acbe1282703a79c2aa02d28.tar.xz
main/distcc: start after firewall. separate python package
Diffstat (limited to 'main/distcc')
-rw-r--r--main/distcc/APKBUILD16
-rw-r--r--main/distcc/distccd.initd1
2 files changed, 12 insertions, 5 deletions
diff --git a/main/distcc/APKBUILD b/main/distcc/APKBUILD
index 002885ea0..27803991d 100644
--- a/main/distcc/APKBUILD
+++ b/main/distcc/APKBUILD
@@ -1,17 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=distcc
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc="A distributed C, C++, Obj C compiler"
url="http://distcc.org"
license="GPL-2"
-depends="popt"
-makedepends="popt-dev"
+depends=
+makedepends="popt-dev python-dev"
source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2
distcc-3.1-clone.patch
distcc-hardened.patch
distccd.initd distccd.confd"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-python"
build ()
{
@@ -39,8 +39,14 @@ build ()
ln -sf /usr/bin/$pkgname "$d"/cpp
}
+python() {
+ pkgdesc="Python bindings to distcc"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
+}
+
md5sums="a1a9d3853df7133669fffec2a9aab9f3 distcc-3.1.tar.bz2
29fe296aa2985eea7af7402f421db187 distcc-3.1-clone.patch
351ca958ff4869f8a2795d8ca6647de1 distcc-hardened.patch
-5cf566965873279fedc16934a2ba6cd0 distccd.initd
+a0dc869866f17054142c964d29925e70 distccd.initd
e9e0ccc9f5813b9c3c88c8687b2ebc73 distccd.confd"
diff --git a/main/distcc/distccd.initd b/main/distcc/distccd.initd
index c1490fae3..5d90cfb9b 100644
--- a/main/distcc/distccd.initd
+++ b/main/distcc/distccd.initd
@@ -7,6 +7,7 @@ depend() {
[ ${DISTCCD_AVAHI} = yes ] && avahi="avahi-daemon"
#endif
need net ${avahi}
+ after firewall
use ypbind
}