mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Added patch [1]
- Marked the depracated, expires in 90 days. [2] - Instructions on obtaining source incorrect, and any source found does not march checksum. [2] - You are welcome to update instructions before then [2] PR: ports/150040 [1] Submitted by: Rudolf Polzer <rpolzer@mucke-novak.net> (maintainer) Reviewed by: scheidell@ (me) [2] Approved by: pirzyk@ (maintainer) [1]
This commit is contained in:
parent
a3b8ee74c5
commit
bbbe1f0589
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297890
@ -9,15 +9,22 @@ PORTNAME= fwtk
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= # pet portlint. Restricted source.
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
EXTRACT_SUFX= .tar.Z
|
||||
DISTFILES= fwtk2.1${EXTRACT_SUFX} fwtk-doc-only${EXTRACT_SUFX}
|
||||
DISTFILES= ${DISTNAME}.tar.Z fwtk-doc-only.tar.Z
|
||||
DIST_SUBDIR= fwtk
|
||||
|
||||
MAINTAINER= pirzyk@FreeBSD.org
|
||||
COMMENT= A toolkit used for building firewalls based on proxy services
|
||||
|
||||
RESTRICTED= No form of redistribution is allowed
|
||||
BROKEN= Won't fetch, ftp site mentioned in 'IGNORE' has no readme. Web site changed hands?
|
||||
|
||||
# from scheidell@. Can't find sources (did, but checksums wrong), can't see the 'readme' you mention below. if you can
|
||||
# update this so that it fetches, and/or give valid, reproducable instructions on how to get permission to discribute
|
||||
# source, then put this back in.
|
||||
|
||||
EXPIRATION_DATE=2012-09-01
|
||||
|
||||
OPTIONS= X11 "Build X11 programs" On \
|
||||
JUMBO_PATCH "Build with the \"Jumbo\" patch kit" Off \
|
||||
@ -60,9 +67,9 @@ PATCH_SITES= http://www.fwtk.org/fwtk/patches/
|
||||
PATCH_DIST_STRIP= -p1
|
||||
.endif
|
||||
|
||||
.if !exists(${DISTDIR}/${DIST_SUBDIR}/fwtk2.1${EXTRACT_SUFX}) \
|
||||
&& !exists(${DISTDIR}/${DIST_SUBDIR}fwtk-doc-only${EXTRACT_SUFX})
|
||||
IGNORE='Please read ftp://ftp.tislabs.com/pub/firewalls/toolkit/dist/README for details of how to obtain the FTWK source. Put the files fwtk2.1${EXTRACT_SUFX} and fwtk-doc-only${EXTRACT_SUFX} into the directory ${DISTDIR}/${DIST_SUBDIR} and run make again'
|
||||
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.Z) \
|
||||
|| !exists(${DISTDIR}/${DIST_SUBDIR}/fwtk-doc-only.tar.Z)
|
||||
IGNORE= please read ftp://ftp.tislabs.com/pub/firewalls/toolkit/dist/README for details of how to obtain the FTWK source. Put the files ${DISTNAME}.tar.Z and fwtk-doc-only.tar.Z into the directory ${DISTDIR}/${DIST_SUBDIR} and run make again
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
15
security/fwtk/files/patch-lib__pname.c
Normal file
15
security/fwtk/files/patch-lib__pname.c
Normal file
@ -0,0 +1,15 @@
|
||||
Patch from Rudolf Polzer to fix a compile time warning
|
||||
and make binaries compiled on 64bit FreeBSD 7.3 work
|
||||
without segfault on startup.
|
||||
|
||||
diff -ru lib/pname.c lib/pname.c
|
||||
--- lib/pname.c 1997-01-18 19:20:57.000000000 +0000
|
||||
+++ lib/pname.c 2010-06-30 12:06:26.000000000 +0000
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
+#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <syslog.h>
|
||||
#include <ctype.h>
|
Loading…
Reference in New Issue
Block a user