# HG changeset patch # User Paul Crowley # Date 1257851516 0 # Node ID 4fa13d8412c17d7251bc0f2c019d481a36713d9c # Parent 6569a18b8a52c437f2a33c772d42834be9045284# Parent f8f8b401838157497b1962da97795edc40f5fca5 Merge in docs fixes diff -r f8f8b4018381 -r 4fa13d8412c1 .hgignore --- a/.hgignore Tue Nov 10 11:04:06 2009 +0000 +++ b/.hgignore Tue Nov 10 11:11:56 2009 +0000 @@ -1,7 +1,14 @@ ^build/ +^build-stamp$ +^configure-stamp$ +^debian/files$ +^debian/mercurial-server/ +^debian/mercurial-server. + syntax: glob *~ *.pyc *.orig *.rej + diff -r f8f8b4018381 -r 4fa13d8412c1 .hgtags --- a/.hgtags Tue Nov 10 11:04:06 2009 +0000 +++ b/.hgtags Tue Nov 10 11:11:56 2009 +0000 @@ -1,3 +1,4 @@ 535502c18eaad098437e49adea1e26a68e4b6d75 release_0.5 975fb921c3f3ffe7ccde5877f2954a5d1141bb14 release_0.6 243dd21d0dbc140957afbe7c9e2afb9caaffee37 release_0.7 +95c9ab8e4bfc6fea6460b3147c3097373eba5d42 debian_0.7 diff -r f8f8b4018381 -r 4fa13d8412c1 debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,12 @@ +mercurial-server (0.7) stable; urgency=low + + * First official Debian release + + -- Paul Crowley Mon, 09 Nov 2009 17:30:00 +0000 + +mercurial-server (0.6.1) stable; urgency=low + + * Packaged for Debian + + -- Paul Crowley Mon, 13 Oct 2009 18:11:00 +0100 + diff -r f8f8b4018381 -r 4fa13d8412c1 debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,1 @@ +7 diff -r f8f8b4018381 -r 4fa13d8412c1 debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,16 @@ +Source: mercurial-server +Section: devel +Priority: extra +Maintainer: Paul Crowley +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: http://www.lshift.net/mercurial-server.html + +Package: mercurial-server +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, 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 + based on mercurial. + diff -r f8f8b4018381 -r 4fa13d8412c1 debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,6 @@ +This package was debianized by the upstream author Paul Crowley + on Sat, 07 Mar 2009 10:12:02 +0000. + +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. + diff -r f8f8b4018381 -r 4fa13d8412c1 debian/dirs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dirs Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,9 @@ +usr/share/mercurial-server +usr/share/mercurial-server/init +usr/share/mercurial-server/init/conf +usr/share/mercurial-server/mercurialserver +usr/share/doc/mercurial-server +etc/mercurial-server +etc/mercurial-server/keys +etc/mercurial-server/keys/root +etc/mercurial-server/keys/users diff -r f8f8b4018381 -r 4fa13d8412c1 debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/postinst Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,48 @@ +#!/bin/sh +# postinst script for mercurial-server +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + if ! getent passwd hg >/dev/null; then + adduser --disabled-password --quiet --system \ + --shell /bin/sh --group \ + --home /var/lib/mercurial-server \ + --gecos "Mercurial repositories" hg + su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -r f8f8b4018381 -r 4fa13d8412c1 debian/postrm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/postrm Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,44 @@ +#!/bin/sh +# postrm script for mercurial-server +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + deluser --quiet --system hg > /dev/null || true + delgroup --quiet --system hg > /dev/null || true + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -r f8f8b4018381 -r 4fa13d8412c1 debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Tue Nov 10 11:11:56 2009 +0000 @@ -0,0 +1,85 @@ +#!/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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #docbook-to-man debian/mercurial-server.sgml > mercurial-server.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/mercurial-server. + $(MAKE) installfiles \ + TOPDIR=debian/mercurial-server \ + PREFIX=debian/mercurial-server/usr/share + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installchangelogs + dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_pysupport /usr/share/mercurial-server/mercurialserver +# 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 + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure