diff options
Diffstat (limited to 'net-misc/mulk')
-rw-r--r-- | net-misc/mulk/Manifest | 3 | ||||
-rw-r--r-- | net-misc/mulk/files/mulk-0.6.0-large-file.patch | 32 | ||||
-rw-r--r-- | net-misc/mulk/mulk-0.6.0.ebuild | 43 |
3 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/mulk/Manifest b/net-misc/mulk/Manifest index 28e9ab696ed3..19ca9c0ce441 100644 --- a/net-misc/mulk/Manifest +++ b/net-misc/mulk/Manifest @@ -1,3 +1,6 @@ +AUX mulk-0.6.0-large-file.patch 867 BLAKE2B 2ebf6dd4ddd4e4bfb0e8ced95844064d956f67374177ad11e0d8795176755523e35bf81110087fe9bf34594aab785878992f76d277178e657ab2c2a02f501516 SHA512 8018cacc3713474c5033aaafbae314136a448a10c13e4b49630a1808c2f1a14d3b22c79229a54e661cebfb59051cdbf29ccede72f2dc3265614d635d1ada16ae +DIST mulk-0.6.0.tar.gz 459141 BLAKE2B f63d2d78128e9f9cfa39107ec294d49d401fffe37883be41b9bab391c70751de1fdb955683c85f9491b0739c3e99fcde3525c54fcb3beb2e280851eac0c98d29 SHA512 9e42add34305b071ac5132c645be75d3666e2a47b6b3a7c7eb46b1fbc130db85bccdd31dd54586b20c4d3629f000219c630511d6f2a59d241d60afce2cfeee37 DIST mulk-0.7.0.tar.gz 487995 BLAKE2B 446cf6652f7a1736dc1fbadf7a4fca8941507fa02abdc6ff3871e1cbb7dcd341e00be03c0e0b860f4cfe70ce1241a90adbae15e947e958fe37fd206863aaa01e SHA512 e1c6cf14b0ee2e42d83c8ad33d011feec9eb192ea4f8495cc67926db934d7ac132dfea66e40c47844965321573bd5b0734e4b19fe34c97c38170ee0cf4643499 +EBUILD mulk-0.6.0.ebuild 808 BLAKE2B 0f74eac84b91c0fd46504130291bc32c1717907e2f2412e46cd945231e6683e40a2648a07a8ddeb6c977c3bb7979c769b681ed48f05fb8b3b3dc47e0040a74bc SHA512 b19c6d6ac579f72fb128cae2ff6c7b39718942945866e1e2c84bcfeb513eb361895e10ccefe6e32151b87baff5bbe7c1830b03a2b2a900a6740c27ced35ea445 EBUILD mulk-0.7.0.ebuild 758 BLAKE2B 1bc5c95884921369679b10ac05a639997fe76ada83803eaffb397c3826bb49f985b579f7263b202a84228615e7c5e7395f404868e541237360c0db86c1e314a2 SHA512 8cbd690937d3e4447e3b86a2667d89c740d59463c74578654cd52863b6dcbb2a2ef9e6091700a59996c688a0328d5500be1e80a737a18f0c6908f53faee71faf MISC metadata.xml 446 BLAKE2B f58d02b9addd2437ec243d741627a52a72192583a4f2b99df560d9681d6486811c52149678161f5bdb8055b071fb1565cdc52fd07c136854a4c7180f764e2cb7 SHA512 8d36ae10e4da6a5a6aab41ac25d6e85dfd9b2dd1e976f771a330aa175a30e932d6e40e86ca32751e9c89b227a173757da647465c59f3de5659abaeae66e1fb20 diff --git a/net-misc/mulk/files/mulk-0.6.0-large-file.patch b/net-misc/mulk/files/mulk-0.6.0-large-file.patch new file mode 100644 index 000000000000..801433080e46 --- /dev/null +++ b/net-misc/mulk/files/mulk-0.6.0-large-file.patch @@ -0,0 +1,32 @@ +Index: mulk-0.6.0/lib/defines.h +=================================================================== +--- mulk-0.6.0.orig/lib/defines.h ++++ mulk-0.6.0/lib/defines.h +@@ -41,6 +41,12 @@ + #include <stdio.h> + #include <string.h> + #include <time.h> ++#ifdef HAVE_STDINT_H ++ #include <stdint.h> ++#endif ++#ifdef HAVE_INTTYPES_H ++ #include <inttypes.h> ++#endif + #include <curl/curl.h> + #include <curl/multi.h> + #include <uriparser/Uri.h> +Index: mulk-0.6.0/lib/m_malloc.c +=================================================================== +--- mulk-0.6.0.orig/lib/m_malloc.c ++++ mulk-0.6.0/lib/m_malloc.c +@@ -34,10 +34,6 @@ + + #ifdef MULKDEBUG + +-#ifdef HAVE_STDINT_H +-#include <stdint.h> /* for uint32_t */ +-#endif +- + #define HASH_TABLE_SIZE 131072 /* 2^17, use always power of 2 */ + #define HASH_CHUNK_SIZE 2048 + #define INC_INDEX(i) i = ((i == HASH_TABLE_SIZE-1) ? 0 : i+1) diff --git a/net-misc/mulk/mulk-0.6.0.ebuild b/net-misc/mulk/mulk-0.6.0.ebuild new file mode 100644 index 000000000000..af8c80b6d579 --- /dev/null +++ b/net-misc/mulk/mulk-0.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit base + +MY_PV=${PV/_beta/} +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Download agent similar to wget/curl" +HOMEPAGE="http://mulk.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="checksum debug metalink" + +DEPEND="net-misc/curl + app-text/htmltidy + dev-libs/uriparser + metalink? ( + media-libs/libmetalink + checksum? ( dev-libs/openssl ) + )" + +REQUIRED_USE="checksum? ( metalink )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${P}-large-file.patch +) + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable metalink) \ + $(use metalink && use checksum && echo --enable-checksum) +} |