~ubuntu-branches/ubuntu/wily/dhcpcd5/wily-proposed

« back to all changes in this revision

Viewing changes to defs.h

  • Committer: Package Import Robot
  • Author(s): Daniel Echeverry
  • Date: 2015-06-03 10:43:23 UTC
  • mfrom: (7.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20150603104323-74htea00somdput9
Tags: 6.9.0-1
* QA Upload
* New upstream release. Closes: #786772, #758713, #782085, #788693
* debian/control
  + Use Replaces instead Conflicts field
  + Bump Standards-Version 3.9.6
    + Update to DEP5 copyright format 1.0
* debian/rules
  + Add DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
* debian/patches
  + Add fix_ftbfs_kfreebsd.diff patch
    + Fix ftbfs on kfreebsd Closes: #770464
  + Add fix_manpage.diff patch
    * Fix lintian warning
  + Remove CVE-2014-6060.patch patch
    + Merge with upstream
  + Remove kfreebsd.diff patch
    * Upstream removed platform-bsd.c file in new version
* debian/prerm
  + Replace bashim with set -e
* debian/postint
  + Replace bashim with set -e
* debian/postrm
  + Replace bashim with set -e

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * dhcpcd - DHCP client daemon
3
 
 * Copyright (c) 2006-2013 Roy Marples <roy@marples.name>
 
3
 * Copyright (c) 2006-2015 Roy Marples <roy@marples.name>
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
6
6
 * modification, are permitted provided that the following conditions
28
28
#define CONFIG_H
29
29
 
30
30
#define PACKAGE                 "dhcpcd"
31
 
#define VERSION                 "6.0.5"
 
31
#define VERSION                 "6.9.0"
32
32
 
33
33
#ifndef CONFIG
34
34
# define CONFIG                 SYSCONFDIR "/" PACKAGE ".conf"
36
36
#ifndef SCRIPT
37
37
# define SCRIPT                 LIBEXECDIR "/" PACKAGE "-run-hooks"
38
38
#endif
 
39
#ifndef DEVDIR
 
40
# define DEVDIR                 LIBDIR "/" PACKAGE "/dev"
 
41
#endif
39
42
#ifndef DUID
40
43
# define DUID                   SYSCONFDIR "/" PACKAGE ".duid"
41
44
#endif
 
45
#ifndef SECRET
 
46
# define SECRET                 SYSCONFDIR "/" PACKAGE ".secret"
 
47
#endif
42
48
#ifndef LEASEFILE
43
 
# define LEASEFILE              DBDIR "/" PACKAGE "-%s.lease"
 
49
# define LEASEFILE              DBDIR "/" PACKAGE "-%s%s%s.lease"
44
50
#endif
45
51
#ifndef LEASEFILE6
46
 
# define LEASEFILE6             DBDIR "/" PACKAGE "-%s.lease6"
 
52
# define LEASEFILE6             LEASEFILE "6"
47
53
#endif
48
54
#ifndef PIDFILE
49
 
# define PIDFILE                RUNDIR "/" PACKAGE "%s%s.pid"
 
55
# define PIDFILE                RUNDIR "/" PACKAGE "%s%s%s.pid"
50
56
#endif
51
57
#ifndef CONTROLSOCKET
52
 
# define CONTROLSOCKET          RUNDIR "/" PACKAGE ".sock"
 
58
# define CONTROLSOCKET          RUNDIR "/" PACKAGE "%s%s.sock"
 
59
#endif
 
60
#ifndef UNPRIVSOCKET
 
61
# define UNPRIVSOCKET           RUNDIR "/" PACKAGE ".unpriv.sock"
 
62
#endif
 
63
#ifndef RDM_MONOFILE
 
64
# define RDM_MONOFILE           DBDIR "/" PACKAGE "-rdm.monotonic"
 
65
#endif
 
66
 
 
67
#ifndef NO_SIGNALS
 
68
#  define USE_SIGNALS
 
69
#endif
 
70
#ifndef USE_SIGNALS
 
71
#  ifndef THERE_IS_NO_FORK
 
72
#    define THERE_IS_NO_FORK
 
73
#  endif
53
74
#endif
54
75
 
55
76
#endif