Bug 129815 - net/vtun: vtun-3.0.2 broken on amd64
Summary: net/vtun: vtun-3.0.2 broken on amd64
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: 2008-12-21 11:50 UTC by bg
Modified: 2008-12-22 15:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (565 bytes, patch)
2008-12-21 11:50 UTC, bg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bg 2008-12-21 11:50:00 UTC
On systems (e.g FreeBSD amd64) where sizeof(unsigned int) differs from
sizeof(lzo_uint) this patch is necessary for the correct operation of
vtun when LZO compression is enabled.

Fix: Add this patch file /usr/ports/net/vtun/files/patch-lfd_lzo.c:

How-To-Repeat: 
Enable LZO compression (e.g like this)

# UDP compressed
udpz {
  passwd  xxx;
  type  tun;
  proto udp;
  compress  lzo:9;      # LZO compression level 9 - breaks on amd64
}
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2008-12-22 14:57:57 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-12-22 14:58:32 UTC
pav         2008-12-22 14:58:24 UTC

  FreeBSD ports repository

  Modified files:
    net/vtun             Makefile 
  Added files:
    net/vtun/files       patch-lfd_lzo.c 
  Log:
  - On systems (e.g FreeBSD amd64) where sizeof(unsigned int) differs from
    sizeof(lzo_uint) this patch is necessary for the correct operation of vtun
    when LZO compression is enabled.
  
  PR:             ports/129815
  Submitted by:   Bjoern Groenvall <bg@sics.se>
  
  Revision  Changes    Path
  1.21      +1 -0      ports/net/vtun/Makefile
  1.1       +20 -0     ports/net/vtun/files/patch-lfd_lzo.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"