Bug 176124

Summary: security/barnyard2, port update to correct problem
Product: Ports & Packages Reporter: pauls
Component: Individual Port(s)Assignee: Jason Helfman <jgh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
barnyard2.diff none

Description pauls 2013-02-13 20:00:00 UTC
	security/barnyard2, update port to correct problem with PGSQL,
	user reports only version 9.2 has the correct libraries to build
	Adds PORTREVISION so portupgrade and portmanager will pick it up
Comment 1 Jason Helfman freebsd_committer 2013-02-14 05:26:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer 2013-02-14 23:03:11 UTC
Author: jgh
Date: Thu Feb 14 23:03:03 2013
New Revision: 312249
URL: http://svnweb.freebsd.org/changeset/ports/312249

Log:
  - update PGSQL option, as only version 9.2 has the correct libraries to build
  - rename option MYSQL-SSL -> MYSQL_SSL
  - fix incorrectly defined option of OPTIONS_DEFAULT within MYSQL_SSL
  - use ${CP} in favor of cp
  
  PR:		176124
  Submitted by:	maintainer, pauls@utdallas.edu

Modified:
  head/security/barnyard2/Makefile

Modified: head/security/barnyard2/Makefile
==============================================================================
--- head/security/barnyard2/Makefile	Thu Feb 14 22:56:23 2013	(r312248)
+++ head/security/barnyard2/Makefile	Thu Feb 14 23:03:03 2013	(r312249)
@@ -15,14 +15,14 @@ GH_PROJECT=	${PORTNAME}
 GH_TAGNAME=	v2-${PORTVERSION}
 GH_COMMIT=	4dfdc80
 
-OPTIONS_DEFINE=	64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL-SSL ODBC PRELUDE PGSQL
+OPTIONS_DEFINE=	64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PRELUDE PGSQL
 NO_OPTIONS_SORT=yes
 
 64BIT_DESC=	Enable 64bit compilation (experimental)
 ARUBA_DESC=	Enable aruba support
 BRO_DESC=	Enable bro support (libbroccoli)
 GRE_DESC=	Enable gre support
-MYSQL-SSL_DESC=	Enable mysql ssl support (experimental)
+MYSQL_SSL_DESC=	Enable mysql ssl support (experimental)
 PRELUDE_DESC=	Enable prelude support
 
 .if defined(SLAVE)
@@ -96,8 +96,8 @@ CONFIGURE_ARGS+=	--with-mysql \
 CONFIGURE_ARGS+=	--without-mysql
 .endif
 
-.if ${PORT_OPTIONS:MMYSQL-SSL}
-OPTIONS_DEFAULT+=	MYSQL
+.if ${PORT_OPTIONS:MMYSQL_SSL}
+USE_MYSQL=		yes
 CONFIGURE_ARGS+=	--enable-mysql-ssl-support
 .else
 CONFIGURE_ARGS+=	--disable-mysql-ssl-support
@@ -119,6 +119,7 @@ CONFIGURE_ARGS+=	--disable-prelude
 
 .if ${PORT_OPTIONS:MPGSQL}
 USE_PGSQL=		yes
+WANT_PGSQL_VER=		92+
 CONFIGURE_ARGS+=	--with-postgresql=${LOCALBASE}/bin/pg_config --with-pgsql-includes=${LOCALBASE}/include/postgresql/server
 .else
 CONFIGURE_ARGS+=	--without-postgresql
@@ -136,7 +137,7 @@ post-patch:
 		${WRKSRC}/etc/barnyard2.conf
 
 post-install:
-	@cp ${WRKSRC}/etc/barnyard2.conf ${PREFIX}/etc/barnyard2.conf.sample
+	@${CP} ${WRKSRC}/etc/barnyard2.conf ${PREFIX}/etc/barnyard2.conf.sample
 	if [ ! -f ${PREFIX}/etc/barnyard2.conf ]; then \
 		${CP} -p ${PREFIX}/etc/barnyard2.conf.sample ${PREFIX}/etc/barnyard2.conf; \
 	fi
_______________________________________________
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 3 Jason Helfman freebsd_committer 2013-02-14 23:03:32 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!