[artifactory] 02/08: WIP: first cut of debian/

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Aug 29 11:21:59 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository artifactory.

commit 2823088a9ab3f3e2a9d8e56ed0234a13bb4735b1
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Jun 8 15:39:05 2016 +0100

    WIP: first cut of debian/
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 25 +++++++++++++++++++++++++
 debian/copyright      | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/rules          | 25 +++++++++++++++++++++++++
 debian/source/format  |  2 ++
 debian/source/options |  1 +
 7 files changed, 99 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8ec4292
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+artifactory (4.8.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #711047)
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Wed, 08 Jun 2016 15:35:54 +0100
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..5831466
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: artifactory
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Alastair McKinstry <mckinstry at debian.org>
+Build-Depends:
+ cdbs,
+ debhelper (>= 9),
+ default-jdk,
+ javahelper,
+ maven-debian-helper
+Standards-Version: 3.9.8
+Homepage: https://github.com/johnrengelman/shadow
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/jacoco-plugin.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jacoco-plugin.git
+
+Package: artifactory
+Architecture: all
+Depends: ${misc:Depends}
+Description: Binary Repository Manager for Maven, Ivy, Gradle modules
+ Binary Repository Manager for Maven, Ivy, Gradle modules, etc. Supports
+ hosting and remote proxying of artifacts - browsable, secure, annotated
+ & searchable.  Integrates with CI servers, like Jenkins, TeamCity and Bamboo,
+ for fully traceable builds.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..da43620
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jacoco-plugin
+Source: https://github.com/thomaslee/gradle-jflex-plugin
+Files-Excluded:
+ *.jar
+
+Files: *
+Copyright: 2014-2015, Tom Lee
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016, Markus Koschany <apo at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the complete text of the Apache 2.0 license
+ can be found in /usr/share/common-licenses/Apache-2.0.
+
+
+ *  The MIT License
+ *
+ *  Copyright 2010 Sony Ericsson Mobile Communications. All rights reserved.
+ *
+ *  Permission is hereby granted, free of charge, to any person obtaining a copy
+ *  of this software and associated documentation files (the "Software"), to deal
+ *  in the Software without restriction, including without limitation the rights
+ *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *  copies of the Software, and to permit persons to whom the Software is
+ *  furnished to do so, subject to the following conditions:
+ *
+ *  The above copyright notice and this permission notice shall be included in
+ *  all copies or substantial portions of the Software.
+ *
+ *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ *  THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cc09aab
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_MAVEN_INSTALL_TO_USJ := false
+PACKAGE := artifactory
+JAR := artifactory
+
+# Install branch specific named version in /usr/share/java
+# This works around the fact that maven-debian-helper does
+# not pass --usj-name from debian/*.poms
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java pom.xml -l \
+        target/$(JAR)-lib-$(DEB_UPSTREAM_VERSION).jar --usj-name=$(PACKAGE)-lib
+	jh_classpath -plib$(PACKAGE)-java
+
+# Re-locate java 5 source code into main java directory
+before-mvn-build::
+	cp -r src/main/jdk15/* src/main/java/	
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..c3d9f24
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1,2 @@
+3.0 (quilt)
+
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/artifactory.git



More information about the pkg-java-commits mailing list