Bug 187676 - [new port] security/webshag: Multi-threaded, multi-platform web server audit tool
Summary: [new port] security/webshag: Multi-threaded, multi-platform web server audit ...
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: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-17 22:00 UTC by clutton
Modified: 2014-09-06 07:51 UTC (History)
2 users (show)

See Also:


Attachments
file.shar (8.99 KB, text/plain)
2014-03-17 22:00 UTC, clutton
no flags Details
new shar file, and poudriere log (9.35 KB, text/plain)
2014-08-29 18:03 UTC, clutton
no flags Details
and poudriere (10.96 KB, text/plain)
2014-08-29 18:04 UTC, clutton
no flags Details
new log (with -t) (13.22 KB, text/plain)
2014-08-29 22:51 UTC, clutton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description clutton 2014-03-17 22:00:00 UTC
Have you any questions contact me. I'll change this port as much as it'll be needed.

Porting this thing was a nightmare. It doesn't use any wise concept at all!
The one thing I doubt is WRKSRC= ${WRKDIR} because the distfile unpacking directly to .

Fix: Patch attached with submission follows:
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-07 14:40:55 UTC
Hi, if you are still interested in having this port in FreeBSD, it may (or may not) need to be reworked to support stage, and it may need updating to other newer conventions such as "USES" which is expanding all time.
For staging, see http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html


Additionally, you need to provide some sort of quality assurance.    
In order of preference, we are looking for:

1) "poudriere testport" or "poudriere bulk -t" logs
2) Redports or tinderbox logs

Please provide an updated shar file and attach a test log.  Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR.

Thanks!
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-24 19:24:16 UTC
This is staged, but bit-rotted (python, wx)

The extraction is probably bad, submitter should use www/siteframe as an example of how to deal with extracting directly into $WRKDIR


This PR needs new submission and testlogs, otherwise the PR isn't going anywhere.
Comment 3 clutton 2014-08-29 18:03:39 UTC
Created attachment 146489 [details]
new shar file, and poudriere log
Comment 4 clutton 2014-08-29 18:04:19 UTC
Created attachment 146490 [details]
and poudriere
Comment 5 clutton 2014-08-29 18:05:55 UTC
(In reply to John Marino from comment #2)
> This is staged, but bit-rotted (python, wx)
> 
> The extraction is probably bad, submitter should use www/siteframe as an
> example of how to deal with extracting directly into $WRKDIR
> 
> 
> This PR needs new submission and testlogs, otherwise the PR isn't going
> anywhere.

Done. There was a bug which I've missed.
Are poudriere logs are mandatory now?
Comment 6 John Marino freebsd_committer freebsd_triage 2014-08-29 20:01:58 UTC
technically, not yet, but it bumped you to the front on the line.

The poudriere log is just a regular poudriere run, right?  not poudriere testport, nor "poudriere bulk -t" ?  I don't see the stage-qa checks in the log
Comment 7 clutton 2014-08-29 22:30:34 UTC
(In reply to John Marino from comment #6)
> technically, not yet, but it bumped you to the front on the line.
> 
> The poudriere log is just a regular poudriere run, right?  not poudriere
> testport, nor "poudriere bulk -t" ?  I don't see the stage-qa checks in the
> log

I'm relatively new to the poudriere building. I used this command:
poudriere bulk -j 10x64 security/webshag
Comment 8 John Marino freebsd_committer freebsd_triage 2014-08-29 22:36:57 UTC
(In reply to clutton from comment #7)
> I'm relatively new to the poudriere building. I used this command:
> poudriere bulk -j 10x64 security/webshag

Just run it again with with -t, like this:

poudriere bulk -j 10x64 -t security/webshag
Comment 9 clutton 2014-08-29 22:51:04 UTC
Created attachment 146512 [details]
new log (with -t)
Comment 10 John Marino freebsd_committer freebsd_triage 2014-08-29 22:53:31 UTC
Thanks.  I'm going to ignore this warnings:

Warning: Possibly owned by dependency: @dirrmtry %%PYTHON_SITELIBDIR%%
Warning: Possibly owned by dependency: @dirrmtry %%PYTHON_LIBDIR%%

They could be from helpers.  
Move to patch-ready status
Comment 11 commit-hook freebsd_committer freebsd_triage 2014-09-06 07:47:22 UTC
A commit references this bug:

Author: cs
Date: Sat Sep  6 07:46:59 UTC 2014
New revision: 367404
URL: http://svnweb.freebsd.org/changeset/ports/367404

Log:
  Webshag is a multi-threaded, multi-platform web server audit tool. Written in
  Python, it gathers commonly useful functionalities for web server auditing like
  website crawling, URL scanning or file fuzzing.

  WWW: http://www.scrt.ch/en/attack/downloads/webshag

  PR:		ports/187676
  Submitted by:	clutton@zoho.com

Changes:
  head/security/Makefile
  head/security/webshag/
  head/security/webshag/Makefile
  head/security/webshag/distinfo
  head/security/webshag/files/
  head/security/webshag/files/patch-setup_linux_py
  head/security/webshag/pkg-descr
  head/security/webshag/pkg-plist
Comment 12 commit-hook freebsd_committer freebsd_triage 2014-09-06 07:50:24 UTC
A commit references this bug:

Author: cs
Date: Sat Sep  6 07:50:14 UTC 2014
New revision: 45551
URL: http://svnweb.freebsd.org/changeset/doc/45551

Log:
  Add new contributor

  PR:		187676

Changes:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
Comment 13 Carlo Strub freebsd_committer freebsd_triage 2014-09-06 07:51:04 UTC
Committed with minor edits. Thank you very much.