Now with Lintian cleanness! debian
authorPaul Crowley <paul@lshift.net>
Tue, 10 Nov 2009 11:30:22 +0000
branchdebian
changeset 187 1e4fc28ca20d
parent 186 4fa13d8412c1
child 188 ee1117771e12
Now with Lintian cleanness!
debian/control
debian/copyright
debian/rules
--- a/debian/control	Tue Nov 10 11:11:56 2009 +0000
+++ b/debian/control	Tue Nov 10 11:30:22 2009 +0000
@@ -8,7 +8,7 @@
 
 Package: mercurial-server
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, mercurial, openssh-server | ssh-server
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, python, mercurial, openssh-server | ssh-server
 Description: provide and manage a shared Mercurial repository
  mercurial-server makes a group of repositories available to the developers
  you choose, identified by ssh keys, with easy key and access management
--- a/debian/copyright	Tue Nov 10 11:11:56 2009 +0000
+++ b/debian/copyright	Tue Nov 10 11:30:22 2009 +0000
@@ -1,6 +1,27 @@
 This package was debianized by the upstream author Paul Crowley
-<paul@lshift.net> on Sat, 07 Mar 2009 10:12:02 +0000.
+<paul@lshift.net> on Sat, 07 Mar 2009 10:12:02 +0000. Both the package and
+the Debian packaging carry this copyright and license:
+
+Copyright 2008-2009 Paul Crowley <paul@lshift.net>
+Copyright 2008-2009 LShift Ltd.
+
+License:
+
+   This package 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.
 
-Like the package itself, the Debian packaging is (C) LShift Ltd 2008-2009
-and licensed under the GPL v2, or at your option any later version.
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- a/debian/rules	Tue Nov 10 11:11:56 2009 +0000
+++ b/debian/rules	Tue Nov 10 11:30:22 2009 +0000
@@ -45,6 +45,7 @@
 	$(MAKE) installfiles \
 	    TOPDIR=debian/mercurial-server \
 	    PREFIX=debian/mercurial-server/usr/share
+	gzip -9 < debian/changelog > debian/mercurial-server/usr/share/doc/mercurial-server/changelog.gz
 
 # Build architecture-independent files here.
 binary-indep: build install