Ticket #39413: patch-Misc-Portable.h.diff

File patch-Misc-Portable.h.diff, 1.8 KB (added by fclaire@…, 11 years ago)
  • Misc/Portable.h

    old new  
    158158#endif
    159159
    160160#if defined(LINUX) || defined(BSD) || defined(SUNOS)
    161 #define WORKDIR            "/var/lib/dibbler"
     161#define WORKDIR            "@@PREFIX@@/var/lib/dibbler"
    162162#define DEFAULT_SCRIPT     ""
    163 #define CLNTCONF_FILE      "/etc/dibbler/client.conf"
    164 #define SRVCONF_FILE       "/etc/dibbler/server.conf"
    165 #define RELCONF_FILE       "/etc/dibbler/relay.conf"
     163#define CLNTCONF_FILE      "@@PREFIX@@/etc/dibbler/client.conf"
     164#define SRVCONF_FILE       "@@PREFIX@@/etc/dibbler/server.conf"
     165#define RELCONF_FILE       "@@PREFIX@@/etc/dibbler/relay.conf"
    166166#define RESOLVCONF_FILE    "/etc/resolv.conf"
    167167#define NTPCONF_FILE       "/etc/ntp.conf"
    168 #define RADVD_FILE         "/etc/dibbler/radvd.conf"
    169 #define CLNTPID_FILE       "/var/lib/dibbler/client.pid"
    170 #define SRVPID_FILE        "/var/lib/dibbler/server.pid"
    171 #define RELPID_FILE        "/var/lib/dibbler/relay.pid"
    172 #define CLNTLOG_FILE       "/var/log/dibbler/dibbler-client.log"
    173 #define SRVLOG_FILE        "/var/log/dibbler/dibbler-server.log"
    174 #define RELLOG_FILE        "/var/log/dibbler/dibbler-relay.log"
     168#define RADVD_FILE         "@@PREFIX@@/etc/dibbler/radvd.conf"
     169#define CLNTPID_FILE       "@@PREFIX@@/var/lib/dibbler/client.pid"
     170#define SRVPID_FILE        "@@PREFIX@@/var/lib/dibbler/server.pid"
     171#define RELPID_FILE        "@@PREFIX@@/var/lib/dibbler/relay.pid"
     172#define CLNTLOG_FILE       "@@PREFIX@@/var/log/dibbler/dibbler-client.log"
     173#define SRVLOG_FILE        "@@PREFIX@@/var/log/dibbler/dibbler-server.log"
     174#define RELLOG_FILE        "@@PREFIX@@/var/log/dibbler/dibbler-relay.log"
    175175#define NULLFILE           "/dev/null"
    176176
    177177/* those defines were initially used on Linux only, but hopefully