summaryrefslogtreecommitdiff
path: root/distcc
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-02-28 13:53:31 +0100
committerTim Biermann <tbier@posteo.de>2022-02-28 13:53:31 +0100
commitd02e928c69fbb33da44baece527ab1be3c9fb002 (patch)
treeaac07f76b9bc56dd9556cd38c7cb205cbc3d2076 /distcc
parentfbbfe373d51bea36dda03b64744ab62609494c16 (diff)
downloadcontrib-d02e928c69fbb33da44baece527ab1be3c9fb002.tar.gz
contrib-d02e928c69fbb33da44baece527ab1be3c9fb002.tar.xz
distcc: move rundir to /run
Diffstat (limited to 'distcc')
-rw-r--r--distcc/.signature6
-rw-r--r--distcc/Pkgfile7
-rw-r--r--distcc/distccd2
3 files changed, 6 insertions, 9 deletions
diff --git a/distcc/.signature b/distcc/.signature
index 571eb69c7..e6dd6c1fb 100644
--- a/distcc/.signature
+++ b/distcc/.signature
@@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36+/mPtJEvd4vwjUCsmJSDpclLSIzxd92MKmLQ7eo0EhKt/cDkQqNPTAoIeCnk9sop6e1q+K1unxp4iz5M/ATQ0=
-SHA256 (Pkgfile) = ab600827f472d9f4e5b902da4368d778fedc80dac8c03fcebf69ffd0bd459186
+RWSagIOpLGJF3wn98CWr520YAVBLjfYQJOjzyYe12X90c41Cx2aY9m1f5GPqiIc1wOEOIC96ahfYlfBPHW+I/Is40/Lwe53pBQ0=
+SHA256 (Pkgfile) = 6a59a781996dcfa65f56eab286cec2e77348dad8963aa75e1acefcddd09d135d
SHA256 (.footprint) = fb48d5aa6716e60ef693e7f6fa644a28ed997cdb4277e030ae704717c0db74a2
SHA256 (distcc-3.4.tar.gz) = 2b99edda9dad9dbf283933a02eace6de7423fe5650daa4a728c950e5cd37bd7d
-SHA256 (distccd) = 5ff8d45e3e572cf0d4fb4e2e827bd77a618556c275f98d2770aff5621c4d1371
+SHA256 (distccd) = 43729d96aea5b876de1d52e0978db322f1853c082fc0ca127e82cb0db63d3579
SHA256 (distccd.conf) = afd1ba97aaf23061ba4b4d1a1613eee3a709c91311260de494ce063556b463e3
diff --git a/distcc/Pkgfile b/distcc/Pkgfile
index 2cd676f46..b2ec9af57 100644
--- a/distcc/Pkgfile
+++ b/distcc/Pkgfile
@@ -5,7 +5,7 @@
name=distcc
version=3.4
-release=1
+release=2
source=(https://github.com/distcc/distcc/releases/download/v$version/$name-$version.tar.gz
distccd distccd.conf)
@@ -20,6 +20,7 @@ prt-get isinst popt || PKGMK_DISTCC+=' --with-included-popt'
./configure ${PKGMK_DISTCC} \
--prefix=/usr \
--sysconfdir=/etc \
+ --runstatedir=/run \
--enable-rfc2553
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python3
@@ -42,10 +43,6 @@ prt-get isinst popt || PKGMK_DISTCC+=' --with-included-popt'
# install config file
install -D -m 0644 $SRC/distccd.conf $PKG/etc/distccd.conf
- # create rundir
- install -d $PKG/var/run/distcc
- chown distcc:distcc $PKG/var/run/distcc
-
# cleanup
rm -r $PKG/usr/share/doc $PKG/etc/distcc $PKG/etc/default
rm $PKG/usr/sbin/update-distcc-symlinks
diff --git a/distcc/distccd b/distcc/distccd
index 3643e7b9b..5c695b353 100644
--- a/distcc/distccd
+++ b/distcc/distccd
@@ -5,7 +5,7 @@
USER="distcc"
GROUP="distcc"
-RUNDIR="/var/run/distcc"
+RUNDIR="/run/distcc"
PIDFILE="$RUNDIR/distcc.pid"
PROG="/usr/sbin/distccd"
ARGS="--daemon --pid-file $PIDFILE"

Generated by cgit