[pkg-horde] [SCM] Debian Horde Packages repository: kronolith2 package branch, debian-sid, updated. fecf4aef8727aebe30f923bfd9c1e4efe4d91c50

Mathieu Parent math.parent at gmail.com
Sun Dec 20 18:54:22 UTC 2009


The following commit has been merged in the debian-sid branch:
commit 503844b6eb1ea75d6c10dbf5118003dd3d006d89
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Sun Dec 20 19:41:00 2009 +0100

    check in debian/rules for external libs that are not in the orig.tar.gz

diff --git a/debian/changelog b/debian/changelog
index ac47d16..c0e4518 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+kronolith2 (2.3.3+debian0-1) UNRELEASED; urgency=low
+
+  * New upstream release. 
+  * Added a check in debian/rules to make sure that external libs are not
+    in the orig.tar.gz
+
+ -- Mathieu Parent <sathieu at debian.org>  Sun, 20 Dec 2009 19:23:06 +0100
+
 kronolith2 (2.3.2-1) unstable; urgency=low
 
   * New upstream release. 
diff --git a/debian/rules b/debian/rules
index 884126a..cdd2522 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ configure-stamp:
 	dh_testdir
 	touch configure-stamp
 
-build: build-stamp
+build: check-external-libs build-stamp
 
 build-stamp: configure-stamp 
 	dh_testdir
@@ -115,4 +115,19 @@ binary-indep: build install
 	dh_builddeb
 
 binary: binary-indep binary-arch
+
+check-external-libs:
+	if [ -e js/builder.js ] || [ -e js/src/builder.js ] || \
+	   [ -e js/controls.js ] || [ -e js/src/controls.js ] || \
+	   [ -e js/effects.js ] || [ -e js/src/effects.js ] || \
+	   [ -e js/prototype.js ] || [ -e js/src/prototype.js ] || \
+	   [ -e js/scriptaculous.js ] || [ -e js/src/scriptaculous.js ]; then \
+	      echo ""; \
+	      echo " **                                  **"; \
+	      echo " **  tar contains external files!    **"; \
+	      echo " **                                  **"; \
+	      echo ""; \
+	      exit 1; \
+	  fi
+
 .PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch b/debian/watch
index a30d06b..3504429 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-http://ftp.horde.org/pub/kronolith/kronolith-h3-([\d\.]*)\.tar\.gz
+opts=dversionmangle=s/\+debian\d$// \
+  http://ftp.horde.org/pub/kronolith/kronolith-h3-([\d\.]*)\.tar\.gz

-- 
Debian Horde Packages repository: kronolith2 package



More information about the pkg-horde-hackers mailing list