[plexus-sec-dispatcher] 02/22: [svn-inject] Applying Debian modifications to trunk

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu May 18 15:08:44 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository plexus-sec-dispatcher.

commit 256220aba1a6c19d9728d5faefc2a190fff78896
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Thu Jun 11 14:48:05 2009 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/build.properties                   | 10 ++++++++++
 debian/build.xml                          | 28 ++++++++++++++++++++++++++++
 debian/changelog                          |  5 +++++
 debian/compat                             |  1 +
 debian/components.xml                     | 22 ++++++++++++++++++++++
 debian/control                            | 24 ++++++++++++++++++++++++
 debian/copyright                          | 16 ++++++++++++++++
 debian/libplexus-sec-dispatcher-java.poms |  1 +
 debian/maven.rules                        |  2 ++
 debian/orig-tar.sh                        | 17 +++++++++++++++++
 debian/rules                              | 27 +++++++++++++++++++++++++++
 debian/watch                              |  5 +++++
 12 files changed, 158 insertions(+)

diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..ca14dbb
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,10 @@
+javadoc.dir=build/api
+maven.test.skip=true
+# need to specify the classpath here otherwise there will be
+# a conflict with the modello task, because of plexus-container-default-alpha
+classpath.compile = \
+  /usr/share/java/classworlds:\
+  /usr/share/java/plexus-utils.jar:\
+  /usr/share/java/plexus-cipher.jar:\
+  /usr/share/java/plexus-container-default-alpha.jar
+
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..68b59ec
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+    <property file="debian/build.properties"/>
+    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+    <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+
+    <target name="clean">
+        <ant target="clean" antfile="${maven.build.xml}" dir=""/>
+    </target>
+
+    <target name="generate-sources">
+        <taskdef name="modello" classname="ModelloTask" classpath="/usr/share/java/maven-ant-helper.jar:/usr/share/java/modello-core.jar:/usr/share/java/modello-plugin-xml.jar:/usr/share/java/modello-plugin-xpp3.jar"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="java" output="build/generated-sources" version="1.0.0"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="xpp3-reader" output="build/generated-sources" version="1.0.0"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="xpp3-writer" output="build/generated-sources" version="1.0.0"/>
+    </target>
+
+    <target name="package" depends="generate-sources">
+        <ant target="package" antfile="${maven.build.xml}" dir="" />
+    </target>
+
+    <target name="javadoc">
+        <ant target="javadoc" antfile="${maven.build.xml}" dir=""/>
+    </target>
+</project>
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f3c1510
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plexus-sec-dispatcher (1.1-0ubuntu1~ppa8) jaunty; urgency=low
+
+  * Initial release. (Closes: #526589)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sat, 02 May 2009 00:22:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/components.xml b/debian/components.xml
new file mode 100644
index 0000000..dbd98a8
--- /dev/null
+++ b/debian/components.xml
@@ -0,0 +1,22 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>
+      <implementation>org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher</implementation>
+      <description></description>
+      <requirements>
+        <requirement>
+          <role>org.sonatype.plexus.components.cipher.PlexusCipher</role>
+          <field-name>_cipher</field-name>
+        </requirement>
+        <requirement>
+          <role>org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor</role>
+          <field-name>_decryptors</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <_configuration-file>~/.settings-security.xml</_configuration-file>
+      </configuration>
+    </component>
+  </components>
+</component-set>
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bb9407f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: plexus-sec-dispatcher
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 6), cdbs, default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional, 
+ libmodello-java, 
+ libplexus-utils-java, libplexus-container-default-java, libplexus-cipher-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-sec-dispatcher
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-sec-dispatcher/
+Homepage: http://www.sonatype.org/
+
+Package: libplexus-sec-dispatcher-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-utils-java,
+ libplexus-container-default-java, libplexus-cipher-java
+Description: Plexus Security Dispatcher Component used by Maven
+ The Plexus project provides a full software stack for creating and
+ executing software projects. Based on the Plexus container, the applications
+ can utilise component-oriented programming to build modular, reusable
+ components that can easily be assembled and reused.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0b43353
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Security Dispatcher Component
+Maintainer: Sonatype
+Source: http://www.sonatype.org/
+
+Files: *
+Copyright: 2008, Sonatype Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+  On Debian GNU/Linux system you can find the complete text of the
+  Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/libplexus-sec-dispatcher-java.poms b/debian/libplexus-sec-dispatcher-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libplexus-sec-dispatcher-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..d524174
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+org.codehaus.plexus plexus-container-default jar s/1\.0-alpha-.*/1.0-alpha/
+junit junit jar s/3\..*/3.x/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..5d14b0d
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../plexus-sec-dispatcher_$VERSION.orig.tar.gz
+DIR=plexus-sec-dispatcher-$VERSION
+TAG=$(echo "plexus-sec-dispatcher-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,')
+
+svn export http://svn.sonatype.org/spice/tags/$TAG/ $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1015813
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+makebuilddir/lib$(PACKAGE)-java::
+	install -d src/main/resources/META-INF/plexus
+	install -m644 debian/components.xml src/main/resources/META-INF/plexus/
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d2b78e2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s{-(alpha|beta)-}{~$1}" \
+  http://svn.sonatype.org/spice/tags/ \
+  plexus-sec-dispatcher-([0-9].*)/ debian debian/orig-tar.sh
+

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



More information about the pkg-java-commits mailing list