[Pkg-voip-commits] r4939 - in /zaptel/trunk/debian: README.Debian changelog modulestest rules

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Fri Nov 30 21:56:53 UTC 2007


Author: tzafrir-guest
Date: Fri Nov 30 21:56:53 2007
New Revision: 4939

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4939
Log:
* Don't run 'make dist-clean' on zaptel-modules build.
* Document zaptel-modules build test.

Modified:
    zaptel/trunk/debian/README.Debian
    zaptel/trunk/debian/changelog
    zaptel/trunk/debian/modulestest
    zaptel/trunk/debian/rules

Modified: zaptel/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/README.Debian?rev=4939&op=diff
==============================================================================
--- zaptel/trunk/debian/README.Debian (original)
+++ zaptel/trunk/debian/README.Debian Fri Nov 30 21:56:53 2007
@@ -102,4 +102,31 @@
 Please help testing oslec.
 
 
+Build-time Tests
+----------------
+One sanity check to run when making changes in the package is to make
+(besides the usual lintian/linda) is to make sure that the modules
+packages still builds.
+
+For this to work you should first have a version of zaptel-source
+installed (any version. modules-assitant needs a few files from it in
+place). This allows you to use the script debian/modulestest as a
+post-build hook:
+
+  svn-buildpackage --svn-postbuild='debian/modulestest -r' --svn-ignore-new -uc -us 
+
+This will rebuild the zaptel-modules for your current kernel, or spend
+much more time with:
+
+  svn-buildpackage --svn-postbuild='debian/modulestest -a' --svn-ignore-new -uc -us 
+
+to build zaptel-modules for all of your currently-installed
+zaptel-modules packages. The log from the build will go to the file
+zaptel-modules-build-<version>.log in the build-area directory. e.g:  
+zaptel-modules-build-1.4.7~dfsg-1.log . 
+
+The script should also run ls for the module packages built. You should 
+chack that all packages were indeed built and that their size looks sane
+(no driver was left unbuilt).
+
 -- Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>  16 June 2007

Modified: zaptel/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/changelog?rev=4939&op=diff
==============================================================================
--- zaptel/trunk/debian/changelog (original)
+++ zaptel/trunk/debian/changelog Fri Nov 30 21:56:53 2007
@@ -14,6 +14,8 @@
   * Makefile_opt_level.dpatch: removed (applied by upstream, except for 2.4
     kernel modules).
   * Call 'make dist-clean' rather than 'make clean'.
+  * Don't run 'make dist-clean' on zaptel-modules build.
+  * Document zaptel-modules build test.
 
   [ Faidon Liambotis ]
   * Don't delete old device nodes on installations since it's needed only for
@@ -21,7 +23,7 @@
   * Fix debian/watch by using a pkg-voip wrapper to avoid upstream's silly
     redirections. (Closes: #449673)
 
- -- Kilian Krause <kilian at debian.org>  Fri, 30 Nov 2007 11:11:29 +0100
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Fri, 30 Nov 2007 23:53:08 +0200
 
 zaptel (1:1.4.5.1~dfsg-2) unstable; urgency=low
 

Modified: zaptel/trunk/debian/modulestest
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/modulestest?rev=4939&op=diff
==============================================================================
--- zaptel/trunk/debian/modulestest (original)
+++ zaptel/trunk/debian/modulestest Fri Nov 30 21:56:53 2007
@@ -3,7 +3,7 @@
 # debian/modulestest: a postbuild script to build zaptel modules
 # example usage:
 #  
-#  svn-buildpackage -rfakeroot --svn-postbuild='debian/modulestest -r' --svn-ignore-new --svn-lintian -uc -us
+#  svn-buildpackage --svn-postbuild='debian/modulestest -r' --svn-ignore-new 
 
 # At least one of the following two must be set to a sensible value:
 # If both are empty, the script does nothing useful)

Modified: zaptel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/rules?rev=4939&op=diff
==============================================================================
--- zaptel/trunk/debian/rules (original)
+++ zaptel/trunk/debian/rules Fri Nov 30 21:56:53 2007
@@ -130,7 +130,11 @@
 	rm -f tonezones.txt
 	rm -f $(GENERATED_SOURCES)
 	rm -rf debian/fake
-	[ ! -f Makefile ]|| $(MAKE) dist-clean
+	# * Makefile does not exist when running svn-buildpackage
+	#   as the source tree is not there.
+	# * menuselect/ does not exist when building the -modules
+	#   packages - we only build kernel-space stuff there.
+	[ ! -f Makefile ] || [ ! -d menuselect ] || $(MAKE) dist-clean
 	#rm -f debian/manpage.links  debian/manpage.refs debian/*.8
 	dh_clean
 




More information about the Pkg-voip-commits mailing list