summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/NEWS12
-rw-r--r--debian/README.Debian11
-rw-r--r--debian/README.source2
-rw-r--r--debian/TODO2
-rw-r--r--debian/changelog327
-rw-r--r--debian/compat1
-rw-r--r--debian/config32
-rw-r--r--debian/control41
-rw-r--r--debian/copyright31
-rw-r--r--debian/gitolite-man.pod34
-rw-r--r--debian/gl-setup9
-rw-r--r--debian/patches/fix-paths38
-rw-r--r--debian/patches/series1
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/cs.po83
-rw-r--r--debian/po/da.po84
-rw-r--r--debian/po/de.po86
-rw-r--r--debian/po/es.po103
-rw-r--r--debian/po/fr.po110
-rw-r--r--debian/po/it.po87
-rw-r--r--debian/po/ja.po79
-rw-r--r--debian/po/nl.po87
-rw-r--r--debian/po/pt.po86
-rw-r--r--debian/po/pt_BR.po85
-rw-r--r--debian/po/ru.po85
-rw-r--r--debian/po/sk.po85
-rw-r--r--debian/po/sv.po83
-rw-r--r--debian/po/templates.pot75
-rw-r--r--debian/po/tr.po88
-rw-r--r--debian/po/vi.po84
-rw-r--r--debian/postinst120
-rw-r--r--debian/postrm44
-rw-r--r--debian/preinst46
-rwxr-xr-xdebian/rules95
-rw-r--r--debian/source/format1
-rw-r--r--debian/templates35
-rw-r--r--debian/watch5
37 files changed, 2278 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644
index 0000000..bb14449
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,12 @@
+gitolite3 (3.5.3.1-1) unstable; urgency=medium
+
+ * This release removes world+group read permissions from
+ ~gitolite3/repositories, and world+group read+execute permissions from
+ ~gitolite3/repositories/{gitolite-admin,testing}.git. This corrects a
+ local information leak present in (at least) version 3.5.2-1 (see
+ CVE-2013-7203). Note that if these repositories have been moved from
+ their standard locations, the adminstrator will have do their own
+ adjusting of permissions.
+
+ -- David Bremner <bremner@debian.org> Fri, 03 Jan 2014 20:39:32 -0400
+
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..a9748a3
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,11 @@
+gitolite for Debian
+
+===================
+
+gitolite is meant to not require root access. This still is true for
+the packaging of gitolite for Debian. The package asks for dedicated
+user (by default this user is gitolite3) and directory for the
+repositories on first install, and an admin key which has full access
+and can add additional repositories and users.
+
+ -- David Bremner <bremner@debian.org>, Sat, 11 Mar 2017 13:08:25 -0400
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3556bbc
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+This package uses quilt for its patch management, see
+/usr/share/doc/quilt/README.source if you are unfamiliar with it.
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..65f1d78
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,2 @@
+ -) Write manpage for gl-setup.
+ -) Put gl-easy-install with extended README into doc/examples.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7932e2a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,327 @@
+gitolite3 (3.6.12-1) unstable; urgency=medium
+
+ * New upstream version.
+
+ -- David Bremner <bremner@debian.org> Fri, 25 Dec 2020 19:15:23 -0400
+
+gitolite3 (3.6.11-2) unstable; urgency=medium
+
+ * Point Vcs-* to salsa
+
+ -- David Bremner <bremner@debian.org> Fri, 25 Jan 2019 08:32:05 -0400
+
+gitolite3 (3.6.11-1) unstable; urgency=medium
+
+ * Bug fix: "CVE-2018-20683: security issue in optional bundle helper
+ ('rsync' command)", thanks to Salvatore Bonaccorso
+ (Closes: #918849).
+ * Convert to source format 3.0 (quilt).
+ * Bump debhelper compat to 9
+
+ -- David Bremner <bremner@debian.org> Fri, 25 Jan 2019 08:15:17 -0400
+
+gitolite3 (3.6.9-1) unstable; urgency=high
+
+ * New upstream version
+ * Bug fix: "CVE-2018-16976: prevent access to repos which are in the
+ process of being migrated", thanks to Salvatore Bonaccorso (Closes:
+ #908699).
+
+ -- David Bremner <bremner@debian.org> Sat, 15 Sep 2018 12:37:48 -0300
+
+gitolite3 (3.6.7-2) unstable; urgency=medium
+
+ * Bug fix: "[INTL:pt_BR] Brazilian Portuguese debconf templates
+ translation", thanks to Adriano Rafael Gomes (Closes: #811528).
+
+ -- David Bremner <bremner@debian.org> Wed, 05 Jul 2017 22:12:35 -0300
+
+gitolite3 (3.6.7-1) unstable; urgency=medium
+
+ * New upstream release
+ * update debian/README.Debian, drop bitrotted v2 upgrade
+ instructions. Mention name of default user (gitolite3).
+ * drop postint fix for pre 3.5.1 permissions
+
+ -- David Bremner <bremner@debian.org> Mon, 03 Jul 2017 21:09:50 -0300
+
+gitolite3 (3.6.6-1) unstable; urgency=medium
+
+ * New upstream release
+ * Bug fix: "uninstallable without . in @INC", explicitely look for
+ './foo'. (Closes: #837036).
+
+ -- David Bremner <bremner@debian.org> Tue, 13 Sep 2016 20:31:39 -0300
+
+gitolite3 (3.6.4-2) unstable; urgency=medium
+
+ * depend on openssh-client (Closes: #834153).
+
+ -- David Bremner <bremner@debian.org> Sun, 14 Aug 2016 14:09:11 +0900
+
+gitolite3 (3.6.4-1) unstable; urgency=medium
+
+ * New upstream release
+ * Fix bug in 3.6.3 that allows authorized users to create refs they
+ should not be able to, in certain special configurations of wild
+ repos. See commit be5c2f5752 for more info.
+
+ -- David Bremner <bremner@debian.org> Fri, 04 Dec 2015 21:12:01 -0400
+
+gitolite3 (3.6.3-3) experimental; urgency=medium
+
+ * Bug fix: "inconsistently set execute bits on the gitolite script
+ files", thanks to Christoph Anton Mitterer (Closes: #779252).
+ * Assert compliance with Debian policy 3.9.6
+ * Add dependence 'openssh-server |' so there's a real package
+ instead of just a virtual one.
+
+ -- David Bremner <bremner@debian.org> Sun, 28 Jun 2015 10:57:55 +0200
+
+gitolite3 (3.6.3-2) experimental; urgency=medium
+
+ * Move main config file to /etc
+ * Remove (broken) support for reconfiguration / multiple users.
+
+ -- David Bremner <bremner@debian.org> Sat, 27 Jun 2015 09:44:25 +0200
+
+gitolite3 (3.6.3-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #773811).
+ * Bug fix: "should Depends: libjson-perl", thanks to Heiko Noordhof
+ (Closes: #780671).
+ * Bug fix: "please add git-daemon-sysvinit as an alternative Suggests",
+ thanks to Christoph Anton Mitterer (Closes: #779263).
+ * Bug fix: "gitolite creates /var/lib/gitolite3/.ssh/authorized_keys
+ with u+x mode", thanks to Christoph Anton Mitterer (Closes: #778725).
+
+ -- David Bremner <bremner@debian.org> Tue, 23 Jun 2015 20:24:57 +0200
+
+gitolite3 (3.6.1-3) unstable; urgency=medium
+
+ * Bug fix: "please make the build reproducible", thanks to Chris Lamb
+ (Closes: #777060).
+
+ -- David Bremner <bremner@debian.org> Wed, 04 Feb 2015 18:26:53 +0100
+
+gitolite3 (3.6.1-2) unstable; urgency=low
+
+ [ Rhonda D'Vine ]
+ * The "l10n R us" release:
+ - Updated German translation by myself
+ - Updated Japanese by victory (closes: #719509)
+ - Updated French by Christian Perrier (closes: #719777)
+ - Updated Russian by Yuri Kozlov (closes: #722125)
+ - Updated Portuguese by Américo Monteiro (closes: #729824)
+ - Updated Danish by Joe Hansen (closes: #739792)
+ - New Turkish translation by Mert Dirik (closes: #759876)
+ - Updated Dutch by Frans Spiesschaert (closes: #764599)
+ - Updated Czech by Michal Simunek (closes: #768271)
+ - Updated Swedish by Martin Bagge (closes: #768455)
+ - Updated Italian by Beatrice Torracca (closes: #769447)
+
+ -- David Bremner <bremner@debian.org> Fri, 14 Nov 2014 21:04:22 +0100
+
+gitolite3 (3.6.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #755784)
+
+ -- David Bremner <bremner@debian.org> Mon, 06 Oct 2014 12:30:00 +0200
+
+gitolite3 (3.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Depend on ssh-server instead of openssh-server (Closes: #735176).
+
+ -- David Bremner <bremner@debian.org> Sun, 25 May 2014 20:09:36 -0300
+
+gitolite3 (3.5.3.1-2) unstable; urgency=medium
+
+ * Bug fix: "broken directory check", thanks to Daniel Baumann,
+ Martin Haaß (Closes: #737823, #734979).
+
+ -- David Bremner <bremner@debian.org> Wed, 26 Mar 2014 11:18:42 -0300
+
+gitolite3 (3.5.3.1-1) unstable; urgency=medium
+
+ * New upstream release
+ * This release removes world+group read permissions from
+ ~gitolite3/repositories, and world+group read+execute permissions from
+ ~gitolite3/repositories/{gitolite-admin,testing}. This corrects a
+ local information leak present in (at least) version 3.5.2-1 (see
+ CVE-2013-7203)
+
+ -- David Bremner <bremner@debian.org> Sat, 04 Jan 2014 07:30:51 -0400
+
+gitolite3 (3.5.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- David Bremner <bremner@debian.org> Tue, 30 Jul 2013 22:47:45 -0300
+
+gitolite3 (3.5.1+4-1) experimental; urgency=low
+
+ * New upstream snapshot (commit: 2f48a3e0e169e)
+ (closes: #673867, #673850)
+ * Ask for admin key with priority high (closes: #699490)
+
+ -- David Bremner <bremner@debian.org> Sat, 18 May 2013 17:59:21 -0300
+
+gitolite (2.3-1) unstable; urgency=low
+
+ * New upstream release (closes: #669633), containing fix for:
+ - forgot authkeys can have blank lines also (closes: #653994)
+ - nitpick on redirection sorting applied (closes: #654022)
+ * Use sensible-editor instead of ${EDITOR:-vi} in gl-setup (closes: #654178)
+ * Add Dutch debconf translation done by Jeroen Schot (closes: #661583)
+ * Bump Standards-Version to 3.9.3.
+
+ -- Gerfried Fuchs <rhonda@debian.org> Tue, 24 Apr 2012 18:06:09 +0200
+
+gitolite (2.2-1) unstable; urgency=low
+
+ * New Upstream version.
+ * Do a chown -R on the tmpdir directory for the admin key (LP: #886524)
+ * Doh, really remove resetting the adminkey from the debconf config file,
+ sorry (closes: #621680)
+ * Install contrib files into examples doc directory (closes: #645668)
+
+ -- Gerfried Fuchs <rhonda@debian.org> Mon, 19 Dec 2011 08:57:14 +0100
+
+gitolite (2.0.3-2) unstable; urgency=low
+
+ * Move the fix permission snippet to the end so that the templates and
+ md5sums control files also get proper permissions. Thanks to Stefano
+ Rivera for notifying me about it.
+ * Updated debian/copyright file.
+ * Add recommended targets build-arch and build-indep to debian/rules.
+
+ -- Gerfried Fuchs <rhonda@debian.org> Tue, 27 Sep 2011 11:23:18 +0200
+
+gitolite (2.0.3-1) unstable; urgency=low
+
+ * New Upstream version, containing fix for setting gitweb/gitdaemon
+ permissions on wildcard repos (closes: #635497)
+ * Bump Standards-Version to 3.9.2.
+ * Reset debconf adminkey to empty after extraction in postinst, not before
+ asking in config so that preseeding works (closes: #626465)
+ * Adjust debconf questions to priority medium to make them more likely to be
+ seen by admins (closes: #610765)
+ * Use hardcoded admin.pub keyname for admin, the filename given might not
+ have .pub extension.
+ * Only initialize when an admin key was given (closes: #610765, #617896)
+
+ -- Gerfried Fuchs <rhonda@debian.org> Tue, 06 Sep 2011 13:31:23 +0200
+
+gitolite (2.0-1) unstable; urgency=low
+
+ * New Upstream version.
+ * Remove alternative on ssh-server, the used SSH_ORIGINAL_COMMAND
+ environment variable is set only by openssh-server.
+ * Change "conf" directory from /etc/gitolite to /usr/share/gitolite/conf,
+ these files aren't meant to get edited directly (closes: #611857)
+ * Also remove them as conffiles.
+ * Remove disable-interactive-mode patch, call gl-setup with -q instead.
+ * Refresh other patches.
+
+ -- Gerfried Fuchs <rhonda@debian.org> Thu, 24 Mar 2011 00:11:38 +0100
+
+gitolite (1.5.7-2) unstable; urgency=high
+
+ * cherry-pick 4ce00a commit to fix security issue related to ACDs.
+
+ -- Gerfried Fuchs <rhonda@debian.org> Sun, 27 Feb 2011 19:39:15 +0100
+
+gitolite (1.5.7-1) unstable; urgency=low
+
+ * New Upstream version.
+ * Bump Standards-Version to 3.9.1.
+ * Refresh fix-.ssh-permissions patch.
+ * Rewrite debian/copyright in DEP5 format.
+ * Fix debian/watch to download tarball instead of zipball.
+ * New patch disable-interactive-mode which disables interactive mode in
+ gl-setup script on new install.
+
+ -- Gerfried Fuchs <rhonda@debian.org> Sat, 15 Jan 2011 00:53:50 +0100
+
+gitolite (1.5.4-2) unstable; urgency=low
+
+ * Re-add -p to mkdir for .ssh dir (LP: #634718)
+ * New/updated debconf translations:
+ - Portuguese by Américo Monteiro, sorry for taking the wrong file in the
+ former upload (closes: #595312)
+ - Japanese by Hideki Yamane (closes: #595457)
+ - Vietnamese by Clytie Siddall (closes: #598592)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 05 Oct 2010 22:11:58 +0200
+
+gitolite (1.5.4-1) unstable; urgency=low
+
+ * New Upstream version.
+ * Apply patches from l10n-english team to improve the package description
+ and debconf questions. Thanks! (closes: #588870)
+ * Added/updated debconf translation:
+ - Spanish by Omar Campagne (closes: #587247)
+ - French by Thomas Blein (closes: #587556, #590850, #594309)
+ - Portuguese by Américo Monteiro (closes: #587462)
+ - Swedish by Martin Bagge (closes: #587537, #589271)
+ - German by myself
+ - Russian by Yuri Kozlov (closes: #589249)
+ - Czech by Michal Šimůnek (closes: #589277)
+ - Slovak by Slavko (closes: #593058)
+ - Danish by Joe Hansen (closes: #593272)
+ - Italian by Vincenzo Campanella (closes: #593669)
+ * Fix a final minor issue in the debconf template that could be
+ misunderstood.
+ * Change packaging licensing to WTFPLv2.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 30 Aug 2010 21:01:46 +0200
+
+gitolite (1.5.3-1) unstable; urgency=low
+
+ [ Gerfried Fuchs ]
+ * New Upstream release.
+ * Added debconf translations:
+ - French by Thomas Blein (closes: #580022)
+ - Swedish by Martin Bagge (closes: #580144)
+ - Portuguese by Américo Monteiro (closes: #580442)
+ * Added Vcs-* control fields.
+ * Don't chown /etc/gitolite/* anymore, it's not needed.
+ * Test for $GITDIR/.gitolite.rc instead of only $GITDIR for creation check
+ (closes: #582200)
+ * Enhance debian/templates text.
+
+ [ Teemu Matilainen ]
+ * debian/control: Prefer new git package in Depends
+ * debian/rule: Generate and install the VERSION file (closes: #582201)
+ * debian/gl-setup: Use exec in gl-setup
+ * debian/config, debian/templates: Default to empty key
+ * debian/watch: Mangle Github urls to also download the tarball
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 24 Jun 2010 21:14:04 +0200
+
+gitolite (1.4.2-1) unstable; urgency=low
+
+ * New Upstream release.
+ * Add patch fix-.ssh-permissions to set tight permissions on created .ssh
+ directory.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 29 Apr 2010 19:35:02 +0200
+
+gitolite (1.3-2) unstable; urgency=low
+
+ * Create the user with --shell /bin/bash instead of /bin/false to make the
+ package actually work.
+ * Install debian/gl-setup as wrapper script.
+ * Remove awkward hack for gl-setup calling in postinst, fixed because of
+ above two changes.
+ * Add German debconf translation, replaced some placeholders in the
+ template.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 09 Apr 2010 18:00:07 +0200
+
+gitolite (1.3-1) unstable; urgency=low
+
+ * Initial release (closes: #550817)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 08 Apr 2010 23:56:44 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/config b/debian/config
new file mode 100644
index 0000000..b0e268f
--- /dev/null
+++ b/debian/config
@@ -0,0 +1,32 @@
+#!/bin/sh
+# debian/config script for the gitolite package
+# Copyright 2010-2011 by Gerfried Fuchs <rhonda@debian.org>
+# Licenced under WTFPLv2
+
+set -e
+#DEBHELPER#
+
+pkg=gitolite3
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+action=$1
+version=$2
+
+if [ "$action" = "configure" -o ! -f /etc/$pkg/gitolite.rc ]; then
+ # ask for user to create
+ db_input medium $pkg/gituser || true
+ db_go
+
+ # ask for repository root directory to use
+ db_input medium $pkg/gitdir || true
+ db_go
+
+ # ask for key of admin user (either file or direct input)
+ db_input high $pkg/adminkey || true
+ db_go
+fi
+
+
+exit 0
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0e55593
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: gitolite3
+Section: vcs
+Priority: optional
+Maintainer: David Bremner <bremner@debian.org>
+Uploaders: Rhonda D'Vine <rhonda@debian.org>
+Build-Depends: debhelper
+Build-Depends-Indep: po-debconf
+Standards-Version: 3.9.6
+Homepage: http://github.com/sitaramc/gitolite
+Vcs-Browser: https://salsa.debian.org/gitolite-team/gitolite3
+Vcs-Git: https://salsa.debian.org/gitolite-team/gitolite3.git
+
+Package: gitolite3
+Architecture: all
+Depends: adduser,
+ debconf (>= 0.5) | debconf-2.0,
+ git (>= 1:1.7.0.4) | git-core (>= 1:1.6.2),
+ libjson-perl,
+ openssh-client,
+ openssh-server | ssh-server,
+ perl (>= 5.6.0-16),
+ ${misc:Depends}
+Suggests: git-daemon-sysvinit, gitweb
+Description: SSH-based gatekeeper for git repositories (version 3)
+ Gitolite is an SSH-based gatekeeper providing access control for a server that
+ hosts many git repositories. Without gitolite,
+ each developer needing to push to one of the repositories hosted would need a
+ user account on that server; gitolite lets you do that just using
+ SSH public keys tied to a single, common, user that hosts all the
+ repositories.
+ .
+ Gitolite can restrict who can read (clone/fetch) from or write
+ (push) to a repository, and who can push to what branch or tag - an
+ important issue in corporate environments. Other features include:
+ * access control by branch-name or by modified file/directory;
+ * per-developer "personal namespace" prefixes;
+ * simple but powerful configuration file syntax (with validation);
+ * config files (and authority for maintaining them) can be split;
+ * easy integration with gitweb;
+ * comprehensive logging;
+ * easy migration from gitosis.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c0363c2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: gitolite
+Upstream-Contact: Sitaram Chamarty <sitaramc@gmail.com>
+Source: http://github.com/sitaramc/gitolite
+
+Files: *
+Copyright: Copyright (C) 2009-2011 Sitaram Chamarty
+License: GPL-2
+ See /usr/share/common-licenses/GPL-2
+
+Files: debian/*
+Copyright: Copyright (C) 2010-2011 Gerfried Fuchs <rhonda@debian.org>
+License: WTFPLv2
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+ .
+ Copyright (C) 2010 Gerfried Fuchs
+ .
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+ .
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ .
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
+Files: debian/gitolite-man.pod
+Copyright: Copyright (C) 2009-2013 Sitaram Chamarty
+License: GPL-2
+ See /usr/share/common-licenses/GPL-2
diff --git a/debian/gitolite-man.pod b/debian/gitolite-man.pod
new file mode 100644
index 0000000..af237bc
--- /dev/null
+++ b/debian/gitolite-man.pod
@@ -0,0 +1,34 @@
+=head1 Name
+
+gitolite - gatekeeper for git repositories
+
+=head1 Synopsis
+
+B<gitolite> I<sub-command> [I<option>...]
+
+=head1 Description
+
+The following built-in subcommands are available; they should all respond to
+'-h' if you want further details on each:
+
+ setup 1st run: initial setup; all runs: hook fixups
+ compile compile gitolite.conf
+
+ query-rc get values of rc variables
+
+ list-groups list all group names in conf
+ list-users list all users/user groups in conf
+ list-repos list all repos/repo groups in conf
+ list-phy-repos list all repos actually on disk
+ list-memberships list all groups a name is a member of
+ list-members list all members of a group
+
+Warnings:
+ - list-users is disk bound and could take a while on sites with 1000s of repos
+ - list-memberships does not check if the name is known; unknown names come
+ back with 2 answers: the name itself and '@all'
+
+In addition, running 'gitolite help' should give you a list of custom commands
+available. They may or may not respond to '-h', depending on how they were
+written.
+
diff --git a/debian/gl-setup b/debian/gl-setup
new file mode 100644
index 0000000..12d4b84
--- /dev/null
+++ b/debian/gl-setup
@@ -0,0 +1,9 @@
+#!/bin/sh
+# wrapper script for gl-setup
+# Copyright (C) 2010 Gerfried Fuchs <rhonda@deb.at>
+# Licenced under WTFPLv2
+
+PATH=/usr/share/gitolite:$PATH
+export PATH
+
+exec /usr/share/gitolite/gl-setup "$@"
diff --git a/debian/patches/fix-paths b/debian/patches/fix-paths
new file mode 100644
index 0000000..f702b55
--- /dev/null
+++ b/debian/patches/fix-paths
@@ -0,0 +1,38 @@
+From: David Bremner <bremner@debian.org>
+Date: Sat, 20 Apr 2013 15:34:13 -0300
+Subject: [PATCH] override install paths.
+
+This follows the suggestion of
+
+ http://gitolite.com/gitolite/install.html
+---
+ src/gitolite | 2 +-
+ src/gitolite-shell | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/gitolite b/src/gitolite
+index c11e047..4fc9f7f 100755
+--- a/src/gitolite
++++ b/src/gitolite
+@@ -35,7 +35,7 @@ written.
+
+ use FindBin;
+
+-BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; }
++BEGIN { $ENV{GL_BINDIR} = '/usr/share/gitolite3'; }
+ BEGIN { $ENV{GL_LIBDIR} = "$ENV{GL_BINDIR}/lib"; }
+ use lib $ENV{GL_LIBDIR};
+ use Gitolite::Rc;
+diff --git a/src/gitolite-shell b/src/gitolite-shell
+index 072e0ff..322137e 100755
+--- a/src/gitolite-shell
++++ b/src/gitolite-shell
+@@ -5,7 +5,7 @@
+
+ use FindBin;
+
+-BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; }
++BEGIN { $ENV{GL_BINDIR} = '/usr/share/gitolite3'; }
+ BEGIN { $ENV{GL_LIBDIR} = "$ENV{GL_BINDIR}/lib"; }
+ use lib $ENV{GL_LIBDIR};
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3c34057
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-paths
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..cef83a3
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644
index 0000000..8161abf
--- /dev/null
+++ b/debian/po/cs.po
@@ -0,0 +1,83 @@
+# Czech translation of PO debconf template for package gitolite.
+# Copyright (C) 2010 Michal Simunek
+# This file is distributed under the same license as the gitolite package.
+# Michal Simunek <michal.simunek@gmail.com>, 2010 - 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 3.6-2\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-11-06 08:52+0100\n"
+"Last-Translator: Michal Simunek <michal.simunek@gmail.com>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Systémový uživatel pro gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Zadejte prosím jméno systémového uživatele, který má používat gitolite. V "
+"případě potřeby bude vytvořen."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Cesta k repositářům:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Zadejte prosím cestu, kam se mají ukládat repositáře gitolite. Nastaví se "
+"jako domovský adresář systémového uživatele."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "SSH klíč správce:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Zadejte prosím klíč uživatele, který bude spravovat nastavení přístupu ke "
+"gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Může to být jak samotný veřejný klíč, tak cesta k souboru, který jej "
+"obsahuje. Ponecháte-li jej prázdný, bude gitolite ponechán nenastavený a "
+"bude muset být nastaven ručně."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Pokud přecházíte z gitolite verze 2.x, ponechte políčko prázdné."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 0000000..45ba6f3
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,84 @@
+# Danish translation gitolite3.
+# Copyright (C) 2014 gitolite3 og nedenstående oversættere.
+# This file is distributed under the same license as the gitolite3 package.
+# Joe Hansen (joedalton2@yahoo.dk), 2010, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite3\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-02-22 17:30+01:00\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Systembrugernavn for gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Indtast venligst navnet for systembrugeren som skal bruges af gitolite for "
+"adgang til arkiver. Navnet vil blive oprettet hvis nødvendigt."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Arkivsti:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Indtast venligst stien hvori gitolite skal gemme arkiverne. Dette vil blive "
+"gitolitesystembrugerens hjemmemappe"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Administrators SSH-nøgle:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Angiv venligst nøglen på brugeren som vil administrere "
+"adgangskonfigurationen i gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Dette kan enten være den SSH-offentlige nøgle, eller stien til en fil som "
+"indeholder den. Hvis den er tom, vil gitolite blive efterladt ukonfigureret "
+"og skal sættes op manuelt."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Hvis du migrerer fra gitolite version 2.x, så efterlad denne tom."
+
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..3f15a63
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,86 @@
+# German translation of gitolite debconf.
+# Copyright (C) 2010 by Gerfried Fuchs <rhonda@debian.at>
+# This file is distributed under the same license as the gitolite package.
+#
+# Gerfried Fuchs <rhonda@debian.at>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.3-2\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-11-05 13:47+0100\n"
+"Last-Translator: Gerfried Fuchs <rhonda@debian.at>\n"
+"Language-Team: German <debian-i10n-german@lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Name des Systemnutzers für gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Bitte geben Sie einen Namen für den Systemnutzer ein, der von gitolite "
+"verwendet werden soll, um auf die Repositorys zuzugreifen. Er wird falls "
+"notwendig erstellt."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Repository-Pfad:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Bitte geben Sie den Pfad ein, in dem gitolite die Repositorys speichern "
+"soll. Dies wird zum Heimatverzeichnis des Systemnutzers."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "SSH-Schlüssel des Administrators:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Bitte geben Sie den Schlüssel eines Nutzers an, der die "
+"Zugriffskonfiguration von gitolite administrieren wird."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Dies kann entweder der öffentliche SSH-Schlüssel selbst sein oder aber der "
+"Pfad zu einer Datei, die ihn enthält. Falls dies leer gelassen wird, bleibt "
+"gitolite unkonfiguriert und muss manuell aufgesetzt werden."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
+"Falls Sie von gitolite Version 2.x migrieren, lassen Sie dieses Feld leer."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..e8b33dd
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,103 @@
+# gitolite po-debconf translation to Spanish
+# Copyright (C) 2010 Software in the Public Interest
+# This file is distributed under the same license as the gitolite package.
+# Changes:
+# - Initial translation
+# Omar Campagne <ocampagne@gmail.com>, 2010
+# - Updates
+# TRANSLATOR
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas y normas de traducción en
+# http://www.debian.org/intl/spanish/notas
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.3-2\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2010-08-30 18:02+0200\n"
+"Last-Translator: Omar Campagne <ocampagne@gmail.com>\n"
+"Language-Team: Spanish pootle.locamotion.org team\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.6.1\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Nombre del usuario de sistema para gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Introduzca el nombre del usuario del sistema que gitolite debería usar para "
+"acceder a los repositorios. Se creará si es necesario."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Ruta al repositorio:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Introduzca la ruta para el directorio en el que gitolite debería almacenar "
+"los repositorios. Esta ruta será el directorio de inicio («home») del "
+"usuario de sistema de gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Clave SSH del administrador:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Defina la clave del usuario que administrará la configuración de acceso de "
+"gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Puede ser la clave pública SSH, o la ruta al fichero que lo contiene. Si "
+"este campo se deja vacío gitolite quedará sin configurar y tendrá que "
+"configurarlo manualmente."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..74fe8f5
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,110 @@
+# Translation of gitolite debconf template to French.
+# Copyright (C) 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Copyright (C) 2010 Debian French l10n team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the gitolite package.
+# Translators:
+# Thomas BLEIN <tblein@tblein.eu>, 2010.
+# Christian Perrier <bubulle@debian.org>, 2010, 2013.
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.3-2\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2013-08-02 07:27+0200\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Identifiant système à utiliser pour gitolite :"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Veuillez indiquer l'identifiant système à utiliser pour l'accès aux dépôts "
+"avec gitolite. Il sera créé s'il n'existe pas déjà."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Chemin d'accès au dépôt :"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Veuillez indiquer le répertoire dans lequel gitolite stockera les dépôts. Ce "
+"répertoire sera également le répertoire de base de l'identifiant système "
+"utilisé."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Clé SSH de l'administrateur :"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Veuillez indiquer la clé de l'utilisateur qui gérera les autorisations "
+"d'accès à gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Vous pouvez indiquer la clé publique SSH elle-même ou le nom du fichier qui "
+"la contient. Si ce champ est laissé vide, gitolite ne sera pas configuré et "
+"devra l'être manuellement plus tard."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
+"Si vous migrez depuis la version 2.x de Gitolite, laissez ce champ vide."
+
+#~ msgid "The name of the system user to create:"
+#~ msgstr "Identifiant système à créer :"
+
+#~ msgid "The directory to contain the repositories:"
+#~ msgstr "Répertoire contenant les dépôts :"
+
+#~ msgid "The key for the admin user:"
+#~ msgstr "Clé SSH de l'administrateur :"
+
+#~ msgid ""
+#~ "Please specify the key of the user that will administer the access "
+#~ "configuration of gitolite. You can either give the filename or paste the "
+#~ "ssh public key. Leave empty if you do not want to set up gitolite in the "
+#~ "directory specified earlier."
+#~ msgstr ""
+#~ "Veuillez indiquer la clé SSH de l'utilisateur qui va administrer la "
+#~ "configuration d'accès de gitolite. Vous pouvez soit préciser le nom du "
+#~ "fichier, soit coller la clé publique SSH. Vous pouvez laisser ce champ "
+#~ "vide pour que gitolite ne soit pas configuré dans le répertoire "
+#~ "précédemment indiqué."
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644
index 0000000..264566d
--- /dev/null
+++ b/debian/po/it.po
@@ -0,0 +1,87 @@
+# ITALIAN TRANSLATION OF GITOLITE'S PO-DEBCONF FILE.
+# COPYRIGHT (C) 2010 THE GITOLITE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gitolite package.
+# Vincenzo Campanella <vinz65@gmail.com>, 2010.
+# Beatrice Torracca <beatricet@libero.it>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.5.4-1\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-11-10 15:21+0200\n"
+"Last-Translator: Vincenzo Campanella <vinz65@gmail.com>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Nome utente di sistema per gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Inserire il nome dell'utente di sistema che verrà utilizzato da gitolite per "
+"accedere ai repository. Se necessario, l'utente verrà creato."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Percorso del repository:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Inserire il percorso nel quale gitolite memorizzerà i repository e che verrà "
+"utilizzato come directory home dell'utente di sistema di gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Chiave SSH dell'amministratore:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Specificare la chiave dell'utente che amministrerà la configurazione "
+"dell'accesso a gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Può essere la chiave pubblica SSH stessa, oppure il percorso a un file che "
+"la contiene. Se questo campo viene lasciato vuoto, gitolite verrà lasciato "
+"non configurato e dovrà essere configurato manualmente."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
+"Se si sta facendo la migrazione dalla versione 2.x di gitolite, lasciare "
+"questo campo vuoto."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 0000000..7b794f8
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,79 @@
+# Copyright (C) 2010 by Gerfried Fuchs <rhonda@debian.at>
+# This file is distributed under the same license as the gitolite packaging.
+# Hideki Yamane <henrich@debian.org>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite3\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2013-05-20 05:14+0900\n"
+"Last-Translator: Hideki Yamane <henrich@debian.org>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "gitolite で利用するシステムユーザ名:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"gitolite がリポジトリに利用するのに使うシステムユーザ名を入力してください。必"
+"要であれば作成されます。"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "リポジトリのパス (path):"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"gitolite が git リポジトリを保存するディレクトリのパスを入力してください。こ"
+"れは先ほど入力したユーザ名のホームディレクトリにもなります。"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "管理者の鍵:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr "gitolite のアクセス設定を管理するユーザの鍵を指定してください。"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"SSH 公開鍵そのものでも、ファイルを含んでいるパス (path) でも構いません。空の"
+"ままにした場合は、gitolite は設定されないので手動で設定する必要があります。"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "gitolite version 2.x から移行する場合は空白にしてください。"
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..07bb2e0
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,87 @@
+# Dutch translation of gitolite debconf templates.
+# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gitolite package.
+# Jeroen Schot <schot@a-eskwadraat.nl>, 2012.
+# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 2.2-1\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-09-29 14:45+0200\n"
+"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
+"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Systeemgebruikersnaam voor gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Wat is de naam van de systeemgebruiker die door gitolite moet worden "
+"gebruikt voor toegang tot de opslagruimtes (repositories)? Deze zal indien "
+"nodig worden aangemaakt."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Pad naar opslagruimtes:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Onder welk pad moet gitolite de opslagruimtes (repositories) bewaren? Dit "
+"zal de thuismap van de gitolite systeemgebruiker worden."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "SSH-sleutel van de beheerder:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Geef de sleutel op van de gebruiker die de configuratie van toegangsrechten "
+"van gitolite zal beheren."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Dit kan ofwel het publieke deel van de SSH-sleutel zijn, ofwel het pad naar "
+"een bestand dat deze bevat. Als u dit leeg laat, zal gitolite niet worden "
+"geconfigureerd en moet u dit handmatig doen."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Als u overstapt van versie 2.x van gitolite, hier niets invullen."
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..45f05a5
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,86 @@
+# Translation of gitolite debconf messages to Portuguese
+# Copyright (C) 2010 the gitolite's copyright holder
+# This file is distributed under the same license as the gitolite package.
+#
+# Américo Monteiro <a_monteiro@gmx.com>, 2010, 2013.
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 3.5.2-1\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2013-11-18 00:40+0000\n"
+"Last-Translator: Américo Monteiro <a_monteiro@gmx.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Nome de utilizador do sistema para o gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Por favor indique o nome para o utilizador de sistema que deve ser usado "
+"pelo gitolite para aceder a repositórios. Este será criado se necessário."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Caminho do repositório:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Por favor indique o caminho onde o gitolite deve armazenar os repositórios. "
+"Isto será o directório home do utilizador de sistema do gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Chave SSH do administrador:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Por favor especifique a chave do utilizador que irá administrar a "
+"configuração de acesso do gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Isto pode ser a própria chave SSH pública, ou o caminho para um ficheiro que "
+"a contém. Se ficar vazio, o gitolite será deixado por configurar e terá que "
+"ser configurado manualmente."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Se está a migrar do gitolite versão 2.x, deixe este espaço em branco."
+
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..98bebb6
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,85 @@
+# Debconf translations for gitolite3.
+# Copyright (C) 2016 THE gitolite3'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gitolite3 package.
+# Adriano Rafael Gomes <adrianorg@arg.eti.br>, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite3\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2016-01-05 20:07-0200\n"
+"Last-Translator: Adriano Rafael Gomes <adrianorg@arg.eti.br>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Nome de usuário de sistema para o gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Por favor, informe o nome para o usuário de sistema que deverá ser usado "
+"pelo gitolite para acessar repositórios. Ele será criado se necessário."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Caminho do repositório:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Por favor, informe o caminho no qual o gitolite deve armazenar os "
+"repositórios. Ele se tornará o diretório \"home\" do usuário de sistema do "
+"gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Chave SSH do administrador:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Por favor, especifique a chave do usuário que administrará a configuração de "
+"acessos do gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Isso pode ser tanto a própria chave pública SSH, como o caminho para um "
+"arquivo que a contenha. Se for deixado em branco, o gitolite será deixado "
+"desconfigurado e deverá ser configurado manualmente."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Se estiver migrando do gitolite versão 2.x, deixe em branco."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 0000000..1ece9fa
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,85 @@
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gitolite package.
+#
+# Yuri Kozlov <yuray@komyakino.ru>, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 3.5.2-1\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2013-09-08 10:11+0400\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Имя пользователя в системе для gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Введите имя системного пользователя, который будет использоваться gitolite "
+"для доступа к репозиториям. Если потребуется, он будет создан."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Путь к репозиторию:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Введите путь, который gitolite должен использовать для размещения "
+"репозиториев. Он станет домашним каталогом для системного пользователя "
+"gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Ключ SSH администратора:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Укажите ключ пользователя, который будет иметь доступ к настройкам gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Можно ввести сам открытый ключ SSH или путь к файлу, в котором он "
+"содержится. Если ничего не вводить, то gitolite останется ненастроенным, и "
+"это нужно будет сделать вручную."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Если вы обновляетесь с gitolite версии 2.x, то оставьте это поле пустым."
diff --git a/debian/po/sk.po b/debian/po/sk.po
new file mode 100644
index 0000000..41e2b02
--- /dev/null
+++ b/debian/po/sk.po
@@ -0,0 +1,85 @@
+# Slovak translations for gitolite package
+# Slovenské preklady pre balík gitolite.
+# Copyright (C) 2010 THE gitolite'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gitolite package.
+# Slavko <linux@slavino.sk>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.5.4\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2010-08-15 10:30+0200\n"
+"Last-Translator: Slavko <linux@slavino.sk>\n"
+"Language-Team: Slovak <nomail>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Meno systémového používateľa pre gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Prosím, zadajte meno systémového používateľa, ktorý bude gitolite používať "
+"na prístup k úložiskám. Ak je to potrebné, bude vytvorený."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Cesta k úložiskám:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Prosím, zadajte cestu pre úložiská gitolite. Táto cesta bude zároveň "
+"domovským adresárom systémového používateľa gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "SSH kľúč správcu:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Prosím zadajte SSH kľúč používateľa, ktorý bude spravovať nastavenie "
+"prístupu ku gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Môže to byť buď samotný verejný kľúč, alebo cesta k súboru, ktorý ho "
+"obsahuje. Ak pole ponecháte prázdne, ostane gitolite nenastavený a bude ho "
+"potrebné nastaviť manuálne."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..47ee606
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,83 @@
+# Translation of gitolite debconf template to Swedish
+# Copyright (C) 2010 Martin Bagge <brother@bsnet.se>
+# This file is distributed under the same license as the gitolite package.
+#
+# Martin Bagge <brother@bsnet.se>, 2010
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.3-2\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-11-07 14:48+0100\n"
+"Last-Translator: Martin Bagge / brother <brother@bsnet.se>\n"
+"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.10\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "System-användare för gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Ange namnet på den systemanvändare som ska användas av gitolite för att "
+"komma åt förråd. Den kommer att skapas om så behövs."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Sökväg till förråd:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Ange sökvägen som gitolite ska använda för att lagra förråden. Detta kommer "
+"även att vara hemkatalog för gitolite-användaren."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "SSH-nyckel för administratör:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Ange nyckeln som ska användas för att administrera tillgång till gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Det kan antingen vara en publik SSH-nyckel eller sökvägen till en fil som "
+"innehåller den. Lämnas fältet tomt kommer gitolite att förbli utan "
+"inställningar och dessa måste göras manuellt."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr "Vid migrering från gitolite version 2.x ska detta lämnas tomt."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..0e86044
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite3\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
diff --git a/debian/po/tr.po b/debian/po/tr.po
new file mode 100644
index 0000000..454309e
--- /dev/null
+++ b/debian/po/tr.po
@@ -0,0 +1,88 @@
+# Turkish translation of gitolite3 package
+# Copyright (C) 2014 Mert Dirik
+# This file is distributed under the same license as the gitolite3 package.
+# Mert Dirik <mertdirik@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite3\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2014-08-30 22:55+0200\n"
+"Last-Translator: Mert Dirik <mertdirik@gmail.com>\n"
+"Language-Team: Debian L10n Turkish <debian-l10n-turkish@lists.debian.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "'gitolite'ın kullanacağı sistem kullanıcı adı:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Lütfen gitolite tarafından depolara erişirken kullanılacak olan sistem "
+"kullanıcısının adını girin. Eğer böyle bir kullanıcı yoksa otomatik olarak "
+"oluşturulacaktır."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Depo yolu:"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Lütfen gitolite'ın depoları saklamasını istediğiniz konumu girin. Bu dizin "
+"gitolite sistem kullanıcısının ev dizini olacaktır."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Yöneticinin SSH anahtarı:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Lütfen gitolite erişim yapılandırmasını yönetecek olan kullanıcının "
+"anahtarını girin."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Bu anahtar bir SSH genel anahtarının kendisi olabileceği gibi, genel "
+"anahtarın saklandığı dosyanın yolu da olabilir. Bu alan boş bırakıldığı "
+"takdirde gitolite yapılandırılmamış olarak kalacaktır. Bu durumda gitolite'ı "
+"daha sonra elle yapılandırmanız gerekecekir."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
+"Eğer gitolite'ın 2.x numaralı sürümlerinden yükseltme yapıyorsanız bu alanı "
+"boş bırakın."
diff --git a/debian/po/vi.po b/debian/po/vi.po
new file mode 100644
index 0000000..cc76e3b
--- /dev/null
+++ b/debian/po/vi.po
@@ -0,0 +1,84 @@
+# Vietnamese Debconf translation for Gitolite.
+# Copyright © 2010 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gitolite package.
+# Clytie Siddall <clytie@riverland.net.au>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gitolite 1.5.4-1\n"
+"Report-Msgid-Bugs-To: gitolite3@packages.debian.org\n"
+"POT-Creation-Date: 2013-05-19 17:14-0300\n"
+"PO-Revision-Date: 2010-09-30 19:47+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"Language: vi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: LocFactoryEditor 1.8\n"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid "System username for gitolite:"
+msgstr "Tên người dùng hệ thống cho gitolite:"
+
+#. Type: string
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the name for the system user which should be used by gitolite "
+"to access repositories. It will be created if necessary."
+msgstr ""
+"Hãy gõ tên cho người dùng hệ thống mà nên được gitolite sử dụng để tạo kho "
+"lưu. Không có thì nó được tự động tạo."
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Repository path:"
+msgstr "Đường dẫn đến kho lưu :"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid ""
+"Please enter the path in which gitolite should store the repositories. This "
+"will become the gitolite system user's home directory."
+msgstr ""
+"Hãy gõ đường dẫn đến thư mục trong đó gitolite nên cất giữ các kho lưu. Đây "
+"sẽ trở thành thư mục chính của người dùng hệ thống gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "Administrator's SSH key:"
+msgstr "Khoá SSH của quản trị:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"Please specify the key of the user that will administer the access "
+"configuration of gitolite."
+msgstr ""
+"Hãy ghi rõ khoá của người dùng sẽ quản lý cấu hình truy cập của gitolite."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid ""
+"This can be either the SSH public key itself, or the path to a file "
+"containing it. If it is blank, gitolite will be left unconfigured and must "
+"be set up manually."
+msgstr ""
+"Giá trị này có thể là hoặc khoá SSH chính nó, hoặc đường dẫn đến một tập tin "
+"chứa khoá đó. Bỏ trống trường này thì gitolite không có cấu hình: bạn cần "
+"phải tự thiết lập."
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "If migrating from gitolite version 2.x, leave this blank."
+msgstr ""
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..e47266d
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,120 @@
+#!/bin/sh
+# postinst script for gitolite
+# Copyright 2010-2011 by Gerfried Fuchs <rhonda@debian.org>
+# Licenced under WTFPLv2
+
+set -e
+#DEBHELPER#
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+pkg=gitolite3
+etcdir=/etc/$pkg
+
+relink_rc () {
+ cd $1
+
+ mv .gitolite.rc $etcdir/gitolite.rc
+ chown root:root $etcdir/gitolite.rc
+ chmod 0644 $etcdir/gitolite.rc
+ ln -s $etcdir/gitolite.rc .gitolite.rc
+}
+
+# Source debconf library.
+if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
+
+action=$1
+version=$2
+if [ "${DEBCONF_RECONFIGURE}" = "1" ]; then
+ # workaround until reconfigure is really available
+ action=reconfigure
+fi
+
+if [ "$action" = "configure" ]; then
+ db_get $pkg/gitdir
+ GITDIR="${RET:-/var/lib/$pkg}"
+
+ db_get $pkg/gitdir
+ GITDIR="${RET:-/var/lib/$pkg}"
+
+ oldrc="$GITDIR/.gitolite.rc"
+ # migrate existing config file to /etc
+ if [ -f "${oldrc}" -a ! -L "${oldrc}" ]; then
+ relink_rc "$GITDIR"
+ fi
+
+fi
+
+# only on new install or reconfigure
+if [ "x$version" = "x" ] || [ "$action" = "reconfigure" ]; then
+
+ # we only attempt to configure once, even if using reconfigure
+ if [ -f $etcdir/gitolite.rc ]; then
+ echo "gitolite configuration already exists in $etcdir, doing nothing." 1>&2
+ exit 0
+ fi
+
+ db_get $pkg/gituser
+ GITUSER="${RET:-$pkg}"
+
+ db_get $pkg/gitdir
+ GITDIR="${RET:-/var/lib/$pkg}"
+
+ db_get $pkg/adminkey
+ ADMINKEY="$RET"
+ # set it back to empty after use
+ db_set $pkg/adminkey ""
+
+
+ # all this makes only sense when we have been given an admin key
+ # to initialize with
+ if [ -n "$ADMINKEY" ]; then
+
+ if ! getent passwd "$GITUSER" >/dev/null; then
+ adduser --quiet --system --home "$GITDIR" --shell /bin/bash \
+ --no-create-home --gecos 'git repository hosting' \
+ --group "$GITUSER"
+ fi
+
+ if [ ! -r "$GITDIR/.gitolite.rc" ]; then
+ if [ ! -d "$GITDIR" ]; then
+ mkdir -p "$GITDIR"
+ chown "$GITUSER":"$GITUSER" "$GITDIR"
+ fi
+
+ # create admin repository
+ tmpdir="$(mktemp -d)"
+ if [ -r "$ADMINKEY" ]; then
+ # key file
+ cat "$ADMINKEY" > "$tmpdir/admin.pub"
+ else
+ # possibly pasted key
+ echo "$ADMINKEY" > "$tmpdir/admin.pub"
+ fi
+ chown -R "$GITUSER" "$tmpdir"
+ su - $GITUSER -c "gitolite setup -pk '$tmpdir/admin.pub'"
+ rm -r "$tmpdir"
+ relink_rc "$GITDIR"
+ else
+ echo "gitolite seems to be already set up in $GITDIR, doing nothing." 1>&2
+ fi
+
+ else
+ echo "No adminkey given - not setting up gitolite. Do a dpkg-reconfigure to setup." 1>&2
+ fi
+
+fi
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..3faa473
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postrm script for gitolite
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+action=$1
+version=$2
+
+if [ "$action" = "purge" ]; then
+ GITUSER="gitolite3"
+
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+
+ db_get gitolite3/gituser
+ GITUSER="${RET:-gitolite3}"
+ fi
+
+ if which deluser >/dev/null ; then
+ deluser --quiet "$GITUSER" >/dev/null || true
+ delgroup --quiet "$GITUSER" >/dev/null || true
+ fi
+
+ rm -f /etc/gitolite3/gitolite.rc
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 0000000..511cca1
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,46 @@
+#!/bin/sh
+# preinst script for gitolite
+# Copyright 2011 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+#DEBHELPER#
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+rm_conffile() {
+ local PKGNAME="$1"
+ local CONFFILE="$2"
+
+ [ -e "$CONFFILE" ] || return 0
+
+ local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
+ local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
+ sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
+ if [ "$md5sum" != "$old_md5sum" ]; then
+ echo "Obsolete conffile $CONFFILE has been modified by you."
+ echo "Saving as $CONFFILE.dpkg-bak ..."
+ mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+ else
+ echo "Removing obsolete conffile $CONFFILE ..."
+ rm -f "$CONFFILE"
+ fi
+}
+
+# cleanup for configuration stored in /etc that got installed by packages prior to 2.0-1
+case "$1" in
+ install|upgrade)
+ if dpkg --compare-versions "$2" le "2.0-1"; then
+ for i in example.conf example.gitolite.rc VERSION; do
+ rm_conffile gitolite "/etc/gitolite/$i"
+ done
+ fi
+esac
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4d98df8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+# debian/rules for gitolite package
+# Copyright 2010-2011 by Gerfried Fuchs <rhonda@debian.org>
+# Licenced under WTFPLv2
+
+PKG = gitolite3
+TMP = $(CURDIR)/debian/$(PKG)
+
+INSTALL = install
+INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644
+INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755
+INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755
+INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755
+
+GL_VERSION = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)/\1 (Debian)/p')
+
+clean:
+ $(checkdir)
+ $(checkroot)
+
+ -rm -rf $(TMP) debian/files
+
+build: build-arch build-indep
+build-arch:
+build-indep:
+ # uhm, build for a binary-indep package? Don't try to be funny ;)
+
+debian/gitolite.1: debian/gitolite-man.pod
+ pod2man --center='User Commands' --release="$(GL_VERSION)" $< > $@
+
+install: debian/gitolite.1
+ $(checkdir)
+ $(checkroot)
+
+ -rm -rf $(TMP)
+ $(INSTALL_DIR) $(TMP)
+
+ cd $(TMP) && $(INSTALL_DIR) usr/share/$(PKG) \
+ etc/$(PKG) \
+ usr/bin \
+ usr/share/man/man1 \
+ $(TMP)/usr/share/doc/$(PKG)
+
+ for subdir in lib syntactic-sugar; do \
+ cp -a src/$${subdir} $(TMP)/usr/share/$(PKG); \
+ find $(TMP)/usr/share/$(PKG)/$${subdir} -type f -exec chmod -x {} \; ; \
+ done
+
+ for subdir in commands triggers VREF; do \
+ cp -a src/$${subdir} $(TMP)/usr/share/$(PKG); \
+ find $(TMP)/usr/share/$(PKG)/$${subdir} -type f -exec chmod +x {} \; ; \
+ done
+
+ $(INSTALL_SCRIPT) src/gitolite $(TMP)/usr/bin
+ $(INSTALL_SCRIPT) src/gitolite-shell $(TMP)/usr/share/$(PKG)
+ $(INSTALL_SCRIPT) check-g2-compat $(TMP)/usr/share/$(PKG)
+ $(INSTALL_SCRIPT) convert-gitosis-conf $(TMP)/usr/share/$(PKG)
+
+ $(INSTALL_FILE) debian/gitolite.1 $(TMP)/usr/share/man/man1
+ gzip -9n $(TMP)/usr/share/man/man1/gitolite.1
+
+ printf "%s\n" "$(GL_VERSION)" > $(TMP)/usr/share/$(PKG)/VERSION
+
+ $(INSTALL_FILE) README.markdown $(TMP)/usr/share/doc/$(PKG)
+
+ dh_installdocs
+ dh_installchangelogs
+ dh_installdebconf
+
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installdeb
+ dh_compress
+ dh_gencontrol
+ dh_md5sums
+ dh_fixperms
+ dh_builddeb
+
+binary-arch:
+ # We have nothing to do here.
+
+
+binary: binary-indep
+
+
+define checkdir
+ test -f debian/rules
+endef
+
+define checkroot
+ test root = "`whoami`"
+endef
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/templates b/debian/templates
new file mode 100644
index 0000000..4205ace
--- /dev/null
+++ b/debian/templates
@@ -0,0 +1,35 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: gitolite3/gituser
+Type: string
+Default: gitolite3
+_Description: System username for gitolite:
+ Please enter the name for the system user which should be used by
+ gitolite to access repositories. It will be created if necessary.
+
+Template: gitolite3/gitdir
+Type: string
+Default: /var/lib/gitolite3
+_Description: Repository path:
+ Please enter the path in which gitolite should store the repositories.
+ This will become the gitolite system user's home directory.
+
+Template: gitolite3/adminkey
+Type: string
+_Description: Administrator's SSH key:
+ Please specify the key of the user that will administer the access
+ configuration of gitolite.
+ .
+ This can be either the SSH public key itself, or the path to a file
+ containing it. If it is blank, gitolite will be left unconfigured and
+ must be set up manually.
+ .
+ If migrating from gitolite version 2.x, leave this blank.
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9385776
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# debian/watch for gitolite
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%gitolite-$1.tar.gz%" \
+ https://github.com/sitaramc/gitolite/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian