Bug 221200 - net/samplicator: cannot use -S under FreeBSD 11.1
Summary: net/samplicator: cannot use -S under FreeBSD 11.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jung-uk Kim
URL: https://github.com/sleinen/samplicato...
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2017-08-03 09:48 UTC by Xavier Beaudouin
Modified: 2018-05-23 20:59 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (me)
koobs: merge-quarterly?


Attachments
Patch to fix rawsend.c (538 bytes, patch)
2017-08-03 09:48 UTC, Xavier Beaudouin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Beaudouin 2017-08-03 09:48:07 UTC
Created attachment 184983 [details]
Patch to fix rawsend.c

Hello,

Seem that samplicator with -S (eg spoof source address) cannot work on FreeBSD 11.1.

I have submitter a PR on github : https://github.com/sleinen/samplicator/pull/51

But in the meantime we can use the following patch file to fix the port.
Comment 1 Walter Schwarzenfeld 2018-02-01 10:32:14 UTC
Feedback please!
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2018-05-23 20:48:12 UTC
I'll take it.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-05-23 20:54:41 UTC
A commit references this bug:

Author: jkim
Date: Wed May 23 20:54:17 UTC 2018
New revision: 470719
URL: https://svnweb.freebsd.org/changeset/ports/470719

Log:
  Fix -S option under 11.0 and later.

  PR:		221200
  Approved by:	me@falz.net (maintainer timeout)

Changes:
  head/net/samplicator/Makefile
  head/net/samplicator/files/patch-rawsend.c
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2018-05-23 20:59:46 UTC
Committed (with minor improvement), thanks!