[Pkg-voip-commits] r6816 - in /lcr/trunk/debian: changelog init.d.ex init.d.lsb.ex lcr.default.ex lcr.doc-base.EX manpage.1.ex manpage.sgml.ex manpage.xml.ex postinst.ex postrm.ex preinst.ex prerm.ex rules watch.ex
maniac-guest at alioth.debian.org
maniac-guest at alioth.debian.org
Tue Feb 24 17:56:39 UTC 2009
Author: maniac-guest
Date: Tue Feb 24 17:56:39 2009
New Revision: 6816
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6816
Log:
* Remove all debian/*.ex debian/*.EX files. Just examples.
* debian/rules:
- Added some variables to handle versioning.
- Added get-orig-source.
* Changed the upstream version ( 0.0.DATE -> 1.3~DATE ).
Seems that they are using that versioning style.
Removed:
lcr/trunk/debian/init.d.ex
lcr/trunk/debian/init.d.lsb.ex
lcr/trunk/debian/lcr.default.ex
lcr/trunk/debian/lcr.doc-base.EX
lcr/trunk/debian/manpage.1.ex
lcr/trunk/debian/manpage.sgml.ex
lcr/trunk/debian/manpage.xml.ex
lcr/trunk/debian/postinst.ex
lcr/trunk/debian/postrm.ex
lcr/trunk/debian/preinst.ex
lcr/trunk/debian/prerm.ex
lcr/trunk/debian/watch.ex
Modified:
lcr/trunk/debian/changelog
lcr/trunk/debian/rules
Modified: lcr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/lcr/trunk/debian/changelog?rev=6816&op=diff
==============================================================================
--- lcr/trunk/debian/changelog (original)
+++ lcr/trunk/debian/changelog Tue Feb 24 17:56:39 2009
@@ -1,6 +1,15 @@
-lcr (0.0.20090107-1) unstable; urgency=low
+lcr (1.3~20090107-1) unstable; urgency=low
+ [ Joerg Dorchain ]
* New upstream version
+
+ [ Victor Seva ]
+ * Remove all debian/*.ex debian/*.EX files. Just examples.
+ * debian/rules:
+ - Added some variables to handle versioning.
+ - Added get-orig-source.
+ * Changed the upstream version ( 0.0.DATE -> 1.3~DATE ).
+ Seems that they are using that versioning style.
-- Joerg Dorchain <joerg at dorchain.net> Fri, 26 Feb 2009 14:31:26 +0100
Modified: lcr/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/lcr/trunk/debian/rules?rev=6816&op=diff
==============================================================================
--- lcr/trunk/debian/rules (original)
+++ lcr/trunk/debian/rules Tue Feb 24 17:56:39 2009
@@ -1,14 +1,18 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~[0-9.]*//')
+UPVERSION_:=$(shell echo $(UPVERSION) | sed -e 's/\./_/g')
+URLVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/[0-9.]*~//' -e 's/\./_/g' )
+
+UPFILENAME := lcr_$(URLVERSION).tar.gz
+FILENAME := lcr_$(UPVERSION_)_$(URLVERSION).orig.tar.gz
+URL := http://isdn.eversberg.eu/download/lcr-$(UPVERSION)/$(UPFILENAME)
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -85,24 +89,11 @@
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
-# dh_perl
-# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
@@ -110,4 +101,14 @@
dh_builddeb
binary: binary-indep binary-arch
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@mkdir -p ../tarballs
+ @@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
+
.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-voip-commits
mailing list