misc/44148: installworld in 4.7-STABLE does not install IPFilter related header files

Ruslan Ermilov ru at freebsd.org
Thu Apr 24 10:23:27 PDT 2003


Sorry for replying before the quoted text, but...

In the SHARED=symlinks case, /usr/include/netinet is
the symlink to /usr/src/sys/netinet.  Hope this now
makes more sense.

On Fri, Apr 25, 2003 at 03:19:57AM +1000, Darren Reed wrote:
> 
> Well, the problem needs fixing.
> 
> Whether it means creating src/include/netinet/Makefile or maybe just
> 'magic' dependencies, the problem should not be insolvable.
> 
> What appears to need to happen is for src/include/Makefile to have
> a specific .for-.endfor to build the files in include/netinet for
> IPFilter.  I think people are expecting to not need this and for it
> to magically happen with other dependencies.  This would not appear
> to be possible.
> 
> Something like:
> 
> IPFHDRS=ip_fil.h ip_nat.h ip_state.h ip_fil_compat.h ...
> ...
> copies:
> ...
> .for i in ${IPFHDRS}; do
> 	if [ -L ${DESTDIR}/usr/include/$i ]; then \
> 		rm -f ${DESTDIR}/usr/include/$i
> 	fi
> 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i \
> 	${DESTDIR}/usr/include/netinet
> .endfor
> ...
> symlinks:
> ...
> .for i in ${IPFHDRS}; do
> 	rm -f ${DESTDIR}/usr/include/$i
> 	ln -s ../../../sys/contrib/ipfilter/netinet/$i \
> 	${DESTDIR}/usr/include/netinet
> .endfor
> 
> Darren

-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software AG,
ru at FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20030424/746d7c4b/attachment.bin


More information about the freebsd-bugs mailing list