summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/mulk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/mulk')
-rw-r--r--net-misc/mulk/Manifest2
-rw-r--r--net-misc/mulk/files/mulk-0.6.0-large-file.patch32
-rw-r--r--net-misc/mulk/metadata.xml15
-rw-r--r--net-misc/mulk/mulk-0.6.0.ebuild44
-rw-r--r--net-misc/mulk/mulk-0.7.0.ebuild40
5 files changed, 133 insertions, 0 deletions
diff --git a/net-misc/mulk/Manifest b/net-misc/mulk/Manifest
new file mode 100644
index 000000000000..f52209a6a6bc
--- /dev/null
+++ b/net-misc/mulk/Manifest
@@ -0,0 +1,2 @@
+DIST mulk-0.6.0.tar.gz 459141 SHA256 c2afee9c510cf9e56a92d911879f0c7f55fca1f9e5fe9615a39e5a71fca64312 SHA512 9e42add34305b071ac5132c645be75d3666e2a47b6b3a7c7eb46b1fbc130db85bccdd31dd54586b20c4d3629f000219c630511d6f2a59d241d60afce2cfeee37 WHIRLPOOL 50917be333c770c839dfc85a08a91f16eefb57bfa99ae3e951c0541d13c55df6b238d7b433c5ff26ef6c473f5c39762d8481548b53367fdff0d960ce9d4413ce
+DIST mulk-0.7.0.tar.gz 487995 SHA256 aca61867fc0b93ebcd8a564c57394b97dabed2f9973835933f88c137defcdd1e SHA512 e1c6cf14b0ee2e42d83c8ad33d011feec9eb192ea4f8495cc67926db934d7ac132dfea66e40c47844965321573bd5b0734e4b19fe34c97c38170ee0cf4643499 WHIRLPOOL a31975155e20470dfc670e64cc552f1456d4f6a75bc3986d76c8e5d1f1fd6f06fccea42d9d57bff809b7b226dfc752d743265d925e02d58e2bb2c9da1b0d6ff5
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/metadata.xml b/net-misc/mulk/metadata.xml
new file mode 100644
index 000000000000..e6a7a27838a9
--- /dev/null
+++ b/net-misc/mulk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <use>
+ <flag name="checksum">Enable checksum verification for Metalink from <pkg>dev-libs/openssl</pkg></flag>
+ <flag name="metalink">Enable support for <pkg>media-libs/libmetalink</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">mulk</remote-id>
+ </upstream>
+</pkgmetadata>
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..545c6088e812
--- /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
+# $Id$
+
+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)
+}
diff --git a/net-misc/mulk/mulk-0.7.0.ebuild b/net-misc/mulk/mulk-0.7.0.ebuild
new file mode 100644
index 000000000000..ba5d01d4c697
--- /dev/null
+++ b/net-misc/mulk/mulk-0.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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}"
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable metalink) \
+ $(use metalink && use checksum && echo --enable-checksum)
+}