distcc: unmaintained
This commit is contained in:
parent
b8b4775167
commit
4d58d906a3
@ -1,20 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/distccd
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/distcc
|
||||
-rwxr-xr-x root/root usr/bin/distccd
|
||||
-rwxr-xr-x root/root usr/bin/distccmon-text
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/distcc/
|
||||
lrwxrwxrwx root/root usr/lib/distcc/c++ -> ../../bin/distcc
|
||||
lrwxrwxrwx root/root usr/lib/distcc/cc -> ../../bin/distcc
|
||||
lrwxrwxrwx root/root usr/lib/distcc/g++ -> ../../bin/distcc
|
||||
lrwxrwxrwx root/root usr/lib/distcc/gcc -> ../../bin/distcc
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/distcc.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/distccd.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/distccmon-text.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
@ -1,2 +0,0 @@
|
||||
0d6b80a1efc3a3d816c4f4175f63eaa2 distcc-2.18.3.tar.bz2
|
||||
3e6bdcea02d0ec785f2cfed074bc5614 distccd
|
@ -1,28 +0,0 @@
|
||||
# Packager:
|
||||
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
|
||||
# Description: A tool to distribute compilations
|
||||
# URL: http://distcc.samba.org
|
||||
|
||||
name=distcc
|
||||
version=2.18.3
|
||||
release=2
|
||||
source=(http://${name}.samba.org/ftp/${name}/${name}-${version}.tar.bz2 \
|
||||
distccd)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --disable-nls --without-gtk
|
||||
make
|
||||
make prefix=$PKG/usr install
|
||||
|
||||
mkdir -p $PKG/usr/lib/$name
|
||||
for c in cc c++ gcc g++; do
|
||||
cd $PKG/usr/lib/$name && ln -s ../../bin/distcc $c
|
||||
done
|
||||
|
||||
mkdir -p $PKG/etc/rc.d
|
||||
install -m 755 $SRC/distccd $PKG/etc/rc.d/distccd
|
||||
|
||||
rm -rf $PKG/usr/share/doc
|
||||
rm -rf $PKG/usr/info/
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
POST-INSTALL
|
||||
to use distcc, just
|
||||
a) export DISTCC_HOSTS to include the compilation hosts
|
||||
b) prepend /usr/lib/distcc to your $PATH environment variable.
|
||||
(e.g. in pkgmk.conf)
|
||||
c) export MAKEFLAGS=-j<n> where n is a number representing the number of
|
||||
parallel jobs you want
|
||||
|
||||
|
||||
DISTCCD SERVICE
|
||||
|
||||
There's a service to simplify running distccd. By default, it uses allows connections from '192.168.0.0/24' and runs as user 'nobody'. Both values can be overridden in /etc/rc.conf, like this:
|
||||
|
||||
----
|
||||
DISTCC_ALLOW=192.168.1.0/24
|
||||
DISTCC_USER=otheruser
|
||||
----
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/distccd: start/stop distcc daemon
|
||||
#
|
||||
|
||||
. /etc/rc.conf
|
||||
if [ -z "$DISTCC_ALLOW" ]; then
|
||||
echo "Please define a range of IPs allowed to connect to this distccd"
|
||||
echo "host in DISTCC_ALLOW in /etc/rc.conf. More detailed information"
|
||||
echo "can be found in distccd's man page."
|
||||
exit -1
|
||||
fi
|
||||
DISTCC_USER=${DISTCC_USER:=nobody}
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/bin/distccd --daemon --user $DISTCC_USER --allow $DISTCC_ALLOW
|
||||
;;
|
||||
stop)
|
||||
killall -q /usr/bin/distccd
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
x
Reference in New Issue
Block a user