Bug 150040 - [patch] security/fwtk: plug-gw does not run on 64bit architectures
Summary: [patch] security/fwtk: plug-gw does not run on 64bit architectures
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: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 14:50 UTC by Rudolf Polzer
Modified: 2012-05-31 18:40 UTC (History)
0 users

See Also:


Attachments
file.txt (451 bytes, text/plain)
2010-08-27 14:50 UTC, Rudolf Polzer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rudolf Polzer 2010-08-27 14:50:06 UTC
fwtk plug-gw segfaults on startup. Caused by missing declaration of inet_ntoa causing its pointer return value to default to int, which has different size, and thus causing a segfault.

Fix: Patch attached that adds an #include directive to get inet_ntoa declared.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/security/fwtk
make install
then set up fwtk normally, using a plug-gw filter
then connect to the port
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-08-27 15:02:00 UTC
Responsible Changed
From-To: freebsd-bugs->pirzyk

ports PR.
Comment 2 Jim Pirzyk freebsd_committer freebsd_triage 2010-09-10 13:14:13 UTC
Responsible Changed
From-To: pirzyk->freebsd-ports

Please commit patch, I approve.  Thanks!
Comment 3 Shaun Amott freebsd_committer freebsd_triage 2010-09-10 16:21:38 UTC
Responsible Changed
From-To: freebsd-ports->shaun

Grab.
Comment 4 Shaun Amott freebsd_committer freebsd_triage 2010-09-10 16:22:22 UTC
State Changed
From-To: open->feedback

The FTP server with the source is currently inaccessible: 

freefall% ping ftp.tislabs.com 
PING portal.tislabs.com (192.94.214.101): 56 data bytes 
92 bytes from toyland.sparta.com (157.185.83.254): Destination Host Unreachable 
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst 
4  5  00 5400 2ea1   0 0000  30  01 2c89 69.147.83.40  192.94.214.101
Comment 5 Rudolf Polzer 2011-06-28 13:41:32 UTC
Hi,

the fwtk source is only available on request. See: http://www.fwtk.org/fwtk=
/download/downloading.html

It's basically a license restriction (and yes, I know that some ftp mirror =
sites on the web ignore that restriction).

Also note:

| Note that the response e-mail refers to "ftp.tislabs.com";
| use "ftp.nailabs.com" instead. Also, your host must support
| reverse name lookup (name matching an IP address) in
| order for the FTP to work.

Best regards,

Rudolf Polzer=
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2011-09-24 19:10:58 UTC
State Changed
From-To: feedback->open

feedback received
Comment 7 Shaun Amott freebsd_committer freebsd_triage 2012-02-20 13:43:03 UTC
Responsible Changed
From-To: shaun->freebsd-ports-bugs

Back to pool.
Comment 8 Michael Scheidell freebsd_committer freebsd_triage 2012-05-31 13:53:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 9 dfilter service freebsd_committer freebsd_triage 2012-05-31 18:38:35 UTC
scheidell    2012-05-31 17:38:26 UTC

  FreeBSD ports repository

  Modified files:
    security/fwtk        Makefile 
  Added files:
    security/fwtk/files  patch-lib__pname.c 
  Log:
  - 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]
  
  Revision  Changes    Path
  1.38      +12 -5     ports/security/fwtk/Makefile
  1.1       +15 -0     ports/security/fwtk/files/patch-lib__pname.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 10 Michael Scheidell freebsd_committer freebsd_triage 2012-05-31 18:39:16 UTC
State Changed
From-To: open->closed

Committed patch, Thanks, but: source found has bad checksums. Can't find 
valid source anymore.