diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-05-02 20:32:11 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-05-02 22:18:03 +0200 |
commit | 4cba82996de2d190f4dea963fd4f3393950bf75d (patch) | |
tree | 5e165f1e202d4b64f32dba8d9de3aaf9c4057daf | |
parent | 8a5a4a260a35878e80ab1e8cb33fd42619dae8ad (diff) | |
download | abslibre-4cba82996de2d190f4dea963fd4f3393950bf75d.tar.gz abslibre-4cba82996de2d190f4dea963fd4f3393950bf75d.tar.bz2 abslibre-4cba82996de2d190f4dea963fd4f3393950bf75d.zip |
remove java-avalon-logkit
The http://excalibur.apache.org/ website has a banner that states on its main
page:
2010/12/15 - Apache Excalibur has been retired.
For more information, please explore the Attic.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | pcr/java-avalon-logkit/PKGBUILD | 53 | ||||
-rw-r--r-- | pcr/java-avalon-logkit/avalon-logkit-implement_abstract_methods.patch | 29 | ||||
-rw-r--r-- | pcr/java-avalon-logkit/avalon-logkit-utf8_encoding.patch | 20 |
3 files changed, 0 insertions, 102 deletions
diff --git a/pcr/java-avalon-logkit/PKGBUILD b/pcr/java-avalon-logkit/PKGBUILD deleted file mode 100644 index 5c60a84b6..000000000 --- a/pcr/java-avalon-logkit/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -_libname=avalon-logkit -pkgname=java-${_libname} -pkgver=2.1 -pkgrel=1 -pkgdesc="Lightweight and fast designed logging toolkit for Java" -arch=('any') -url="https://avalon.apache.org" -license=('APACHE') -depends=('java-runtime') -makedepends=('apache-ant' 'java-geronimo-jms' 'javamail' 'jh' 'junit' 'log4j-1.2' 'tomcat8') -source=("https://archive.apache.org/dist/excalibur/${_libname}/source/${_libname}-${pkgver}-src.tar.gz" - "https://repo.maven.apache.org/maven2/${_libname}/${_libname}/${pkgver}/${_libname}-${pkgver}.pom" - 'avalon-logkit-implement_abstract_methods.patch' - 'avalon-logkit-utf8_encoding.patch') -md5sums=('fee6f5f2db70c320aafbfb4cc32c1c43' - '830f9ba5ef4f0ceaa2601ca9c87d0fc6' - '3faff7e6ecc53c2caf26d707f7b223d2' - 'a2310f8d589262001983ceb3780ecf75') - -prepare() { - cd "${srcdir}/${_libname}-${pkgver}" - patch -Np1 -i ../avalon-logkit-utf8_encoding.patch - patch -Np1 -i ../avalon-logkit-implement_abstract_methods.patch -} - -build() { - cd "${srcdir}/${_libname}-${pkgver}" - - ant dist -Dnoget=true \ - -Dlibdir=/usr/share/java -} - -package() { - cd "${srcdir}/${_libname}-${pkgver}" - - # Install license file - install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" - - # Install documentation - install -d "${pkgdir}/usr/share/doc/${pkgname}" - cp -r "dist/docs/api" "${pkgdir}/usr/share/doc/${pkgname}" - - # Install Maven artifacts - export DESTDIR=${pkgdir} - jh mvn-install ${_libname} ${_libname} ${pkgver} \ - "${srcdir}/${_libname}-${pkgver}.pom" \ - "dist/${_libname}-${pkgver}.jar" \ - "${_libname}-${pkgver}.jar" - ln -s "/usr/share/java/${_libname}-${pkgver}.jar" \ - "${pkgdir}/usr/share/java/${_libname}.jar" -} diff --git a/pcr/java-avalon-logkit/avalon-logkit-implement_abstract_methods.patch b/pcr/java-avalon-logkit/avalon-logkit-implement_abstract_methods.patch deleted file mode 100644 index 27540b466..000000000 --- a/pcr/java-avalon-logkit/avalon-logkit-implement_abstract_methods.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- avalon-logkit-2.1.orig/src/java/org/apache/log/output/db/DefaultDataSource.java 2005-08-29 21:03:49.000000000 -0500 -+++ avalon-logkit-2.1/src/java/org/apache/log/output/db/DefaultDataSource.java 2015-12-18 17:50:14.339611623 -0500 -@@ -20,7 +20,9 @@ - import java.sql.Connection; - import java.sql.DriverManager; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import javax.sql.DataSource; -+import java.util.logging.Logger; - - /** - * A basic datasource that doesn't do any pooling but just wraps -@@ -111,4 +113,16 @@ - { - m_logWriter = logWriter; - } -+ -+ public boolean isWrapperFor(Class cls) { -+ return false; -+ } -+ -+ public Object unwrap(Class cls) throws SQLException { -+ throw new SQLException("Not a wrapper for " + cls); -+ } -+ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException("Not a supported feature"); -+ } - } diff --git a/pcr/java-avalon-logkit/avalon-logkit-utf8_encoding.patch b/pcr/java-avalon-logkit/avalon-logkit-utf8_encoding.patch deleted file mode 100644 index e6e041214..000000000 --- a/pcr/java-avalon-logkit/avalon-logkit-utf8_encoding.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- avalon-logkit-2.1.orig/build.xml 2005-08-29 21:03:48.000000000 -0500 -+++ avalon-logkit-2.1/build.xml 2015-12-18 18:01:13.362744309 -0500 -@@ -43,7 +43,7 @@ - <target name="compile" description="o Compile the code" depends="get-deps"> - <mkdir dir="${classesdir}"> - </mkdir> -- <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> -+ <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html" encoding="UTF-8"> - <src> - <pathelement location="src/java"> - </pathelement> -@@ -208,7 +208,7 @@ - </property> - <property name="title" value="Avalon Logkit 2.1 API"> - </property> -- <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.*"> -+ <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.*" encoding="UTF-8"> - <classpath> - <path refid="build.classpath"> - </path> |