[Reproducible-builds] [sortjar] 01/01: Add initial Debian packaging

Drew Fisher zarvox-guest at moszumanska.debian.org
Sat Aug 30 18:48:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

zarvox-guest pushed a commit to branch master
in repository sortjar.

commit 5259ae76423a1943fc43f7ef0b66b957dc44e58b
Author: Drew Fisher <zarvox at zarvox.org>
Date:   Sat Aug 30 18:16:31 2014 +0000

    Add initial Debian packaging
---
 debian/changelog        |  5 +++++
 debian/compat           |  1 +
 debian/control          | 17 +++++++++++++++++
 debian/copyright        | 34 ++++++++++++++++++++++++++++++++++
 debian/rules            |  8 ++++++++
 debian/sortjar.install  |  1 +
 debian/sortjar.manifest |  2 ++
 debian/source/format    |  1 +
 8 files changed, 69 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..97fd2d6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sortjar (0.0.1-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #759822)
+
+ -- Drew Fisher <zarvox at zarvox.org>  Sat, 30 Aug 2014 00:34:46 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..99b2b4f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: sortjar
+Section: java
+Priority: extra
+Maintainer: Drew Fisher <zarvox at zarvox.org>
+Build-Depends: debhelper (>= 7.0.50~), javahelper (>=0.25)
+Build-Depends-Indep: default-jdk, ant
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/reproducible/sortjar.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=reproducible/sortjar.git
+
+Package: sortjar
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: remove nondeterministic aspects of jar files
+ sortjar is a command-line tool which rewrites Java jar files so that they can
+ be reproduced bit-for-bit, given identical contents.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c9431c2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SortJar
+Upstream-Contact: Michael Rogers <michael at briarproject.org>
+Source: https://code.briarproject.org/akwizgran/sortjar
+
+Files: *
+Copyright: 2014 Michael Rogers <michael at briarproject.org>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2014 Drew Fisher <zarvox at zarvox.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0809857
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh "$@" --with javahelper
+
+override_dh_link:
+	dh_link usr/share/sortjar/SortJar.jar usr/bin/sortjar
diff --git a/debian/sortjar.install b/debian/sortjar.install
new file mode 100644
index 0000000..6fec893
--- /dev/null
+++ b/debian/sortjar.install
@@ -0,0 +1 @@
+SortJar.jar usr/share/sortjar
diff --git a/debian/sortjar.manifest b/debian/sortjar.manifest
new file mode 100644
index 0000000..58149a9
--- /dev/null
+++ b/debian/sortjar.manifest
@@ -0,0 +1,2 @@
+usr/share/sortjar/SortJar.jar:
+ Main-Class: org.briarproject.sortjar.SortJar
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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/sortjar.git



More information about the Reproducible-builds mailing list