From e57ce31fd78fa2a02c43aac06ea97dd726d1ca44 Mon Sep 17 00:00:00 2001 From: denghao Date: Fri, 17 Mar 2023 13:39:28 +0800 Subject: [PATCH] Import Debian changes 1.0~alpha7-ok1 plexus-bsh-factory (1.0~alpha7-ok1) yangtze; urgency=medium * Build for openKylin. --- debian/changelog | 5 +++ debian/control | 25 +++++++++++++ debian/copyright | 49 ++++++++++++++++++++++++++ debian/libplexus-bsh-factory-java.poms | 2 ++ debian/maven.properties | 2 ++ debian/maven.rules | 3 ++ debian/orig-tar.sh | 17 +++++++++ debian/patches/series | 1 + debian/rules | 4 +++ debian/source/format | 1 + debian/watch | 5 +++ 11 files changed, 114 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libplexus-bsh-factory-java.poms create mode 100644 debian/maven.properties create mode 100644 debian/maven.rules create mode 100755 debian/orig-tar.sh create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..aad9ce3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +plexus-bsh-factory (1.0~alpha7-ok1) yangtze; urgency=medium + + * Build for openKylin. + + -- denghao Fri, 17 Mar 2023 13:39:28 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d5abb7f --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: plexus-bsh-factory +Section: java +Priority: optional +Maintainer: Openkylin Developers +Build-Depends: debhelper-compat (= 13), + default-jdk, + junit4, + libbsh-java, + libplexus-container-default-java, + maven-debian-helper, +Standards-Version: 4.6.1 +Vcs-Git: https://gitee.com/openkylin/plexus-bsh-factory.git +Vcs-Browser: https://gitee.com/openkylin/plexus-bsh-factory +Homepage: http://plexus.codehaus.org/ + +Package: libplexus-bsh-factory-java +Architecture: all +Depends: ${misc:Depends}, libplexus-container-default1.5-java, libbsh-java +Description: Plexus Beanshell Factory + 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. + . + This package provides a factory for instantiating BeanShell with Plexus. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6b44fd4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,49 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: plexus-bsh-factory +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: debian-orig/control + debian-orig/libplexus-bsh-factory-java.poms + debian-orig/maven.properties + debian-orig/maven.rules + debian-orig/orig-tar.sh + debian-orig/patches/01-add-missing-dependencies.patch + debian-orig/patches/02-plexus-containers-compatibility.patch + debian-orig/patches/03-junit-dependency.patch + debian-orig/patches/series + debian-orig/rules + debian-orig/source/format + debian-orig/watch + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponent.java + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentConfigurator.java + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactory.java + src/test/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.java + src/test/java/org/codehaus/plexus/component/factory/bsh/Hello.java + src/test/resources/DefaultHello.bsh +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: debian-orig/copyright +Copyright: : 2001-2009, Codehaus Foundation. License: Apache-2.0 +License: __UNKNOWN__ + Files: debian/* + Copyright: 2009-2022, Ludovic Claude + 2022 tony mancill + License: Apache-2.0 + . + License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' + +#---------------------------------------------------------------------------- +# xml and html files (skipped): +# pom.xml +# release-pom.xml +# src/main/resources/META-INF/plexus/components.xml +# src/test/resources/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.xml + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/libplexus-bsh-factory-java.poms b/debian/libplexus-bsh-factory-java.poms new file mode 100644 index 0000000..e3a3ef0 --- /dev/null +++ b/debian/libplexus-bsh-factory-java.poms @@ -0,0 +1,2 @@ +pom.xml --no-parent + diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..e2ae10b --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,2 @@ +javadoc.dir=build/api +maven.test.skip=true diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..4033cad --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ +junit junit * s/.*/4.x/ * * +s/bsh/org.beanshell/ bsh jar s/.*/debian/ +org.codehaus.plexus plexus-container-default * s/.*/1.5.5/ * * diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..428e998 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,17 @@ +#!/bin/sh -e + +VERSION=$2 +TAR=../plexus-bsh-factory_$VERSION.orig.tar.gz +DIR=plexus-bsh-factory-$VERSION +TAG=$(echo "plexus-bsh-factory-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,' | sed 's/alpha-7/alpha-7-SNAPSHOT/') + +svn export http://svn.codehaus.org/plexus/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/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ 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/watch b/debian/watch new file mode 100644 index 0000000..f5febbc --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts="uversionmangle=s/alpha-7-SNAPSHOT/alpha-7/;s/-(alpha|beta)-/~$1/" \ + http://svn.codehaus.org/plexus/tags/ \ + plexus-bsh-factory-([0-9].*)/ debian debian/orig-tar.sh +