summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/ucspi-tcp/chmod.patch
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-04 17:39:43 +0200
committerlassulus <lassulus@lassul.us>2017-07-04 17:39:43 +0200
commite86202da34332c6cd1a270a6d6b105dd2fb6e888 (patch)
treebca249e3fa706a56e00e0a71c7c5d28fed33e872 /krebs/5pkgs/simple/ucspi-tcp/chmod.patch
parentaa63b803a0506bba15ade168776a88a7bbc9042f (diff)
pkgs.ucspi-tcp: init
current stable of this pkg is broken, so we vendor it in nixpkgs. We removed the setuid bit from the build binaries
Diffstat (limited to 'krebs/5pkgs/simple/ucspi-tcp/chmod.patch')
-rw-r--r--krebs/5pkgs/simple/ucspi-tcp/chmod.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/ucspi-tcp/chmod.patch b/krebs/5pkgs/simple/ucspi-tcp/chmod.patch
new file mode 100644
index 000000000..dd6933208
--- /dev/null
+++ b/krebs/5pkgs/simple/ucspi-tcp/chmod.patch
@@ -0,0 +1,15 @@
+diff --git a/hier.c b/hier.c
+index 5663ada..1d73b84 100644
+--- a/hier.c
++++ b/hier.c
+@@ -2,8 +2,8 @@
+
+ void hier()
+ {
+- h(auto_home,-1,-1,02755);
+- d(auto_home,"bin",-1,-1,02755);
++ h(auto_home,-1,-1,0755);
++ d(auto_home,"bin",-1,-1,0755);
+
+ c(auto_home,"bin","tcpserver",-1,-1,0755);
+ c(auto_home,"bin","tcprules",-1,-1,0755);