From c58a63483eea8affb49106bf5278dc1a1940ad16 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Sun, 7 Aug 2011 17:38:25 +0000 Subject: Moved from sunrise overlay. Thanks to Sebastian Pipping . Bug #273119 (Portage version: 2.2.0_alpha46/cvs/Linux x86_64) --- net-misc/mulk/ChangeLog | 11 +++++++ net-misc/mulk/files/mulk-0.6.0-large-file.patch | 32 ++++++++++++++++++ net-misc/mulk/metadata.xml | 13 ++++++++ net-misc/mulk/mulk-0.6.0.ebuild | 44 +++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 net-misc/mulk/ChangeLog create mode 100644 net-misc/mulk/files/mulk-0.6.0-large-file.patch create mode 100644 net-misc/mulk/metadata.xml create mode 100644 net-misc/mulk/mulk-0.6.0.ebuild (limited to 'net-misc/mulk') diff --git a/net-misc/mulk/ChangeLog b/net-misc/mulk/ChangeLog new file mode 100644 index 000000000000..f7c141d1cd65 --- /dev/null +++ b/net-misc/mulk/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/mulk +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mulk/ChangeLog,v 1.1 2011/08/07 17:38:25 hwoarang Exp $ + +*mulk-0.6.0 (07 Aug 2011) + + 07 Aug 2011; Markos Chandras +mulk-0.6.0.ebuild, + +files/mulk-0.6.0-large-file.patch, +metadata.xml: + Moved from sunrise overlay. Thanks to Sebastian Pipping . + Bug #273119 + 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 + #include + #include ++#ifdef HAVE_STDINT_H ++ #include ++#endif ++#ifdef HAVE_INTTYPES_H ++ #include ++#endif + #include + #include + #include +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 /* 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/metadata.xml b/net-misc/mulk/metadata.xml new file mode 100644 index 000000000000..c721dc9dccd8 --- /dev/null +++ b/net-misc/mulk/metadata.xml @@ -0,0 +1,13 @@ + + + +no-herd + + hwoarang@@gentoo.org + Markos Chandras + + + Enable checksum verification for Metalink from dev-libs/openssl + Enable support for media-libs/libmetalink + + 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..d5fc605de88e --- /dev/null +++ b/net-misc/mulk/mulk-0.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mulk/mulk-0.6.0.ebuild,v 1.1 2011/08/07 17:38:25 hwoarang Exp $ + +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 ) + )" + +REQUIRE_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) +} -- cgit v1.2.3-65-gdbad