From owner-freebsd-bugs Fri Nov 22 1:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6472137B404 for ; Fri, 22 Nov 2002 01:50:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1BB343EB3 for ; Fri, 22 Nov 2002 01:50:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAM9o3x3053666 for ; Fri, 22 Nov 2002 01:50:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAM9o3Xe053665; Fri, 22 Nov 2002 01:50:03 -0800 (PST) Date: Fri, 22 Nov 2002 01:50:03 -0800 (PST) Message-Id: <200211220950.gAM9o3Xe053665@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: misc/44148: installworld in 4.7-STABLE does not install IP Filter related header files Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/44148; it has been noted by GNATS. From: Ruslan Ermilov To: Andrey Simonenko Cc: bug-followup@FreeBSD.org Subject: Re: misc/44148: installworld in 4.7-STABLE does not install IP Filter related header files Date: Fri, 22 Nov 2002 11:44:46 +0200 On Fri, Nov 22, 2002 at 11:14:00AM +0200, Andrey Simonenko wrote: > On Thu, Nov 21, 2002 at 08:26:51AM -0800, Ruslan Ermilov wrote: > > Synopsis: installworld in 4.7-STABLE does not install IP Filter related header files > > > > State-Changed-From-To: open->suspended > > State-Changed-By: ru > > State-Changed-When: Thu Nov 21 08:24:09 PST 2002 > > State-Changed-Why: > > Installing IP Filter headers is incompatible with the SHARED=symlinks > > feature of src/include/Makefile. I see three options here: > > > > 1. Desupport the SHARED=symlinks option. > > 2. Get rid of src/sys/contrib/. > > 3. Create a port that installs these headers somewhere. > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=44148 > > 1. This is possible, really I don't know how many people use this Makefile > option and how many people need IP Filter headers. > Everyone who have ran buildworld has been using it. Many developers use it. > 2. Or create src/sys/contrib/Makefile which will do all needed work with > contributed software. > I fail to see how this would help. You want /usr/include/netinet/ip_fil.h, where it was SHARED=copies installed or SHARED=symlinks. In the latter case, /usr/include/netinet is symlinked to /usr/src/sys/netinet, and it cannot resolve /usr/include/netinet/ip_fil.h to /usr/src/sys/contrib/ipfilter/netinet/ip_fil.h, got it? > 3. Good idea, such port can be written completely to its Makefile, for example, > no port's sources are needed. But this port should check version of FreeBSD. > Nope, it would check the existence of /usr/src/sys/contrib/ipfilter, and install the appropriate headers to /usr/local/include/netinet. We already have such ports that build stuff from /usr/src -- ports/textproc/gxditview being one such example. > I can't understand, why is it impossible to write some lines of code to > src/include/Makefile for "copies" and "symlinks" tagets, which will > install IP Filter headers? > Andrey, please stop flooding me with the same question over and over again. Please read carefully what I've said already, and finally realize that SHARED=copied and SHARED=symlinks SHOULD produce the same set of header files, and that this is IMPOSSIBLE with the advent of src/sys/contrib/. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message