From 91345e7d917c38e1bdcf9b2b01a5b7830a73eef7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 18 Nov 2013 13:39:52 -0400 Subject: debianization --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 28 ++++++++++++++++++++++++++++ debian/copyright | 9 +++++++++ debian/manpages | 1 + debian/rules | 10 ++++++++++ git-repair.cabal | 3 +++ 7 files changed, 57 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/manpages create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2a2ffcb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +git-repair (1.20131118) unstable; urgency=low + + * First release + + -- Joey Hess Mon, 18 Nov 2013 13:38:12 -0400 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/control b/debian/control new file mode 100644 index 0000000..f4999d7 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: git-repair +Section: utils +Priority: optional +Build-Depends: + debhelper (>= 9), + ghc, + git, + libghc-missingh-dev, + libghc-hslogger-dev, + libghc-network-dev, + libghc-ifelse-dev, + libghc-extensible-exceptions-dev, + libghc-unix-compat-dev, + libghc-utf8-string-dev, + libghc-async-dev +Maintainer: Joey Hess +Standards-Version: 3.9.4 +Vcs-Git: git://git-repair.branchable.com/ +Homepage: http://git-repair.branchable.com/ + +Package: git-repair +Architecture: any +Section: utils +Depends: ${misc:Depends}, ${shlibs:Depends}, git, rsync +Description: repair various forms of damage to git repositorie + git-repair can repair various forms of damage to git repositories. + . + It is a complement to git fsck, which finds problems, but does not fix them. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9d7912f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,9 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: native package + +Files: * +Copyright: © 2013 Joey Hess +License: GPL-3+ + The full text of version 3 of the GPL is distributed as doc/GPL in + this package's source, or in /usr/share/common-licenses/GPL-3 on + Debian systems. diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..4cad191 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +git-repair.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4d8fa21 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +# Avoid using cabal, as it writes to $HOME +export CABAL=./Setup + +# Do use the changelog's version number, rather than making one up. +export RELEASE_BUILD=1 + +%: + dh $@ diff --git a/git-repair.cabal b/git-repair.cabal index 6ab62fd..e649be0 100644 --- a/git-repair.cabal +++ b/git-repair.cabal @@ -13,6 +13,9 @@ Category: Utility Synopsis: repairs a damanged git repisitory Description: git-repair can repair various forms of damage to git repositories. + . + It is a complement to git fsck, which finds problems, but does not fix + them. Executable git-repair Main-Is: git-repair.hs -- cgit v1.2.3