From be7e0d63ca08430d5a12cde0c174972a472ab60f Mon Sep 17 00:00:00 2001 From: Martin Schulze Date: Tue, 10 Aug 2004 07:05:15 +0200 Subject: cvs-mailcommit (1.19-2) unstable; urgency=medium * Added the missing dependency to RCS *sigh* [dgit import package cvs-mailcommit 1.19-2] --- cvs-mailcommit | 2 +- debian/changelog | 30 ++++++++++++++++++ debian/control | 14 ++++++++ debian/copyright | 33 +++++++++++++++++++ debian/rules | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 175 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/cvs-mailcommit b/cvs-mailcommit index dde1677..f5a1888 100755 --- a/cvs-mailcommit +++ b/cvs-mailcommit @@ -3,7 +3,7 @@ # cvs-mailcommit - Send CVS commitments via mail # Copyright (c) 1998,2004 Martin Schulze # -# $Id: cvs-mailcommit,v 1.19 2004/08/09 15:48:09 joey Exp $ +# $Id: cvs-mailcommit,v 1.2 2004/08/09 16:04:20 joey Exp $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3e95c5a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,30 @@ +cvs-mailcommit (1.19-2) unstable; urgency=medium + + * Added the missing dependency to RCS *sigh* + + -- Martin Schulze Tue, 10 Aug 2004 07:05:15 +0200 + +cvs-mailcommit (1.19-1) unstable; urgency=medium + + * New upstream version + - Added support for new-style CVS format strings + - Improved From: generation + - Added support for optional config file + + -- Martin Schulze Mon, 9 Aug 2004 18:06:17 +0200 + +cvs-mailcommit (1.12-2) unstable; urgency=low + + * Don't depend on a virtual package without a real package + * Manually adjust the ownership of debian/tmp/DEBIAN/control since + dpkg-gencontrol is too stupid, and the package won't be accepted + otherwise. + + -- Martin Schulze Tue, 20 Jul 2004 07:52:51 +0200 + +cvs-mailcommit (1.12-1) unstable; urgency=low + + * Initial version + * Taken from http://www.infodrom.org/Infodrom/tools/cvs-mailcommit.html + + -- Martin Schulze Fri, 16 Jul 2004 09:30:10 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..275823a --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: cvs-mailcommit +Section: utils +Priority: optional +Maintainer: Martin Schulze +Standards-Version: 3.6.1.0 + +Package: cvs-mailcommit +Architecture: all +Depends: postfix | mail-transport-agent, rcs +Description: Send CVS commitments via mail + The cvs-mailcommit program is hooked into the CVS system via the + loginfo file and helps people keep track of CVS repositories by + distributing changes in a repository via mail. This package is + written in Perl. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c8b3271 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +This is the Debian version of cvs-mailcommit, a facility to distribute +changes in CVS repositories via mail. + +This package was put together by Martin Schulze , +from sources obtained from: + + http://www.infodrom.org/Infodrom/tools/cvs-mailcommit.html + +cvs-mailcommit is released under the GNU General Public LIcense. + + Copyright (c) 1998,2004 Martin Schulze + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The source of the Debian package is managed through CVS. It is publically +available at or as +<:pserver:anonymous@cvs.infodrom.org/var/cvs/debian/cvs-mailcommit/>. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..708709e --- /dev/null +++ b/debian/rules @@ -0,0 +1,97 @@ +#! /usr/bin/make -f + +# Copyright 1994-98,2001,4 joey@infodrom.org (Martin Schulze) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 dated June, 1991. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA +# +SHELL=/bin/bash + +# The name and version of the source +# +source = $(shell grep "^Source: " debian/control|head -n 1|sed 's/Source: \(.*\)/\1/g') +package = $(shell grep "^Package: " debian/control|head -n 1|sed 's/Package: \(.*\)/\1/g') +version = $(shell grep "^$(source) " debian/changelog|head -n 1 |sed 's/.*(\(.*\)\-[^\-]*).*/\1/g') +revision = $(shell grep "^$(source) " debian/changelog|head -n 1 |sed 's/.*([^\-]*\-\(.*\)).*/\1/g') + +installbin = install -g root -o root -m 755 +installdoc = install -g root -o root -m 644 + +build: + pod2man --section=1 --lax --center="Debian GNU/Linux" \ + --release="Debian Project" cvs-mailcommit \ + > cvs-mailcommit.1 + touch stamp-build + +clean: debclean + rm -f stamp-build + rm -rf *~ debian/*~ cvs-mailcommit.1 + +debclean: +# Cleans debian binary directories to allow binary creation + rm -rf debian/tmp + rm -f debian/{files,substvars} + +binary-indep: +# Nothing to be done here + +binary-arch: debclean + test -f stamp-build || $(MAKE) -f debian/rules build + # + $(installbin) -d debian/tmp/DEBIAN + chown -R root.root debian/tmp + chmod -R g-ws debian/tmp + # + $(installbin) -d debian/tmp/usr/share/doc/$(package) + $(installdoc) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian + $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package) + gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian + # + $(installbin) -d debian/tmp/usr/bin + $(installbin) cvs-mailcommit debian/tmp/usr/bin/ + # + $(installbin) -d debian/tmp/usr/share/man/man1 + $(installdoc) cvs-mailcommit.1 debian/tmp/usr/share/man/man1/ + gzip -9 debian/tmp/usr/share/man/man?/* + # + # dpkg-shlibdeps debian/tmp/usr/bin/* + dpkg-gencontrol -isp + chown root.root debian/tmp/DEBIAN/control + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b' or dsc; false + +dsc: + -test -d debian/tmp \ + && $(MAKE) -f debian/rules clean + if [ ! -f ../$(source)_$(version).orig.tar.gz -a -f ../orig/$(source)_$(version).orig.tar.gz ]; \ + then \ + ln -s orig/$(source)_$(version).orig.tar.gz ../$(source)_$(version).orig.tar.gz; \ + touch /tmp/stamp-$(source)-link; \ + fi; \ + cd .. && dpkg-source -b $(source)-$(version) + if [ -f /tmp/stamp-$(source)-link ]; then \ + rm ../$(source)_$(version).orig.tar.gz /tmp/stamp-$(source)-link; \ + fi + +checkroot: + $(checkdir) + test root = "`whoami`" + +dist: binary dsc + +.PHONY: binary binary-arch binary-indep clean checkroot + -- cgit v1.2.3