summaryrefslogtreecommitdiff
path: root/libre-testing/inetutils/inetutils.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/inetutils/inetutils.install')
-rw-r--r--libre-testing/inetutils/inetutils.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre-testing/inetutils/inetutils.install b/libre-testing/inetutils/inetutils.install
new file mode 100644
index 000000000..4776e7e04
--- /dev/null
+++ b/libre-testing/inetutils/inetutils.install
@@ -0,0 +1,9 @@
+post_install() {
+ setcap cap_net_bind_service=+ep usr/bin/rcp 2>/dev/null || chmod +s usr/bin/rcp
+ setcap cap_net_bind_service=+ep usr/bin/rlogin 2>/dev/null || chmod +s usr/bin/rlogin
+ setcap cap_net_bind_service=+ep usr/bin/rsh 2>/dev/null || chmod +s usr/bin/rsh
+}
+
+post_upgrade() {
+ post_install
+}