diff --git a/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester-build.xml b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester-build.xml new file mode 100644 index 0000000000..7ba3301d9c --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester-build.xml @@ -0,0 +1,274 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.signatures.json b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.signatures.json new file mode 100644 index 0000000000..b30d7b0884 --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.signatures.json @@ -0,0 +1,6 @@ +{ + "Signatures": { + "apache-commons-digester-build.xml": "04b53a153e5b2e916aa9231dc4866567878c6deb84a50c40c9c995507f743f78", + "commons-digester-2.1-src.tar.gz": "2713f07a6adec7e253d91f1fca70e658b93e1a63f1b6a36f4907a2b83088543f" + } +} \ No newline at end of file diff --git a/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.spec b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.spec new file mode 100755 index 0000000000..2db9c7a22a --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-digester/apache-commons-digester.spec @@ -0,0 +1,207 @@ +%define base_name digester +%define short_name commons-%{base_name} +Summary: Jakarta Commons Digester Package +Name: apache-%{short_name} +Version: 2.1 +Release: 4%{?dist} +License: Apache-2.0 +Vendor: Microsoft Corporation +Distribution: Mariner +Group: Development/Libraries/Java +URL: https://commons.apache.org/proper/commons-digester +Source0: https://dlcdn.apache.org/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: commons-beanutils +BuildRequires: commons-collections +BuildRequires: commons-logging +BuildRequires: fdupes +BuildRequires: javapackages-local-bootstrap +Requires: commons-beanutils +Requires: commons-logging +Provides: %{short_name} = %{version}-%{release} +Obsoletes: %{short_name} < %{version}-%{release} +BuildArch: noarch +%if %{with_check} +BuildRequires: ant-junit +%endif + +%description +The goal of the Jakarta Commons Digester project is to create and +maintain an XML to Java object mapping package written in the Java +language to be distributed under the ASF license. + +%package javadoc +Summary: Javadoc for apache-commons-digester +Group: Development/Libraries/Java + +%description javadoc +The goal of the Jakarta Commons Digester project is to create and +maintain a XML -> Java object mapping package written in the Java +language to be distributed under the ASF license. + +This package contains the javadoc documentation for the Jakarta Commons +Digester Package. + +%prep +%setup -q -n %{short_name}-%{version}-src +cp %{SOURCE1} build.xml + +mkdir -p lib +build-jar-repository -s lib commons-beanutils commons-logging + +%pom_remove_parent + +%build +ant jar javadoc + +%install +# jars +install -d -m 0755 %{buildroot}%{_javadir} +install -pm 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +ln -s %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar +# pom +install -d -m 0755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a org.apache.commons:%{short_name} +# javadoc +install -d -m 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir}/%{name}/ + +%check +build-jar-repository -s lib commons-collections +ant test + +%files -f .mfiles +%license LICENSE.txt +%doc NOTICE.txt RELEASE-NOTES.txt +%{_javadir}/* + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Mon Nov 07 2022 Sumedh Sharma - 2.1-4 +- Enable check section +- License verified + +* Thu Oct 14 2021 Pawel Winogrodzki - 2.1-3 +- Converting the 'Release' tag to the '[number].[distribution]' format. + +* Fri Nov 27 2020 Ruying Chen - 2.1-2.7 +- Initial CBL-Mariner import from openSUSE Tumbleweed (license: same as "License" tag). +- Use javapackages-local-bootstrap to avoid build cycle. + +* Wed Mar 27 2019 Fridrich Strba +- Use global defines for name + +* Mon Feb 25 2019 Fridrich Strba +- Upgrade to 2.1 + * Breaking changes: + + The minimum JDK requirement is now JDK 1.5. The provided + binaries will not work on lower JDKs. The source has been + updated to leverage Generics and other JDK 1.5 features where + possible, and requires JDK 1.5 to compile. + + This release eliminates all dependencies on Commons + Collections classes. Previously, ArrayStack was used in the + Digester implementation and was exposed via protected fields + or inner classes of the following classes: + - org.apache.commons.digester.Digester, + - org.apache.commons.digester.CallParamRule, and + - org.apache.commons.digester.xmlrules.DigesterRuleParser + These classes now use java.util.Stack instead. Any subclasses + of the above using protected ArrayStack members will require + appropriate migration to use java.util.Stack instead before + they can be used with version 2.0 or later. + * Important changes: + + The legacy schema support has been deprecated in favor of + javax.xml.validation.Schema support. + * New features: + + Support for XML Schema validation using + javax.xml.validation.Schema has been added to Digester. + See Digester class Javadoc, and + Digester#setSchema(javax.xml.validation.Schema) method. + This allows usage of W3C XML Schema, Relax NG and Schematron + for validation of XML documents. + The legacy schema support has been deprecated (details below). + + The underlying SAXParser factory can now be easily configured + to be XInclude aware. This allows for general purpose + inclusion of XML or text documents, for example, and + facilitates document modularity. + + Added a new package 'annotations' that provides for Java5 + Annotations meta-data based definition of rules for Digester. + This improves maintainability of both Java code and XML + documents, as rules are now defined in POJOs and generating + Digester parsers at runtime, avoiding manual updates. + * Bugs from previous release: + + SetPropertyRule throws java.lang.IllegalArgumentException: + No name specified when matched element has no attributes. + [DIGESTER-114] + + Missing unit tests using Ant and Maven. [DIGESTER-117] + + Digesting XML content with NodeCreateRule swallows spaces. + [DIGESTER-120] + + Potential NullPointerException if debug is enabled in + Digester#resolveEntity() [DIGESTER-122] + + Clear inputSources list in method Digester.clear() + [DIGESTER-125] + + Potential NullPointerException if debug is enabled in + FactoryCreateRule#begin() [DIGESTER-126] + * Improvements from previous release: + + Null arguments to all Digester#parse() methods now throw an + IllegalArgumentException. [DIGESTER-111] + + 'serialVersionUID' fields have been added to Serializable + classes. +- Generate ant build files that were removed in 2.1 by upstream +- Removed patch: + * apache-commons-digester-build.patch + + the generated build is handling the build classpath + differently + +* Fri Dec 21 2018 Fridrich Strba +- Renamed package to apache-commons-digester +- Removed patch: + * jakarta-commons-digester-java16compat.patch + + no need to patch build.xml to build with source/target 1.6 +- Added patch: + * apache-commons-digester-build.patch + + add commons-collections to the build classpath + +* Mon Sep 18 2017 fstrba@suse.com +- Removed patch: + * jakarta-commons-digester-java14compat.patch +- Added patch: + * jakarta-commons-digester-java16compat.patch + - Build with java source and target 1.6 + - Fixes build with jdk9 +- Align the spec file to the way the ant build gets its + dependencies and fix the javadoc build + +* Tue Jul 8 2014 tchvatal@suse.com +- Cleanup with spec cleaner and fix build again. + +* Mon Sep 25 2006 skh@suse.de +- don't use icecream +- use source="1.4" and target="1.4" for build with java 1.5 + +* Wed Jan 25 2006 mls@suse.de +- converted neededforbuild to BuildRequires + +* Wed Jul 27 2005 jsmeix@suse.de +- Current version 1.7 from JPackage.org + +* Mon Jul 18 2005 jsmeix@suse.de +- Current version 1.6 from JPackage.org + +* Tue Feb 22 2005 skh@suse.de +- enable build of rss package (needed by struts) + +* Mon Feb 21 2005 skh@suse.de +- update to version 1.6 +- don't use icecream + +* Thu Sep 16 2004 skh@suse.de +- Fix prerequires of javadoc subpackage + +* Sun Sep 5 2004 skh@suse.de +- Initial package created with version 1.5 (JPackage version 1.5) diff --git a/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md b/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md index c91ab6fad9..0954b5f3ba 100644 --- a/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md +++ b/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md @@ -13,7 +13,7 @@ The CBL-Mariner SPEC files originated from a variety of sources with varying lic | Numad source | [LGPLv2 License](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt) | numad | | NVIDIA | [ASL 2.0 License and spec specific licenses](http://www.apache.org/licenses/LICENSE-2.0) | knem
libnvidia-container
mlnx-ofa_kernel
mlnx-tools
mlx-bootctl
nvidia-container-runtime
nvidia-container-toolkit
nvidia-docker2
ofed-scripts
perftest | | OpenMamba | [Openmamba GPLv2 License](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt) | bash-completion | -| OpenSUSE | Following [openSUSE guidelines](https://en.opensuse.org/openSUSE:Specfile_guidelines#Specfile_Licensing) | ant
ant-junit
antlr
aopalliance
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections
apache-commons-collections4
apache-commons-compress
apache-commons-daemon
apache-commons-dbcp
apache-commons-httpclient
apache-commons-io
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-net
apache-parent
aqute-bnd
args4j
atinject
base64coder
bazel-workspaces
bcel
bea-stax
beust-jcommander
byaccj
cal10n
cglib
cni
containerized-data-importer
cri-o
ecj
fillup
gd
geronimo-specs
glassfish-annotation-api
glassfish-servlet-api
gnu-getopt
gnu-regexp
golang-packaging
guava
guava20
hamcrest
hawtjni-runtime
httpcomponents-client
httpcomponents-core
isorelax
jakarta-taglibs-standard
jansi-native
jarjar
java-cup
java-cup-bootstrap
javacc
javacc-bootstrap
javassist
jboss-interceptors-1.2-api
jdepend
jflex
jflex-bootstrap
jlex
jna
jsch
jsch-agent-proxy
jsoup
jsr-305
jtidy
junit
junitperf
jzlib
kubevirt
kured
libcontainers-common
libtheora
libva
libvdpau
lynx
maven-parent
multus
objectweb-anttask
objectweb-asm
objenesis
oro
osgi-annotation
osgi-compendium
osgi-core
parboiled
patterns-ceph-containers
plexus-classworlds
plexus-component-api
plexus-interpolation
plexus-io
plexus-pom
plexus-utils
psl-make-dafsa
publicsuffix
qdox
regexp
relaxngDatatype
rhino
ripgrep
rook
servletapi4
servletapi5
slf4j
snakeyaml
trilead-ssh2
xalan-j2
xbean
xcursor-themes
xerces-j2
xml-commons-apis
xml-commons-resolver
xmldb-api
xmlrpc-c
xmlunit
xpp2
xpp3
xz-java | +| OpenSUSE | Following [openSUSE guidelines](https://en.opensuse.org/openSUSE:Specfile_guidelines#Specfile_Licensing) | ant
ant-junit
antlr
aopalliance
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections
apache-commons-collections4
apache-commons-compress
apache-commons-daemon
apache-commons-dbcp
apache-commons-digester
apache-commons-httpclient
apache-commons-io
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-net
apache-parent
aqute-bnd
args4j
atinject
base64coder
bazel-workspaces
bcel
bea-stax
beust-jcommander
byaccj
cal10n
cglib
cni
containerized-data-importer
cri-o
ecj
fillup
gd
geronimo-specs
glassfish-annotation-api
glassfish-servlet-api
gnu-getopt
gnu-regexp
golang-packaging
guava
guava20
hamcrest
hawtjni-runtime
httpcomponents-client
httpcomponents-core
isorelax
jakarta-taglibs-standard
jansi-native
jarjar
java-cup
java-cup-bootstrap
javacc
javacc-bootstrap
javassist
jboss-interceptors-1.2-api
jdepend
jflex
jflex-bootstrap
jlex
jna
jsch
jsch-agent-proxy
jsoup
jsr-305
jtidy
junit
junitperf
jzlib
kubevirt
kured
libcontainers-common
libtheora
libva
libvdpau
lynx
maven-parent
multus
objectweb-anttask
objectweb-asm
objenesis
oro
osgi-annotation
osgi-compendium
osgi-core
parboiled
patterns-ceph-containers
plexus-classworlds
plexus-component-api
plexus-interpolation
plexus-io
plexus-pom
plexus-utils
psl-make-dafsa
publicsuffix
qdox
regexp
relaxngDatatype
rhino
ripgrep
rook
servletapi4
servletapi5
slf4j
snakeyaml
trilead-ssh2
xalan-j2
xbean
xcursor-themes
xerces-j2
xml-commons-apis
xml-commons-resolver
xmldb-api
xmlrpc-c
xmlunit
xpp2
xpp3
xz-java | | Photon | [Photon License](LICENSE-PHOTON.md) and [Photon Notice](NOTICE.APACHE2).
Also see [LICENSE-EXCEPTIONS.PHOTON](LICENSE-EXCEPTIONS.PHOTON). | acl
alsa-lib
alsa-utils
ansible
apparmor
apr
apr-util
asciidoc
atftp
audit
autoconf
autoconf-archive
autofs
autogen
automake
babel
bash
bc
bcc
bind
binutils
bison
blktrace
boost
bridge-utils
btrfs-progs
bubblewrap
build-essential
bzip2
c-ares
cairo
cassandra
cdrkit
check
chkconfig
chrpath
cifs-utils
clang
cloud-init
cloud-utils-growpart
cmake
cni-plugins
core-packages
coreutils
cpio
cppunit
cracklib
crash
crash-gcore-command
createrepo_c
cri-tools
cronie
curl
cyrus-sasl
dbus
dbus-glib
dejagnu
device-mapper-multipath
dhcp
dialog
diffutils
dkms
dmidecode
dnsmasq
docbook-dtd-xml
docbook-style-xsl
dosfstools
dracut
dstat
e2fsprogs
ed
efibootmgr
efivar
elfutils
emacs
erlang
etcd-3.5.0
etcd-3.5.1
ethtool
expat
expect
fcgi
file
filesystem
findutils
finger
flex
fontconfig
fping
freetype
fuse
gawk
gc
gcc
gdb
gdbm
gettext
git
git-lfs
glib
glib-networking
glibc
glibmm
glide
gmp
gnome-common
gnupg2
gnuplot
gnutls
gobject-introspection
golang
golang-1.17
gperf
gperftools
gpgme
gptfdisk
grep
groff
grub2
gtest
gtk-doc
guile
gzip
haproxy
harfbuzz
haveged
hdparm
http-parser
httpd
i2c-tools
iana-etc
icu
initramfs
initscripts
inotify-tools
intltool
iotop
iperf3
iproute
ipset
iptables
iputils
ipvsadm
ipxe
irqbalance
itstool
jansson
jq
json-c
json-glib
kbd
keepalived
kernel
kernel-hci
kernel-headers
kernel-mshv
kernel-rt
kernel-uvm
keyutils
kmod
krb5
less
libaio
libarchive
libassuan
libatomic_ops
libcap
libcap-ng
libconfig
libdb
libdnet
libedit
libestr
libevent
libfastjson
libffi
libgcrypt
libgpg-error
libgssglue
libgsystem
libgudev
libjpeg-turbo
libksba
liblogging
libmbim
libmnl
libmodulemd
libmpc
libmspack
libndp
libnetfilter_conntrack
libnetfilter_cthelper
libnetfilter_cttimeout
libnetfilter_queue
libnfnetlink
libnftnl
libnl3
libnsl2
libpcap
libpipeline
libpng
libpsl
libqmi
librelp
librepo
librsync
libseccomp
libselinux
libsepol
libserf
libsigc++30
libsolv
libsoup
libssh2
libtalloc
libtar
libtasn1
libtiff
libtirpc
libtool
libunistring
libunwind
libusb
libvirt
libwebp
libxml2
libxslt
libyaml
linux-firmware
lldb
lldpad
llvm
lm-sensors
lmdb
log4cpp
logrotate
lshw
lsof
lsscsi
ltrace
lttng-tools
lttng-ust
lvm2
lz4
lzo
m2crypto
m4
make
man-db
man-pages
mariadb
maven
mc
mercurial
meson
mlocate
ModemManager
mozjs
mpfr
msft-golang
msr-tools
mysql
nano
nasm
ncurses
ndctl
net-snmp
net-tools
nettle
newt
nfs-utils
nghttp2
nginx
ninja-build
nodejs
npth
nspr
nss
nss-altfiles
ntp
numactl
nvme-cli
oniguruma
OpenIPMI
openldap
openscap
openssh
openvswitch
ostree
pam
pango
parted
patch
pciutils
pcre
perl-Canary-Stability
perl-CGI
perl-common-sense
perl-Crypt-SSLeay
perl-DBD-SQLite
perl-DBI
perl-DBIx-Simple
perl-Exporter-Tiny
perl-File-HomeDir
perl-File-Which
perl-IO-Socket-SSL
perl-JSON-Any
perl-JSON-XS
perl-libintl-perl
perl-List-MoreUtils
perl-Module-Build
perl-Module-Install
perl-Module-ScanDeps
perl-Net-SSLeay
perl-NetAddr-IP
perl-Object-Accessor
perl-Path-Class
perl-Try-Tiny
perl-Types-Serialiser
perl-WWW-Curl
perl-XML-Parser
perl-YAML
perl-YAML-Tiny
pgbouncer
pinentry
polkit
popt
postgresql
procps-ng
protobuf
protobuf-c
psmisc
pth
pyasn1-modules
pyOpenSSL
PyPAM
pyparsing
pytest
python-appdirs
python-asn1crypto
python-atomicwrites
python-attrs
python-bcrypt
python-certifi
python-cffi
python-chardet
python-configobj
python-constantly
python-coverage
python-cryptography
python-daemon
python-dateutil
python-defusedxml
python-distro
python-docopt
python-docutils
python-ecdsa
python-gevent
python-hyperlink
python-hypothesis
python-idna
python-imagesize
python-incremental
python-iniparse
python-ipaddr
python-jinja2
python-jmespath
python-jsonpatch
python-jsonpointer
python-jsonschema
python-lockfile
python-lxml
python-m2r
python-mako
python-markupsafe
python-mistune
python-msgpack
python-netaddr
python-netifaces
python-ntplib
python-oauthlib
python-packaging
python-pam
python-pbr
python-ply
python-prettytable
python-psutil
python-psycopg2
python-py
python-pyasn1
python-pycodestyle
python-pycparser
python-pycurl
python-pygments
python-pynacl
python-pyvmomi
python-requests
python-setuptools_scm
python-simplejson
python-six
python-snowballstemmer
python-sphinx-theme-alabaster
python-twisted
python-urllib3
python-vcversioner
python-virtualenv
python-wcwidth
python-webob
python-websocket-client
python-werkzeug
python-zope-interface
python3
pytz
PyYAML
rapidjson
readline
redis
rng-tools
rpcbind
rpcsvc-proto
rpm
rpm-ostree
rrdtool
rsync
rsyslog
ruby
rust
scons
sed
sg3_utils
shadow-utils
slang
snappy
socat
sqlite
sshpass
strace
strongswan
subversion
sudo
swig
syslinux
syslog-ng
sysstat
systemd
systemd-bootstrap
systemtap
tar
tboot
tcl
tcpdump
tcsh
tdnf
telegraf
texinfo
tmux
tpm2-abrmd
tpm2-tools
tpm2-tss
traceroute
tree
trousers
tzdata
unbound
unixODBC
unzip
usbutils
userspace-rcu
utf8proc
util-linux
valgrind
vim
vsftpd
WALinuxAgent
wget
which
wpa_supplicant
xfsprogs
xinetd
xmlsec1
xmlto
xz
zchunk
zeromq
zip
zlib
zsh | | Rancher | [ASL 2.0 License](http://www.apache.org/licenses/LICENSE-2.0) | k3s
k3s-1.23.8
k3s-1.24.3 | | Sysbench source | [GPLv2+ License](https://github.com/akopytov/sysbench/blob/master/COPYING) | sysbench | diff --git a/SPECS/LICENSES-AND-NOTICES/data/licenses.json b/SPECS/LICENSES-AND-NOTICES/data/licenses.json index f58b7d5c4c..add469c66d 100644 --- a/SPECS/LICENSES-AND-NOTICES/data/licenses.json +++ b/SPECS/LICENSES-AND-NOTICES/data/licenses.json @@ -2287,6 +2287,7 @@ "apache-commons-compress", "apache-commons-daemon", "apache-commons-dbcp", + "apache-commons-digester", "apache-commons-httpclient", "apache-commons-io", "apache-commons-lang", diff --git a/cgmanifest.json b/cgmanifest.json index 6bcc3397f8..8cd1c42517 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -300,6 +300,16 @@ } } }, + { + "component": { + "type": "other", + "other": { + "name": "apache-commons-digester", + "version": "2.1", + "downloadUrl": "https://dlcdn.apache.org/commons/digester/source/commons-digester-2.1-src.tar.gz" + } + } + }, { "component": { "type": "other",