~davewalker/ubuntu/lucid/logrotate/sync_3.7.8-5

« back to all changes in this revision

Viewing changes to .pc/deb-config-h.patch/config.h

  • Committer: Dave Walker (Daviey)
  • Date: 2010-04-03 21:21:05 UTC
  • mfrom: (4.2.3 sid)
  • Revision ID: davewalker@ubuntu.com-20100403212105-c47hkcp4sgyq3jek
* Merge from debian unstable (LP: #554823)
  - remaining changes:
     + debian/control: Drop mailx to Suggests for Ubuntu; it's only 
       used on request, and we don't configure an MTA by default.
  - Fixes config parser to not get confused when a wildcard produces 
    no results. (LP: #392532)
* New patch:
  + parser571033.patch: fix the config parser to not get confused when
    a wildcard produces no results. (Closes: 571033)
* Switch to dpkg-source 3.0 (quilt) format
* Bump debhelper version to 7 (dh_clean -k -> dh_prep).
* Update standards version to 3.8.4 (no changes).

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"
 
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"
 
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"
 
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