<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div style="" class="">confirm a6d843f7ad7d1dbf1fefb6f12432e54941a680a9<br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="" class=""><span style="" class="">I first configure and compile eventlog (eventlog-0.2.13) and then configure and compile syslog-ng (syslog-ng-3.2.5).</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color:rgb(0, 0,
 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">I configure syslog-ng with following parameters:</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">&nbsp; --with-libnet=${STAGING_BINDIR_CROSS} \<br style="" class="">&nbsp; --enable-dynamic-linking \<br style="" class="">&nbsp; ${noipv6} \<br style="" class="">&nbsp; --enable-ssl \<br style="" class="">&nbsp; --disable-sub-streams \<br style="" class="">&nbsp; --disable-pacct \<br style="" class="">&nbsp; --disable-linux-caps \<br style="" class="">&nbsp; --disable-pcre \<br style="" class="">&nbsp; --disable-sql \<br style="" class="">&nbsp; --enable-systemd \<br style="" class="">&nbsp;
 --with-systemdsystemunitdir=${systemd_unitdir}/system \</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">And I install it using:</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mv ${D}/${sysconfdir}/modules.conf ${D}/${sysconfdir}/scl-modules.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sed
 -i "s#@include 'modules.conf'#@include 'scl-modules.conf'#g" ${D}/${sysconfdir}/scl.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -d ${D}/${sysconfdir}/${PN}<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -d ${D}/${sysconfdir}/init.d<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">with </span><br style="" class=""><span style="" class="">${sysconfdir = /etc</span><br style="" class=""><span style="" class="">${PN}=syslog-ng</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">I used this syslog-ng.inc file:</span></div><div class="" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class=""><span style="" class=""></span></div><span style="" class="">DESCRIPTION = "Alternative system logger
 daemon"<br style="" class="">DEPENDS = "libol flex eventlog glib-2.0"<br style="" class="">LICENSE = "GPL LGPL"<br style="" class="">LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"<br style="" class=""><br style="" class=""># syslog initscript is handled explicitly because order of<br style="" class=""># update-rc.d and update-alternatives is important<br style="" class="">RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"<br style="" class=""><br style="" class="">INC_PR = "r7"<br style="" class=""><br style="" class="">inherit autotools systemd<br style="" class=""><br style="" class="">SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/${PN}_${PV}.tar.gz"<br style="" class=""><br style="" class="">noipv6 = "${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6', d)}"<br style="" class=""><br style="" class="">EXTRA_OECONF = " \<br
 style="" class="">&nbsp; --with-libnet=${STAGING_BINDIR_CROSS} \<br style="" class="">&nbsp; --enable-dynamic-linking \<br style="" class="">&nbsp; ${noipv6} \<br style="" class="">&nbsp; --enable-ssl \<br style="" class="">&nbsp; --disable-sub-streams \<br style="" class="">&nbsp; --disable-pacct \<br style="" class="">&nbsp; --disable-linux-caps \<br style="" class="">&nbsp; --disable-pcre \<br style="" class="">&nbsp; --disable-sql \<br style="" class="">&nbsp; --enable-systemd \<br style="" class="">&nbsp; --with-systemdsystemunitdir=${systemd_unitdir}/system \<br style="" class="">"<br style="" class=""><br style="" class="">do_configure_prepend() {<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e 
"s/-D_LARGEFILE_SOURCE//" -e "s/-D_FILE_OFFSET_BITS=64//" 
${S}/configure.in', d)}"<br style="" class="">}<br style="" class=""><br style="" class=""># rename modules.conf
 because it breaks update-modules <br style="" class=""># see http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035537.html<br style="" class="">do_install_append() {<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mv ${D}/${sysconfdir}/modules.conf ${D}/${sysconfdir}/scl-modules.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sed -i "s#@include 'modules.conf'#@include 'scl-modules.conf'#g" ${D}/${sysconfdir}/scl.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -d ${D}/${sysconfdir}/${PN}<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}.conf<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -d ${D}/${sysconfdir}/init.d<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}<br style=""
 class="">}<br style="" class=""><br style="" class="">SYSTEMD_PACKAGES = "${PN}-systemd"<br style="" class="">SYSTEMD_SERVICE = "${PN}.service"<br style="" class=""><br style="" class="">FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${sysconfdir} ${sharedstatedir} ${localstatedir} \<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${base_bindir}/* ${base_sbindir}/* \<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${base_libdir}/*${SOLIBS} \<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${datadir}/${BPN} ${libdir}/${BPN}/*${SOLIBS} \<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${datadir}/include/scl/ ${datadir}/xsd"<br style="" class="">FILES_${PN}-dev +=
 "${libdir}/${BPN}/lib*.la ${libdir}/${BPN}/*${SOLIBSDEV}"<br style="" class="">CONFFILES_${PN} = "${sysconfdir}/${PN}.conf ${sysconfdir}/scl.conf ${sysconfdir}/scl-modules.conf"<br style="" class=""><br style="" class="">pkg_postinst_${PN} () {<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /etc/init.d/syslog stop<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200<br style="" class=""><br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test "x$D" != "x"; then<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPT="-r $D"<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPT="-s"<br style=""
 class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # remove all rc.d-links potentially created from alternative<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # syslog packages before creating new ones<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update-rc.d $OPT -f syslog remove<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update-rc.d $OPT syslog start 20 2 3 4 5 . stop 90 0 1 6 .<br style="" class="">}<br style="" class=""><br style="" class="">pkg_prerm_${PN} () {<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test "x$D" = "x"; then<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test "$1" = "upgrade" -o "$1" = "remove"; then<br style=""
 class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /etc/init.d/syslog stop<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class=""><br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update-alternatives --remove syslog-init syslog.${PN}<br style="" class="">}<br style="" class=""><br style="" class="">pkg_postrm_${PN} () {<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test "x$D" != "x"; then<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPT="-r $D"<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br style=""
 class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPT=""<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test "$1" = "remove" -o "$1" = "purge"; then<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ! test -e "/etc/init.d/syslog"; then<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update-rc.d $OPT syslog remove<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br style="" class="">}</span> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div class="" style="font-family:
 HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="" class="" dir="ltr"> <font style="" class="" size="2" face="Arial"> Le Mercredi 23 juillet 2014 17h00, Gergely Nagy &lt;algernon@balabit.hu&gt; a écrit :<br style="" class=""> </font> </div>  <br style="" class=""><br style="" class=""> <div style="" class="">Jean Faye &lt;<a href="" style="" class="" shape="rect" ymailto="mailto:ismael.faye@yahoo.fr">ismael.faye@yahoo.fr</a>&gt; writes:<br style="" class="" clear="none"><br style="" class="" clear="none">&gt; There is no syslog-ng directory in /usr/lib/ on my platform. It's strange.<br style="" class="" clear="none"><br style="" class="" clear="none">Then your installation is incomplete. How did you install syslog-ng?<div style="" class="" id="yqtfd26925"><br style=""
 class="" clear="none"><br style="" class="" clear="none">-- <br style="" class="" clear="none">|8]<br style="" class="" clear="none">______________________________________________________________________________<br style="" class="" clear="none">Member info: <a href="" style="" class="" shape="rect" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br style="" class="" clear="none">Documentation: <a href="" style="" class="" shape="rect" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br style="" class="" clear="none">FAQ: <a href="" style="" class="" shape="rect" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br style="" class="" clear="none"><br style="" class="" clear="none"></div><br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>