From d67bb1081c3ca50607598fd8b1bd6a992ec74ea9 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 29 Sep 2008 09:06:59 +0000 Subject: Update to 1.5.3 --- wicd/build/wicd.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'wicd') diff --git a/wicd/build/wicd.SlackBuild b/wicd/build/wicd.SlackBuild index 346911f2..39962593 100755 --- a/wicd/build/wicd.SlackBuild +++ b/wicd/build/wicd.SlackBuild @@ -38,6 +38,8 @@ # * Lots of fixes again in SVN # 1.5.1-1: 06/aug/2008 by Eric Hameleers # * Stable release. +# 1.5.3-1: 29/sep/2008 by Eric Hameleers +# * Skipped a release. # # Run 'sh wicd.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -48,7 +50,7 @@ # Set initial variables: PRGNAM=wicd -VERSION=${VERSION:-"1.5.1"} # SVN snapshot or official release +VERSION=${VERSION:-"1.5.3"} # SVN snapshot or official release BRANCH=${BRANCH:-"testing-1.5.0"} # SVN 'testing' branch is where it happens ARCH=noarch BUILD=${BUILD:-1} @@ -66,10 +68,10 @@ TMP=${TMP:-/tmp/build} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" # If SRCURL is empty, a SVN snapshot will be downloaded instead: SRCURL="http://downloads.sourceforge.net/wicd/${PRGNAM}-${VERSION}.tar.gz" #SRCURL="" +SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" # This function checks out sources from SVN/CVS and creates a tarball of them. src_checkout() { @@ -171,8 +173,6 @@ chmod -R u+w,go+r-w,a-s . echo Building ... ## Fix the version in the setup script in case we use a SVN snapshot: #sed -i -e "/\/etc\/slackware-version/,/elif os.access/s#/usr/doc/wicd-%s.*#/usr/doc/$PRGNAM-$VERSION'#" setup.py -# Release 1.5.1 has a bug in the version definition: -sed -i -e "s/VERSION_NUM = '1.5.0'/VERSION_NUM = '$VERSION'/" setup.py # Use our own Slackware rc script, overwriting what is in the source: cat $SRCDIR/rc.wicd > init/slackware/rc.wicd # Only needed to get updated translations: @@ -181,6 +181,10 @@ cat $SRCDIR/rc.wicd > init/slackware/rc.wicd python setup.py configure 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log python setup.py install --root=$PKG 2>&1 | tee $OUTPUT/install-${PRGNAM}.log +# One man page does not get installed: +mkdir -p $PKG/usr/man/man1 +cat man/wicd-client.1 > $PKG/usr/man/man1/wicd-client.1 + # Prevent user-modified scripts from being overwritten: mv $PKG/etc/rc.d/rc.wicd $PKG/etc/rc.d/rc.wicd.new mv $PKG/etc/dbus-1/system.d/wicd.conf $PKG/etc/dbus-1/system.d/wicd.conf.new -- cgit v1.2.3