Bug 153293 - Updating port for security/dradis
Summary: Updating port for security/dradis
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: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 09:20 UTC by Dax Labrador
Modified: 2011-01-09 22:27 UTC (History)
0 users

See Also:


Attachments
file.diff (1.79 KB, patch)
2010-12-19 09:20 UTC, Dax Labrador
no flags Details | Diff
distinfo-patch.txt (462 bytes, text/plain)
2010-12-19 09:24 UTC, Dax Labrador
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dax Labrador 2010-12-19 09:20:09 UTC
Updating security/dradis from v2.5.2 to v2.6.0

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-12-19 09:20:14 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Dax Labrador 2010-12-19 09:24:49 UTC
distinfo patch


-----Original Message-----
From: FreeBSD-gnats-submit@FreeBSD.org
To: Dax Labrador <semprix@bsdmail.org>
Sent: Sun, Dec 19, 2010 5:20 pm
Subject: Re: ports/153293: Updating port for security/dradis


Thank you very much for your problem report.
It has the internal identification `ports/153293'.
The individual assigned to look at your
report is: freebsd-ports-bugs.

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=153293

>Category:       ports
>Responsible:    freebsd-ports-bugs
>Synopsis:       Updating port for security/dradis
>Arrival-Date:   Sun Dec 19 09:20:09 UTC 2010


  
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2010-12-20 20:07:41 UTC
Is there a reason why you changed the official download site to a private one?

--
olli
Comment 4 Dax Labrador 2010-12-29 08:27:47 UTC
Not necessarily, for testing purposes only, if you want me to submit a=20
revised patch please let me know.


-----Original Message-----
From: Olli Hauer <ohauer@FreeBSD.org>
To: bug-followup@FreeBSD.org; semprix@bsdmail.org
Sent: Tue, Dec 21, 2010 4:07 am
Subject: Re: ports/153293: Updating port for security/dradis


Is there a reason why you changed the official download site to a=20
private one?

--
olli


 =20
Comment 5 wenheping 2011-01-04 07:34:15 UTC
Hi,

  Some problems:

  1 please do not change official download site to a private one,
just add it if you would mirror it.

  2 patch-verify.sh should be modifed with the new version.

  3 The line "ruby-bdb>=0.6.5_1:${PORTSDIR}/databases/ruby-bdb \"
should be changed to:  "ruby18-bdb>=0.6.5:${PORTSDIR}/databases/ruby-bdb \" ?

  4 Plist file should be modified.


wen
Comment 6 Olli Hauer freebsd_committer freebsd_triage 2011-01-05 08:39:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ohauer

I'll take it
Comment 7 Olli Hauer freebsd_committer freebsd_triage 2011-01-05 09:13:13 UTC
I've created a working patch for the port, please look into the changes.

There are some problems with the Gemfile, so I've created a patch and modified
the checks. Even if both ruby sqlite ports are installed (rubygems-sqlite3 and
ruby18-dbd_sqlite3) dradis was not able to detect them with this Gemfile.

I found no reference in dradis for ruby18-bdb, where is this module needed?

Please look into the following diff
http://people.freebsd.org/~ohauer/diffs/PR_153293_dradis.diff

The diff was tested with success in a fresh chrooted environ.
Comment 8 dfilter service freebsd_committer freebsd_triage 2011-01-09 22:06:11 UTC
ohauer      2011-01-09 22:06:07 UTC

  FreeBSD ports repository

  Modified files:
    security/dradis      Makefile distinfo pkg-plist 
    security/dradis/files dradis.in 
  Added files:
    security/dradis/files patch-server__Gemfile 
  Removed files:
    security/dradis/files patch-verify.sh 
  Log:
   - update to version 2.6.0
   - rewrite the rc script so it works with this version
   - patch the Gemfile, else it will not detect
     rubygem-sqlite3 or ruby-dbd_sqlite3
  
  PR:             153293
  Submitted by:   Dax Labrador <semprix at bsdmail.org> (maintainer)
  
  Revision  Changes     Path
  1.2       +18 -12     ports/security/dradis/Makefile
  1.2       +2 -3       ports/security/dradis/distinfo
  1.2       +5 -3       ports/security/dradis/files/dradis.in
  1.1       +18 -0      ports/security/dradis/files/patch-server__Gemfile (new)
  1.2       +0 -17      ports/security/dradis/files/patch-verify.sh (dead)
  1.2       +182 -2092  ports/security/dradis/pkg-plist
_______________________________________________
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 9 Olli Hauer freebsd_committer freebsd_triage 2011-01-09 22:26:23 UTC
State Changed
From-To: open->closed

Committed with major changes. 

Hopefully the dradis developers will place all required ruby modules 
in the Gemfile. I ask there in the forum for  a list of modules 
and all I got was: 

> It seems that we are going towards a Bundler-based dependency 
> management. The Gemfile should contain all the ruby libraries 
> required by Dradis. In terms of other OS-level dependencies 
> they can be found on the Install and setup page 
> (there are subpages for Linux and BSD) 

Linux use bundler (not really use full for packaging), 
and the BSD page describes the installation of the old FreeBSD port.