Skip to content

Commit 83d40b4

Browse files
LassulusMic92
authored andcommittedJul 4, 2017
ucspi-tcp: remove setuid from install script
(cherry picked from commit d461e64)
1 parent 3cb4728 commit 83d40b4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

‎pkgs/tools/networking/ucspi-tcp/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
1414
url = "http://ftp.de.debian.org/debian/pool/main/u/ucspi-tcp/ucspi-tcp_0.88-3.diff.gz";
1515
sha256 = "0mzmhz8hjkrs0khmkzs5i0s1kgmgaqz07h493bd5jj5fm5njxln6";
1616
})
17+
./remove-setuid.patch
1718
];
1819

1920
# Apply Debian patches
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/hier.c b/hier.c
2+
index 5663ada..1d73b84 100644
3+
--- a/hier.c
4+
+++ b/hier.c
5+
@@ -2,8 +2,8 @@
6+
7+
void hier()
8+
{
9+
- h(auto_home,-1,-1,02755);
10+
- d(auto_home,"bin",-1,-1,02755);
11+
+ h(auto_home,-1,-1,0755);
12+
+ d(auto_home,"bin",-1,-1,0755);
13+
14+
c(auto_home,"bin","tcpserver",-1,-1,0755);
15+
c(auto_home,"bin","tcprules",-1,-1,0755);

0 commit comments

Comments
 (0)
Please sign in to comment.