monsieurp    15/06/19 16:42:19

  Modified:             ChangeLog
  Added:                httpcomponents-core-4.4.1.ebuild
  Log:
  Version bump. Fix security bug 520200.
  
  Signed-off-by: Patrice Clement <monsie...@gentoo.org>
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
93491BB8)

Revision  Changes    Path
1.4                  dev-java/httpcomponents-core/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/httpcomponents-core/ChangeLog?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/httpcomponents-core/ChangeLog?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/httpcomponents-core/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog   10 Aug 2014 20:14:50 -0000      1.3
+++ ChangeLog   19 Jun 2015 16:42:19 -0000      1.4
@@ -1,6 +1,14 @@
 # ChangeLog for dev-java/httpcomponents-core
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/ChangeLog,v 
1.3 2014/08/10 20:14:50 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/ChangeLog,v 
1.4 2015/06/19 16:42:19 monsieurp Exp $
+
+*httpcomponents-core-4.4.1 (19 Jun 2015)
+
+  19 Jun 2015; Patrice Clement <monsie...@gentoo.org>
+  +files/httpcomponents-core-4.4.1-httpcore-build.xml,
+  +files/httpcomponents-core-4.4.1-httpcore-nio-build.xml,
+  +httpcomponents-core-4.4.1.ebuild:
+  Version bump. Fix security bug 520200.
 
   10 Aug 2014; Sergei Trofimovich <sly...@gentoo.org>
   httpcomponents-core-4.2.4.ebuild, httpcomponents-core-4.3.ebuild:



1.1                  
dev-java/httpcomponents-core/httpcomponents-core-4.4.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/httpcomponents-core/httpcomponents-core-4.4.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/httpcomponents-core/httpcomponents-core-4.4.1.ebuild?rev=1.1&content-type=text/plain

Index: httpcomponents-core-4.4.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/httpcomponents-core-4.4.1.ebuild,v
 1.1 2015/06/19 16:42:19 monsieurp Exp $

EAPI="5"

JAVA_PKG_IUSE="source examples test"

# "components"
CMPT=${PN%%-*}

# "core"
CORE=${PN##*-}

# "httpcore"
HTTPCORE="http${CORE}"

# "httpcore-nio"
HTTPNIO="${HTTPCORE}-nio"

inherit java-pkg-2 java-ant-2

DESCRIPTION="A low level toolset of Java components focused on HTTP and 
associated protocols"
HOMEPAGE="http://hc.apache.org/index.html";
SRC_URI="mirror://apache/httpcomponents/${HTTPCORE}/source/${P}-src.tar.gz"

LICENSE="Apache-2.0"
SLOT="4.4"
KEYWORDS="~amd64 ~x86"

DEPEND=">=virtual/jdk-1.6
        test? (
                dev-java/commons-logging:0
                dev-java/ant-junit:0
                dev-java/mockito:0
        )"
RDEPEND=">=virtual/jre-1.6"

JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_BUILD_TARGET="package"
EANT_GENTOO_CLASSPATH_EXTRA="${S}/${HTTPCORE}/target/${HTTPCORE}-${PV}.jar"

java_prepare() {
        cp "${FILESDIR}"/${P}-${HTTPCORE}-build.xml ${HTTPCORE}/build.xml
        cp "${FILESDIR}"/${P}-${HTTPNIO}-build.xml ${HTTPNIO}/build.xml
}

src_compile() {
        # first, compile httpcore module
        EANT_BUILD_XML="${HTTPCORE}/build.xml" java-pkg-2_src_compile

        # then, httpnio module
        EANT_BUILD_XML="${HTTPNIO}/build.xml" java-pkg-2_src_compile
}

EANT_TEST_GENTOO_CLASSPATH="commons-logging,mockito"

src_test() {
        # run junit tests for httpcore module
        EANT_BUILD_XML="${HTTPCORE}/build.xml" java-pkg-2_src_test

        # run junit tests for httpcore-nio module
        EANT_BUILD_XML="${HTTPNIO}/build.xml" java-pkg-2_src_test
}

src_install() {
        java-pkg_newjar ${HTTPCORE}/target/${HTTPCORE}-${PV}.jar ${HTTPCORE}.jar
        java-pkg_newjar ${HTTPNIO}/target/${HTTPNIO}-${PV}.jar ${HTTPNIO}.jar

        use source && java-pkg_dosrc httpcore{,-nio}/src/main/java
        use examples && java-pkg_doexamples httpcore{,-nio}/src/examples

        dodoc {README,RELEASE_NOTES,NOTICE}.txt
}




Reply via email to