Correctly expand $(sys.crontab) on FreeBSD
Define LICENSE Update LIB_DEPENDS to new format PR: ports/187936 Approved by: cy@FreeBSD.org (maintainer)
This commit is contained in:
parent
d28f41ec46
commit
83aaa251d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349249
2 changed files with 18 additions and 3 deletions
|
@ -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}
|
||||
|
|
13
sysutils/cfengine35/files/patch-libpromises-sysinfo.c
Normal file
13
sysutils/cfengine35/files/patch-libpromises-sysinfo.c
Normal file
|
@ -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);
|
Loading…
Reference in a new issue