ports/63276: xinetd build (missing file) [/usr/ports/security/xinetd/files/xinetd.sh.tmpl]
David A. Koran
dak at solo.net
Mon Feb 23 17:10:18 UTC 2004
>Number: 63276
>Category: ports
>Synopsis: xinetd build (missing file) [/usr/ports/security/xinetd/files/xinetd.sh.tmpl]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 23 09:10:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: David A. Koran
>Release: FreeBSD 4.9
>Organization:
SoloNet
>Environment:
FreeBSD mail.solo.net 4.9-STABLE FreeBSD 4.9-STABLE #20: Sat Feb 21 12:03:07 EST 2004 root at mail.solo.net:/usr/obj/usr/src/sys/SOLONET i386
>Description:
---> Upgrading 'xinetd-2.3.12_1' to 'xinetd-2.3.13' (security/xinetd)
---> Building '/usr/ports/security/xinetd'
===> Cleaning for libiconv-1.9.1_3
===> Cleaning for gettext-0.13.1
===> Cleaning for gmake-3.80_2
===> Cleaning for libtool-1.3.5_2
===> Cleaning for rc_subr-1.16
===> Cleaning for expat-1.95.6_1
===> Cleaning for xinetd-2.3.13
===> Vulnerability check disabled
===> Extracting for xinetd-2.3.13
>How-To-Repeat:
Upgrade the port from any previous version to 2.3.13 via ports (portupgrade -a used)
>Fix:
put in the : [/usr/ports/security/xinetd/files/xinetd.sh.tmpl] file back into the files directory for the port...
>Release-Note:
>Audit-Trail:
>Unformatted:
>> Checksum OK for xinetd-2.3.13.tar.gz.
===> Patching for xinetd-2.3.13
===> Applying FreeBSD patches for xinetd-2.3.13
/usr/bin/find /usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src -name Makefile.in | /usr/bin/xargs /usr/bin/sed -i.bak -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!'
===> xinetd-2.3.13 depends on executable: gmake - found
===> Configuring for xinetd-2.3.13
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd4.9
checking host system type... i386-portbld-freebsd4.9
checking target system type... i386-portbld-freebsd4.9
checking for i386-portbld-freebsd4.9-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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for i386-portbld-freebsd4.9-ranlib... no
checking for ranlib... ranlib
checking for main in -lcompat... yes
checking for library containing gethostbyname... none required
checking for library containing getnameinfo... none required
checking for library containing inet_ntop... none required
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for difftime... yes
checking for fcvt... no
checking for fcvt in -lm... no
checking for ecvt... no
checking for ecvt in -lm... no
checking for gcvt... no
checking for gcvt in -lm... no
checking for strerror... yes
checking for strcasecmp... yes
checking for socket... yes
checking for inet_aton... yes
checking for setenv... yes
checking for strsignal... yes
checking for sys_siglist in -lc... yes
checking for gai_strerror... yes
checking for freeaddrinfo... yes
checking for getaddrinfo... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking rpc/rpcent.h usability... no
checking rpc/rpcent.h presence... no
checking for rpc/rpcent.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking ftw.h usability... no
checking ftw.h presence... no
checking for ftw.h... no
checking machine/reg.h usability... yes
checking machine/reg.h presence... yes
checking for machine/reg.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking rpc/pmap_clnt.h usability... no
checking rpc/pmap_clnt.h presence... yes
configure: WARNING: rpc/pmap_clnt.h: present but cannot be compiled
configure: WARNING: rpc/pmap_clnt.h: check for missing prerequisite headers?
configure: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for rpc/pmap_clnt.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking for stdint.h... (cached) no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking DNSServiceDiscovery/DNSServiceDiscovery.h usability... no
checking DNSServiceDiscovery/DNSServiceDiscovery.h presence... no
checking for DNSServiceDiscovery/DNSServiceDiscovery.h... no
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for socklen_t... yes
checking for rlim_t... yes
checking for struct addrinfo... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_storage... yes
checking for main in -lcrypt... yes
checking whether to compile in loadavg... yes
checking for crypt in -lc... yes
checking for log10 in -lm... yes
checking whether to default to ipv6... ignored
checking whether to use libwrap... yes
checking for request_init in -lwrap... yes
checking for yp_get_default_domain in -lnsl... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for isatty... yes
checking for memcpy... yes
checking for waitpid... yes
checking for sigvec... yes
checking for setsid... yes
checking for strftime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libs/src/misc/Makefile
config.status: creating libs/src/pset/Makefile
config.status: creating libs/src/sio/Makefile
config.status: creating libs/src/str/Makefile
config.status: creating libs/src/xlog/Makefile
config.status: creating libs/src/portable/Makefile
config.status: creating xinetd/Makefile
config.status: creating config.h
===> Building for xinetd-2.3.13
cd libs/src/portable ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/portable'
cc -O2 -pipe -O2 -pipe -I../../include -c -o difftime.o difftime.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o inet_aton.o inet_aton.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o strerror.o strerror.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o fake-getnameinfo.o fake-getnameinfo.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o inet_ntop.o inet_ntop.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o cvt.o cvt.c
ar r libportable.a difftime.o inet_aton.o strerror.o fake-getnameinfo.o inet_ntop.o cvt.o
ranlib libportable.a
Installed libportable.a to ../../lib
Installed ./libportable.h to ../../include
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/portable'
cd libs/src/sio ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/sio'
cc -O2 -pipe -O2 -pipe -I../../include -c -o sprint.o sprint.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o sio.o sio.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o siosup.o siosup.c
ar r libsio.a sprint.o sio.o siosup.o
ranlib libsio.a
Installed libsio.a to ../../lib
Installed ./sio.h to ../../include
Installed ./sio.3 ./Sprint.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/sio'
cd libs/src/str ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/str'
cc -O2 -pipe -O2 -pipe -I../../include -c -o strutil.o strutil.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o strprint.o strprint.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o strparse.o strparse.c
ar r libstr.a strutil.o strprint.o strparse.o
ranlib libstr.a
Installed libstr.a to ../../lib
Installed ./str.h to ../../include
Installed ./strparse.3 ./strprint.3 ./strutil.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/str'
cd libs/src/misc ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/misc'
cc -O2 -pipe -O2 -pipe -I../../include -c -o misc.o misc.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o m_env.o m_env.c
ar r libmisc.a misc.o m_env.o
ranlib libmisc.a
Installed libmisc.a to ../../lib
Installed ./misc.h ./m_env.h to ../../include
Installed ./misc.3 ./m_env.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/misc'
cd libs/src/pset ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/pset'
cc -O2 -pipe -O2 -pipe -I../../include -c -o pset.o pset.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o ops.o ops.c
ar r libpset.a pset.o ops.o
ranlib libpset.a
Installed libpset.a to ../../lib
Installed ./pset.h to ../../include
Installed ./pset.3 ./psi.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/pset'
cd libs/src/xlog ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/xlog'
cc -O2 -pipe -O2 -pipe -I../../include -c -o xlog.o xlog.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o filelog.o filelog.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o slog.o slog.c
cc -O2 -pipe -O2 -pipe -I../../include -c -o util.o util.c
ar r libxlog.a xlog.o filelog.o slog.o util.o
ranlib libxlog.a
Installed libxlog.a to ../../lib
Installed ./xlog.h to ../../include
Installed ./xlog.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/xlog'
cd xinetd ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../libs/include' LDFLAGS=' -L../libs/lib'
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/xinetd'
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o access.o access.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o addr.o addr.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o builtins.o builtins.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o child.o child.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o conf.o conf.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o confparse.o confparse.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o connection.o connection.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o env.o env.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o ident.o ident.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o init.o init.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o int.o int.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o intcommon.o intcommon.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o internals.o internals.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o log.o log.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o logctl.o logctl.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o main.o main.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o msg.o msg.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o nvlists.o nvlists.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o parse.o parse.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o parsesup.o parsesup.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o parsers.o parsers.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o reconfig.o reconfig.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o retry.o retry.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o sconf.o sconf.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o sensor.o sensor.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o server.o server.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o service.o service.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o signals.o signals.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o special.o special.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o tcpint.o tcpint.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o time.o time.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o udpint.o udpint.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o util.o util.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o redirect.o redirect.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o xgetloadavg.o xgetloadavg.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o options.o options.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o includedir.o includedir.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o xtimer.o xtimer.c
cc -O2 -pipe -O2 -pipe -I../libs/include -c -o inet.o inet.c
cc -O2 -pipe -O2 -pipe -I../libs/include -o xinetd access.o addr.o builtins.o child.o conf.o confparse.o connection.o env.o ident.o init.o int.o intcommon.o internals.o log.o logctl.o main.o msg.o nvlists.o parse.o parsesup.o parsers.o reconfig.o ret ry.o sconf.o sensor.o server.o service.o signals.o special.o tcpint.o time.o udpint.o util.o redirect.o xgetloadavg.o options.o includedir.o xtimer.o inet.o -L../libs/lib -lsio -lmisc -lxlog -lportable -lstr -lpset -lwrap -lm -lcrypt -lcompat || rm -f x inetd
cc -O2 -pipe -O2 -pipe -I../libs/include ./itox.c -o itox -L../libs/lib -lsio -lmisc -lxlog -lportable -lstr -lpset -lwrap -lm -lcrypt -lcompat
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/xinetd'
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'xinetd-2.3.12_1'
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 347 packages found (-1 +0) (...) done]
---> Installing the new version via the port
===> Installing for xinetd-2.3.13
===> xinetd-2.3.13 depends on file: /usr/local/etc/rc.subr - found
*** Error code 1 (ignored)
===> Generating temporary packing list
===> Checking if security/xinetd already installed
pkg_info: package bsdpan-Mail-SRS-0.10 has no origin recorded
cd libs/src/portable ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/portable'
Installed libportable.a to ../../lib
Installed ./libportable.h to ../../include
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/portable'
cd libs/src/sio ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/sio'
Installed libsio.a to ../../lib
Installed ./sio.h to ../../include
Installed ./sio.3 ./Sprint.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/sio'
cd libs/src/str ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/str'
Installed libstr.a to ../../lib
Installed ./str.h to ../../include
Installed ./strparse.3 ./strprint.3 ./strutil.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/str'
cd libs/src/misc ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/misc'
Installed libmisc.a to ../../lib
Installed ./misc.h ./m_env.h to ../../include
Installed ./misc.3 ./m_env.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/misc'
cd libs/src/pset ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/pset'
Installed libpset.a to ../../lib
Installed ./pset.h to ../../include
Installed ./pset.3 ./psi.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/pset'
cd libs/src/xlog ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../../include' install
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/xlog'
Installed libxlog.a to ../../lib
Installed ./xlog.h to ../../include
Installed ./xlog.3 to ../../man
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/libs/src/xlog'
cd xinetd ; gmake CC='cc' CFLAGS='-O2 -pipe -O2 -pipe -I../libs/include' LDFLAGS=' -L../libs/lib'
gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/xinetd'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.13/xinetd'
for i in /usr/local/sbin /usr/local/man/man5 /usr/local/man/man8 ; do \
test -d $i || mkdir -p $i ; done
/usr/bin/install -c -o root -g wheel -m 755 xinetd/xinetd /usr/local/sbin
/usr/bin/install -c -o root -g wheel -m 755 ./xinetd/xconv.pl /usr/local/bin/xconv
/usr/bin/install -c -o root -g wheel -m 644 ./xinetd/xinetd.conf.man /usr/local/man/man5/xinetd.conf.5
/usr/bin/install -c -o root -g wheel -m 644 ./xinetd/xinetd.log.man /usr/local/man/man8/xinetd.log.8
/usr/bin/install -c -o root -g wheel -m 644 ./xinetd/xinetd.man /usr/local/man/man8/xinetd.8
/usr/bin/install -c -o root -g wheel -m 644 ./xinetd/xconv.pl.8 /usr/local/man/man8/xconv.8
You must put your xinetd.conf in /etc/xinetd.conf
There is a sample config file in xinetd/sample.conf and you can
use xconv to convert your old inetd.conf file to an xinetd format
sed: /usr/ports/security/xinetd/files/xinetd.sh.tmpl: No such file or directory
*** Error code 1
Stop in /usr/ports/security/xinetd.
*** Error code 1
Stop in /usr/ports/security/xinetd.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade75491.24 make reinstall
egrep: /var/db/pkg/xinetd-2.3.12_1/+CONTENTS: No such file or directory
More information about the freebsd-ports-bugs
mailing list