~ubuntu-branches/ubuntu/edgy/logrotate/edgy

« back to all changes in this revision

Viewing changes to config.h

  • Committer: Bazaar Package Importer
  • Author(s): Paul Martin
  • Date: 2004-06-11 13:51:34 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040611135134-xwwlztb186794ikt
Tags: 3.7-2
* Added commented out stuff in debian/rules to build a 
  logrotate-selinux package should Russell's move to get libselinux1 
  made "base" fail.
* Patch: 21-taboo-to-debug, reduces the "Ignoring..." messages of
  the taboo filter from ERROR to DEBUG. (Closes: #249073)
* Patch: 30-config-h, changed to fix upstream bug with mailing
  logs. (Closes: #253837)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * OS-specific definitions
 
3
 */
 
4
 
 
5
#ifdef __hpux
 
6
    #define DEFAULT_MAIL_COMMAND "/usr/bin/mailx -s"
 
7
    #define COMPRESS_COMMAND "/usr/contrib/bin/gzip"
 
8
    #define UNCOMPRESS_COMMAND " /usr/contrib/bin/gunzip"
 
9
    #define STATEFILE "/var/run/logrotate.status"
 
10
#endif
 
11
 
 
12
#ifdef SunOS
 
13
    #define DEFAULT_MAIL_COMMAND "/usr/bin/mailx -s"
 
14
    #define COMPRESS_COMMAND "/usr/local/bin/gzip"
 
15
    #define UNCOMPRESS_COMMAND "/usr/local/bin/gunzip"
 
16
    #define STATEFILE "/var/log/logrotate.status"
 
17
#endif
 
18
 
 
19
/*
 
20
 * Default settings for Linux - leave these last.
 
21
 */
 
22
#ifndef DEFAULT_MAIL_COMMAND
 
23
    #define DEFAULT_MAIL_COMMAND "/bin/mail -s"
 
24
#endif
 
25
 
 
26
#ifndef COMPRESS_COMMAND
 
27
    #define COMPRESS_COMMAND "/bin/gzip"
 
28
#endif
 
29
 
 
30
#ifndef COMPRESS_EXT
 
31
    #define COMPRESS_EXT ".gz"
 
32
#endif
 
33
 
 
34
#ifndef UNCOMPRESS_COMMAND
 
35
    #define UNCOMPRESS_COMMAND "/bin/gunzip"
 
36
#endif
 
37
 
 
38
#ifndef STATEFILE
 
39
    #define STATEFILE "/var/lib/logrotate.status"
 
40
#endif
 
41