Bug 156776 - net-mgmt/collectd in current ports will not build with libgcrypt support without hacking makefile
Summary: net-mgmt/collectd in current ports will not build with libgcrypt support with...
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: Sahil Tandon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 21:20 UTC by wynkoop
Modified: 2011-07-04 05:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wynkoop 2011-05-02 21:20:09 UTC
make config gives no option for linking collectd with libgcrypt.  If built without
hacking the make file gcrypt support can not be built into the current port
of collectd.  Older ports trees did have collectd linking against libgcrypt.
I am not sure how far back one would have to go, but I built it on a FreeBSD 8.1
box in November of 2010 and libgcrypt linked in.

Some sites use encryption with collectd so this should be an easy to select option and not need any make file hacking.

Fix: 

Add libgcrypt to the make config section of the port.
How-To-Repeat: build collectd from ports-current then ldd /usr/local/sbin/collectd
Comment 1 Sahil Tandon freebsd_committer freebsd_triage 2011-07-02 22:02:01 UTC
Can you show clear evidence that on a system with libgcrypt already 
installed, that collectd does not link against it?  Actual details are 
missing in your PR.

-- 
Sahil Tandon <sahil@FreeBSD.org>
Comment 2 Sahil Tandon freebsd_committer freebsd_triage 2011-07-04 04:58:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sahil

Take.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-07-04 04:59:57 UTC
sahil       2011-07-04 03:59:48 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/collectd    Makefile 
  Log:
  Add option to build with libgcrypt.
  
  PR:             ports/156776
  Submitted by:   Brett Wynkoop <wynkoop@wynn.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.28      +6 -0      ports/net-mgmt/collectd/Makefile
_______________________________________________
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 4 Sahil Tandon freebsd_committer freebsd_triage 2011-07-04 05:00:19 UTC
State Changed
From-To: open->closed

New option added.