diff --git a/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.signatures.json b/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.signatures.json new file mode 100644 index 0000000000..3dc80c7301 --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.signatures.json @@ -0,0 +1,5 @@ +{ + "Signatures": { + "commons-pool-1.6-src.tar.gz": "31d182e5dc857666dba640caf9529158c679075f4f137deceff128e268d9195a" + } +} \ No newline at end of file diff --git a/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.spec b/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.spec new file mode 100755 index 0000000000..383ba0a38c --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-pool/apache-commons-pool.spec @@ -0,0 +1,166 @@ +%define base_name pool +%define short_name commons-%{base_name} +Summary: Apache Commons Pool +Name: apache-commons-pool +Version: 1.6 +Release: 1%{?dist} +License: Apache-2.0 +Vendor: Microsoft Corporation +Distribution: Mariner +Group: Development/Libraries/Java +URL: https://commons.apache.org/proper/commons-pool/ +Source0: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +Patch0: jakarta-commons-pool-build.patch +Patch1: commons-pool-1.6-sourcetarget.patch +BuildRequires: ant +BuildRequires: ant-junit +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local-bootstrap +Provides: jakarta-%{short_name} = %{version}-%{release} +Obsoletes: jakarta-%{short_name} < %{version}-%{release} +Provides: %{short_name} = %{version}-%{release} +Obsoletes: %{short_name} < %{version}-%{release} +BuildArch: noarch + +%description +The goal of the Pool package is to create and maintain an object +(instance) pooling package to be distributed under the ASF license. The +package supports a variety of pool implementations, but encourages +support of an interface that makes these implementations +interchangeable. + +%package javadoc +Summary: Javadoc for %{name} +Group: Development/Libraries/Java + +%description javadoc +The goal of Pool package it to create and maintain an object (instance) +pooling package to be distributed under the ASF license. The package +should support a variety of pool implementations, but encourage support +of an interface that makes these implementations interchangeable. + +This package contains the javadoc documentation for the Apache Commons +Pool Package. + +%prep +%setup -q -n %{short_name}-%{version}-src +# remove all binary libs +find . -name "*.jar" -exec rm -f {} \; +%patch0 +%patch1 -p1 + +dos2unix README.txt + +%pom_remove_parent . + +%build +ant -Djava.io.tmpdir=. clean dist + +%install +# jars +install -d -m 755 %{buildroot}%{_javadir} +install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar +(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done) +(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) + +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom +%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar + +# javadoc +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} + +%check +ant -Djava.io.tmpdir=. test + +%files +%defattr(0644,root,root,0755) +%license LICENSE.txt +%doc README.txt +%{_javadir}/%{name}.jar +%{_javadir}/%{name}-%{version}.jar +%{_javadir}/%{short_name}.jar +%{_javadir}/%{short_name}-%{version}.jar +%{_mavenpomdir}/%{name}-%{version}.pom +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif + +%files javadoc +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name} + +%changelog +* Mon Nov 14 2022 Sumedh Sharma - 1.6-1 +- Initial CBL-Mariner import from openSUSE Tumbleweed (license: same as "License" tag). +- Enable check section +- License verified + +* Mon Mar 25 2019 Fridrich Strba +- Remove pom parent, since we don't use it when not building with maven + +* Thu Dec 13 2018 Fridrich Strba +- Install as maven artifact + +* Tue May 15 2018 fstrba@suse.com +- Modified patch: + * commons-pool-1.6-sourcetarget.patch + + Build with source and target 8 to prepare for a possible + removal of 1.6 compatibility +- Run fdupes on the documentation + +* Thu Sep 14 2017 fstrba@suse.com +- Added patch: + * commons-pool-1.6-sourcetarget.patch + + Specify java source and target level 1.6 in order to allow + building with jdk9 + +* Thu Sep 29 2016 tchvatal@suse.com +- Rename from jakarta-commons-pool to apache-commons-pool +- Version update to 1.6: + * drop the tomcat5 package, we need pool2 to work with new tomcat + * Last and final from the pool1 series, new pool2 was introduced + for future developement. + +* Mon Sep 9 2013 tchvatal@suse.com +- Move from jpackage-utils to javapackage-tools + +* Thu Mar 13 2008 mvyskocil@suse.cz +- merged with jpackage 1.7 +- update to 1.3 +- changes in BuildRequires: + - java2-deve-packages was substituded by java-devel + - added a junit + - added a maven build support and maven related BuildRequires + - xml-commons-apis was moved to the maven build branch +- added a gcj build support +- included a maven depmap files +- remove a source=1.4 from build and a java14compat patch +- provides and obsoletes of main package contains the version +- new tomcat5 subpackage +- new manual subpackage (build only with maven) + +* Fri Sep 15 2006 ro@suse.de +- set source=1.4 for java + +* Wed Jan 25 2006 mls@suse.de +- converted neededforbuild to BuildRequires + +* Thu Jul 28 2005 jsmeix@suse.de +- Adjustments in the spec file. + +* Mon Jul 18 2005 jsmeix@suse.de +- Current version 1.2 from JPackage.org + +* Thu Sep 16 2004 skh@suse.de +- Fix prerequires of javadoc subpackage + +* Thu Sep 2 2004 skh@suse.de +- Initial package created with version 1.2 (JPackage 1.5) diff --git a/SPECS-EXTENDED/apache-commons-pool/commons-pool-1.6-sourcetarget.patch b/SPECS-EXTENDED/apache-commons-pool/commons-pool-1.6-sourcetarget.patch new file mode 100644 index 0000000000..f914348e92 --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-pool/commons-pool-1.6-sourcetarget.patch @@ -0,0 +1,13 @@ +--- commons-pool-1.6-src/build.xml 2012-01-04 16:30:59.000000000 +0100 ++++ commons-pool-1.6-src/build.xml 2017-09-14 16:06:25.115950300 +0200 +@@ -61,8 +61,8 @@ + + + +- +- ++ ++ + + + diff --git a/SPECS-EXTENDED/apache-commons-pool/jakarta-commons-pool-build.patch b/SPECS-EXTENDED/apache-commons-pool/jakarta-commons-pool-build.patch new file mode 100644 index 0000000000..31cdbdb9e5 --- /dev/null +++ b/SPECS-EXTENDED/apache-commons-pool/jakarta-commons-pool-build.patch @@ -0,0 +1,13 @@ +Index: build.xml +=================================================================== +--- build.xml.orig ++++ build.xml +@@ -94,7 +94,7 @@ + nonavbar="false" + serialwarn="false" + source="${javac.src.version}"> +- ++ + + + diff --git a/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md b/SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md index 7ce71aea6d..853c6edf72 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-digester
apache-commons-httpclient
apache-commons-io
apache-commons-jexl
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-jexl
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-net
apache-commons-pool
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 68078e5a2b..2c8ccc73ac 100644 --- a/SPECS/LICENSES-AND-NOTICES/data/licenses.json +++ b/SPECS/LICENSES-AND-NOTICES/data/licenses.json @@ -2295,6 +2295,7 @@ "apache-commons-lang3", "apache-commons-logging", "apache-commons-net", + "apache-commons-pool", "apache-parent", "aqute-bnd", "args4j", diff --git a/cgmanifest.json b/cgmanifest.json index cdde1a957e..eb2a3ac7a0 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -360,6 +360,16 @@ } } }, + { + "component": { + "type": "other", + "other": { + "name": "apache-commons-pool", + "version": "1.6", + "downloadUrl": "https://archive.apache.org/dist/commons/pool/source/commons-pool-1.6-src.tar.gz" + } + } + }, { "component": { "type": "other",