source: npl/internetserver/djbdns/patches/0009-usr-sbin.patch @ 9c06000

Last change on this file since 9c06000 was 37aaf89, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

djbdns patches, so it works correctly with twitter etc

  • Property mode set to 100644
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  
    5151  start("run");
    5252  outs("#!/bin/sh\nexec 2>&1\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
    5353  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");
    5555  finish();
    5656  perm(0755);
    5757
  • dnscache-conf.c

    a b  
    123123  seed_addtime(); start("run");
    124124  outs("#!/bin/sh\nexec 2>&1\nexec <seed\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
    125125  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();
    127127  seed_addtime(); perm(0755);
    128128  seed_addtime(); start("log/run");
    129129  outs("#!/bin/sh\nexec setuidgid "); outs(loguser);
  • rbldns-conf.c

    a b  
    5252  start("run");
    5353  outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user);
    5454  outs(" envdir ./env softlimit -d250000 ");
    55   outs(auto_home); outs("/bin/rbldns\n");
     55  outs(auto_home); outs("/sbin/rbldns\n");
    5656  finish();
    5757  perm(0755);
    5858
     
    6363  perm(0644);
    6464  start("root/Makefile");
    6565  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");
    6767  finish();
    6868  perm(0644);
    6969
  • tinydns-conf.c

    a b  
    4747  start("run");
    4848  outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user);
    4949  outs(" envdir ./env softlimit -d300000 ");
    50   outs(auto_home); outs("/bin/tinydns\n");
     50  outs(auto_home); outs("/sbin/tinydns\n");
    5151  finish();
    5252  perm(0755);
    5353
     
    6060
    6161  start("root/add-ns");
    6262  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");
    6464  finish();
    6565  perm(0755);
    6666
    6767  start("root/add-childns");
    6868  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");
    7070  finish();
    7171  perm(0755);
    7272
    7373  start("root/add-host");
    7474  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");
    7676  finish();
    7777  perm(0755);
    7878
    7979  start("root/add-alias");
    8080  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");
    8282  finish();
    8383  perm(0755);
    8484
    8585  start("root/add-mx");
    8686  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");
    8888  finish();
    8989  perm(0755);
    9090
    9191  start("root/Makefile");
    9292  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");
    9494  finish();
    9595  perm(0644);
    9696
  • walldns-conf.c

    a b  
    4747  start("run");
    4848  outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user);
    4949  outs(" envdir ./env softlimit -d250000 ");
    50   outs(auto_home); outs("/bin/walldns\n");
     50  outs(auto_home); outs("/sbin/walldns\n");
    5151  finish();
    5252  perm(0755);
    5353
Note: See TracBrowser for help on using the repository browser.