Building msyslog-1.08g_2.txz (origin /buildshare/ports/355755/sysutils/msyslog) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/msyslog-v1.08g-src.tar.gz x packages/ x packages/gettext-0.18.3.1_1.txz x packages/gmake-3.82_1.txz x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> msyslog-1.08g_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of msyslog-1.08g_2 ===> msyslog-1.08g_2 depends on executable: gmake - not found ===> Verifying install for gmake in /buildshare/ports/355755/devel/gmake ===> Installing existing package /packages/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of msyslog-1.08g_2 Make install ===> msyslog-1.08g_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by msyslog-1.08g_2 for building ===> Extracting for msyslog-1.08g_2 => SHA256 Checksum OK for msyslog-v1.08g-src.tar.gz. ===> Patching for msyslog-1.08g_2 ===> Applying extra patch /buildshare/ports/355755/sysutils/msyslog/files/utmpx-src-modules-om_classic.c ===> Applying FreeBSD patches for msyslog-1.08g_2 ===> msyslog-1.08g_2 depends on executable: gmake - found ===> Configuring for msyslog-1.08g_2 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/configure configure: loading site script /buildshare/ports/355755/Templates/config.site checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether gmake sets ${MAKE}... yes checking how to run the C preprocessor... cpp checking for AIX... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for paths.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for machine/endian.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for sysctl.h... no checking for err.h... yes checking for sys/context.h... no checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for dlopen in -ldl... no checking for connect in -lsocket... no checking for gethostbyname in -lnsl... no checking whether cc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for _doprnt... no checking for gethostname... (cached) yes checking for inet_ntop... (cached) yes checking for getaddrinfo... (cached) yes checking for regcomp... yes checking for poll... (cached) yes checking for select... (cached) yes checking for socket... yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... yes checking for strtoul... (cached) yes checking for inet_aton... (cached) yes checking for inet_addr... yes checking whether byte ordering is bigendian... yes msyslog version... 1 checking wheter optreset is needed... yes checking pidfile directory... root-mode pid file will go in /var/run checking wether netdb.h requires _USE_IRS... no checking if sigaltstack uses stack_t structure... yes checking for daemon name... "syslogd" checking for sys/klog.h... no checking for sys/socket.h... (cached) yes checking for sys/un.h... (cached) yes checking for sys/strlog.h... no checking for door.h... no checking for streams module... no checking for MD5Init... no checking for SHA1Init... no checking for RMD160Init... no checking for regex.h... yes checking for socklen_t... (cached) yes checking for uint32_t... yes checking for uint64_t... yes checking for u_int32_t... (cached) yes checking for u_int64_t... yes checking for __uint32_t... yes checking for __uint64_t... yes checking for CODE... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/modules/Makefile config.status: creating src/peo/Makefile config.status: creating src/man/Makefile config.status: creating src/man/BSDmakefile config.status: creating src/man/GNUmakefile config.status: creating packaging/Makefile config.status: creating packaging/OpenBSD/Makefile config.status: creating packaging/OpenBSD/pkg/PLIST config.status: creating packaging/OpenBSD-devel/Makefile config.status: creating src/config.h ===> Building for msyslog-1.08g_2 gmake[1]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c peochk.c -o peochk.o cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c ../options.c -o ../options.o cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c hash.c -o hash.o cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c md5c.c -o md5c.o cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c sha1.c -o sha1.o cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -c rmd160.c -o rmd160.o cc -O2 -pipe -fno-strict-aliasing -Wall peochk.o ../options.o hash.o md5c.o sha1.o rmd160.o -o peochk gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -fPIC -c ../peo/hash.c ../peo/md5c.c ../peo/sha1.c ../peo/rmd160.c cc -O2 -pipe -fno-strict-aliasing -Wall -I.. -fPIC -c im_bsd.c im_udp.c om_udp.c im_unix.c im_file.c om_classic.c ttymsg.c om_tcp.c im_tcp.c ip_misc.c om_peo.c om_regex.c om_classic.c: In function 'wallmsg': om_classic.c:468: warning: 'uf' is used uninitialized in this function ld -Bshareable -o libmsyslog.so.1 im_bsd.o im_udp.o om_udp.o im_unix.o im_file.o om_classic.o ttymsg.o om_tcp.o im_tcp.o ip_misc.o om_peo.o om_regex.o hash.o md5c.o sha1.o rmd160.o gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' cc -O2 -pipe -fno-strict-aliasing -Wall -I. -c modules.c -o modules.o cc -O2 -pipe -fno-strict-aliasing -Wall -I. -c syslogd.c -o syslogd.o syslogd.c: In function 'cfline': syslogd.c:1329: warning: passing argument 2 of 'decode' discards qualifiers from pointer target type syslogd.c:1335: warning: passing argument 2 of 'decode' discards qualifiers from pointer target type syslogd.c:1391: warning: passing argument 2 of 'decode' discards qualifiers from pointer target type syslogd.c: In function 'decode_val': syslogd.c:1520: warning: assignment discards qualifiers from pointer target type syslogd.c:1522: warning: assignment discards qualifiers from pointer target type syslogd.c:1528: warning: return discards qualifiers from pointer target type cc -O2 -pipe -fno-strict-aliasing -Wall -I. -Wl,-E modules.o syslogd.o options.o -o syslogd gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' all done gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g' ===> Installing for msyslog-1.08g_2 ===> Generating temporary packing list ===> Checking if sysutils/msyslog already installed gmake[1]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' all done gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' installing shared library... /usr/local/lib/libmsyslog.so.1 gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/modules' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' /usr/bin/install -c -o root -g wheel peochk /usr/local/sbin gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/peo' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' gzip -cf syslog.conf.5 > /usr/local/man/man5/syslog.conf.5.gz gzip -cf syslogd.8 > /usr/local/man/man8/syslogd.8.gz gzip -cf im_bsd.8 > /usr/local/man/man8/im_bsd.8.gz gzip -cf im_udp.8 > /usr/local/man/man8/im_udp.8.gz gzip -cf om_udp.8 > /usr/local/man/man8/om_udp.8.gz gzip -cf im_unix.8 > /usr/local/man/man8/im_unix.8.gz gzip -cf im_file.8 > /usr/local/man/man8/im_file.8.gz gzip -cf om_classic.8 > /usr/local/man/man8/om_classic.8.gz gzip -cf om_tcp.8 > /usr/local/man/man8/om_tcp.8.gz gzip -cf im_tcp.8 > /usr/local/man/man8/im_tcp.8.gz gzip -cf om_peo.8 > /usr/local/man/man8/om_peo.8.gz gzip -cf peochk.8 > /usr/local/man/man8/peochk.8.gz gzip -cf om_regex.8 > /usr/local/man/man8/om_regex.8.gz gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/man' gmake[2]: Entering directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' /usr/bin/install -c -o root -g wheel -s syslogd /usr/local/sbin/ ; gmake[2]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g' ===> Staging rc.d startup script(s) install -o root -g wheel -m 444 /obj/buildshare/ports/355755/sysutils/msyslog/work/msyslog-v1.08g/src/examples/* /usr/local/share/examples/msyslog ================================================================================ To replace FreeBSD's standard syslogd with msyslog, do this: 1) Create a configuration in /usr/local/etc/syslog.conf. See /usr/local/share/examples/msyslog for examples. 2) Set up a startup script in /usr/local/etc/rc.d. For your convinience, a msyslog.sh has been provided. put this in /etc/rc.conf msyslogd_enable="YES" 3) Pass right values from man pages to /etc/rc.conf for msyslogd_flags="" 4) Stop the standard FreeBSD syslogd from starting automatically by putting this in the end of /etc/rc.conf: syslogd_enable="NO" ================================================================================ ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for msyslog-1.08g_2 Installing msyslog-1.08g_2... done ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/libmsyslog.so.1 This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/msyslogd If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://oss.coresecurity.com/projects/msyslog.html Make package ===> Building package for msyslog-1.08g_2 Creating package for msyslog-1.08g_2 slot2: removed