Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 13:09:03 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349249 - in head/sysutils/cfengine35: . files
Message-ID:  <201403261309.s2QD93eG090141@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Wed Mar 26 13:09:02 2014
New Revision: 349249
URL: http://svnweb.freebsd.org/changeset/ports/349249
QAT: https://qat.redports.org/buildarchive/r349249/

Log:
  Correctly expand $(sys.crontab) on FreeBSD
  Define LICENSE
  Update LIB_DEPENDS to new format
  
  PR:		ports/187936
  Approved by:	cy@FreeBSD.org (maintainer)

Added:
  head/sysutils/cfengine35/files/patch-libpromises-sysinfo.c   (contents, props changed)
Modified:
  head/sysutils/cfengine35/Makefile

Modified: head/sysutils/cfengine35/Makefile
==============================================================================
--- head/sysutils/cfengine35/Makefile	Wed Mar 26 13:07:07 2014	(r349248)
+++ head/sysutils/cfengine35/Makefile	Wed Mar 26 13:09:02 2014	(r349249)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cfengine
 PORTVERSION=	3.5.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cfengine.com/source-code/download?file=
 
@@ -11,6 +11,8 @@ MAINTAINER=	cy@FreeBSD.org
 #		gjb@FreeBSD.org is also committer for this port
 COMMENT=	A systems administration tool for networks
 
+LICENSE=	GPLv3
+
 .if !defined(MASTERDIR)
 PKGNAMESUFFIX=	35
 LATEST_LINK=	cfengine35
@@ -51,12 +53,12 @@ OPTIONS_DEFAULT=TOKYOCABINET
 
 .if ${PORT_OPTIONS:MTOKYOCABINET}
 CONFIGURE_ARGS+=	--with-tokyocabinet=${LOCALBASE}
-LIB_DEPENDS+=	libtokyocabinet.so.9:${PORTSDIR}/databases/tokyocabinet
+LIB_DEPENDS+=	libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
 .endif
 
 .if ${PORT_OPTIONS:MQDBM}
 CONFIGURE_ARGS+=	--with-qdbm=${LOCALBASE}
-LIB_DEPENDS+=	libqdbm.so.14:${PORTSDIR}/databases/qdbm
+LIB_DEPENDS+=	libqdbm.so:${PORTSDIR}/databases/qdbm
 .endif
 
 .if ${PORT_OPTIONS:MPGSQL}

Added: head/sysutils/cfengine35/files/patch-libpromises-sysinfo.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cfengine35/files/patch-libpromises-sysinfo.c	Wed Mar 26 13:09:02 2014	(r349249)
@@ -0,0 +1,13 @@
+--- libpromises/sysinfo.c.orig	2013-12-09 12:13:14.000000000 +0000
++++ libpromises/sysinfo.c	2014-03-25 14:30:28.000000000 +0000
+@@ -1075,6 +1075,10 @@
+         {
+             snprintf(vbuff, CF_BUFSIZE, "/var/spool/cron/%s", pw->pw_name);
+         }
++        else if (IsDefinedClass(ctx, "freebsd", NULL))
++        {
++            snprintf(vbuff, CF_BUFSIZE, "/var/cron/tabs/%s", pw->pw_name);
++        }
+         else
+         {
+             snprintf(vbuff, CF_BUFSIZE, "/var/spool/cron/crontabs/%s", pw->pw_name);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403261309.s2QD93eG090141>