forked from pool/hsqldb
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
8e40f059cf | |||
80d4f9e4d7 | |||
7b686c65a0 | |||
3e61087edf | |||
76cd6c5789 | |||
66c3f3c720 |
BIN
hsqldb-2.7.2.zip
(Stored with Git LFS)
BIN
hsqldb-2.7.2.zip
(Stored with Git LFS)
Binary file not shown.
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
<artifactId>hsqldb</artifactId>
|
<artifactId>hsqldb</artifactId>
|
||||||
<version>2.7.2</version>
|
<version>2.7.4</version>
|
||||||
<name>HyperSQL Database</name>
|
<name>HyperSQL Database</name>
|
||||||
<description>HSQLDB - Lightweight 100% Java SQL Database Engine</description>
|
<description>HSQLDB - Lightweight 100% Java SQL Database Engine</description>
|
||||||
<url>http://hsqldb.org</url>
|
<url>http://hsqldb.org</url>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</developers>
|
</developers>
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:svn:http://svn.code.sf.net/p/hsqldb/svn/base/</connection>
|
<connection>scm:svn:http://svn.code.sf.net/p/hsqldb/svn/base/</connection>
|
||||||
<tag>2.7.2</tag>
|
<tag>2.7.4</tag>
|
||||||
<url>http://sourceforge.net/p/hsqldb/svn/HEAD/tree/base/tags/2.7.2</url>
|
<url>http://sourceforge.net/p/hsqldb/svn/HEAD/tree/base/tags/2.7.4</url>
|
||||||
</scm>
|
</scm>
|
||||||
</project>
|
</project>
|
BIN
hsqldb-2.7.4.zip
(Stored with Git LFS)
Normal file
BIN
hsqldb-2.7.4.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 08:51:16 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 2.7.4:
|
||||||
|
* version 2.7.4 jar requires JRE 11 or later - can be used as a
|
||||||
|
java module - tested up to Java 21
|
||||||
|
* version 2.7.4 alternative jar requires JRE 8 or later
|
||||||
|
* added support for SQL:2023 LISTAGG aggregate function
|
||||||
|
* added support for update and delete visiblility in JDBC
|
||||||
|
scrollable and updatable result sets
|
||||||
|
* fixed a number of reported regressions and bugs (see tracker)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 23 13:32:15 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* reproducible-jar-mtime.patch
|
||||||
|
+ Don't add the Main-Class after jar creation, but during
|
||||||
|
+ Fixes manifest timestamp
|
||||||
|
- Clean the spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 20 08:56:17 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 2.7.3:
|
||||||
|
* version 2.7.3 jar requires JRE 11 or later - tested up to
|
||||||
|
Java 21
|
||||||
|
* version 2.7.3 alternative jar requires JRE 8 or later
|
||||||
|
* SQL:2023 updates
|
||||||
|
* source code refactoring to use Java Generics - no longer
|
||||||
|
compiles with pre 1.8 JDK
|
||||||
|
* added support for CAST with datetime template argument
|
||||||
|
* enhancements to TO_CHAR, TO_DATE etc. functions; now using
|
||||||
|
java.time.format.DateTimeFormatter
|
||||||
|
* added TO_CHAR for numeric values
|
||||||
|
* added JDBC 4.3 support
|
||||||
|
* fixed a number of reported regressions and bugs (see tracker)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 15 17:17:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Thu Feb 15 17:17:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
57
hsqldb.spec
57
hsqldb.spec
@@ -19,7 +19,7 @@
|
|||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%{!?_fillupdir:%global _fillupdir /var/adm/fillup-templates}
|
%{!?_fillupdir:%global _fillupdir /var/adm/fillup-templates}
|
||||||
Name: hsqldb
|
Name: hsqldb
|
||||||
Version: 2.7.2
|
Version: 2.7.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HyperSQL Database Engine
|
Summary: HyperSQL Database Engine
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -40,14 +40,14 @@ Source9: hsqldb-stop
|
|||||||
# Javadoc fails to create since apidocs folder is deleted and not recreated
|
# Javadoc fails to create since apidocs folder is deleted and not recreated
|
||||||
Patch0: hsqldb-apidocs.patch
|
Patch0: hsqldb-apidocs.patch
|
||||||
Patch1: hsqldb-mdescriptor.patch
|
Patch1: hsqldb-mdescriptor.patch
|
||||||
Patch3: harden_hsqldb.service.patch
|
Patch2: harden_hsqldb.service.patch
|
||||||
|
Patch3: reproducible-jar-mtime.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glassfish-servlet-api
|
BuildRequires: glassfish-servlet-api
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
# Needed for maven conversions
|
# Needed for maven conversions
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: javapackages-tools
|
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: servletapi5
|
BuildRequires: servletapi5
|
||||||
@@ -128,21 +128,23 @@ sed -i -e 's|doc/apidocs|%{_javadocdir}/%{name}|g' index.html
|
|||||||
%build
|
%build
|
||||||
pushd build
|
pushd build
|
||||||
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
|
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
|
||||||
ant hsqldb javadoc -Dservletapi.lib=$(build-classpath glassfish-servlet-api)
|
%{ant} \
|
||||||
|
-Dservletapi.lib=$(build-classpath glassfish-servlet-api) \
|
||||||
|
hsqldb javadoc
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
install -d -m 755 %{buildroot}%{_javadir}
|
install -dm 0755 %{buildroot}%{_javadir}
|
||||||
install -m 644 lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
|
install -pm 0644 lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
# systemd
|
# systemd
|
||||||
install -d -m 755 %{buildroot}%{_unitdir}
|
install -dm 0755 %{buildroot}%{_unitdir}
|
||||||
install -d -m 755 %{buildroot}%{_libexecdir}/%{name}
|
install -dm 0755 %{buildroot}%{_libexecdir}/%{name}
|
||||||
install -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/%{name}.service
|
install -pm 0644 %{SOURCE6} %{buildroot}%{_unitdir}/%{name}.service
|
||||||
install -m 755 %{SOURCE7} %{buildroot}%{_libexecdir}/%{name}/%{name}-wrapper
|
install -pm 0755 %{SOURCE7} %{buildroot}%{_libexecdir}/%{name}/%{name}-wrapper
|
||||||
install -m 755 %{SOURCE8} %{buildroot}%{_libexecdir}/%{name}/%{name}-post
|
install -pm 0755 %{SOURCE8} %{buildroot}%{_libexecdir}/%{name}/%{name}-post
|
||||||
install -m 755 %{SOURCE9} %{buildroot}%{_libexecdir}/%{name}/%{name}-stop
|
install -pm 0755 %{SOURCE9} %{buildroot}%{_libexecdir}/%{name}/%{name}-stop
|
||||||
|
|
||||||
# rchsqldb link
|
# rchsqldb link
|
||||||
install -d -m 0755 %{buildroot}/%{_sbindir}/
|
install -d -m 0755 %{buildroot}/%{_sbindir}/
|
||||||
@@ -153,35 +155,36 @@ install -d -m 0755 %{buildroot}/%{_sysconfdir}
|
|||||||
install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}.conf
|
install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}.conf
|
||||||
|
|
||||||
# serverconfig
|
# serverconfig
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}
|
install -dm 0755 %{buildroot}%{_localstatedir}/lib/%{name}
|
||||||
install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/lib/%{name}/server.properties
|
install -pm 0644 %{SOURCE2} %{buildroot}%{_localstatedir}/lib/%{name}/server.properties
|
||||||
install -m 644 %{SOURCE3} %{buildroot}%{_localstatedir}/lib/%{name}/webserver.properties
|
install -pm 0644 %{SOURCE3} %{buildroot}%{_localstatedir}/lib/%{name}/webserver.properties
|
||||||
install -m 600 %{SOURCE4} %{buildroot}%{_localstatedir}/lib/%{name}/sqltool.rc
|
install -m 600 %{SOURCE4} %{buildroot}%{_localstatedir}/lib/%{name}/sqltool.rc
|
||||||
|
|
||||||
# lib
|
# lib
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}/lib
|
install -dm 0755 %{buildroot}%{_localstatedir}/lib/%{name}/lib
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -r doc/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -r doc/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
# data
|
# data
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}/data
|
install -dm 0755 %{buildroot}%{_localstatedir}/lib/%{name}/data
|
||||||
|
|
||||||
# demo
|
# demo
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/%{name}/sample
|
install -dm 0755 %{buildroot}%{_datadir}/%{name}/sample
|
||||||
rm -f sample/%{name}.init
|
rm -f sample/%{name}.init
|
||||||
install -m 644 sample/* %{buildroot}%{_datadir}/%{name}/sample
|
install -pm 0644 sample/* %{buildroot}%{_datadir}/%{name}/sample
|
||||||
|
|
||||||
# manual
|
# manual
|
||||||
install -d -m 755 %{buildroot}%{_docdir}/%{name}-%{version}
|
install -dm 0755 %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
cp -pr doc/* %{buildroot}%{_docdir}/%{name}-%{version}
|
cp -pr doc/* %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
cp -p index.html %{buildroot}%{_docdir}/%{name}-%{version}
|
cp -p index.html %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
# Maven metadata
|
# Maven metadata
|
||||||
install -pD -T -m 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||||
%add_maven_depmap
|
%{mvn_install_pom} %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
||||||
|
|
||||||
pushd %{buildroot}%{_localstatedir}/lib/%{name}/lib
|
pushd %{buildroot}%{_localstatedir}/lib/%{name}/lib
|
||||||
# build-classpath can not be used as the jar is not
|
# build-classpath can not be used as the jar is not
|
||||||
@@ -218,11 +221,10 @@ fi
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
|
|
||||||
%files
|
%files -f ../.mfiles
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%dir %{_docdir}/%{name}-%{version}
|
%dir %{_docdir}/%{name}-%{version}
|
||||||
%doc %{_docdir}/%{name}-%{version}/hsqldb_lic.txt
|
%doc %{_docdir}/%{name}-%{version}/hsqldb_lic.txt
|
||||||
%{_javadir}/*
|
|
||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%dir %{_libexecdir}/%{name}/
|
%dir %{_libexecdir}/%{name}/
|
||||||
@@ -236,9 +238,6 @@ fi
|
|||||||
%attr(0600,hsqldb,hsqldb) %{_localstatedir}/lib/%{name}/sqltool.rc
|
%attr(0600,hsqldb,hsqldb) %{_localstatedir}/lib/%{name}/sqltool.rc
|
||||||
%dir %{_localstatedir}/lib/%{name}
|
%dir %{_localstatedir}/lib/%{name}
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
%dir %{_mavenpomdir}
|
|
||||||
%{_mavenpomdir}/*
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml
|
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
|
64
reproducible-jar-mtime.patch
Normal file
64
reproducible-jar-mtime.patch
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
--- hsqldb/build/build.xml 2024-09-23 15:25:41.743475668 +0200
|
||||||
|
+++ hsqldb/build/build.xml 2024-09-23 15:28:34.971382483 +0200
|
||||||
|
@@ -577,6 +577,7 @@
|
||||||
|
value='Standard runtime'/>
|
||||||
|
<attribute name='Implementation-Version' value='${build.label}'/>
|
||||||
|
<attribute name='Sealed' value='true'/>
|
||||||
|
+ <attribute name='Main-Class' value='org.hsqldb.util.DatabaseManagerSwing'/>
|
||||||
|
</manifest>
|
||||||
|
<fileset refid='minclasses' />
|
||||||
|
<fileset refid='mainaddedclasses' />
|
||||||
|
@@ -585,23 +586,6 @@
|
||||||
|
<fileset refid='${filesetawt.ref}' />
|
||||||
|
<fileset refid='modinfoclass'/>
|
||||||
|
</jar>
|
||||||
|
-
|
||||||
|
- <!-- Ant jar task doesn't support -e / -Main-Class switch! -->
|
||||||
|
- <exec executable="${jar.exec.path}" dir="lib"
|
||||||
|
- outputproperty="out.1" errorproperty="err.1"
|
||||||
|
- resultproperty="exec.val.1">
|
||||||
|
- <arg value="-ufe"/>
|
||||||
|
- <arg value="hsqldb${jdk8string}.jar"/>
|
||||||
|
- <arg value="org.hsqldb.util.DatabaseManagerSwing"/>
|
||||||
|
- </exec>
|
||||||
|
- <condition property="_do-abort" value="DUMMY">
|
||||||
|
- <not> <equals arg1="0" arg2="${exec.val.1}"/> </not>
|
||||||
|
- </condition>
|
||||||
|
- <fail if="_do-abort">Exiting due to 'jar' exit value ${exec.val.1}.
|
||||||
|
-JVM stdout: ---------------------------------------------------
|
||||||
|
-${out.1}
|
||||||
|
-JVM stderr: ---------------------------------------------------
|
||||||
|
-${err.1}</fail>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="dbmanswing" depends="-swing, -prep-license-files"
|
||||||
|
@@ -660,28 +644,12 @@
|
||||||
|
<attribute name='Class-Path'
|
||||||
|
value='hsqldb-${hsqldb.version}.jar hsqldb.jar hsqldbmin.jar hsqldbmain.jar'/>
|
||||||
|
<attribute name='Sealed' value='true'/>
|
||||||
|
+ <atttibute name='Main-Class' value='org.hsqldb.cmdline.SqlTool'/>
|
||||||
|
</manifest>
|
||||||
|
<fileset refid='sqltoolclasses'/>
|
||||||
|
<fileset refid='sqltoolres'/>
|
||||||
|
<fileset refid='modinfoclass'/>
|
||||||
|
</jar>
|
||||||
|
-
|
||||||
|
- <!-- Ant jar task doesn't support -e switch! -->
|
||||||
|
- <exec executable="${jar.exec.path}" dir="lib"
|
||||||
|
- outputproperty="out.2" errorproperty="err.2"
|
||||||
|
- resultproperty="exec.val.2">
|
||||||
|
- <arg value="-ufe"/>
|
||||||
|
- <arg value="sqltool${jdk8string}.jar"/>
|
||||||
|
- <arg value="org.hsqldb.cmdline.SqlTool"/>
|
||||||
|
- </exec>
|
||||||
|
- <condition property="_do-abort" value="DUMMY">
|
||||||
|
- <not> <equals arg1="0" arg2="${exec.val.2}"/> </not>
|
||||||
|
- </condition>
|
||||||
|
- <fail if="_do-abort">Exiting due to 'jar' exit value ${exec.val.2}.
|
||||||
|
-JVM stdout: ---------------------------------------------------
|
||||||
|
-${out.2}
|
||||||
|
-JVM stderr: ---------------------------------------------------
|
||||||
|
-${err.2}</fail>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="-clone-shared-sources">
|
Reference in New Issue
Block a user