summaryrefslogtreecommitdiff
path: root/net-libs/NativeThread
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/NativeThread')
-rw-r--r--net-libs/NativeThread/Manifest6
-rw-r--r--net-libs/NativeThread/NativeThread-0_pre20080330.ebuild32
-rw-r--r--net-libs/NativeThread/files/Makefile.patch22
-rw-r--r--net-libs/NativeThread/metadata.xml8
4 files changed, 68 insertions, 0 deletions
diff --git a/net-libs/NativeThread/Manifest b/net-libs/NativeThread/Manifest
new file mode 100644
index 000000000000..bf6f1936fc3b
--- /dev/null
+++ b/net-libs/NativeThread/Manifest
@@ -0,0 +1,6 @@
+AUX Makefile.patch 759 SHA256 3974e6419e2023f6a48fbaf79be80c6fa9ea42b7db2008980497c4814c2b5108 SHA512 6304da105ce09cb5fad241bd5ed6486ae237551143676feab1668c3e8777a68458bedc4d4a53710a115ec4d608985600ef54e0baecd162c1236fdbdcedf88b18 WHIRLPOOL 733d832245e43f62d1b281371d0a73997143b5b1d01b1894fee8286547e190588d6988438a9c150a04c97641cc39162c46e604df12086005d603244d99d62e01
+DIST NativeThread-0_pre20080330.tar.bz2 2707 SHA256 ae5277c25420fc76f59d296400c20562e37ff0ad4ecab63e537b9a053ac5802c SHA512 c6c4b26e82c02cb4039718e8085f54fad3d2492b3905dbd91b8798c1140a819cf1fab1b8346ab2524e0619d2921b4ae9de6ffa9c18138bccd965e67c28b05ed7 WHIRLPOOL 3e723036d948c41184a9e19fd8a351e143ed3e548eb3c99d561e8e829f204c555e7c80d621b294a573215bfb372dbba4dc4f9d0a50dc86742e9aa074ce6a0ecf
+EBUILD NativeThread-0_pre20080330.ebuild 610 SHA256 c2e56c2bd8c7cc257c0e5f833128f06496695be2ad9681d84aadd06728123d86 SHA512 58998886e1fadcef8356678686562a7f83d9cc187bafff11d882c895224f32b83f6b12bbc67f2871683e700e02cdb6feb6c31b4e7e64942e2238a04532d11480 WHIRLPOOL 66c1caebb99cc9f3ff4ee21ad34159ebf927159f724920baf83bf018becd073d372916cca5e088ba763a549dbd61663bada8b13371a27f53d6c8c69151bf3a6e
+MISC ChangeLog 2623 SHA256 97427859e02a9f6d0af133ede17c039f2052df38f73edc046b7baa1ae3ccd03e SHA512 7b8b6714ee40c442117e638ee8046382018835e117151251eae267b3fb853f2846dd5814b746a8740ec616dd508fb84758c2f4421ba7745fbbcb6083dd484833 WHIRLPOOL 4beaca55f70b8abbf74c8e21e9d3314649742044ad4bdaf6729e7c9007511feacf42f0295e796449b77c0a058acfaf35d57228411e764db68000ea23703c134b
+MISC ChangeLog-2015 552 SHA256 13f5840cbe2c84c7471cf8637287624c8457ecf4f0a9e92f5c87cebc814f38be SHA512 842afe95c00b86198fbcc1c1cbb09e0d77d0e2b7a5c188f9768751c0639ab203623baf0b743a915b3c0ecd56f8b7f27217f66be7148e7fe260a947ce95933ca0 WHIRLPOOL 5566346bab0ed32412699c7b0abeb5e61fbec5c890e288c19baecac2424bb20408c60cb7b1c9b181473b24847ea5a3feabc1cf731db484c7dd65e05b9f9de60c
+MISC metadata.xml 256 SHA256 b1fcbeb75e9059c70100ccf278d492d9d2678ba93411e576ae760b3f308675cb SHA512 26e53ead25d8fef36a3759518b200c6a4ea0fc24d2c1f054ed85772cba5644118b231438d723ca25c22a55ed2fcf54e2c467279c9f3b49b6c1ced9997e3f098c WHIRLPOOL 25a36b6972f88def1dae7e912650b8fe3a0383d551c4a57967e1b8f80cde478e680e30c034f0481366f2da1d38a10e092ab4392902fa1b7f93cd801bb3f46dfa
diff --git a/net-libs/NativeThread/NativeThread-0_pre20080330.ebuild b/net-libs/NativeThread/NativeThread-0_pre20080330.ebuild
new file mode 100644
index 000000000000..ce00b3c4ffaa
--- /dev/null
+++ b/net-libs/NativeThread/NativeThread-0_pre20080330.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils flag-o-matic java-pkg-2 toolchain-funcs
+
+DESCRIPTION="NativeThread for priorities on linux for freenet"
+HOMEPAGE="http://www.freenetproject.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=net-p2p/freenet-0.7
+ >=virtual/jdk-1.4"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/Makefile.patch
+}
+
+src_compile() {
+ append-flags -fPIC
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dolib.so lib${PN}.so || die
+}
diff --git a/net-libs/NativeThread/files/Makefile.patch b/net-libs/NativeThread/files/Makefile.patch
new file mode 100644
index 000000000000..e1f0209a6f3f
--- /dev/null
+++ b/net-libs/NativeThread/files/Makefile.patch
@@ -0,0 +1,22 @@
+--- Makefile 2008-03-03 13:59:06.000000000 +0100
++++ Makefile.new 2008-03-30 16:27:12.000000000 +0200
+@@ -1,14 +1,14 @@
+-CC = gcc
+ INC = $(JAVA_HOME)/include
+-CFLAGS = -Wall -O3 -fPIC
+-LDFLAGS = -shared -Wl,-soname,libnative.so -I$(INC) -I$(INC)/linux
++CFLAGS += -Wall
++LDFLAGS += -shared -Wl,-soname,libnative.so -I$(INC) -I$(INC)/linux
+ LIBS = -lc
+
+ all: clean libNativeThread.so
+
+ NativeThread.class:
+- javac java/NativeThread.java
+- mv java/NativeThread.class freenet/support/io/
++ javac -classpath /usr/share/freenet/lib/freenet.jar NativeThread.java
++ mkdir -p freenet/support/io
++ mv NativeThread.class freenet/support/io/
+
+ libNativeThread.so: NativeThread.c NativeThread.h
+ $(CC) $(CFLAGS) -o libNativeThread.so $(LDFLAGS) NativeThread.c $(LIBS)
diff --git a/net-libs/NativeThread/metadata.xml b/net-libs/NativeThread/metadata.xml
new file mode 100644
index 000000000000..3800f75787af
--- /dev/null
+++ b/net-libs/NativeThread/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tommy@gentoo.org</email>
+ <name>Thomas Sachau (Tommy[D])</name>
+ </maintainer>
+</pkgmetadata>