summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPavel Vinogradov2022-08-24 14:10:25 -0400
committerPavel Vinogradov2022-08-24 14:11:33 -0400
commit9252ba9afc5be7c9289202e9ead2367f954ed67a (patch)
tree3f4a24fa2adc9da93f55e9a56fb35476b149f6c1 /net
parentacc76d842e8576c71372bb2889e95c6ddbd550f7 (diff)
net/i2pd: fixed ownersips setting in staged installation
Diffstat (limited to 'net')
-rwxr-xr-xnet/i2pd/FINAL1
-rw-r--r--net/i2pd/HISTORY2
-rwxr-xr-xnet/i2pd/INSTALL2
3 files changed, 4 insertions, 1 deletions
diff --git a/net/i2pd/FINAL b/net/i2pd/FINAL
new file mode 100755
index 0000000000..46f80d30ff
--- /dev/null
+++ b/net/i2pd/FINAL
@@ -0,0 +1 @@
+chown "nobody:nogroup" "${INSTALL_ROOT}/var/lib/i2pd"
diff --git a/net/i2pd/HISTORY b/net/i2pd/HISTORY
index b62f92da78..f11128b0b9 100644
--- a/net/i2pd/HISTORY
+++ b/net/i2pd/HISTORY
@@ -1,6 +1,8 @@
2022-08-24 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.43.0
* PRE_BUILD, patches/libi2pd-link.patch: added to fix library linking
+ * INSTALL, FINAL: moved ownerships setting to FINAL so it actually works in
+ staged installation
2022-06-26 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.42.1
diff --git a/net/i2pd/INSTALL b/net/i2pd/INSTALL
index 601e93ea78..de6d67a77f 100755
--- a/net/i2pd/INSTALL
+++ b/net/i2pd/INSTALL
@@ -5,7 +5,7 @@ cd ${SOURCE_DIRECTORY} &&
install -vm 755 -d "${INSTALL_ROOT}/usr/share/i2pd" &&
cp -vr contrib/certificates "${INSTALL_ROOT}/usr/share/i2pd" &&
-install -vm 755 -d -o nobody -g nogroup "${INSTALL_ROOT}/var/lib/i2pd" &&
+mkdir -p "${INSTALL_ROOT}/var/lib/i2pd" &&
ln -vsf "${TRACK_ROOT}/usr/share/i2pd/certificates" \
"${INSTALL_ROOT}/var/lib/i2pd/certificates" &&