summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-13 00:39:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:39:50 +0200
commit8cff5da6f72d5fa2cf1dd92c5203e917b3351df4 (patch)
tree1360c076737af87d3f6ba7705057ff08a7cfca36
parent6b1ad0b11dbc90348450a83543a9361c9c41582d (diff)
downloadslackbuilds-8cff5da6f72d5fa2cf1dd92c5203e917b3351df4.tar.gz
system/cfengine: Updated for version 2.2.10
-rw-r--r--system/cfengine/README1
-rw-r--r--system/cfengine/cfengine.SlackBuild12
-rw-r--r--system/cfengine/cfengine.info10
-rw-r--r--system/cfengine/slack-desc2
4 files changed, 15 insertions, 10 deletions
diff --git a/system/cfengine/README b/system/cfengine/README
index 75eab9fbf6..fba4ef5985 100644
--- a/system/cfengine/README
+++ b/system/cfengine/README
@@ -16,4 +16,3 @@ http://www.ieeetcsc.org/newsletters/2002-01/burgess.html
Automating Security with GNU cfengine by Kirk Bauer
http://www.linuxjournal.com/article/6848
-
diff --git a/system/cfengine/cfengine.SlackBuild b/system/cfengine/cfengine.SlackBuild
index 9bc0b73977..62e37582b1 100644
--- a/system/cfengine/cfengine.SlackBuild
+++ b/system/cfengine/cfengine.SlackBuild
@@ -8,7 +8,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=cfengine
-VERSION=2.2.9
+VERSION=2.2.10
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -20,10 +20,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e # Exit on most errors
@@ -51,9 +54,10 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--datadir=/usr/doc \
- --libdir=/usr/lib \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-shared=yes \
- --enable-static=no
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -122,4 +126,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/cfengine/cfengine.info b/system/cfengine/cfengine.info
index 64ee3ee2a3..ba7d43d158 100644
--- a/system/cfengine/cfengine.info
+++ b/system/cfengine/cfengine.info
@@ -1,8 +1,10 @@
PRGNAM="cfengine"
-VERSION="2.2.9"
+VERSION="2.2.10"
HOMEPAGE="http://www.cfengine.org/"
-DOWNLOAD="http://www.cfengine.org/downloads/cfengine-2.2.9.tar.gz"
-MD5SUM="ce115587078a7a8345dca52891f95513"
+DOWNLOAD="http://www.cfengine.org/tarballs/cfengine-2.2.10.tar.gz"
+MD5SUM="3b90ff8bf2ec941cd33cfb65f5012f16"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Menno Duursma"
EMAIL="druiloor@zonnet.nl"
-APPROVED="dsomero"
+APPROVED="rworkman"
diff --git a/system/cfengine/slack-desc b/system/cfengine/slack-desc
index 9885041a13..26a095cfbd 100644
--- a/system/cfengine/slack-desc
+++ b/system/cfengine/slack-desc
@@ -16,4 +16,4 @@ cfengine:
cfengine: Cfengine was written and is maintained by Mark Burgess.
cfengine:
cfengine:
-cfengine:
+cfengine: