From nobody@FreeBSD.org  Thu May  3 10:02:29 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id D7CE437B423
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 May 2001 10:02:28 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f43H2S452198;
	Thu, 3 May 2001 10:02:28 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105031702.f43H2S452198@freefall.freebsd.org>
Date: Thu, 3 May 2001 10:02:28 -0700 (PDT)
From: stefan.schmidt@twest.de
To: freebsd-gnats-submit@FreeBSD.org
Subject: /sbin/ipfs missing
X-Send-Pr-Version: www-1.0

>Number:         27063
>Category:       bin
>Synopsis:       /sbin/ipfs missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 03 10:10:00 PDT 2001
>Closed-Date:    Sat Apr 27 13:00:19 PDT 2002
>Last-Modified:  Sat Apr 27 13:00:19 PDT 2002
>Originator:     Stefan Schmidt
>Release:        RELENG_4
>Organization:
>Environment:
FreeBSD sts-home.stadtbuch.de 4.3-RC FreeBSD 4.3-RC #0: Tue Apr 17 23:28:43 CEST 2001     root@sts-home.stadtbuch.de:/usr/obj/usr/src/sys/STSHOME  i386

>Description:
The "ipfs" utility that is part of the IPFilter distribution is not
being installed. "ipfs" saves and restores information for NAT and 
state tables.

some minor modifications to /etc/rc.network and /etc/rc.shutdown are 
needed for automatically saving and restoring state tables at boot /
shutdown.

>How-To-Repeat:
sts-home# ipfs
ipfs: Command not found.

>Fix:
(copy/pasted, tabs destroyed)

root@sts-home:/usr/src/sbin --> cat /usr/src/sbin/ipfs/Makefile
# $FreeBSD$

.PATH:  ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man

PROG=   ipfs
MAN8=   ipfs.8
SRCS=   ipfs.c
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter

.include <bsd.prog.mk>
root@sts-home:/usr/src/sbin --> cvs diff -cwd Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/src/sbin/Makefile,v
retrieving revision 1.77.2.1
diff -c -w -d -r1.77.2.1 Makefile
*** Makefile    2000/03/31 03:24:28     1.77.2.1
--- Makefile    2001/05/03 12:35:02
***************
*** 23,28 ****
--- 23,29 ----
        init \
        ip6fw \
        ipf \
+       ipfs \
        ipfstat \
        ipfw \
        ipmon \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: roam 
Responsible-Changed-When: Thu May 3 22:43:41 PDT 2001 
Responsible-Changed-Why:  
Over to the maintainer (and author of the IPFilter suite) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27063 
State-Changed-From-To: open->feedback 
State-Changed-By: darrenr 
State-Changed-When: Fri Oct 19 21:27:57 PDT 2001 
State-Changed-Why:  
ipfs added to -current 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27063 
State-Changed-From-To: feedback->closed 
State-Changed-By: darrenr 
State-Changed-When: Sat Apr 27 13:00:03 PDT 2002 
State-Changed-Why:  
now in -stable Makefile 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27063 
>Unformatted:
