parent
24fef30f51
commit
a7c4e4dd98
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install nose
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
nosetests -v tests/{functional,unit} ||
|
||||
die "Tests failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST backintime-1.2.1.tar.gz 713853 BLAKE2B 0f05d6cdc04a41ec9737badb8693c1270bb1333b2986fce925625ba2d7be05de0630ff5f59a7b5854a38ba382d6992df1ffc4e1cb584cae0e2618b877db4f06b SHA512 91dbc76a7db81469c5a538be03196c8e307d13307486d8e1c6cad10ce0af399de495f0292fecffc2853ed78804b5899750f06f274b4701efe3af6a708ea1024e
|
||||
DIST backintime-1.3.1.tar.gz 714401 BLAKE2B 5b6a294d5a22ee3928725caf1a9895b665bfcddd6b779355cd7f7e58b5a201c3d2158ef4b30fb73eb4525c1a54cacf878397874f28b06798b7bfd973df467a39 SHA512 faac8552748da75db62cf7fa7eea686fd8b262016d1072f432fff54a6c0c72929650582870b4c56efbaa4ef5984acaece9e1d76eb72abcce91c6fc92d34d52ad
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Backup system inspired by TimeVault and FlyBack"
|
||||
HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/"
|
||||
SRC_URI="https://github.com/bit-team/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples qt5"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
')"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/openssh
|
||||
net-misc/rsync[xattr,acl]
|
||||
qt5? ( dev-python/PyQt5[gui,widgets] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" )
|
||||
|
||||
src_configure() {
|
||||
pushd common > /dev/null || die
|
||||
# Not autotools
|
||||
./configure --python3 --no-fuse-group || die
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
./configure --python3 || die
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd common > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd common > /dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc common/{config-example-local,config-example-ssh}
|
||||
fi
|
||||
|
||||
python_optimize "${D}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Yubico Universal 2nd Factor (U2F) server C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libu2f-server/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/0.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||
dev-libs/hidapi[${MULTILIB_USEDEP}]
|
||||
dev-libs/json-c:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-disable-help2man-gengetopt-checks.patch"
|
||||
"${FILESDIR}/${PN}-1.1.0-jsonc014.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
touch man/u2f-server.1 || die # do not rebuild the man page
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
myeconfargs=(
|
||||
--disable-h2a # tarball already contains the manpage
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST qca-2.3.2.tar.xz 735500 BLAKE2B 559b27c48c756f2b4f4f206d2157c90ae4856610f1539b4162a2bffe7fffe19b5c768d3d3f9d0486d2098fb403eb64372515815f49fd428d22dfc0405d99e435 SHA512 da6415a097c99b878f45730c1dd1e0bfc7f96858ad7018918ac7c2ae2eca830cb73e131173b1018ee4caa6c3a504b80c8ad28f8f9448c2fd1593161c2ac8aad4
|
||||
DIST qca-2.3.3.tar.xz 736456 BLAKE2B f0812fd33bd19293c8034e48bcf214d2d70dc1397860779c2c145fe841365384a8eb6bad9859520d32104010acb0cefb97e3a974b9852a37ca8039d52d9dbd03 SHA512 9a262350502daa1dd10802a7a24f0e4712d87d4ddcf752452a51caa8694a30835672f54f8e600aa8dc4afdac9ef073641deed52a24423e304d18ad2b83deeca6
|
||||
|
@ -1,32 +0,0 @@
|
||||
From ecdd0538dded7d2ba9e73a51f4f52030dd3f5a3b Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Fri, 5 Feb 2021 17:43:45 +0100
|
||||
Subject: [PATCH] Fix CMSut::signverify_message_invalid failing "randomly"
|
||||
|
||||
Once in a blue moon it happens that signedResult1[signedResult1.size() -
|
||||
2] is a 0, so setting it to 0 doesn't break the signature validation, so
|
||||
check if it's a 0 and if it is, set it to 1
|
||||
---
|
||||
unittest/cms/cms.cpp | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/unittest/cms/cms.cpp b/unittest/cms/cms.cpp
|
||||
index 4901221e..9b541789 100644
|
||||
--- a/unittest/cms/cms.cpp
|
||||
+++ b/unittest/cms/cms.cpp
|
||||
@@ -499,7 +499,11 @@ void CMSut::signverify_message_invalid()
|
||||
|
||||
// This is just to break things
|
||||
// signedResult1[30] = signedResult1[30] + 1;
|
||||
- signedResult1[signedResult1.size() - 2] = 0x00;
|
||||
+ if (signedResult1.at(signedResult1.size() - 2) != 0) {
|
||||
+ signedResult1[signedResult1.size() - 2] = 0x00;
|
||||
+ } else {
|
||||
+ signedResult1[signedResult1.size() - 2] = 0x01;
|
||||
+ }
|
||||
|
||||
msg.startVerify();
|
||||
msg.update(signedResult1);
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,57 +0,0 @@
|
||||
From bc94cc08e1d3ea733946861d90a21681d58665ab Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Fri, 5 Feb 2021 16:39:11 +0100
|
||||
Subject: [PATCH] openssl 1.1.1i made verification of empty messages always
|
||||
succeed
|
||||
|
||||
BUGS: 432519
|
||||
---
|
||||
unittest/cms/cms.cpp | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/unittest/cms/cms.cpp b/unittest/cms/cms.cpp
|
||||
index 37e188d0..4901221e 100644
|
||||
--- a/unittest/cms/cms.cpp
|
||||
+++ b/unittest/cms/cms.cpp
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "import_plugins.h"
|
||||
#endif
|
||||
|
||||
+#include <openssl/opensslv.h>
|
||||
+
|
||||
class CMSut : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -252,7 +254,9 @@ void CMSut::signverify()
|
||||
msg.waitForFinished(-1);
|
||||
QVERIFY(msg.wasSigned());
|
||||
QVERIFY(msg.success());
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x1010109fL
|
||||
QEXPECT_FAIL("empty", "We don't seem to be able to verify signature of a zero length message", Continue);
|
||||
+#endif
|
||||
QVERIFY(msg.verifySuccess());
|
||||
|
||||
msg.reset();
|
||||
@@ -264,7 +268,9 @@ void CMSut::signverify()
|
||||
msg.waitForFinished(-1);
|
||||
QVERIFY(msg.wasSigned());
|
||||
QVERIFY(msg.success());
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x1010109fL
|
||||
QEXPECT_FAIL("empty", "We don't seem to be able to verify signature of a zero length message", Continue);
|
||||
+#endif
|
||||
QVERIFY(msg.verifySuccess());
|
||||
|
||||
msg.reset();
|
||||
@@ -277,6 +283,9 @@ void CMSut::signverify()
|
||||
msg.waitForFinished(-1);
|
||||
QVERIFY(msg.wasSigned());
|
||||
QVERIFY(msg.success());
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x1010109fL
|
||||
+ QEXPECT_FAIL("empty", "On newer openssl verifaction of zero length message always succeeds", Continue);
|
||||
+#endif
|
||||
QCOMPARE(msg.verifySuccess(), false);
|
||||
|
||||
msg.reset();
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit kde.org cmake qmake-utils
|
||||
|
||||
DESCRIPTION="Qt Cryptographic Architecture (QCA)"
|
||||
HOMEPAGE="https://userbase.kde.org/QCA"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||
IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
botan? ( dev-libs/botan:= )
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
nss? ( dev-libs/nss )
|
||||
pkcs11? (
|
||||
>=dev-libs/openssl-1.1
|
||||
dev-libs/pkcs11-helper
|
||||
)
|
||||
sasl? ( dev-libs/cyrus-sasl:2 )
|
||||
ssl? ( >=dev-libs/openssl-1.1:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qttest:5
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-disable-pgp-test.patch"
|
||||
"${FILESDIR}/${P}-openssl-1.1.1i-empty-msg-verification.patch" # bug 766932
|
||||
"${FILESDIR}/${P}-cmsut-signverify_message_invalid-fails-randomly.patch"
|
||||
)
|
||||
|
||||
qca_plugin_use() {
|
||||
echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features"
|
||||
-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)"
|
||||
$(qca_plugin_use botan)
|
||||
$(qca_plugin_use gcrypt)
|
||||
$(qca_plugin_use gpg gnupg)
|
||||
$(qca_plugin_use logger)
|
||||
$(qca_plugin_use nss)
|
||||
$(qca_plugin_use pkcs11)
|
||||
$(qca_plugin_use sasl cyrus-sasl)
|
||||
$(qca_plugin_use softstore)
|
||||
$(qca_plugin_use ssl ossl)
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
doxygen Doxyfile || die
|
||||
dodoc -r apidocs/html
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodoc -r "${S}"/examples
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST jext-sources-5.0.tar.gz 1029772 BLAKE2B 632fca6aa3ff55979f1dee9fefd1505e0e19b38ca1ee0530472edd9fee95157df9cba56abb4ce4790807766d318a6d0ce29decb9b4a73d103bfe8127886fdf9d SHA512 ac66babfca05d112541e40b0aa8ebde33a69a3a97f42966be24a28232d3c100b9fe8007e26618909fd78111d3eb4ddecc2258599bff40e0e1959ea6632f43682
|
@ -1,173 +0,0 @@
|
||||
--- src/lib/org/gjt/sp/jedit/textarea/InputHandler.java.orig 2015-07-03 17:52:13.843000000 +0000
|
||||
+++ src/lib/org/gjt/sp/jedit/textarea/InputHandler.java 2015-07-03 17:52:59.746000000 +0000
|
||||
@@ -141,10 +141,10 @@
|
||||
*/
|
||||
public static String getActionName(ActionListener listener)
|
||||
{
|
||||
- Enumeration enum = getActions();
|
||||
- while(enum.hasMoreElements())
|
||||
+ Enumeration myEnum = getActions();
|
||||
+ while(myEnum.hasMoreElements())
|
||||
{
|
||||
- String name = (String)enum.nextElement();
|
||||
+ String name = (String)myEnum.nextElement();
|
||||
ActionListener _listener = getAction(name);
|
||||
if(_listener == listener)
|
||||
return name;
|
||||
--- src/lib/org/jext/options/OptionsDialog.java.orig 2015-07-03 17:54:19.179000000 +0000
|
||||
+++ src/lib/org/jext/options/OptionsDialog.java 2015-07-03 17:54:33.377000000 +0000
|
||||
@@ -297,11 +297,11 @@
|
||||
|
||||
private void addOptionGroup(OptionGroup child, OptionGroup parent)
|
||||
{
|
||||
- ArrayList enum = child.getMembers();
|
||||
+ ArrayList myEnum = child.getMembers();
|
||||
|
||||
- for (int i = 0; i < enum.size(); i++)
|
||||
+ for (int i = 0; i < myEnum.size(); i++)
|
||||
{
|
||||
- Object elem = enum.get(i);
|
||||
+ Object elem = myEnum.get(i);
|
||||
|
||||
if (elem instanceof OptionPane)
|
||||
{
|
||||
@@ -669,4 +669,4 @@
|
||||
|
||||
}
|
||||
|
||||
-// End of OptionsDialog.java
|
||||
\ No newline at end of file
|
||||
+// End of OptionsDialog.java
|
||||
--- src/lib/org/jext/misc/VirtualFolders.java.orig 2015-07-03 17:49:57.731000000 +0000
|
||||
+++ src/lib/org/jext/misc/VirtualFolders.java 2015-07-03 17:51:11.418000000 +0000
|
||||
@@ -233,10 +233,10 @@
|
||||
ret.append(crlf).append("<folderlist>");
|
||||
}
|
||||
|
||||
- Enumeration enum = parent.children();
|
||||
- while (enum.hasMoreElements())
|
||||
+ Enumeration myEnum = parent.children();
|
||||
+ while (myEnum.hasMoreElements())
|
||||
{
|
||||
- VirtualFolderNode child = (VirtualFolderNode) enum.nextElement();
|
||||
+ VirtualFolderNode child = (VirtualFolderNode) myEnum.nextElement();
|
||||
ret.append(toXML(child, depth + 1));
|
||||
}
|
||||
|
||||
@@ -317,20 +317,20 @@
|
||||
|
||||
private void fixVisible()
|
||||
{
|
||||
- Enumeration enum = root.depthFirstEnumeration();
|
||||
+ Enumeration myEnum = root.depthFirstEnumeration();
|
||||
VirtualFolderNode node = null;
|
||||
- while (enum.hasMoreElements())
|
||||
+ while (myEnum.hasMoreElements())
|
||||
{
|
||||
|
||||
- node = (VirtualFolderNode)enum.nextElement();
|
||||
+ node = (VirtualFolderNode)myEnum.nextElement();
|
||||
TreePath path = new TreePath(node.getPath());
|
||||
tree.collapsePath(path);
|
||||
}
|
||||
|
||||
- enum = root.depthFirstEnumeration();
|
||||
- while (enum.hasMoreElements())
|
||||
+ myEnum = root.depthFirstEnumeration();
|
||||
+ while (myEnum.hasMoreElements())
|
||||
{
|
||||
- node = (VirtualFolderNode)enum.nextElement();
|
||||
+ node = (VirtualFolderNode)myEnum.nextElement();
|
||||
if (node.shouldBeVisible())
|
||||
{
|
||||
TreePath path = new TreePath(((VirtualFolderNode)node.getParent()).getPath());
|
||||
@@ -392,10 +392,10 @@
|
||||
public static boolean folderExists(VirtualFolderNode parent, String name)
|
||||
{
|
||||
boolean exists = false;
|
||||
- Enumeration enum = parent.children();
|
||||
- while ((enum.hasMoreElements()) && !exists)
|
||||
+ Enumeration myEnum = parent.children();
|
||||
+ while ((myEnum.hasMoreElements()) && !exists)
|
||||
{
|
||||
- VirtualFolderNode child = (VirtualFolderNode) enum.nextElement();
|
||||
+ VirtualFolderNode child = (VirtualFolderNode) myEnum.nextElement();
|
||||
exists = child.toString().equals(name);
|
||||
}
|
||||
return exists;
|
||||
@@ -526,10 +526,10 @@
|
||||
} else {
|
||||
if (fromMenu)
|
||||
{
|
||||
- Enumeration enum = node.children();
|
||||
- while (enum.hasMoreElements())
|
||||
+ Enumeration myEnum = node.children();
|
||||
+ while (myEnum.hasMoreElements())
|
||||
{
|
||||
- VirtualFolderNode child = (VirtualFolderNode) enum.nextElement();
|
||||
+ VirtualFolderNode child = (VirtualFolderNode) myEnum.nextElement();
|
||||
openNode(child, fromMenu);
|
||||
}
|
||||
}
|
||||
--- src/lib/com/microstar/xml/XmlParser.java.orig 2015-07-03 17:41:23.209000000 +0000
|
||||
+++ src/lib/com/microstar/xml/XmlParser.java 2015-07-03 17:46:30.296000000 +0000
|
||||
@@ -1346,7 +1346,7 @@
|
||||
{
|
||||
String name;
|
||||
int type;
|
||||
- String enum = null;
|
||||
+ String myEnum = null;
|
||||
|
||||
// Read the attribute name.
|
||||
name = readNmtoken(true);
|
||||
@@ -1358,12 +1358,12 @@
|
||||
// Get the string of enumerated values
|
||||
// if necessary.
|
||||
if (type == ATTRIBUTE_ENUMERATED || type == ATTRIBUTE_NOTATION) {
|
||||
- enum = dataBufferToString();
|
||||
+ myEnum = dataBufferToString();
|
||||
}
|
||||
|
||||
// Read the default value.
|
||||
requireWhitespace();
|
||||
- parseDefault(elementName, name, type, enum);
|
||||
+ parseDefault(elementName, name, type, myEnum);
|
||||
}
|
||||
|
||||
|
||||
@@ -1451,7 +1451,7 @@
|
||||
* Parse the default value for an attribute.
|
||||
* [62] Default ::= '#REQUIRED' | '#IMPLIED' | ((%'#FIXED' S)? %AttValue
|
||||
*/
|
||||
- void parseDefault (String elementName, String name, int type, String enum)
|
||||
+ void parseDefault (String elementName, String name, int type, String myEnum)
|
||||
throws java.lang.Exception
|
||||
{
|
||||
int valueType = ATTRIBUTE_DEFAULT_SPECIFIED;
|
||||
@@ -1477,7 +1477,7 @@
|
||||
value = readLiteral(LIT_CHAR_REF);
|
||||
context = CONTEXT_DTD;
|
||||
}
|
||||
- setAttribute(elementName, name, type, enum, value, valueType);
|
||||
+ setAttribute(elementName, name, type, myEnum, value, valueType);
|
||||
}
|
||||
|
||||
|
||||
@@ -2714,7 +2714,7 @@
|
||||
* - int value type
|
||||
* *TODO: do something with attribute types.
|
||||
*/
|
||||
- void setAttribute (String elName, String name, int type, String enumeration,
|
||||
+ void setAttribute (String elName, String name, int type, String myEnum,
|
||||
String value, int valueType)
|
||||
throws java.lang.Exception
|
||||
{
|
||||
@@ -2736,7 +2736,7 @@
|
||||
attribute[0] = new Integer(type);
|
||||
attribute[1] = value;
|
||||
attribute[2] = new Integer(valueType);
|
||||
- attribute[3] = enumeration;
|
||||
+ attribute[3] = myEnum;
|
||||
attribute[4] = null;
|
||||
attlist.put(name.intern(), attribute);
|
||||
|
@ -1,91 +0,0 @@
|
||||
# This script launches Jext, the Java text editor.
|
||||
# It checks for a $HOME/.jext directory and eventually creates it.
|
||||
# Next it checks for a /etc/jextrc and $JEXT_CONFFILE (~/.jext/variables) files which define the JEXT_HOME JAVA_CMD JAVA_OPT CLASSPATH and ToShow variables. The first is system wide(used in RPM install mainly), the second is per user.
|
||||
# If this file doesn't exist the script creates it by asking the options to the user.
|
||||
|
||||
# Sharpshooter 23/02/2002
|
||||
# Blaisorblade 18/11/2002
|
||||
|
||||
#For special cases about different config files(for developers with working
|
||||
#copy and an unstable one to be tested).
|
||||
if [ "$JEXT_CONFFILE" = "" ]
|
||||
then
|
||||
JEXT_CONFFILE=~/.jext/variables
|
||||
fi
|
||||
|
||||
# Help
|
||||
if [ "$1" = "--help" -o "$1" = "-h" ]
|
||||
then
|
||||
echo "This script launch Jext the Java text editor."
|
||||
echo "Usage : $0 [--reconf] [files]"
|
||||
echo "--reconf doesn't start jext but clears the"
|
||||
echo " $JEXT_CONFFILE file with the settings to start jext"
|
||||
echo " (jext & java location and jext options)."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "--reconf" ]
|
||||
then
|
||||
echo "Clearing $JEXT_CONFFILE, you'll have to reenter jext & java \
|
||||
interpreter location"
|
||||
rm -f "$JEXT_CONFFILE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# Check for the user's ~/.jext directory.
|
||||
if ! [ -d ~/.jext ]
|
||||
then
|
||||
echo "It seems you don't have a .jext directory in your home dir."
|
||||
echo "I create it."
|
||||
echo
|
||||
mkdir -p ~/.jext/xinsert
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Check for the $HOME/.jext/variables file.
|
||||
if ! [ -f $JEXT_CONFFILE -o -f /etc/jextrc ]
|
||||
then
|
||||
#Let's add some explaination in the config file.
|
||||
cat >$JEXT_CONFFILE <<EOM
|
||||
#This is included when launching Jext. It is a normal shell script \
|
||||
used to define env vars
|
||||
#Meanings of settings:
|
||||
#JEXT_HOME The home dir of jext(under which it finds the lib and so on dirs)
|
||||
#JAVA_CMD The complete path for the java command
|
||||
#JAVA_OPT The options to be passed to the java command(not to Jext itself!)
|
||||
#CLASSPATH The extra classpath to be specified(for cases such as AntWork plugin)
|
||||
#ToShow If this is set to y the output is not redirected to /dev/null;
|
||||
# Mainly for developers who want to trace Jext output(you could also use
|
||||
# the DickTracy plugin).
|
||||
EOM
|
||||
#----
|
||||
JEXT_HOME="/usr/share/jext/lib"
|
||||
echo "JEXT_HOME="$JEXT_HOME >> $JEXT_CONFFILE
|
||||
#----
|
||||
ToShow=
|
||||
echo "ToShow="$ToShow>>$JEXT_CONFFILE
|
||||
fi
|
||||
|
||||
# Extract the contents of the $JEXT_CONFFILE file.
|
||||
[ -f /etc/jextrc ] && source /etc/jextrc
|
||||
[ -f $JEXT_CONFFILE ] && source $JEXT_CONFFILE
|
||||
|
||||
#Needed to make Jext find his plugins(it searches them in `pwd`/plugins)
|
||||
for i in $@
|
||||
do
|
||||
if [ "${i:0:1}" != "/" -a "${i:0:1}" != "-" ]; then #If the first char of $i is not a / then
|
||||
files="$files `pwd`/$i" #it is a relative path so we must make it absolute.
|
||||
elif [ "$i" != "-" ]; then
|
||||
files="$files $i"
|
||||
else
|
||||
case "$i" in
|
||||
--reconf|--help|-h)
|
||||
;;
|
||||
*)
|
||||
files="$files $i"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc"
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A text editor written in Java"
|
||||
HOMEPAGE="https://sourceforge.net/projects/jext/"
|
||||
MY_PV="${PV/_}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-sources-${MY_PV}.tar.gz"
|
||||
LICENSE="|| ( GPL-2 JPython )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jython:2.7
|
||||
dev-java/jgoodies-looks:1.2
|
||||
dev-java/gnu-regexp:1"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-src-${MY_PV}"
|
||||
|
||||
# Necessary otherwise it chokes on compiling with jdk-1.8
|
||||
# due to unmappable characters.
|
||||
JAVA_ANT_ENCODING="ISO-8859-1"
|
||||
|
||||
java_prepare() {
|
||||
# bundles some com.microstar.xml who knows what's that
|
||||
# also com.jgoodies.uif_lite which is apparently some jgoodies-looks
|
||||
# example code which we don't package and there is probably no point
|
||||
rm -v "${S}"/extplugins/Admin/*.jar || die
|
||||
rm -rf src/lib/gnu || die
|
||||
|
||||
# Fix "enum as a keyword" error.
|
||||
epatch "${FILESDIR}"/"${P}"-enum-as-keyword.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/src" || die
|
||||
eant jar $(use_doc javadocs) \
|
||||
-Dclasspath="$(java-pkg_getjars jython-2.7,jgoodies-looks-1.2,gnu-regexp-1)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar lib/${P}.jar
|
||||
java-pkg_dojar lib/dawn*.jar
|
||||
|
||||
java-pkg_dolauncher ${PN} \
|
||||
--main org.jext.Jext \
|
||||
--java_args '-Dpython.path=$(java-config --classpath=jython-2.7)' \
|
||||
-pre "${FILESDIR}/${PN}-pre"
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dohtml -r docs/api
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Plugins are currently not built/installed. Patches welcome."
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jext</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Manages XvMC implementations"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}"/${P}.eselect xvmc.eselect
|
||||
}
|
@ -1,198 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="Manage the XvMC implementation used by your system"
|
||||
MAINTAINER="{cardoe,junghans}@gentoo.org"
|
||||
VERSION="0.4"
|
||||
|
||||
init_XVMC_vars() {
|
||||
get_libname() {
|
||||
case ${OSTYPE} in
|
||||
darwin*) echo ${1:+.}${1}.dylib ;;
|
||||
*) echo .so${1:+.}${1} ;;
|
||||
esac
|
||||
}
|
||||
|
||||
XVMCLIBS=(
|
||||
"libXvMCNVIDIA_dynamic$(get_libname 1)"
|
||||
"libXvMC$(get_libname 1)"
|
||||
"libviaXvMC$(get_libname 1)"
|
||||
"libviaXvMCPro$(get_libname 1)"
|
||||
"libchromeXvMC$(get_libname 1)"
|
||||
"libchromeXvMCPro$(get_libname 1)"
|
||||
"libXvMCVIA$(get_libname)"
|
||||
"libXvMCVIAPro$(get_libname)"
|
||||
"libI810XvMC$(get_libname 1)"
|
||||
"/usr/lib/libIntelXvMC$(get_libname)"
|
||||
"libAMDXvBA$(get_libname 1)"
|
||||
)
|
||||
|
||||
XVMCPRETTY=(
|
||||
"nvidia"
|
||||
"xorg-x11"
|
||||
"via"
|
||||
"via-pro"
|
||||
"openchrome"
|
||||
"openchrome-pro"
|
||||
"unichrome"
|
||||
"unichrome-pro"
|
||||
"intel-i810"
|
||||
"intel-i915/i965"
|
||||
"ati"
|
||||
)
|
||||
}
|
||||
|
||||
get_implementation_indices() {
|
||||
local ret n
|
||||
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
|
||||
[[ -e "${EROOT}/usr/lib/${XVMCLIBS[n]##*/}" ]] && ret+=($n)
|
||||
done
|
||||
|
||||
echo ${ret[@]}
|
||||
}
|
||||
|
||||
get_current_implementation_index() {
|
||||
local n
|
||||
if [[ -f "${EROOT}/etc/X11/XvMCConfig" ]]; then
|
||||
local current=$(< "${EROOT}/etc/X11/XvMCConfig")
|
||||
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
|
||||
if [[ "${XVMCLIBS[n]}" = "${current}" ]]; then
|
||||
echo "${n}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
echo "-1"
|
||||
}
|
||||
|
||||
set_new_implementation() {
|
||||
echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..."
|
||||
touch "${EROOT}/etc/X11/XvMCConfig" 2>&1 > /dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo "${XVMCLIBS[$1]}" > "${EROOT}/etc/X11/XvMCConfig"
|
||||
chmod 644 "${EROOT}/etc/X11/XvMCConfig"
|
||||
[[ ${EROOT} == "/" ]] && chown 0:0 "${EROOT}/etc/X11/XvMCConfig"
|
||||
echo " done"
|
||||
else
|
||||
echo " failed!"
|
||||
echo "Insufficient privileges"
|
||||
fi
|
||||
}
|
||||
|
||||
### list action
|
||||
|
||||
## {{{ list stuff
|
||||
describe_list() {
|
||||
echo "List Available XvMC implementations"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local output n
|
||||
init_XVMC_vars
|
||||
local avail=( $(get_implementation_indices) )
|
||||
local current=$(get_current_implementation_index)
|
||||
write_list_start \
|
||||
"Available XvMC implementations ($(highlight '*') is current):"
|
||||
|
||||
for n in "${avail[@]}"; do
|
||||
output[n]=${XVMCPRETTY[n]}
|
||||
[[ ${current} -eq ${n} ]] \
|
||||
&& output[n]=$(highlight_marker "${output[n]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${output[@]}"
|
||||
|
||||
return 0
|
||||
}
|
||||
## }}}
|
||||
|
||||
### show action
|
||||
|
||||
## {{{ show stuff
|
||||
describe_show() {
|
||||
echo "Print the current XvMC implementation."
|
||||
}
|
||||
|
||||
do_show() {
|
||||
init_XVMC_vars
|
||||
local current=$(get_current_implementation_index)
|
||||
write_list_start "Current XvMC implementation:"
|
||||
|
||||
if [[ ${current} -ne -1 ]]; then
|
||||
echo "${XVMCPRETTY[current]}"
|
||||
return 0
|
||||
else
|
||||
echo "(none)"
|
||||
return 2
|
||||
fi
|
||||
}
|
||||
## }}}
|
||||
|
||||
### set action
|
||||
|
||||
## {{{ set stuff
|
||||
describe_set() {
|
||||
echo "Select the XvMC implementation"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : XvMC implementation to activate"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
init_XVMC_vars
|
||||
local current=$(get_current_implementation_index)
|
||||
local avail=( $(get_implementation_indices) )
|
||||
local n new action
|
||||
|
||||
while [[ ${#@} -gt 0 ]]; do
|
||||
local opt=${1}
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ ${current} -gt -1 ]]; then
|
||||
(( ${current} < ${#XVMCPRETTY[@]} )) && action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
[[ -z ${action} ]] && action="set-implementation"
|
||||
|
||||
if is_number ${opt} ; then
|
||||
new=${avail[opt - 1]}
|
||||
if [[ -z ${new} ]]; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
elif has ${opt} ${XVMCPRETTY[@]}; then
|
||||
for (( n = 0; n < ${#XVMCPRETTY[@]}; ++n )); do
|
||||
[[ "${XVMCPRETTY[n]}" = "${opt}" ]] && new=${n}
|
||||
done
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_new_implementation ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]]; then
|
||||
set_new_implementation ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
esac
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>junghans@gentoo.org</email>
|
||||
<name>Christoph Junghans</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST lynis-3.0.4.tar.gz 332004 BLAKE2B a68d85d679aae19304edc2ea7a982686d03897d806a7b44ca4c5318d8aa753a8b41b5ec2d80fbcda4bf69d35b5a6a0497b42d9b68c869763b09bfcb4922f5f83 SHA512 0e31cab00302678019d4a3d617e376fa1e8ca981b5eeb5dd22ce6f821f33957db351a4cd81a06f44eb0a8ca5094b1a5c062021c637b37e848ed0451de0f6c7c4
|
||||
DIST lynis-3.0.6.tar.gz 336725 BLAKE2B 49abad8af63e4eeb3585a241d34433f85f84719a0bbd0c2c1f87a2ab45fc0f88193236f3b10261a59e1c6efd9352134a29b8f311c5a5a749eccede2c8353c6e7 SHA512 113f3bf1b8ca4ec030bd971da41e3f182c2467d97e09eb0f2b502ab5d04c43b922570a00b62de06b97bfca64cb67576f14754f9921be63731500d3beb33d5a2a
|
||||
|
@ -0,0 +1,296 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_BSFIX_NAME="build.xml build-unix.xml"
|
||||
inherit autotools java-pkg-opt-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A collection of file system and media management forensic analysis tools"
|
||||
HOMEPAGE="https://www.sleuthkit.org/sleuthkit/"
|
||||
# TODO: sqlite-jdbc does not exist in the tree, we bundle it for now
|
||||
# See: https://bugs.gentoo.org/690010
|
||||
# TODO: Upstream uses a very specific version of libewf which is not in
|
||||
# the tree anymore. So we statically compile and link to sleuthkit.
|
||||
# Hopefully upstream will figure something out in the future.
|
||||
# See: https://bugs.gentoo.org/689752
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz
|
||||
java? (
|
||||
http://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.25.2/sqlite-jdbc-3.25.2.jar
|
||||
)
|
||||
ewf? ( https://github.com/sleuthkit/libewf_64bit/archive/VisualStudio_2010.tar.gz -> sleuthkit-libewf_64bit-20130416.tar.gz )"
|
||||
|
||||
LICENSE="BSD CPL-1.0 GPL-2+ IBM java? ( Apache-2.0 )"
|
||||
SLOT="0/19" # subslot = major soname version
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="aff doc ewf java static-libs test +threads zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-lang/perl:*
|
||||
aff? ( app-forensics/afflib )
|
||||
ewf? ( sys-libs/zlib )
|
||||
java? (
|
||||
>=dev-java/c3p0-0.9.5:0
|
||||
dev-java/commons-lang:3.6
|
||||
>=dev-java/commons-validator-1.6:0
|
||||
>=dev-java/gson-2.8.5:2.6
|
||||
dev-java/guava:20
|
||||
>=dev-java/jdbc-postgresql-9.4:0
|
||||
>=dev-java/joda-time-2.4:0
|
||||
dev-java/sparsebitset:0
|
||||
)
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
# TODO: add support for not-in-tree libraries libvhdi and libvmdk
|
||||
# libvhdi: https://github.com/libyal/libvhdi
|
||||
# libvmdk: https://github.com/libyal/libvmdk
|
||||
# DEPEND="${DEPEND}
|
||||
# vhdi? ( dev-libs/libvhdi )
|
||||
# vmdk? ( dev-libs/libvmdk )
|
||||
# "
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
java? ( virtual/jre:1.8 )
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
java? ( virtual/jdk:1.8 )
|
||||
test? ( >=dev-util/cppunit-1.2.1 )
|
||||
"
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.1.0-tools-shared-libs.patch
|
||||
"${FILESDIR}"/${PN}-4.6.4-default-jar-location-fix.patch
|
||||
"${FILESDIR}"/${PN}-4.10.1-exclude-usr-local.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
local f
|
||||
|
||||
unpack ${P}.tar.gz
|
||||
|
||||
if use ewf; then
|
||||
pushd "${T}" &>/dev/null || die
|
||||
unpack sleuthkit-libewf_64bit-20130416.tar.gz
|
||||
export TSK_LIBEWF_SRCDIR="${T}"/libewf_64bit-VisualStudio_2010
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
# Copy the jar files that don't exist in the tree yet
|
||||
if use java; then
|
||||
TSK_JAR_DIR="${T}/lib"
|
||||
mkdir "${TSK_JAR_DIR}" || die
|
||||
for f in ${A}; do
|
||||
if [[ ${f} =~ .jar$ ]]; then
|
||||
cp "${DISTDIR}"/"${f}" "${TSK_JAR_DIR}" || die
|
||||
fi
|
||||
done
|
||||
export TSK_JAR_DIR
|
||||
fi
|
||||
}
|
||||
|
||||
tsk_prepare_libewf() {
|
||||
# Inlining breaks the compilation, disable it
|
||||
sed -e 's/LIBUNA_INLINE inline/LIBUNA_INLINE/' \
|
||||
-i "${TSK_LIBEWF_SRCDIR}"/libuna/libuna_inline.h || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ewf && tsk_prepare_libewf
|
||||
|
||||
# Do not pass '-Werror'. This is overkill for user builds.
|
||||
sed -e '/AM_CXXFLAGS/ s/-Werror//g' \
|
||||
-i tsk/util/Makefile.am \
|
||||
-i tsk/pool/Makefile.am || die
|
||||
# Remove -static from LDFLAGS because it doesn't actually create
|
||||
# a static binary. It confuses libtool, who then inserts rpath
|
||||
sed -e '/LDFLAGS/ s/-static//' \
|
||||
-i tools/pooltools/Makefile.am || die
|
||||
|
||||
if use java; then
|
||||
pushd "${S}"/bindings/java &>/dev/null || die
|
||||
|
||||
# Prevent "make install" from installing
|
||||
# jar files under /usr/share/java
|
||||
# We'll use the java eclasses for this
|
||||
# See: https://github.com/sleuthkit/sleuthkit/pull/1379
|
||||
sed -e '/^jar_DATA/ d;' -i Makefile.am || die
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
# Override the doxygen output directories
|
||||
if use doc; then
|
||||
sed -e "/^OUTPUT_DIRECTORY/ s|=.*$|= ${T}/doc|" \
|
||||
-i tsk/docs/Doxyfile \
|
||||
-i bindings/java/doxygen/Doxyfile || die
|
||||
fi
|
||||
|
||||
# It's safe to call this even after java-pkg-opt-2_src_prepare
|
||||
# because future calls to eapply_user do nothing and return 0
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
tsk_compile_libewf() {
|
||||
local myeconfargs=(
|
||||
--prefix=/
|
||||
--libdir=/lib
|
||||
--enable-static
|
||||
--disable-shared
|
||||
--disable-winapi
|
||||
--without-libbfio
|
||||
--with-zlib
|
||||
--without-bzip2
|
||||
--without-libhmac
|
||||
--without-openssl
|
||||
--without-libuuid
|
||||
--without-libfuse
|
||||
|
||||
--with-libcstring=no
|
||||
--with-libcerror=no
|
||||
--with-libcdata=no
|
||||
--with-libclocale=no
|
||||
--with-libcnotify=no
|
||||
--with-libcsplit=no
|
||||
--with-libuna=no
|
||||
--with-libcfile=no
|
||||
--with-libcpath=no
|
||||
--with-libbfio=no
|
||||
--with-libfcache=no
|
||||
--with-libfvalue=no
|
||||
|
||||
)
|
||||
# We want to contain our build flags
|
||||
local CFLAGS="${CFLAGS}"
|
||||
local LDFLAGS="${LDFLAGS}"
|
||||
|
||||
pushd "${TSK_LIBEWF_SRCDIR}" &>/dev/null || die
|
||||
|
||||
# Produce relocatable code
|
||||
CFLAGS+=" -fPIC"
|
||||
LDFLAGS+=" -fPIC"
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
# Do not waste CPU cycles on building ewftools
|
||||
sed -e '/ewftools/ d' -i Makefile || die
|
||||
emake
|
||||
|
||||
# Only install the headers and the library
|
||||
emake -C libewf DESTDIR="${T}"/image install
|
||||
emake -C include DESTDIR="${T}"/image install
|
||||
find "${T}"/image -name '*.la' -delete || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-offline="${TSK_JAR_DIR}"
|
||||
$(use_enable java)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable threads multithreading)
|
||||
$(use_with aff afflib)
|
||||
$(use_with zlib)
|
||||
)
|
||||
# TODO: add support for non-existing libraries libvhdi and libvmdk
|
||||
# myeconfargs+=(
|
||||
# $(use_with vhdi libvhdi)
|
||||
# $(use_with vmdk libvmdk)
|
||||
# )
|
||||
myeconfargs+=(
|
||||
--without-libvhdi
|
||||
--without-libvmdk
|
||||
)
|
||||
|
||||
use ewf && tsk_compile_libewf
|
||||
myeconfargs+=( $(use_with ewf libewf "${T}"/image) )
|
||||
|
||||
if use java; then
|
||||
pushd "${S}"/bindings/java &>/dev/null || die
|
||||
java-ant-2_src_configure
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Give it an existing bogus ivy home #672220
|
||||
local -x IVY_HOME="${T}"
|
||||
|
||||
# Create symlinks of jars for the required dependencies
|
||||
if use java; then
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" c3p0
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" commons-lang:3.6
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" commons-validator
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" gson:2.6
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" guava:20
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" jdbc-postgresql
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" joda-time
|
||||
java-pkg_jar-from --into "${TSK_JAR_DIR}" sparsebitset
|
||||
|
||||
# case-uco needs gson and expects it under case-uco/java/lib
|
||||
# symlink it to the jar dir we create for java bindings
|
||||
ln -s "${TSK_JAR_DIR}" "${S}"/case-uco/java/lib || die
|
||||
ln -s ./gson.jar "${TSK_JAR_DIR}"/gson-2.8.5.jar || die
|
||||
fi
|
||||
|
||||
# Create the doc output dirs if requested
|
||||
if use doc; then
|
||||
mkdir -p "${T}"/doc/{api-docs,jni-docs} || die
|
||||
fi
|
||||
|
||||
emake all $(usex doc api-docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Give it an existing bogus ivy home #756766
|
||||
local -x IVY_HOME="${T}"
|
||||
local f
|
||||
|
||||
if use java; then
|
||||
pushd "${S}"/bindings/java &>/dev/null || die
|
||||
|
||||
# Install case-uco
|
||||
pushd "${S}"/case-uco/java &>/dev/null || die
|
||||
java-pkg_newjar "dist/${PN}-caseuco-${PV}".jar "${PN}-caseuco.jar"
|
||||
popd || die
|
||||
|
||||
# Install the bundled jar files as well as the
|
||||
# sleuthkit jar installed here by case-uco
|
||||
pushd "${TSK_JAR_DIR}" &>/dev/null || die
|
||||
for f in *; do
|
||||
# Skip the symlinks java-pkg_jar-from created
|
||||
[[ -f ${f} ]] || continue
|
||||
|
||||
# Strip the version numbers as per eclass recommendation
|
||||
[[ ${f} =~ -([0-9]+\.)+jar$ ]] || continue
|
||||
|
||||
java-pkg_newjar "${f}" "${f/${BASH_REMATCH[0]}/.jar}"
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
default
|
||||
# Default install target for case-uco installs the jar in the wrong place
|
||||
rm -r "${ED}"/usr/share/java
|
||||
|
||||
# It unconditionally builds both api and jni docs
|
||||
# We install conditionally based on the provided use flags
|
||||
if use doc; then
|
||||
dodoc -r "${T}"/doc/api-docs
|
||||
use java && dodoc -r "${T}"/doc/jni-docs
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST detox-1.4.0.tar.gz 106361 BLAKE2B 5993ded30282a16a81481885cdee41fe0b1c2ac34e5f389b53981e098d13acdfe367c7de462436fe3a4ee8ff86220f4c69d54a47c1122a0f39bde12c4d6ec908 SHA512 9486056b3b58dbb5ae16bc461586a997f8990ddb6e0db5ba561df862c16dfe926911fd09f065ef2578d39c3e3f1a267be201f865cf3f6b576c01910bda39cecb
|
||||
DIST detox-1.4.2.tar.gz 106736 BLAKE2B a27f9d93bf6f6c1634517c0f193affe576b2eec6be4b8fc38e91ef75a6f1a01a4376684d5a9b109b3971d0e311b64faeba020a3b7660ff130086956a7ebe92bd SHA512 ca1327e127cf1ba1803d8931aa119c9d11fc5b998f45ad5f7c339cea7f7928a5a6a45f90db9a51a7ccf6d4ee268cd316461c621db62dcc7182cd0255e74a1481
|
||||
DIST detox-1.4.3.tar.gz 110351 BLAKE2B 96aa8b5cd99bb723034c2613c2d6aed7d8f95af063024806b3e9fae166de49b16420bce38811ca8bb77d74bbf272c32cee6d1c73275dbc8301ddcd98ed66cb63 SHA512 a5f903a050ada4a26c5c367632541821d32f92e33f0bf7302b193ccc5fd0c6fc5fc92d6e93378d22ce91c0360d15e10968b1808fb25334a0fa26192124459d0d
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST gtkmm-2.24.5.tar.xz 12022024 BLAKE2B 6b2bca9fe6ad81cd956e1f3cc3140bc503b78386cf3931c8eeac08c8b2a08c73450bdbb703d1febaee67cdf834093ff5e89790f866357190822613a68a596ad3 SHA512 c50e52830977c37181439f4b82a30ac8bead0cf9022d2bec8225f8dc33e08414f863bf67056e1938fae8f888c09a5a6d757acc011fa9331a78caa6bb626dd51e
|
||||
DIST gtkmm-3.24.5.tar.xz 13540488 BLAKE2B b55c55e4bb56bc835be9c09dae59ee103fb0ae80ee99bb54c36c366686f4f1a0309435e91c2e323d7ebfabf7922b76ac85de6a1132c53ab708ba17be661d834b SHA512 8cc5aed26cc631123a5b38bc19643cf9e900beb38681b29ead9049f6b8f930f0b8ace317b8290279ab89cad85075dcb66863174082f77a2b67e4d8bd3c29de49
|
||||
DIST gtkmm-4.2.0.tar.xz 13850496 BLAKE2B 0e39824085fde11ebe3ecd65e3fbdb1778f307292a51b98955f4fa1418e7d1a349838126093b0a2b6d628b66d39bffffba76f66d2928999f777a4abb7961dc77 SHA512 c4532c427da0a37e4f8ba6f0e6d3975c3f84db461bc08263a4a81e6ee9e750112a2b4b0c5000ba22f8fd4fc5f833ef320f2c1f56580157f7ae41667ff15ccc72
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit gnome.org meson python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="C++ interface for GTK+"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/glibmm-2.68.0:2.68[doc?]
|
||||
>=gui-libs/gtk-4.2.0:4
|
||||
>=dev-cpp/cairomm-1.15.4:1.16[doc?]
|
||||
>=dev-cpp/pangomm-2.48.0:2.48[doc?]
|
||||
>=x11-libs/gdk-pixbuf-2.35.5:2
|
||||
>=media-libs/libepoxy-1.2
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
doc? ( dev-libs/libsigc++:3 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dbuild-demos=false
|
||||
$(meson_use doc build-documentation)
|
||||
$(meson_use test build-tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
Binary file not shown.
@ -1,6 +1,3 @@
|
||||
DIST redis-5.0.12.tar.gz 1995069 BLAKE2B 03bb5956fb1206ecfa7f621b22b3101d1ebad62c40ce52157fb802ecfa5c32ca493ff03a1cf909a1b0f1acdac83b3a939ab2042fbf092fea983cabe35d00f4c3 SHA512 f0ab161762006926064ba2176ea63bb2fa416fa386b44ca55a8edad9169627fcd1c4bd9c699fec585aefc68506deb0796f6a89844c21e74d2bdb19ca1638bbe7
|
||||
DIST redis-5.0.13.tar.gz 1995566 BLAKE2B 1020b26162d212f980fd07bfe1879120306c7e796cde7e48dfcc1c3aa555a0a25299c17ad65515cc54be3c354bff58cefe67bba5dfc26f6b24d56a46debfa267 SHA512 9784193a53b459a2e4937e8f0d18652a0677d29746e359e5f8ffddeea4cea305f10c8eeae9007e49c0ba9ebedb9b603aced61592ba3302e5b64be78020b3b4bf
|
||||
DIST redis-6.0.14.tar.gz 2277029 BLAKE2B 1eeeae5243ca380e354dfe5c8ad5b869669dc94b9570c8151033f89a23025bf027267eea00549f411e019b3c79ffa5d2e29eacff660e9f4b614953b023824c04 SHA512 a1de2131420bc11f831ff48607be2cf4a7775702fcc4fc777e09ebdc36277f1b468b22a1d35758338c0b44f9b3ae7b119139a79eb2419d40acbbf49d8c4a7e77
|
||||
DIST redis-6.0.15.tar.gz 2282471 BLAKE2B b7f37a76d2a16e0f84f51a737e2c23ebc27750ece790cf800a0f70bfd481db01d82dc68511f80e5935dc73d70f02716a4f9005d4d177ecf3f2a0c5290ecd41ff SHA512 e7ba123798a11e1c68dd6d3ebb0586bed4f2bb33755871f1577f7e0229f826b468c2130c31bcc85a64ce7ff54e280df0a7c60e0882f3ed2a11d43e7819fe8b9e
|
||||
DIST redis-6.2.4.tar.gz 2457940 BLAKE2B 3e89e404a624db6f739fdab72b8b7f7f92b6e96b01e33c63b6f5fa2f80fc72d8b8eaca4ecb7c57cdaf127956ba1a580ec851012b57426ebe7bb4cba890e1dcae SHA512 22db5b64de20a4823fd219b559c05f329e37fc86ce32099c64655dc50e60228706c99bffeae8d7080d8689910879318ec6621388bde23bf1486aefb881f33cb0
|
||||
DIST redis-6.2.5.tar.gz 2465302 BLAKE2B 51cc672ab432bb87560151521289d04e8fefb8e4df820f58a9b742131a0f1960c0019dec42a601bad827ec2a172375b88b6cf32a19aef42964e18f5a7a911c40 SHA512 8c54451032cbb627ec2827251556cba2010e56544baca7ea117b5afd2c2add484acbedd3baf21bdb8fd10672602cf52294a4e26b135c1406d7a723c048275e3a
|
||||
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic systemd toolchain-funcs tmpfiles
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc luajit test"
|
||||
RESTRICT="!test? ( test )"
|
||||
SLOT="0"
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time.
|
||||
COMMON_DEPEND="
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( dev-lang/lua:5.1 )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? ( dev-lang/tcl:0= )"
|
||||
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-5.0-sharedlua.patch
|
||||
"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# don't call ar directly
|
||||
sed -e '/^STLIB_MAKE_CMD/s/ar/$(AR)/g' \
|
||||
-i deps/hiredis/Makefile || die
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c src/ || die
|
||||
cp deps/lua/src/{fpconv,strbuf}.h src/ || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua
|
||||
if false && has_version 'dev-lang/lua:5.3'; then
|
||||
# Lua5.3 gives:
|
||||
#lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
LUAPKGCONFIG=lua5.3
|
||||
elif false && has_version 'dev-lang/lua:5.2'; then
|
||||
# Lua5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# Because lua_open because lua_newstate in 5.2
|
||||
LUAPKGCONFIG=lua5.2
|
||||
elif has_version 'dev-lang/lua:5.1'; then
|
||||
LUAPKGCONFIG=lua5.1
|
||||
else
|
||||
LUAPKGCONFIG=lua
|
||||
fi
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# effected by these changes.
|
||||
einfo "Selected LUAPKGCONFIG=${LUAPKGCONFIG}"
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r1" redis
|
||||
newinitd "${FILESDIR}/redis.initd-5" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-3" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time:
|
||||
# - 5.3 and 5.4 give:
|
||||
# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
# - 5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# because lua_open became lua_newstate in 5.2
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
inherit autotools flag-o-matic lua-single systemd toolchain-funcs tmpfiles
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="+jemalloc ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${LUA_DEPS}
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )
|
||||
${LUA_REQUIRED_USE}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.0.12-sharedlua.patch
|
||||
"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unstable on jemalloc
|
||||
> tests/unit/memefficiency.tcl || die
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua.
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# effected by these changes.
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with lua_single_target_luajit luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=" BUILD_TLS=yes"
|
||||
fi
|
||||
|
||||
export USE_SYSTEMD=$(usex systemd)
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Known to fail with FEATURES=usersandbox
|
||||
if has usersandbox ${FEATURES}; then
|
||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
./utils/gen-test-certs.sh
|
||||
./runtest --tls
|
||||
else
|
||||
./runtest
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time:
|
||||
# - 5.3 and 5.4 give:
|
||||
# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
# - 5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# because lua_open became lua_newstate in 5.2
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
inherit autotools flag-o-matic lua-single systemd toolchain-funcs tmpfiles
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="+jemalloc ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${LUA_DEPS}
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )
|
||||
${LUA_REQUIRED_USE}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.2.1-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.2.1-sharedlua.patch
|
||||
"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unstable on jemalloc
|
||||
> tests/unit/memefficiency.tcl || die
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua.
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# effected by these changes.
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with lua_single_target_luajit luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=" BUILD_TLS=yes"
|
||||
fi
|
||||
|
||||
export USE_SYSTEMD=$(usex systemd)
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Known to fail with FEATURES=usersandbox
|
||||
if has usersandbox ${FEATURES}; then
|
||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
./utils/gen-test-certs.sh
|
||||
./runtest --tls
|
||||
else
|
||||
./runtest
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST annogen-0.1.0.zip 1008931 BLAKE2B ca0da18f095c0db0aedfca1b83c5df6bc8fd348be3764e9ed182807189e151302f88f10c78c05a44dace66509a5a4d0e532541356758373a76932b8d284101dc SHA512 f5c4eeb92ef8c87874df6619ef701b99dace01bd3ebc87f201ee3ab523fe612b6d143da2646c280d4831bc8e3051887514aa06b8bad6928b68ddd6cd6357fa16
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A tool which helps you work with JSR175 annotations"
|
||||
HOMEPAGE="https://github.com/codehaus/annogen"
|
||||
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 ~x86"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/qdox:1.6
|
||||
dev-java/ant-core:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
# com.sun.mirror.declaration was removed from JDK 7 onwards.
|
||||
# These two files are just interfaces anyway.
|
||||
JAVA_RM_FILES=(
|
||||
org/codehaus/annogen/view/MirrorAnnoViewer.java
|
||||
org/codehaus/annogen/override/MirrorElementIdPool.java
|
||||
)
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="
|
||||
ant-core
|
||||
qdox-1.6
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
unzip -o -q "${S}/${PN}-src-${PV}.zip" || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
rm -rv examples || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Needed for com.sun.* imports
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="$(java-config -t)" \
|
||||
java-pkg-simple_src_compile
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">codehaus/annogen</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST bctsp-jdk15-145.tar.gz 100494 BLAKE2B 916972fc2c0585b8ff22cfef890a9324391d1723030ce926d1ba041631162fcc800f4e3e43733191c2bb7eb39235a98c99f8a0b59df5b42b771d0a3389fee569 SHA512 8e06598b6286502a6cf908f60b9bcae134dca070869c58e408746470e1f4f80ad8bca8c6f2fe5265fed051b5ddbeb710154ae7bf3a50fff2980c6b562ba6a606
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_P="${PN}-jdk15-${PV/./}"
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
CDEPEND="dev-java/bcprov:1.45
|
||||
dev-java/bcmail:1.45"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="bcprov-1.45,bcmail-1.45"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}" || die
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Remove tests
|
||||
rm -R org/bouncycastle/tsp/test || die
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST bytelist-1.0.15-sources.tar.gz 50512 BLAKE2B f17094ac4ef8ea68d48b05589b9fe3b8a90033dbc33992d0ebbcf70851c6877e20dcbe68f2e505e62301346653519833318d2c671bea9d6914d9f017610204f7 SHA512 1575a97229db7a7b99abd4fc74e713f79cd9bca4b7ffa13ba52607d84d5f7af8863c45dfd65dd32e12b03feb659808cf2f07ea494c87ca496061ab00280a40f4
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jruby/bytelist/archive/refs/tags/bytelist-1.0.15.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild bytelist-1.0.15.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.jruby.extras:bytelist:1.0.15"
|
||||
JAVA_TESTING_FRAMEWORKS="junit"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Byte array based container"
|
||||
HOMEPAGE="https://github.com/jruby/bytelist"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# org.jruby.jcodings:jcodings:1.0.18 -> >=dev-java/jcodings-1.0.11:1
|
||||
|
||||
CDEPEND="
|
||||
>=dev-java/jcodings-1.0.11:1
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CDEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CDEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="jcodings-1"
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit"
|
||||
JAVA_TEST_SRC_DIR="test"
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jruby/bytelist</remote-id>
|
||||
<bugs-to>https://github.com/jruby/bytelist/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
DIST jcodings-1.0.11.tar.gz 123802 BLAKE2B 22cde3714da0f1b9434d630905d9a5a8bcdf7ebcab8de5b03ff12d6b31d6fd256f87680743d96e860cd5af34a0b5e70bb1a326000b5440d9b4c4f8a20d9964ee SHA512 6bff29718ff04fd2f52cff767440d87f3dcb0f4acf71ee7b037241af7ef7533284176f53d08da5b1f37c643b766f4a9113651c994d1893ef302a2056d9ff40f3
|
||||
DIST jcodings-1.0.5-git.tar.gz 90788 BLAKE2B f1a72a1879e89c60bbb1537d5a6dd174b9f0a2bb4a3eb80520a2b4f7ddae5da359f11ba220b4f64db0413fd423c31623a0863cedbf62f7efd83ce73952557b35 SHA512 a0122eea18077daefdcf38ec9e6f12b000c558837835fe900f6e0c282fdfcf95dbb10652b4cfeb32e556ae8ebe1aec8c10e4a352cdb565837b2f16335140f8e3
|
||||
DIST jcodings-1.0.55.tar.gz 1390865 BLAKE2B 8c10c489f5c64ce0b394f7efa43cf996aa630e90d88329d4955d43c5e41666f665d8ea922b34477b545040417cc2003aacc75b45410f84176b3ee9e4087126e7 SHA512 c450b3df49ff39a974e1ce8eea1adcd8febb0f4d7b8a1b0b69e7f2bb97b365729c282600a04666b03821fc8d1b3df77e75f1611dbed997f6651e6ec481658874
|
@ -1,176 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="jcodings-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jcodings"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="test"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases"/>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="MANIFEST.MF"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Byte-based encoding support library for Java"
|
||||
HOMEPAGE="https://github.com/codehaus"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}"/maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Byte-based encoding support library for Java"
|
||||
HOMEPAGE="https://github.com/codehaus"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/${PV}.tar.gz -> ${P}-git.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv jruby-${PN}-* ${P} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}"/maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jruby/jcodings/archive/refs/tags/jcodings-1.0.55.tar.gz --slot 1 --keywords "~amd64 ~x86" --ebuild jcodings-1.0.55.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.jruby.jcodings:jcodings:1.0.55"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Byte based encoding support library for java"
|
||||
HOMEPAGE="https://github.com/jruby/jcodings"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/refs/tags/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-11:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-11:*
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="test"
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jruby/jcodings</remote-id>
|
||||
<bugs-to>https://github.com/jruby/jcodings/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
||||
DIST jgoodies-looks-2_6_0.zip 2444893 BLAKE2B 97d00131cf07f609141c97e4fd3e6b3c93f67dc879eb0ad99469c602e7e30b0d78dc4bd59202db1a3a503dec6c92ea061a176ef11e6c5f4fc26a86c697cf961f SHA512 1c33413379f391109d1db35bdf301acf0cc6d66bf8aa1026280015946bddb230b4cc1d233b700d46a519fb02c169df4670c874058f5e636e1e924a9d3a42442a
|
||||
DIST looks-1_2_2.zip 1811849 BLAKE2B 47dd516b5523b655757c08ba108b58e7b1e2e113ae4d0e90649db88c4353b66810f9a7b3cc810fe7bdbd5e9c1ad2a32d4b504665d3ffa2917f7a46647f444d09 SHA512 d9c5f0590a44dbc7d778a9da135361f5753eca4d47bef3636f21aa0d014df86dbad90031b5289928b99c352147ea702948028b18b36eb3bc44aef800326fb302
|
||||
DIST looks-2_3_1.zip 2105839 BLAKE2B 590412d7ed00d68a3fd8f8e5402802ca69039f2619e542619de787c6e9b4b2019096e87b7809e3b1f5a7d72963da3657fae7e465a245ef1ab0a5630219a968ed SHA512 61278cc0b8556ce19cfb5bdaaab2b42d7035fcdf71d614a8d3673629d5b04c5698e2be521df3e0518e781f78c03a8d3f466f1fdfba525f679e9de7409faf1088
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="looks"
|
||||
MY_PV="${PV//./_}"
|
||||
|
||||
DESCRIPTION="JGoodies Looks Library"
|
||||
HOMEPAGE="http://www.jgoodies.com/"
|
||||
SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}-${MY_PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1.2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
|
||||
cp "${FILESDIR}/${P}-build.xml" "${S}"/build.xml || die
|
||||
cp "${FILESDIR}/${P}-plastic.txt" "${S}"/plastic.txt || die
|
||||
|
||||
unzip ${MY_PN}-${PV}-src.zip || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${MY_PN}.jar"
|
||||
|
||||
dodoc RELEASE-NOTES.txt
|
||||
use source && java-pkg_dosrc com
|
||||
use doc && java-pkg_dohtml -r build/doc
|
||||
use examples && java-pkg_doexamples src/examples
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST jibx_1_1_5.zip 6788994 BLAKE2B 0b579e6eb9f6037c92dce3acbec4e9fd5a6aec179cb0f4ecf935ff0bbfb525c4c317d79d21683c3ea6136256b69f5aa9250851802c8eaccf14f3dff9f5ad8aa6 SHA512 13c3a43a53746e9146d1240d73d1948b3c03ead55aa0e79158c2700a385b0dfba0e31122efd11446c1a46c2b3f85235035dc198c6b3acf2fcefa88b2a0683cc7
|
@ -1,20 +0,0 @@
|
||||
--- build/src/org/jibx/binding/SchemaGenerator.java 2007-05-23 21:31:14.000000000 +0300
|
||||
+++ build/src/org/jibx/binding/SchemaGenerator.java 2008-02-21 23:14:06.000000000 +0200
|
||||
@@ -178,7 +178,7 @@
|
||||
m_classLocator = new IClassLocator() {
|
||||
public IClass getClassInfo(String name) {
|
||||
try {
|
||||
- return new ClassWrapper(ClassCache.getClassFile(name));
|
||||
+ return new ClassWrapper(m_classLocator, ClassCache.getClassFile(name));
|
||||
} catch (JiBXException e) {
|
||||
throw new IllegalStateException("Class not found " + name);
|
||||
}
|
||||
@@ -382,7 +382,7 @@
|
||||
|
||||
// check for reference to a mapped class
|
||||
StructureElement structure = (StructureElement)comp;
|
||||
- TemplateElementBase templ = structure.getMapAsMapping();
|
||||
+ TemplateElementBase templ = structure.getEffectiveMapping();
|
||||
if (! (templ instanceof MappingElement)) {
|
||||
|
||||
// unknown content, leave it to user to fill in details
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators '_')
|
||||
|
||||
DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
|
||||
HOMEPAGE="http://jibx.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/bcel:0
|
||||
java-virtuals/stax-api:0
|
||||
dev-java/jibx:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/jibx"
|
||||
|
||||
java_prepare() {
|
||||
# http://jira.codehaus.org/browse/JIBX-207
|
||||
epatch "${FILESDIR}/1.1.5-build.patch"
|
||||
|
||||
java-ant_rewrite-classpath "${S}/build/build.xml"
|
||||
|
||||
rm -v "${S}"/lib/*.jar || die
|
||||
}
|
||||
|
||||
EANT_FILTER_COMPILER="ecj-3.3"
|
||||
EANT_BUILD_XML="build/build.xml"
|
||||
EANT_BUILD_TARGET="jar-tools"
|
||||
EANT_GENTOO_CLASSPATH="bcel,stax-api,jibx"
|
||||
|
||||
src_install() {
|
||||
java-pkg_register-dependency jibx
|
||||
|
||||
java-pkg_dojar "${S}/lib"/jibx-*.jar
|
||||
use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators '_')
|
||||
|
||||
DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
|
||||
HOMEPAGE="http://jibx.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/bcel:0
|
||||
dev-java/jibx:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/jibx"
|
||||
|
||||
java_prepare() {
|
||||
# http://jira.codehaus.org/browse/JIBX-207
|
||||
epatch "${FILESDIR}/1.1.5-build.patch"
|
||||
|
||||
java-ant_rewrite-classpath "${S}/build/build.xml"
|
||||
|
||||
rm -v "${S}"/lib/*.jar || die
|
||||
}
|
||||
|
||||
EANT_FILTER_COMPILER="ecj-3.3"
|
||||
EANT_BUILD_XML="build/build.xml"
|
||||
EANT_BUILD_TARGET="jar-tools"
|
||||
EANT_GENTOO_CLASSPATH="bcel,jibx"
|
||||
|
||||
src_install() {
|
||||
java-pkg_register-dependency jibx
|
||||
|
||||
java-pkg_dojar "${S}/lib"/jibx-*.jar
|
||||
use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jibx</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST joni-2.1.0.tar.gz 125084 BLAKE2B 4f5fa651f2a2c898b29c311f8bdabe10ded3dc86ededbdf35d703a08618e2dcc57e34a9ab928f0f69e4f47d59a287e138dcf2ec7d2bb71e1152637f174f5fa8e SHA512 dd40b3a857deb02848d4a87de010ec6b9c96fb962643ea1022833a1bb5ebd76ffac403ff2a54497df288998939ed81910c22c02a2df1f7290112bb2ea506db0e
|
||||
DIST joni-2.1.41.tar.gz 178366 BLAKE2B a83b9df9fb481a8b1650f9542bd88028d638042946c68a03add8f64449136b655ca0425e488487803f48f8bb1a9101d5d1531350ba534fa081fb9e61cb3795f7 SHA512 6306a871b1d34cf6bb838220ad0cf4824d75a055412740848d02a89ce3198fb7a0d909838a31e33d85f504cc43fa26ee73d9665b4cf81481226c19f5186dab53
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java port of the Oniguruma regular expression engine"
|
||||
HOMEPAGE="https://github.com/codehaus"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.1"
|
||||
KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
CDEPEND="dev-java/asm:9
|
||||
dev-java/jcodings:1"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${PV}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_BUILD_TARGET="build"
|
||||
EANT_GENTOO_CLASSPATH="asm-9 jcodings-1"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jruby/joni/archive/refs/tags/joni-2.1.41.tar.gz --slot 2.1 --keywords "~amd64 ~ppc64 ~x86" --ebuild joni-2.1.41.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.jruby.joni:joni:2.1.41"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java port of the Oniguruma regular expression engine"
|
||||
HOMEPAGE="https://github.com/jruby/joni"
|
||||
SRC_URI="https://github.com/jruby/${PN}/archive/refs/tags/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# org.jruby.jcodings:jcodings:1.0.55 -> >=dev-java/jcodings-1.0.55:1
|
||||
|
||||
CDEPEND="
|
||||
dev-java/jcodings:1
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-11:*
|
||||
${CDEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-11:*
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="jcodings-1"
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="test"
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jruby/joni</remote-id>
|
||||
<bugs-to>https://github.com/jruby/joni/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jsr173-1.0.jar 639734 BLAKE2B f34caff27d216303d14050c78c3a4413685e843b9a5aacb228c38c57c50a009b691bff889ebc970097f998ba93b3a0737256c3b8a19f9df3529d238b43f71538 SHA512 8b299532716682772e5eeafb63a5dd125dec8954a9a284f6766bac05409fff611724ae1a9b6f4f6f303b64c12b19e394371a6b0a87132b36e88f94e20b69efe4
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Yet another Java library for parsing and writing XML"
|
||||
HOMEPAGE="http://dev2dev.bea.com/xml/stax.html"
|
||||
SRC_URI="mirror://gentoo/${P}.jar"
|
||||
|
||||
LICENSE="bea.ri.jsr173"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DOCS=( README.txt jsr173_1.0.pdf )
|
||||
|
||||
src_unpack() {
|
||||
cd "${S}" || die
|
||||
jar xvf "${DISTDIR}/${A}" || die "failed to unpack"
|
||||
jar xvf "${P//-/_}_src.jar" || die "failed to unpack"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg_clean
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
use doc && einstalldocs
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue