source:
npl/internetserver/djbdns/patches/0009-usr-sbin.patch
@
720681d
Last change on this file since 720681d was 37aaf89, checked in by , 3 years ago | |
---|---|
|
|
File size: 3.7 KB |
-
axfrdns-conf.c
Description: Teach the *-conf tools about /usr/sbin. In the Debian djbdns binary packages, some programs and tools are located in the /usr/sbin directory, not in /usr/bin. Forwarded: not-needed Author: Peter Pentchev <roam@ringlet.net> Last-Update: 2020-07-26
a b 51 51 start("run"); 52 52 outs("#!/bin/sh\nexec 2>&1\nexec envdir ./env sh -c '\n exec envuidgid "); outs(user); 53 53 outs(" softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb -- \"$IP\" 53 "); 54 outs(auto_home); outs("/ bin/axfrdns\n'\n");54 outs(auto_home); outs("/sbin/axfrdns\n'\n"); 55 55 finish(); 56 56 perm(0755); 57 57 -
dnscache-conf.c
a b 123 123 seed_addtime(); start("run"); 124 124 outs("#!/bin/sh\nexec 2>&1\nexec <seed\nexec envdir ./env sh -c '\n exec envuidgid "); outs(user); 125 125 outs(" softlimit -o250 -d \"$DATALIMIT\" "); 126 outs(auto_home); outs("/ bin/dnscache\n'\n"); finish();126 outs(auto_home); outs("/sbin/dnscache\n'\n"); finish(); 127 127 seed_addtime(); perm(0755); 128 128 seed_addtime(); start("log/run"); 129 129 outs("#!/bin/sh\nexec setuidgid "); outs(loguser); -
rbldns-conf.c
a b 52 52 start("run"); 53 53 outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user); 54 54 outs(" envdir ./env softlimit -d250000 "); 55 outs(auto_home); outs("/ bin/rbldns\n");55 outs(auto_home); outs("/sbin/rbldns\n"); 56 56 finish(); 57 57 perm(0755); 58 58 … … 63 63 perm(0644); 64 64 start("root/Makefile"); 65 65 outs("data.cdb: data\n"); 66 outs("\t"); outs(auto_home); outs("/ bin/rbldns-data\n");66 outs("\t"); outs(auto_home); outs("/sbin/rbldns-data\n"); 67 67 finish(); 68 68 perm(0644); 69 69 -
tinydns-conf.c
a b 47 47 start("run"); 48 48 outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user); 49 49 outs(" envdir ./env softlimit -d300000 "); 50 outs(auto_home); outs("/ bin/tinydns\n");50 outs(auto_home); outs("/sbin/tinydns\n"); 51 51 finish(); 52 52 perm(0755); 53 53 … … 60 60 61 61 start("root/add-ns"); 62 62 outs("#!/bin/sh\nexec "); 63 outs(auto_home); outs("/ bin/tinydns-edit data data.new add ns ${1+\"$@\"}\n");63 outs(auto_home); outs("/sbin/tinydns-edit data data.new add ns ${1+\"$@\"}\n"); 64 64 finish(); 65 65 perm(0755); 66 66 67 67 start("root/add-childns"); 68 68 outs("#!/bin/sh\nexec "); 69 outs(auto_home); outs("/ bin/tinydns-edit data data.new add childns ${1+\"$@\"}\n");69 outs(auto_home); outs("/sbin/tinydns-edit data data.new add childns ${1+\"$@\"}\n"); 70 70 finish(); 71 71 perm(0755); 72 72 73 73 start("root/add-host"); 74 74 outs("#!/bin/sh\nexec "); 75 outs(auto_home); outs("/ bin/tinydns-edit data data.new add host ${1+\"$@\"}\n");75 outs(auto_home); outs("/sbin/tinydns-edit data data.new add host ${1+\"$@\"}\n"); 76 76 finish(); 77 77 perm(0755); 78 78 79 79 start("root/add-alias"); 80 80 outs("#!/bin/sh\nexec "); 81 outs(auto_home); outs("/ bin/tinydns-edit data data.new add alias ${1+\"$@\"}\n");81 outs(auto_home); outs("/sbin/tinydns-edit data data.new add alias ${1+\"$@\"}\n"); 82 82 finish(); 83 83 perm(0755); 84 84 85 85 start("root/add-mx"); 86 86 outs("#!/bin/sh\nexec "); 87 outs(auto_home); outs("/ bin/tinydns-edit data data.new add mx ${1+\"$@\"}\n");87 outs(auto_home); outs("/sbin/tinydns-edit data data.new add mx ${1+\"$@\"}\n"); 88 88 finish(); 89 89 perm(0755); 90 90 91 91 start("root/Makefile"); 92 92 outs("data.cdb: data\n"); 93 outs("\t"); outs(auto_home); outs("/ bin/tinydns-data\n");93 outs("\t"); outs(auto_home); outs("/sbin/tinydns-data\n"); 94 94 finish(); 95 95 perm(0644); 96 96 -
walldns-conf.c
a b 47 47 start("run"); 48 48 outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user); 49 49 outs(" envdir ./env softlimit -d250000 "); 50 outs(auto_home); outs("/ bin/walldns\n");50 outs(auto_home); outs("/sbin/walldns\n"); 51 51 finish(); 52 52 perm(0755); 53 53
Note: See TracBrowser
for help on using the repository browser.