Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 15:16:17 +0000
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        cy@FreeBSD.org
Subject:   ports/187936: [PATCH] sysutils/cfengine35: Set sys.crontab to correct path on FreeBSD
Message-ID:  <201403251520.s2PFK1dY069469@freefall.freebsd.org>
Resent-Message-ID: <201403251520.s2PFK1dY069469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187936
>Category:       ports
>Synopsis:       [PATCH] sysutils/cfengine35: Set sys.crontab to correct path on FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 15:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steven Kreuzer
>Release:        FreeBSD 9.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD clamps.exit2shell.com 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:01:40 UTC 2013
>Description:
Correctly expand $(sys.crontab) on FreeBSD
Define LICENSE
Update LIB_DEPENDS to new format

Port maintainer (cy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- cfengine35-3.5.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 349151)
+++ Makefile	(working copy)
@@ -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 @@
 #		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 @@
 
 .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}
Index: files/patch-libpromises-sysinfo.c
===================================================================
--- files/patch-libpromises-sysinfo.c	(revision 0)
+++ files/patch-libpromises-sysinfo.c	(working copy)
@@ -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);

Property changes on: files/patch-libpromises-sysinfo.c
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- cfengine35-3.5.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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