summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-03-14 15:20:09 +0000
committersergei <sergei@FreeBSD.org>2005-03-14 15:20:09 +0000
commit2aa8f78eb6857cf752e875545cd6f87c12ffc023 (patch)
tree49d08bac56866f175c73301ced7c57211593dc4c /sysutils
parent2040228efbc003484281bb4674fe0e486b3f2f87 (diff)
downloadFreeBSD-ports-2aa8f78eb6857cf752e875545cd6f87c12ffc023.zip
FreeBSD-ports-2aa8f78eb6857cf752e875545cd6f87c12ffc023.tar.gz
- Update to 2.1.13
- Minor Makefile tweaks - This is the default version of cfengine now since sysutils/cfengine (1.6.3) has been marked DEPRECATED PR: ports/77859 Submitted by: sergei Approved by: Paul Dlug (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cfengine2/Makefile22
-rw-r--r--sysutils/cfengine2/distinfo4
-rw-r--r--sysutils/cfengine2/files/patch-contrib_Makefile.in2
-rw-r--r--sysutils/cfengine2/files/patch-doc_Makefile.in2
-rw-r--r--sysutils/cfengine2/files/patch-inputs_Makefile.in2
-rw-r--r--sysutils/cfengine2/pkg-plist1
6 files changed, 15 insertions, 18 deletions
diff --git a/sysutils/cfengine2/Makefile b/sysutils/cfengine2/Makefile
index 00f142e..eb635fe 100644
--- a/sysutils/cfengine2/Makefile
+++ b/sysutils/cfengine2/Makefile
@@ -5,13 +5,12 @@
# $FreeBSD$
#
-PORTNAME= cfengine2
-PORTVERSION= 2.1.10
+PORTNAME= cfengine
+PORTVERSION= 2.1.13
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= cfengine-${PORTVERSION}
MAINTAINER= paul@aps.org
COMMENT= A systems administration tool for networks
@@ -24,23 +23,20 @@ USE_REINPLACE= yes
INFO= cfengine-Anomalies cfengine-Reference cfengine-Tutorial
MAN8= cfengine.8 cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 \
- cfrun.8 cfservd.8
+ cfrun.8 cfservd.8 cfshow.8
WITH_BDB_VER?= 42
.if ${WITH_BDB_VER} == 42
-BDBLIB= db-4.2.2
-BDBVERSION= db-4.2
+LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
+CPPFLAGS+= -I${LOCALBASE}/include/db42
+LDFLAGS+= -L${LOCALBASE}/lib/db42 -ldb-4.2
.elif ${WITH_BDB_VER} == 41
-BDBLIB= db41.1
-BDBVERSION= db41
+LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
+CPPFLAGS+= -I${LOCALBASE}/include/db41
+LDFLAGS+= -L${LOCALBASE}/lib/db41 -ldb41
.else
.error WITH_BDB_VER must be 41 or 42
.endif
-LIB_DEPENDS+= ${BDBLIB}:${PORTSDIR}/databases/db${WITH_BDB_VER}
-
-post-patch:
- @${REINPLACE_CMD} 's|-ldb|-l${BDBVERSION}|g' ${WRKSRC}/configure
-
.include <bsd.port.mk>
diff --git a/sysutils/cfengine2/distinfo b/sysutils/cfengine2/distinfo
index 2bc6c49..45f1e96 100644
--- a/sysutils/cfengine2/distinfo
+++ b/sysutils/cfengine2/distinfo
@@ -1,2 +1,2 @@
-MD5 (cfengine-2.1.10.tar.gz) = 7a867c74ca3ad806a41b6f7339e67fa3
-SIZE (cfengine-2.1.10.tar.gz) = 3100323
+MD5 (cfengine-2.1.13.tar.gz) = 2c002fc37f2fc9f87248ad8b9e899091
+SIZE (cfengine-2.1.13.tar.gz) = 3153867
diff --git a/sysutils/cfengine2/files/patch-contrib_Makefile.in b/sysutils/cfengine2/files/patch-contrib_Makefile.in
index 6e66409..10e3fe8 100644
--- a/sysutils/cfengine2/files/patch-contrib_Makefile.in
+++ b/sysutils/cfengine2/files/patch-contrib_Makefile.in
@@ -5,7 +5,7 @@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(prefix)/share/examples/cfengine2
++pkgdatadir = $(prefix)/share/examples/cfengine
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
diff --git a/sysutils/cfengine2/files/patch-doc_Makefile.in b/sysutils/cfengine2/files/patch-doc_Makefile.in
index 6a4227b..eb4514c 100644
--- a/sysutils/cfengine2/files/patch-doc_Makefile.in
+++ b/sysutils/cfengine2/files/patch-doc_Makefile.in
@@ -14,7 +14,7 @@
man_MANS = cfengine.8 cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 cfrun.8 cfservd.8
info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo cfengine-Anomalies.texinfo
-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
-+docdir = $(prefix)/share/doc/cfengine2
++docdir = $(prefix)/share/doc/cfengine
doc_DATA =
# Info used in building and installing HTML files
diff --git a/sysutils/cfengine2/files/patch-inputs_Makefile.in b/sysutils/cfengine2/files/patch-inputs_Makefile.in
index eefc37d..39bd1e3 100644
--- a/sysutils/cfengine2/files/patch-inputs_Makefile.in
+++ b/sysutils/cfengine2/files/patch-inputs_Makefile.in
@@ -5,7 +5,7 @@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(prefix)/share/examples/cfengine2
++pkgdatadir = $(prefix)/share/examples/cfengine
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
diff --git a/sysutils/cfengine2/pkg-plist b/sysutils/cfengine2/pkg-plist
index 4d97fe2..733e0b8 100644
--- a/sysutils/cfengine2/pkg-plist
+++ b/sysutils/cfengine2/pkg-plist
@@ -6,6 +6,7 @@ sbin/cfexecd
sbin/cfkey
sbin/cfrun
sbin/cfservd
+sbin/cfshow
sbin/vicf
%%EXAMPLESDIR%%/cf.chflags.example
%%EXAMPLESDIR%%/cf.freebsd.example
OpenPOWER on IntegriCloud