Hello,
I am trying to build ftpsesame from wip under DragonFly
1.5.3-DEVELOPMENT and it drops the following errors:
===> Checking for vulnerabilities in ftpsesame-0.95
=> Checksum SHA1 OK for ftpsesame-0.95.tar.gz .
=> Checksum RMD160 OK for ftpsesame-0.95.tar.gz.
work -> /usr/obj/pkgsrc/wip/ftpsesame/work
===> Extracting for ftpsesame-0.95
===> Patching for ftpsesame-0.95
===> Applying pkgsrc patches for ftpsesame-0.95
===> Overriding tools for ftpsesame-0.95
===> Creating toolchain wrappers for ftpsesame-0.95
===> Building for ftpsesame-0.95
cc -O2 -I/usr/include -I. -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Werror -I/usr/include -c filter.c
filter.c:25:23: net/pfvar.h: No such file or directory
filter.c: In function `filter_init':
filter.c:48: error: storage size of 'status' isn't known
filter.c:53: error: `DIOCGETSTATUS' undeclared (first use in this function)
filter.c:53: error: (Each undeclared identifier is reported only once
filter.c:53: error: for each function it appears in.)
filter.c:62: error: invalid application of `sizeof' to incomplete type
`pfioc_pooladdr'
filter.c:63: error: invalid application of `sizeof' to incomplete type
`pfioc_rule'
filter.c:64: error: invalid application of `sizeof' to incomplete type
`pfioc_trans'
filter.c:65: error: invalid application of `sizeof' to incomplete type
`pfioc_trans_e'
filter.c:67: error: invalid use of undefined type `struct pfioc_trans'
filter.c:68: error: invalid use of undefined type `struct pfioc_trans'
filter.c:68: error: invalid application of `sizeof' to incomplete type
`pfioc_trans_e'
filter.c:69: error: invalid use of undefined type `struct pfioc_trans'
filter.c:70: error: invalid use of undefined type `struct pfioc_trans_e'
filter.c:70: error: `PF_RULESET_FILTER' undeclared (first use in this
function)
filter.c:77: error: invalid use of undefined type `struct pfioc_rule'
filter.c:77: error: `PF_PASS' undeclared (first use in this function)
filter.c:79: error: invalid use of undefined type `struct pfioc_rule'
filter.c:80: error: invalid use of undefined type `struct pfioc_rule'
filter.c:81: error: invalid use of undefined type `struct pfioc_rule'
filter.c:82: error: invalid use of undefined type `struct pfioc_rule'
filter.c :83: error: invalid use of undefined type `struct pfioc_rule'
filter.c:83: error: `PF_ADDR_ADDRMASK' undeclared (first use in this
function)
filter.c:84: error: invalid use of undefined type `struct pfioc_rule'
filter.c :85: error: invalid use of undefined type `struct pfioc_rule'
filter.c:86: error: invalid use of undefined type `struct pfioc_rule'
filter.c:87: error: invalid use of undefined type `struct pfioc_rule'
filter.c:87: error: `PF_OP_EQ' undeclared (first use in this function)
filter.c:88: error: invalid use of undefined type `struct pfioc_rule'
filter.c:89: error: invalid use of undefined type `struct pfioc_rule'
filter.c:90: error: invalid use of undefined type `struct pfioc_rule'
filter.c:92: error: invalid use of undefined type `struct pfioc_rule'
filter.c:92: error: invalid use of undefined type `struct pfioc_rule'
filter.c:94: error: invalid use of undefined type `struct pfioc_rule'
filter.c :94: error: invalid use of undefined type `struct pfioc_rule'
filter.c:48: warning: unused variable `status'
filter.c: In function `filter_allow':
filter.c:101: error: `PF_ANCHOR_NAME_SIZE' undeclared (first use in this
function)
filter.c:107: error: invalid use of undefined type `struct pfioc_pooladdr'
filter.c:108: error: invalid use of undefined type `struct pfioc_rule'
filter.c:109: error: invalid use of undefined type `struct pfioc_trans_e'
filter.c:111: error: `DIOCXBEGIN' undeclared (first use in this function)
filter.c:113: error: invalid use of undefined type `struct pfioc_rule'
filter.c:113: error: invalid use of undefined type `struct pfioc_trans_e'
filter.c:115: error: `DIOCBEGINADDRS' undeclared (first use in this
function)
filter.c:117: error: invalid use of undefined type `struct pfioc_rule'
filter.c:117: error: invalid use of undefined type `struct pfioc_pooladdr'
filter.c:120: error: invalid use of undefined type `struct pfioc_rule'
filter.c:121: error: invalid use of undefined type `struct pfioc_rule'
filter.c:122: error: invalid use of undefined type `struct pfioc_rule'
filter.c:123: error: `DIOCADDRULE' undeclared (first use in this function)
filter.c:127: error: invalid use of undefined type `struct pfioc_rule'
filter.c:133: error: `DIOCXCOMMIT' undeclared (first use in this function)
filter.c:101: warning: unused variable `an'
filter.c: In function `filter_lookup':
filter.c:149: error: storage size of 'pnl' isn't known
filter.c:159: error: `PF_IN' undeclared (first use in this function)
filter.c:165: error: `DIOCNATLOOK' undeclared (first use in this function)
filter.c:167: error: `PF_OUT' undeclared (first use in this function)
filter.c:149: warning: unused variable `pnl'
filter.c: At top level:
filter.c:39: error: storage size of `pfp' isn't known
filter.c:40: error: storage size of `pfr' isn't known
filter.c:41: error: storage size of `pft' isn't known
filter.c:42: error: storage size of `pfte' isn't known
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkgsrc/wip/ftpsesame/work/ftpsesame-0.95
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/wip/ftpsesame
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/obj/pkgsrc/wip/ftpsesame/work/.work.log
===>
*** Error code 1
Looks trivial that it cannot find the header file.It is
/usr/include/net/pf/pfvar.h but if I edit the patch.a file (I am a
non-programmer!) the checksum becomes invalid. Any ways to work this
problem around? This package would be essential for me.