Debian build fix...
Michael Neuling
mikey at neuling.org
Mon Feb 6 16:17:07 EST 2006
Rusty,
This patch seems to have been dropped from the 0.9.0 release. It was
originally posted by Balazs Scheidler <bazsi at balabit.hu> but me, being
the esteemed ccontrol Debian maintainer (** cough **), though repost
it.
Mikey
---
# HG changeset patch
# User mikey at localhost.localdomain
# Node ID ba2acf3ee0ab66b0138d02427aef5a7676c8b190
# Parent 4aed9a7e1e9d006284ea8fbf33a775cc3f59b2f9
Debian build update from Balazs Scheidler <bazsi at balabit.hu>
diff -r 4aed9a7e1e9d -r ba2acf3ee0ab configure
--- a/configure Mon Feb 6 02:25:59 2006
+++ b/configure Mon Feb 6 05:13:53 2006
@@ -83,6 +83,17 @@
echo $ASCIIDOC
fi
+DEBVERSION=`head -n1 debian/changelog | sed -e 's/^ccontrol (\([0-9.]\+
\)-[0-9]\+) .*$/\1/'` +
+if [ "$DEBVERSION" != "$VERSION" ]; then
+ echo "Fixing up debian/changelog as the version was changed."
+ # FIXME: -R is GNU date specific
+ DATE=`date -R`
+ cp debian/changelog debian/changelog.old
+ (sed -e "s/@VERSION@/$VERSION/" -e "s/@DATE@/$DATE/"
debian/changelog.template.in ; cat debian/changelog.old) >
debian/changelog
+ rm debian/changelog.old
+fi
+
echo sed -e \""s, at CC@,$CC,g\"" \
-e \""s, at BINDIR@,$BINDIR,g\"" \
-e \""s, at LIBDIR@,$LIBDIR,g\"" \
diff -r 4aed9a7e1e9d -r ba2acf3ee0ab debian/changelog.template.in
--- /dev/null Mon Feb 6 02:25:59 2006
+++ b/debian/changelog.template.in Mon Feb 6 05:13:53 2006
@@ -0,0 +1,5 @@
+ccontrol (@VERSION at -1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Michael Neuling <mikey at neuling.org> @DATE@
More information about the ccontrol
mailing list