summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-17 03:03:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-17 03:03:09 +0000
commit3455c0a5153ae27d7c6c16ecd35fa3dec33f3dda (patch)
treeb29c1fa32b8be70c36e7f8bf53ab5fca875037f9 /net-p2p
parentb0735771a80a647a2ea5a03a87d5873d175bd744 (diff)
gentoo auto-resync : 17:11:2024 - 03:03:09
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6761 -> 6762 bytes
-rw-r--r--net-p2p/mldonkey/Manifest3
-rw-r--r--net-p2p/mldonkey/metadata.xml1
-rw-r--r--net-p2p/mldonkey/mldonkey-3.1.7-r3.ebuild186
4 files changed, 1 insertions, 189 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index f82fa7f3c11b..fc5c281ab544 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest
index d8483d7e0fb3..ac312a6e6aa5 100644
--- a/net-p2p/mldonkey/Manifest
+++ b/net-p2p/mldonkey/Manifest
@@ -4,7 +4,6 @@ AUX mldonkey.initd 1488 BLAKE2B 062bc7f00dc798bab4da0a0bdef87c5d2a3388a67ceddbbb
AUX mldonkey.service 274 BLAKE2B 2ff70c85d4f8f07435ce973d4b8bd3f90999b433187060ebb1500f9964a5df7b3aa05cd0391efa748201b5d3ce496f985b971200bdf19e36a9edc6cf66f24fa2 SHA512 62fab67f8ca13e539b3ecfefe8d16a8cfbaad296f1a9d3f16dea8dcaa189946f2631545c940bb88e29ae119ad7285fbd7cd1cd047fe7a85b746d1ee36e13d8ce
DIST mldonkey-3.1.7-2.tar.bz2 2801815 BLAKE2B f914648b4e2a358e51518f3b58dc0df803cdb28d7706783504644266690514c17c2cae0688011073391db221eb8f38c7cbaf1e913220d824e41ca2e23d4c8587 SHA512 11cb0fa0db95e918c291009f4121a1b34cf485e5ac6826a72a4dc520dd78d21ced40d205fa26eb451c7d3eb31f2193cbb64e46c99c85dc932762c1bcc4da4934
DIST mldonkey-3.2.1.tar.bz2 2839613 BLAKE2B 87d02fb4dd81a894b241793cfe872a0e0860ca33c2dceae7c6a6b2e17b2dc8bf0352e5a8a573dc0088b62acc1e9b7ff8608514355dc96397b997117bcf7e06bf SHA512 7f2657ea3e5eedf2429b157f8157178d8357c19d323f812f3bf1cd965ee209aaa760b8af6983603eeccf53efea7321f41910eca1c5649ce1baf5bc6cf0284f0c
-EBUILD mldonkey-3.1.7-r3.ebuild 4795 BLAKE2B a415301f6dcb17181fca4cec52a32f605cb2962bb08a118b232fd7f981442b1e55d8cfe5caa036e80f6b2373d0ba244a8ad4e3aa4048cca8315f753da67a5f39 SHA512 98da370749cdb90c868c291344f4ffd1976f77ab4a70eb5ed39229c7c78ff3fd6a5b27eef0af2f9dca844822620b1ca132e3b4b6d43d8da4273f1b47cddb0d77
EBUILD mldonkey-3.1.7-r4.ebuild 3537 BLAKE2B 9c366a9012176eab584d6d3c9441a3d408a5127fbac2da6c9374028b221ff856e459bb588d6d169a6a7abcf30ea8b14e3d0f1196b0785d08146d0a24a64d379f SHA512 8a2254cfd4bcd00704ce5b8884e591bdb9ab7d433092a483cdab566d8d485844127319f5509862cb1b6ec946da22b43a820e770873adcff4fb845d4692b6ec1a
EBUILD mldonkey-3.2.1.ebuild 3420 BLAKE2B 0a106d5897e56fcdb9ae8789dc117a9c9f4f573457bc7022d30a6ff0b2772eca3b036cb5457e99ab6104d471db5258be6eb8cfe4b3c346e32b5c4606b8d34196 SHA512 a9cb8cf5232a3cbd67188a1e77db9ea7498e093afb6b907d8484126f20518ddee51df49681c582b76f95edfc3b0ee0c9401779cd19c1a5342b161fa96f6b8547
-MISC metadata.xml 755 BLAKE2B eefbad9b7c93e1ceb2b95297219ba74010d3a55ba424d9567fcf3bdcd8bb56891c778d5e6fe421aca67443a7ca8e1d753247bb63ddf0c7295926c731712ff67e SHA512 39ca04ab21dda0856dcc95ad3489b1b7427fc60b18949e916c5f38fe00cfe0eae30b95280ab3806fd4f0ce72b5ababd7fb30728ff8f4a2fd76ddde2b5bc7b7a3
+MISC metadata.xml 698 BLAKE2B 31aeb3b4479cf494e314cd2b19e2aa0686c8f5a0aa9c20fdb08c56d34a7b6c8c3f35dc4b387cb17e41e3f30ae942cb7ed457942817c83a64e6d8b5c3f0d54487 SHA512 f20a40811f5e6b5a2db24c72d1b611ad97f4fde0996c0ba8914a6eea0775c26522e3a5f4294174add46586cca350b268616d8b9f184ec12263e532af32e603d8
diff --git a/net-p2p/mldonkey/metadata.xml b/net-p2p/mldonkey/metadata.xml
index 9faf0e9d2cc9..008364d84f74 100644
--- a/net-p2p/mldonkey/metadata.xml
+++ b/net-p2p/mldonkey/metadata.xml
@@ -13,7 +13,6 @@
<flag name="bittorrent">enable bittorrent support</flag>
<flag name="fasttrack">enable fasttrack support</flag>
<flag name="gnutella">enable gnutella and gnutella2 support</flag>
- <flag name="guionly">enable client build only</flag>
</use>
<upstream>
<remote-id type="github">ygrek/mldonkey</remote-id>
diff --git a/net-p2p/mldonkey/mldonkey-3.1.7-r3.ebuild b/net-p2p/mldonkey/mldonkey-3.1.7-r3.ebuild
deleted file mode 100644
index 518e804985ae..000000000000
--- a/net-p2p/mldonkey/mldonkey-3.1.7-r3.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools desktop flag-o-matic systemd toolchain-funcs
-
-DESCRIPTION="Multi-network P2P application written in Ocaml, with Gtk, web & telnet interface"
-HOMEPAGE="http://mldonkey.sourceforge.net/ https://github.com/ygrek/mldonkey"
-SRC_URI="https://github.com/ygrek/mldonkey/releases/download/release-${PV//./-}-2/${P}-2.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-
-IUSE="bittorrent doc fasttrack gd gnutella gtk guionly magic +ocamlopt upnp"
-
-REQUIRED_USE="guionly? ( gtk )"
-
-RDEPEND="dev-lang/perl
- dev-ml/camlp4:=
- gd? ( media-libs/gd:2=[truetype] )
- gtk? (
- dev-libs/glib:2
- dev-ml/lablgtk:2=[svg]
- gnome-base/librsvg:2
- media-libs/libpng:=
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/libX11
- x11-libs/pango
- )
- guionly? (
- dev-libs/glib:2
- dev-ml/lablgtk:2=[svg]
- gnome-base/librsvg:2
- media-libs/libpng:=
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/libX11
- x11-libs/pango
- )
- magic? ( sys-apps/file )
- upnp? (
- net-libs/libnatpmp
- net-libs/miniupnpc:=
- )
- !guionly? ( acct-user/p2p )
- app-arch/bzip2
- sys-libs/zlib
-"
-# Can't yet use newer OCaml
-# -unsafe-string usage:
-# https://github.com/ygrek/mldonkey/issues/46
-DEPEND="${RDEPEND}
- <dev-lang/ocaml-4.10:=[ocamlopt?]
- bittorrent? ( dev-ml/num )"
-
-RESTRICT="!ocamlopt? ( strip )"
-
-PATCHES=( "${FILESDIR}/cpp17-byte-namespace.patch" )
-
-S="${WORKDIR}/${P}-2"
-
-pkg_setup() {
- if use gtk; then
- echo ""
- einfo "If the compile with gui fails, and you have updated Ocaml"
- einfo "recently, you may have forgotten that you need to run"
- einfo "/usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh"
- einfo "to learn which ebuilds you need to recompile"
- einfo "each time you update Ocaml to a different version"
- einfo "see the Ocaml ebuild for details"
- echo ""
- fi
-
- # dev-lang/ocaml creates its own objects but calls gcc for linking, which will
- # results in relocations if gcc wants to create a PIE executable
- if gcc-specs-pie ; then
- append-ldflags -nopie
- ewarn "Ocaml generates its own native asm, you're using a PIE compiler"
- ewarn "We have appended -nopie to ocaml build options"
- ewarn "because linking an executable with pie while the objects are not pic will not work"
- fi
-}
-
-src_prepare() {
- cd config || die
- eautoconf
- cd .. || die
- if ! use ocamlopt; then
- sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt"
- fi
-
- default
-}
-
-src_configure() {
- local myconf=()
-
- if use gtk; then
- myconf+=( --enable-gui=newgui2 )
- else
- myconf+=( --disable-gui )
- fi
-
- if use guionly; then
- myconf+=( --disable-multinet --disable-donkey )
- fi
-
- local my_extra_libs
- if use gd; then
- my_extra_libs="-lpng"
- fi
-
- econf LIBS="${my_extra_libs}"\
- --sysconfdir=/etc/mldonkey \
- --sharedstatedir=/var/mldonkey \
- --localstatedir=/var/mldonkey \
- --enable-checks \
- --disable-batch \
- $(use_enable bittorrent) \
- $(use_enable fasttrack) \
- $(use_enable gnutella) \
- $(use_enable gnutella gnutella2) \
- $(use_enable gd) \
- $(use_enable magic) \
- $(use_enable upnp upnp-natpmp) \
- --disable-force-upnp-natpmp \
- ${myconf[@]}
-}
-
-src_compile() {
- export OCAMLRUNPARAM="l=256M"
- emake -j1 # Upstream bug #48
-
- if ! use guionly; then
- emake utils
- fi
-}
-
-src_install() {
- local myext i
- use ocamlopt || myext=".byte"
- if ! use guionly; then
- for i in mlnet mld_hash get_range copysources subconv; do
- newbin "${i}${myext}" "${i}"
- done
- use bittorrent && newbin "make_torrent${myext}" make_torrent
-
- systemd_dounit "${FILESDIR}/${PN}.service"
- newconfd "${FILESDIR}/mldonkey.confd" mldonkey
- newinitd "${FILESDIR}/mldonkey.initd" mldonkey
- fi
-
- if use gtk; then
- for i in mlgui mlguistarter; do
- newbin "${i}${myext}" "${i}"
- done
- make_desktop_entry mlgui "MLDonkey GUI" mldonkey "Network;P2P"
- newicon "${S}"/packages/rpm/mldonkey-icon-48.png "${PN}.png"
- fi
-
- if use doc ; then
- docompress -x "/usr/share/doc/${PF}/scripts" "/usr/share/doc/${PF}/html"
-
- dodoc distrib/ChangeLog distrib/*.txt docs/*.txt docs/*.tex docs/*.pdf docs/developers/*.{txt,tex}
-
- docinto scripts
- dodoc distrib/{kill_mldonkey,mldonkey_command,mldonkey_previewer,make_buginfo}
-
- docinto html
- dodoc docs/*.html
-
- docinto html/images
- dodoc docs/images/*
- fi
-}
-
-pkg_postinst() {
- if [ -f /etc/conf.d/mldonkey ] && grep -qE "^(BASEDIR|SUBDIR|LOW_DOWN|LOW_UP|HIGH_DOWN|HIGH_UP|SERVER|PORT|TELNET_PORT|USERNAME|PASSWORD|MLDONKEY_TIMEOUT)=" /etc/conf.d/mldonkey; then
- ewarn "The following settings are deprecated and will be ignored,"
- ewarn "please remove them from /etc/conf.d/mldonkey:"
- ewarn "LOW_DOWN LOW_UP HIGH_DOWN HIGH_UP SERVER PORT TELNET_PORT USERNAME PASSWORD MLDONKEY_TIMEOUT"
- fi
-}