Accepting request 517519 from home:pmonrealgonzalez:branches:Java:packages

- Update to version 1.5
  * Security fix [CVE-2017-9801, bsc#1051785]
    - SMTP header injection vulnerabilty 
    - Added patch apache-commons-email-CVE-2017-9801.patch
  * Requires Java >= 1.6
  * Added Support for International Domain Names
  * Upgrade to javax.mail-1.5.6
- Full update report in:
  http://commons.apache.org/proper/commons-email/changes-report.html

OBS-URL: https://build.opensuse.org/request/show/517519
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-email?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2017-08-18 20:03:01 +00:00
committed by Git OBS Bridge
parent 7037451e5f
commit f68feeb0ad
5 changed files with 22 additions and 11 deletions

View File

@@ -19,15 +19,13 @@
%global base_name email
%global short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 1.2
Version: 1.5
Release: 0
Summary: Apache Commons Email Package
License: Apache-2.0
Group: Development/Libraries/Java
Url: http://commons.apache.org/%{base_name}/
# Only latest avail, we need maven for that
#Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source0: %{short_name}-%{version}-src.tar.gz
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml.tar.bz2
BuildRequires: ant
BuildRequires: javamail
@@ -48,8 +46,7 @@ Group: Documentation/Other
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src
tar xpvf %{SOURCE1}
%setup -q -n %{short_name}-%{version}-src -a1
%build
ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \