Opened 19 years ago

Closed 19 years ago

#3680 closed defect (fixed)

NEW: logrotate-3.7

Reported by: mark.duling@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

logrotate-3.7

The portfile can be found here: http://homepage.mac.com/duling/dports/logrotate/Portfile

Description: Rotates, compresses, and mails system logs. This is a utility used on RedHat systems.

Homepage: http://packages.debian.org/stable/admin/logrotate

Comments: The port depends upon popt, which in turn depends upon: libiconv & gettext. I tested it on OS X 10.3 and 10.4. I tried to avoid the funky build.cmd command:

build.cmd make POPT_DIR=${prefix}/include

by using build.args, but I was unable to accomplish completely this with CFLAGS. I tried this:

make CFLAGS="-I/opt/local/include" LDFLAGS="-lpopt -L/opt/local/lib"

but get errors I was unable to resolve:

logrotate.c: In function `main': logrotate.c:1090: error: parse error before "VERSION" make: * [logrotate.o] Error 1

The POPT_DIR=${prefix}/include directive is listed in the readme file for logrotate as something to be used for HP Unix systems.

Change History (1)

comment:1 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

commited thanks

Note: See TracTickets for help on using tickets.