summaryrefslogtreecommitdiff
path: root/net-p2p/xnap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-p2p/xnap
reinit the tree, so we can have metadata
Diffstat (limited to 'net-p2p/xnap')
-rw-r--r--net-p2p/xnap/Manifest5
-rw-r--r--net-p2p/xnap/metadata.xml13
-rw-r--r--net-p2p/xnap/xnap-2.5-r3.ebuild30
3 files changed, 48 insertions, 0 deletions
diff --git a/net-p2p/xnap/Manifest b/net-p2p/xnap/Manifest
new file mode 100644
index 000000000000..73563924f0cf
--- /dev/null
+++ b/net-p2p/xnap/Manifest
@@ -0,0 +1,5 @@
+DIST xnap-2.5r3.jar 1320779 SHA256 41267a182b9d50f069117f3f5edaca1d511f62558d403e9d10d8aa14ada0c4e7 SHA512 6dcfc7b6d56c86a8a2e554b67449c60c784033cdc8962613dc0e4555b9139c71c7cc958f40b2a5a14e60c4abfde747b5ba9868a358837ceee3b730af34cf5f69 WHIRLPOOL bce96798b9f4ed8d4aec44c021d24fc25a0038f532694cdba9c77623a33fadbe51f5d72c6ff48fd68e6127c922f0899e8774632bad0ad3c763208c07d3a5ddcc
+EBUILD xnap-2.5-r3.ebuild 601 SHA256 92ed5164df8a568a414d423c48662096f91f8cbc824303ce9a77c90f8c6074cd SHA512 ee4bf2db9f934e85ccb00242e7cbfd74e74b313bf2c3a6fe48c9357f24206e95363a5a0255a344ec4f02c713dde02e10c9bf5a185433796ee9b61c558f32bb73 WHIRLPOOL 7d97841af280ef8208e87e20af51dbfc063b2b7f702890c6234a1ddc33cdfcafd0fc221fdd977b6afe7066b61b4e7d67ea233d3f23bf956c1870d541f57e63c2
+MISC ChangeLog 2584 SHA256 bf3b0948ca135f17ff01b7d31c6e4b9e000ff8d3b18d67f2fc204190e2c24f68 SHA512 3cab24ec21b7459e49a415a50b919bafde820fc0f656d334c1cb32a8abe45989dc6df14fb3fb6fb06882bbc557ad0d639684d939dd9ba225b6147b738fd0296a WHIRLPOOL db1f4ed412365e4f4d68ac449d7172c8220293db8c108f31aada583212540a4eb82f9d5923637eca025bed829df87e4e0d0873a4a9ee76d186103925a8fa7f6b
+MISC ChangeLog-2015 1115 SHA256 91cbbb7e780c39c7785ef771111c7129b33c4c6e3fcea96cbf6f151f737427c1 SHA512 a31a4f9a223ed468be0e7ad4ef2db706b428acb0a44197d022228fc279c81cdbf62ca7cce86641af2ecca663654935324d582b5e9e21c21135e8cdd2e9c69fa7 WHIRLPOOL fb221c17d54f42f54f1284c6570084c5253b58b70a94bb889bfb117f519d7853b0977613eb02faea82c1d10944599dfc245fd082b8ae618fcadb97b97d9f8422
+MISC metadata.xml 674 SHA256 312058d02cf3090e3c1791a930b86520b5b254551bb070f59ee9a9d6d883cc2d SHA512 86c926318b381b75f66b3ea201ab324c972add7c8fad3b4180e70ae3b991c0a18661be55ddeeb88098916637f6ce3d3e11b1b50d6c1d4650916cf9efb941d421 WHIRLPOOL d54606ed91771271332d75b6f7a17921779c8982d3c85879f4c49b3b8a2e47b16f45739c0bf5f35e5d5abe21e83432b81d4cf2fa4ffa038e5e26535a38f888aa
diff --git a/net-p2p/xnap/metadata.xml b/net-p2p/xnap/metadata.xml
new file mode 100644
index 000000000000..0594a2ce64ed
--- /dev/null
+++ b/net-p2p/xnap/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ XNap provides a plugin enabled framework for peer-to-peer (P2P) applications and a client which is based on that framework. It is free software and licensed under the GNU Public License .
+
+ XNap is purely written in Java. The client features a modern Swing based user interface and console support that will run nicely on every platform with a recent Java Runtime Environment (1.3 or higher).
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xnap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-p2p/xnap/xnap-2.5-r3.ebuild b/net-p2p/xnap/xnap-2.5-r3.ebuild
new file mode 100644
index 000000000000..1e6279868f2e
--- /dev/null
+++ b/net-p2p/xnap/xnap-2.5-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="A P2P framework and client"
+HOMEPAGE="http://xnap.sf.net"
+SRC_URI="mirror://sourceforge/xnap/${P}r3.jar"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR}/
+}
+
+src_install() {
+ mv ${S}/${A} ${S}/${PN}.jar
+ insinto /opt/${PN}/lib
+ doins ${PN}.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "cd /opt/${PN}" >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
+
+ into /opt
+ dobin ${PN}
+}