Bug 209755 - net/spoofer: Update to 1.0.1
Summary: net/spoofer: Update to 1.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Philippe Audeoud
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-05-25 22:31 UTC by mjl
Modified: 2016-06-28 09:26 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (jadawin)


Attachments
update spoofer to 1.0.1 (3.23 KB, patch)
2016-05-25 22:31 UTC, mjl
no flags Details | Diff
[patch] update spoofer to 1.0.2 (3.23 KB, patch)
2016-05-26 21:04 UTC, mjl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mjl 2016-05-25 22:31:22 UTC
Created attachment 170665 [details]
update spoofer to 1.0.1

There is a new release of the spoofer system that includes an optional scheduler and GUI.  The scheduler will test a network weekly (configurable) and also test any new network the system attaches to (useful if installed on a laptop).  I have made the GUI a port option, enabled by default.
Comment 1 Philippe Audeoud freebsd_committer freebsd_triage 2016-05-26 12:25:44 UTC
Hello,
Thanks for your patch. I will test it and test also this spoofer's version.

PS: no need to add "magic" keywords. I saw your pr and i will take care of it.
Comment 2 mjl 2016-05-26 21:04:44 UTC
Created attachment 170701 [details]
[patch] update spoofer to 1.0.2

Removed some unimportant messages from GUI
Comment 3 Philippe Audeoud freebsd_committer freebsd_triage 2016-05-30 07:55:19 UTC
Currently, I have some issue with qt5. Do you have any poudriere logs ?
Comment 4 mjl 2016-05-30 08:02:49 UTC
No.  What is the issue?
Comment 5 Philippe Audeoud freebsd_committer freebsd_triage 2016-05-31 07:36:30 UTC
(In reply to mjl from comment #4)

clang++ -c -pipe -O2 -fPIC -std=c++11 -Wall -W -pthread -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o common.o common.cpp
--- moc_FileTailThread.cpp ---
/usr/local/lib/qt5/bin/moc: not found
*** [moc_FileTailThread.cpp] Error code 127

make[5]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager/common
--- SpooferUI.o ---
clang++ -c -pipe -O2 -fPIC -std=c++11 -Wall -W -pthread -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o SpooferUI.o SpooferUI.cpp
--- moc_InputReader.cpp ---
/usr/local/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/local/lib/qt5/mkspecs/freebsd-clang -I/wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager/common -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I/usr/include/c++/v1 -I/usr/include/clang/3.4.1 -I/usr/include InputReader.h -o moc_InputReader.cpp
/usr/local/lib/qt5/bin/moc: not found
*** [moc_InputReader.cpp] Error code 127

make[5]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager/common
2 errors

make[5]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager/common
*** [sub-common-all] Error code 2

make[4]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager
1 error

make[4]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager
*** [all] Error code 2

make[3]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager
1 error

make[3]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1/manager
*** [all-recursive] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1
1 error

make[2]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1
1 error

make[1]: stopped in /wrkdirs/usr/ports/net/spoofer/work/spoofer-1.0.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/spoofer
build of net/spoofer ended at Tue May 31 09:52:08 CEST 2016
build time: 00:01:25
!!! build failure encountered !!!
[00:02:02] ====>> Error: Build failed in phase: build
[00:02:02] ====>> Cleaning up
[00:02:02] ====>> Umounting file systems

It's not a spoofer isser but a qt5 issue.
Comment 6 mjl 2016-05-31 08:49:17 UTC
Try adding buildtools_build to the USE_QT5= line.  Somehow I have qt5-buildtools on my system, which has moc.
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-05-31 12:38:25 UTC
A commit references this bug:

Author: jadawin
Date: Tue May 31 12:37:34 UTC 2016
New revision: 416195
URL: https://svnweb.freebsd.org/changeset/ports/416195

Log:
  - Update to 1.0.1
  - Add GUI support as an option, enabled by default

  PR:		209755
  Submitted by:	mjl@luckie.org.nz

Changes:
  head/net/spoofer/Makefile
  head/net/spoofer/distinfo
  head/net/spoofer/files/
  head/net/spoofer/files/spoofer.in
  head/net/spoofer/pkg-descr
  head/net/spoofer/pkg-plist
Comment 8 mjl 2016-05-31 19:44:56 UTC
Would you mind updating to 1.0.2 using the patch in this PR?
Comment 9 Philippe Audeoud freebsd_committer freebsd_triage 2016-06-28 09:26:15 UTC
Done, since some time...