[syslog-ng] 3.2 and 3.3 git experiences

Gergely Nagy algernon at balabit.hu
Sat Nov 5 15:25:11 CET 2011


Peter Czanik <czanik at balabit.hu> writes:

> The above tests were done on a FreeBSD 8.1 machine. I'll do a quick test
> on FreeBSD 9 (the current cvs version) later this afternoon, as the
> Makefile seems to have v9 related fixes:
> .if ${OSVERSION} >= 900007
>         @${REINPLACE_CMD} \
>                 -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \
>                 -e 's|ut_name|ut_user|' \
>                 ${WRKSRC}/configure ${WRKSRC}/modules/afuser/afuser.c \
>                 ${WRKSRC}/lib/utils.c ${WRKSRC}/lib/utils.h
> .endif

Wouldn't it be better if we turned this into a proper patch, so we
wouldn't need any patching at all?

This kind of sed magic is... how can I put it gently? Horrible. I'll see
if I can come up with anything better.

-- 
|8]



More information about the syslog-ng mailing list