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

« back to all changes in this revision

Viewing changes to README.HPUX

  • 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
How to build and install logrotate on HP-UX 11.00 (these instructions should
 
2
also work on HP-UX 10.20):
 
3
 
 
4
1.  Obtain and install the following GNU packages for HP-UX:
 
5
        binutils 2.9.1
 
6
        gcc 2.95.2
 
7
        make 3.78.1
 
8
    I used the packages at the Software Porting and Archive Centre for HP-UX
 
9
    at http://hpux.cs.utah.edu/.
 
10
 
 
11
    Obtain and install the following GNU/Linux to HP-UX Porting package:
 
12
        libhplx library
 
13
    See http://devresource.hp.com/LPK/index.html for downloads.
 
14
    This library is needed to provide the ??? function.
 
15
 
 
16
2.  Obtain, build, and install popt 1.4 (there doesn't seem to be a build at
 
17
    the Porting Centre.)
 
18
    See ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/popt-1.6.4.tar.gz
 
19
    Install it into the directory of your choice (i.e. 
 
20
    "./configure --prefix=/opt/popt").
 
21
 
 
22
3.  Build logrotate, telling it where to find popt and hplx installation. The
 
23
    POPT_DIR defaults to /usr/local and HPLX_DIR defaults to /usr/local/hplx:
 
24
        gmake POPT_DIR=/usr/local HPLX_DIR=/usr/local/hplx
 
25
 
 
26
4.  Install logrotate into your desired directory (BASEDIR defaults to
 
27
    /usr/local):
 
28
        gmake install BASEDIR=/usr/local
 
29
 
 
30
5.  Copy the configuration files into your desired location.
 
31
        cp examples/logrotate-default /etc/logrotate.conf
 
32
        mkdir /etc/logrotate.d
 
33
 
 
34
6.  Set up a cron job to run logrotate daily. See examples/logrotate.cron.
 
35
 
 
36
7.  I also recommend setting CLEAN_ADM=0 in /etc/rc.config.d/clean, and
 
37
    setting up an init script to use logrotate for this instead.  This way,
 
38
    logrotate manages all logfile pruning.
 
39
 
 
40
 
 
41
Questions, comments, abuse to:
 
42
    Paul D. Gear <citecpdg@citec.qld.gov.au>, <paulgear@bigfoot.com>
 
43
    Danial M. Howard <howadani@isu.edu>, <dmhoward@byu.edu>