[Pkg-mono-svn-commits] rev 1376 - xsp/trunk/debian

Pablo Fischer pabl0-guest@haydn.debian.org
Wed, 25 Aug 2004 09:38:42 -0600


Author: pabl0-guest
Date: 2004-08-25 09:38:36 -0600 (Wed, 25 Aug 2004)
New Revision: 1376

Modified:
   xsp/trunk/debian/changelog
   xsp/trunk/debian/mono-xsp.postinst
   xsp/trunk/debian/rules
Log:
* netstat should not do resolve reverse names
* fix a config.status lintian warning


Modified: xsp/trunk/debian/changelog
===================================================================
--- xsp/trunk/debian/changelog	2004-08-23 17:11:28 UTC (rev 1375)
+++ xsp/trunk/debian/changelog	2004-08-25 15:38:36 UTC (rev 1376)
@@ -6,6 +6,7 @@
     + update-mono-server.conf is a symlink of mono-server-update.conf, 
       but the package name will be the same (closes: #263954)
     + use po-debconf for po template files (closes: #264922)
+    + netstat port checking should not resolve reverse names (closes: #267859)    	
 
  -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 17 Aug 2004 17:08:32 -0600
 

Modified: xsp/trunk/debian/mono-xsp.postinst
===================================================================
--- xsp/trunk/debian/mono-xsp.postinst	2004-08-23 17:11:28 UTC (rev 1375)
+++ xsp/trunk/debian/mono-xsp.postinst	2004-08-25 15:38:36 UTC (rev 1376)
@@ -83,7 +83,7 @@
 	fi
 
 	#Check the port 8080, is it available?
-	port_8080=`netstat -ta | grep 'webcache' | wc -l`
+	port_8080=`netstat -nta | grep 8080 | wc -l`
 	
 	if [ $port_8080 = "1" ]; then
 	    disable_8080

Modified: xsp/trunk/debian/rules
===================================================================
--- xsp/trunk/debian/rules	2004-08-23 17:11:28 UTC (rev 1375)
+++ xsp/trunk/debian/rules	2004-08-25 15:38:36 UTC (rev 1376)
@@ -36,18 +36,16 @@
 	debconf-updatepo
 
 clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp config.status
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
 	#use updated config.{sub|guess} files
 	-test -r /usr/share/misc/config.sub && \
 	cp -f /usr/share/misc/config.sub config.sub
 	-test -r /usr/share/misc/config.guess && \
 	cp -f /usr/share/misc/config.guess config.guess
-
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-	rm -f configure-stamp
-	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
 	rm -rf $$MONO_SHARED_DIR
 	dh_clean 
 	rm -rf $(CURDIR)/debian/*.8