Accepting request 1100410 from home:gkenion:branches:Java:packages

- Update upstream from abandoned sourceforge to actively maintained
  github
- bsc#1212404 (CVE-2023-34623): Prevent crash when parsing
  documents with excessive nesting. (community fix, part of v1.0.4)

OBS-URL: https://build.opensuse.org/request/show/1100410
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jtidy?expand=0&rev=18
This commit is contained in:
Fridrich Strba 2023-07-24 19:29:33 +00:00 committed by Git OBS Bridge
parent b912e1bced
commit e83d551b92
5 changed files with 17 additions and 12 deletions

BIN
jtidy-1.0.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -6,7 +6,7 @@
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property name="build.finalName" value="jtidy-8.0"/>
<property name="build.finalName" value="jtidy-1.0.4"/>
<property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/>

BIN
jtidy-r813.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 24 14:15:22 UTC 2023 - Gus Kenion <gkenion@suse.com>
- Update upstream from abandoned sourceforge to actively maintained
github
- bsc#1212404 (CVE-2023-34623): Prevent crash when parsing
documents with excessive nesting. (community fix, part of v1.0.4)
-------------------------------------------------------------------
Sun Mar 20 12:39:53 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jtidy
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,16 +24,13 @@
%define section free
%bcond_with maven
Name: jtidy
Version: 8.0
Version: 1.0.4
Release: 0
Summary: HTML syntax checker and pretty printer
License: BSD-3-Clause
Group: Development/Libraries/Java
URL: http://jtidy.sourceforge.net/
# svn export -r813 http://svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/ jtidy
# # bnc#501764
# rm jtidy/src/config/clover.license
Source0: jtidy-r813.tar.bz2
URL: https://github.com/jtidy/jtidy
Source0: https://github.com/jtidy/jtidy/archive/refs/tags/jtidy-1.0.4.tar.gz
Source1: jtidy-build.xml
BuildRequires: ant >= 1.6
BuildRequires: ant-junit
@ -74,7 +71,7 @@ cleaning up malformed and faulty HTML. In addition, JTidy provides a
DOM parser for real-world HTML.
%prep
%setup -q -n %{name}
%setup -q -n %{name}-%{name}-%{version}
cp -p %{SOURCE1} build.xml
%build