On 11/05/2011 03:25 PM, Gergely Nagy wrote:
Peter Czanik <czanik@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. OK. There is nothing urgent. The above hack works, and 9.0 is not yet officially released. Let me know, if you have anything to test! Bye, CzP
-- Peter Czanik (CzP) <czanik@balabit.hu> BalaBit IT Security / syslog-ng upstream http://czanik.blogs.balabit.com/