r6194 - in /trunk/libquota-perl/debian: README.Debian changelog control copyright rules watch

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Tue Jul 31 23:41:27 UTC 2007


Author: rmayorga-guest
Date: Tue Jul 31 23:41:27 2007
New Revision: 6194

URL: http://svn.debian.org/wsvn/?sc=1&rev=6194
Log:
correcting debian/watch, get-orig-source target added to debian/rules
updating copyright

Modified:
    trunk/libquota-perl/debian/README.Debian
    trunk/libquota-perl/debian/changelog
    trunk/libquota-perl/debian/control
    trunk/libquota-perl/debian/copyright
    trunk/libquota-perl/debian/rules
    trunk/libquota-perl/debian/watch

Modified: trunk/libquota-perl/debian/README.Debian
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/README.Debian?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/README.Debian (original)
+++ trunk/libquota-perl/debian/README.Debian Tue Jul 31 23:41:27 2007
@@ -1,6 +1,4 @@
-This is the debian package for the Quota module.
-It was created by Elie Rosenblum <fnord at debian.org> using dh-make-perl.
-
-The file vxquotactl.c has been removed from the archive; it is not applicable
-except on VxFS, and therefore useless under Linux. It also is of questionable
-legality under the DFSG.
+Changes to upstream sources
+---------------------------
+The file vxquotactl.c has been removed from the archive, because it
+misses clear licensing information and is used only on VxFS.

Modified: trunk/libquota-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/changelog?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/changelog (original)
+++ trunk/libquota-perl/debian/changelog Tue Jul 31 23:41:27 2007
@@ -9,6 +9,7 @@
     clean some unused dh_* calls
     changed 'pwd' to $(CURDIR)
     some cosmetical changes
+    get-orig-source target added
   * debian/control:
     Added myself to Uploaders
   * debian/copyright updated: copyrights holder's

Modified: trunk/libquota-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/control?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/control (original)
+++ trunk/libquota-perl/debian/control Tue Jul 31 23:41:27 2007
@@ -5,6 +5,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Rene Mayorga <rmayorga at debian.org.sv>
 Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libquota-perl/
 
 Package: libquota-perl
 Architecture: any

Modified: trunk/libquota-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/copyright?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/copyright (original)
+++ trunk/libquota-perl/debian/copyright Tue Jul 31 23:41:27 2007
@@ -1,15 +1,27 @@
-The upstream package is released as 'public domain'. I'm not sure what we
-can object to. :)
+This is the debian package for the Quota module.
+It was created by 
+Elie Rosenblum <fnord at debian.org> on  Fri, 24 Aug 2001 00:08:21 -0400
+using dh-make-perl.
+
+It was downloaded from: http://search.cpan.org/~tomzo/Quota-1.5.1/
+
+Upstream author is: Tom Zoerner (tomzo at nefkom.net)
+
 
 Copyright holder to oder parts of code:
-    Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved
+
+file :include/quotaio_xfs.h:  
+
+   Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved
+   
+   License from: include/quotaio_xfs.h:
+
+   This program is free software; you can redistribute it and/or modify it
+   under the terms of version 2 of the GNU General Public License as
+   published by the Free Software Foundation.
+   
 
 I have removed the file 'vxquotactl.c' as there is no clear copyright or
 license for distribution other than a statement that it was provided by
 Sun / Veritas; I have not pursued distribution ability because the file is
 useless without VxFS.
-
-
-The upstream author is: Tom Zoerner (tomzo at nefkom.net)
-
-It was downloader from: http://search.cpan.org/~tomzo/Quota-1.5.1/

Modified: trunk/libquota-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/rules?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/rules (original)
+++ trunk/libquota-perl/debian/rules Tue Jul 31 23:41:27 2007
@@ -23,6 +23,14 @@
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 OPTIMIZE += -g
 endif
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+		|  sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/+dfsg//'  | sed -e 's/-.*//')
+
+FILENAME := libquota-perl_$(UPVERSION)+dfsg.orig.tar.gz
+UPFILENAME := Quota-$(UPVERSION).tar.gz
+URL := http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/Quota-$(UPVERSION).tar.gz
 
 build: build-stamp
 build-stamp:
@@ -73,5 +81,28 @@
 source diff:                                                                  
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
+print-version: 
+	@@echo "Debian version: 	$(DEBVERSION)"
+	@@echo "Upstream version:	$(UPVERSION)"
+
+TMP_TARBALL_TOP=../tarballs/libquota-perl-$(UPVERSION).tmp/Quota-$(UPVERSION)
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ] || mkdir -p ../tarballs
+	@@echo Downloading $(UPFILENAME) from $(URL) ....
+	@@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+	@@echo Repacking as DFSG ..
+	@@mkdir -p ../tarballs/libquota-perl-$(UPVERSION).tmp 
+	@@ cd ../tarballs/libquota-perl-$(UPVERSION).tmp ; \
+	  tar xfz ../$(UPFILENAME)
+	@@rm -f $(TMP_TARBALL_TOP)/vxquotactl.c
+	@@mv ../tarballs/libquota-perl-$(UPVERSION).tmp/Quota-$(UPVERSION) \
+	  ../tarballs/libquota-perl-$(UPVERSION).tmp/libquota-perl-$(UPVERSION)+dfsg
+	@@cd ../tarballs/libquota-perl-$(UPVERSION).tmp ; \
+	tar cfz ../$(FILENAME) *
+	@@echo Cleaning up...
+	@@$(RM) -rf ../tarballs/libquota-perl-$(UPVERSION).tmp
+	
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary

Modified: trunk/libquota-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/watch?rev=6194&op=diff
==============================================================================
--- trunk/libquota-perl/debian/watch (original)
+++ trunk/libquota-perl/debian/watch Tue Jul 31 23:41:27 2007
@@ -1,3 +1,3 @@
 version=3
-
-http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/Quota-(.*)\.tar\.gz
+opts=dversionmangle=s/\+dfsg$// \
+http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/Quota-([\d\.]+)\.tar\.gz




More information about the Pkg-perl-cvs-commits mailing list