Bug 57305 - Update port: security/pf - OpenBSD 3.4 pf
Summary: Update port: security/pf - OpenBSD 3.4 pf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-28 11:00 UTC by Max Laier
Modified: 2003-09-28 14:27 UTC (History)
0 users

See Also:


Attachments
pf.tar.gz.uu (27.58 KB, text/plain)
2003-09-28 11:00 UTC, Max Laier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Laier 2003-09-28 11:00:40 UTC
	Port update after API change in PFIL_HOOKS in -current and OpenBSD
	3.4 Release.
Comment 1 Max Laier 2003-09-28 11:39:33 UTC
Output of $diff -ruN can be found at
http://pf4freebsd.love2party.net/pf-port.diff

-- Max
Comment 2 Max Laier 2003-09-28 11:56:16 UTC
Output of $diff -ruN can be found at
http://pf4freebsd.love2party.net/pf-port.diff

-- Max
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-28 12:09:03 UTC
State Changed
From-To: open->feedback

Doesn't compile on -current: 

cc -O -pipe -march=pentium2 -march=pentium2 -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include -Wall -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include/support  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include/support -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c pf_ioctl.c 
pf_ioctl.c:207: error: `noread' undeclared here (not in a function) 
pf_ioctl.c:207: error: initializer element is not constant 
pf_ioctl.c:207: error: (near initialization for `pf_cdevsw.d_read') 
pf_ioctl.c:208: error: `nowrite' undeclared here (not in a function) 
[...] 

Please investigate.
Comment 4 Max Laier 2003-09-28 14:11:41 UTC
This was due to the latest changes from Poul-Henning Kamp for
sys/conf.h#1.175, I updated:
    http://pf4freebsd.love2party.net/pf-port.diff
to include the following patch, which resolves this issue:
    http://pf4freebsd.love2party.net/pf_ioctl.c.diff
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-28 14:27:11 UTC
State Changed
From-To: feedback->closed

Commited, thanks!