[Pkg-mono-svn-commits] rev 3996 - mod-mono/trunk/debian

Jo Shields directhex-guest at alioth.debian.org
Wed Jun 3 11:01:50 UTC 2009


Author: directhex-guest
Date: 2009-06-03 11:01:50 +0000 (Wed, 03 Jun 2009)
New Revision: 3996

Modified:
   mod-mono/trunk/debian/changelog
   mod-mono/trunk/debian/control
   mod-mono/trunk/debian/rules
Log:
  * New upstream release
  * debian/rules:
    + Implement a get-orig-source rule
  * debian/control:
    + Bump standards version to latest version
    + Alter dependencies for new mono-runtime package in Mono 2.4.


Modified: mod-mono/trunk/debian/changelog
===================================================================
--- mod-mono/trunk/debian/changelog	2009-06-01 15:50:11 UTC (rev 3995)
+++ mod-mono/trunk/debian/changelog	2009-06-03 11:01:50 UTC (rev 3996)
@@ -1,3 +1,14 @@
+mod-mono (2.4-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * debian/rules:
+    + Implement a get-orig-source rule
+  * debian/control:
+    + Bump standards version to latest version
+    + Alter dependencies for new mono-runtime package in Mono 2.4.
+
+ -- Jo Shields <directhex at apebox.org>  Wed, 03 Jun 2009 11:30:52 +0100
+
 mod-mono (2.0-2) unstable; urgency=low
 
   * Upload to unstable.

Modified: mod-mono/trunk/debian/control
===================================================================
--- mod-mono/trunk/debian/control	2009-06-01 15:50:11 UTC (rev 3995)
+++ mod-mono/trunk/debian/control	2009-06-03 11:01:50 UTC (rev 3996)
@@ -7,12 +7,12 @@
 Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
 Uploaders: Dylan R. E. Moonfire <debian at mfgames.com>, Mirco Bauer <meebey at debian.org>, Jo Shields <directhex at apebox.org>
 Build-Depends: debhelper (>= 4.1.16), apache2-threaded-dev (>= 2.2), libmono-dev, po-debconf
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 
 Package: libapache2-mod-mono
 Architecture: any
 Section: web
-Depends: ${shlibs:Depends}, debconf (>= 1.2.0), apache2.2-common, mono-jit (>= 1.0.1), mono-apache-server (>= ${current-version}) | mono-apache-server2 (>= ${current-version}), mono-apache-server (<< ${next-version}) | mono-apache-server2 (<< ${next-version})
+Depends: ${shlibs:Depends}, debconf (>= 1.2.0), apache2.2-common, mono-runtime (>= 2.4), mono-apache-server (>= ${current-version}) | mono-apache-server2 (>= ${current-version}), mono-apache-server (<< ${next-version}) | mono-apache-server2 (<< ${next-version})
 Description: Apache module for running ASP.NET applications on Mono
  The mod_mono module for Apache allows ASP.NET web applications to be
  run with the Mono .NET implementation.

Modified: mod-mono/trunk/debian/rules
===================================================================
--- mod-mono/trunk/debian/rules	2009-06-01 15:50:11 UTC (rev 3995)
+++ mod-mono/trunk/debian/rules	2009-06-03 11:01:50 UTC (rev 3996)
@@ -17,6 +17,14 @@
 PKG_VERSION ?= $(shell echo $(DPKG_VERSION) | cut -f 1 -d '-' | cut -f 1-3 -d '.')
 NEXT_PKG_VERSION ?= $(shell echo $(PKG_VERSION) | perl -e '$$_=<>;/\.(\d+)$$/;$$a=$$1+1;s/\.(\d+)$$/.$$a/;print;')
 
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -113,5 +121,18 @@
 	dh_md5sums
 	dh_builddeb
 
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir ../tarballs \
+		--force-download \
+		--rename
+	bzcat ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \
+		gzip -9fn -c - > ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+	rm ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install 




More information about the Pkg-mono-svn-commits mailing list