Bug 171747

Summary: net-mgmt/collectd fails to build with GCRYPT enabled
Product: Ports & Packages Reporter: François Charlier <fcharlier>
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description François Charlier 2012-09-18 17:30:09 UTC
If libgcrypt is already installed, net-mgmt/collectd will try to reinstall
it as the dependency is specified against libgcrypt8 instead of plain libgcrypt
or libgcrypt.18 (the current version).

Portmaster then complains that the libgcrypt port is already installed and exits.

Fix: Patch attached with submission follows:
How-To-Repeat: portmaster install security/libgcrypt
portmaster install net-mgmt/collectd
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-18 17:30:51 UTC
Maintainer of net-mgmt/collectd,

Please note that PR ports/171747 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171747

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-18 17:30:54 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2012-09-18 17:41:55 UTC
This is my fault. Removed the ABI versions in the last commit.
"gcrypt.18" -> "gcrypt8".

Will commit once maintainer responds.

Bryan
Comment 4 Bryan Drewery freebsd_committer freebsd_triage 2012-09-18 17:42:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

Take
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-10-03 13:24:34 UTC
Author: bdrewery
Date: Wed Oct  3 12:24:20 2012
New Revision: 305199
URL: http://svn.freebsd.org/changeset/ports/305199

Log:
  - Fix wrong LIB_DEPENDS on gcrypt [1]
  - Update to new header
  
  PR:		ports/171747 [1]
  Submitted by:	François Charlier <fcharlier@ploup.net> [1]
  Approved by:	maintainer timeout (2w)
  Pointyhat to:	bdrewery

Modified:
  head/net-mgmt/collectd/Makefile

Modified: head/net-mgmt/collectd/Makefile
==============================================================================
--- head/net-mgmt/collectd/Makefile	Wed Oct  3 12:21:20 2012	(r305198)
+++ head/net-mgmt/collectd/Makefile	Wed Oct  3 12:24:20 2012	(r305199)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	collectd
-# Date created:				Sat Sep 29 05:19:31 PDT 2007
-# Whom:					Matt Peterson <matt@peterson.org>
-#
+# Created by: Matt Peterson <matt@peterson.org>
 # $FreeBSD$
-#
 
 PORTNAME=	collectd
 PORTVERSION=	4.10.4
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://collectd.org/files/
 
@@ -239,7 +235,7 @@ PLIST_SUB+=	DISK="@comment "
 
 .if ${PORT_OPTIONS:MGCRYPT}
 CONFIGURE_ARGS+=--with-libgcrypt-prefix=${LOCALBASE}
-LIB_DEPENDS+=	gcrypt8:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt
 .endif
 
 .if ${PORT_OPTIONS:MNUTUPS}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Bryan Drewery freebsd_committer freebsd_triage 2012-10-03 15:45:23 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!