qLinux
… a distribution study


<< Prev
Popt-1.18

Next >>
Ntp-4.2.8p15


Logrotate-3.19.0

Download: popt-1.18.tar.gz. Fix the build system:

patch -Np1 -i logrotate-3.19.0-bld-20220321.patch

Fix the sources ( logrotate.c ):

patch -Np1 -i logrotate-3.19.0-src-20220321.patch

Configure the package:

./configure --prefix=/qlnx \
            CFLAGS="-I/libs/inc" \
            LDFLAGS="-L/libs/lib" \
            --with-default-mail-command=/qlnx/bin/false \
            --with-compress-command=/qlnx/bin/gzip \
            --with-uncompress-command=/qlnx/bin/gunzip \
            --with-state-file-path=/qlnx/var \
            --sbindir=/qlnx/bin \
            --mandir=/qlnx/man

Build and install logrotate:

make
make install

<< Prev
Popt-1.18

Next >>
Ntp-4.2.8p15