diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-doc/ebookmerge | |
download | gentoo-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 'app-doc/ebookmerge')
-rw-r--r-- | app-doc/ebookmerge/Manifest | 1 | ||||
-rw-r--r-- | app-doc/ebookmerge/ebookmerge-0.9.3-r1.ebuild | 40 | ||||
-rw-r--r-- | app-doc/ebookmerge/ebookmerge-0.9.3.ebuild | 33 | ||||
-rw-r--r-- | app-doc/ebookmerge/files/ebookmerge-0.9.3-updates.patch | 77 | ||||
-rw-r--r-- | app-doc/ebookmerge/metadata.xml | 5 |
5 files changed, 156 insertions, 0 deletions
diff --git a/app-doc/ebookmerge/Manifest b/app-doc/ebookmerge/Manifest new file mode 100644 index 000000000000..fdb5928c8c62 --- /dev/null +++ b/app-doc/ebookmerge/Manifest @@ -0,0 +1 @@ +DIST ebookmerge-0.9.3.bz2 2265 SHA256 c685fb2bf4dcc7535aeb2e36f47341aae35e24fc4068203eca2eaf1587c61963 SHA512 1330620e16527e3742fc1ec02a1410e5c93187b23cb6ca09ea421a29fdc199682539a18e8573c7e24de4a7c4a4c553bce9d454baa26b05aa56cc12a7142c2f5c WHIRLPOOL 23dca2bd45b1320594be12666763ba7c58236315741b8e8c92c473e93c8ab751572c80999f91fca82d96c38ab2eb819baf91a0d76022e190a07837d5945b51c1 diff --git a/app-doc/ebookmerge/ebookmerge-0.9.3-r1.ebuild b/app-doc/ebookmerge/ebookmerge-0.9.3-r1.ebuild new file mode 100644 index 000000000000..b3d13d206307 --- /dev/null +++ b/app-doc/ebookmerge/ebookmerge-0.9.3-r1.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 eutils + +DESCRIPTION="Script to manage eBooks in Gentoo" +HOMEPAGE="http://www.josealberto.org/blog/2005/11/28/ebookmerge/" +SRC_URI="mirror://gentoo/${P}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86" +IUSE="" + +DEPEND="app-shells/bash" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}/${P}-updates.patch" +} + +src_install() { + newbin ${P} ebookmerge.sh +} + +pkg_postinst() { + elog + elog "Need help? Just run:" + elog "ebookmerge.sh -h" + elog + elog "You first must run:" + elog "ebookmerge.sh -r" + elog + elog "Use -m for an alternative mirror." + elog +} diff --git a/app-doc/ebookmerge/ebookmerge-0.9.3.ebuild b/app-doc/ebookmerge/ebookmerge-0.9.3.ebuild new file mode 100644 index 000000000000..765acca9a6c3 --- /dev/null +++ b/app-doc/ebookmerge/ebookmerge-0.9.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="Script to manage eBooks in Gentoo" +HOMEPAGE="http://www.josealberto.org/blog/2005/11/28/ebookmerge/" +SRC_URI="mirror://gentoo/${P}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 arm ia64 ~ppc ~ppc64 s390 sh ~x86" +IUSE="" + +DEPEND="app-shells/bash" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_install() { + newbin ${P} ebookmerge.sh || die +} + +pkg_postinst() { + elog + elog "Need help? Just run:" + elog "ebookmerge.sh -h" + elog + elog "You first must run:" + elog "ebookmerge.sh -r" + elog + elog "Use -m for an alternative mirror." + elog +} diff --git a/app-doc/ebookmerge/files/ebookmerge-0.9.3-updates.patch b/app-doc/ebookmerge/files/ebookmerge-0.9.3-updates.patch new file mode 100644 index 000000000000..6895c8ad584a --- /dev/null +++ b/app-doc/ebookmerge/files/ebookmerge-0.9.3-updates.patch @@ -0,0 +1,77 @@ +--- /usr/portage/distfiles/ebookmerge-0.9.3 2006-10-13 05:08:02.000000000 -0700 ++++ ebookmerge-0.9.3 2011-10-29 18:56:39.000000000 -0700 +@@ -8,9 +8,10 @@ + #----------------------------------------------------------------------- + + NO_ARGS=0 +-EBDIR="$HOME/.devhelp/books" ++EBDIR="$HOME/.local/share/devhelp/books" + DOWNDIR="$PWD" + TMPDIR=$(mktemp -d) ++BASE_URL="http://htmlhelp.googlecode.com/files/" + + # mktemp -d > /tmp/ebookmergetmpdir + # chmod 666 /tmp/ebookmergetmpdir +@@ -126,12 +127,12 @@ + if [ -n "$optl" ] ; then + [ ! -f ${EBDIR}/.urls.ebook ] && eerror "First you must use -r option" && exit 1 + +- cat ${EBDIR}/.urls.ebook | awk 'BEGIN { FS="/" } { print $6}' > ${EBDIR}/.list.ebook ++ cat ${EBDIR}/.urls.ebook | awk 'BEGIN { FS="/" } { print $5}' > ${EBDIR}/.list.ebook + + ls ${EBDIR} > ${EBDIR}/.installed.ebook + NUMBER=$(cat ${EBDIR}/.list.ebook | wc -l) + +- einfo "List of know eBooks :" ++ einfo "List of known eBooks :" + cat ${EBDIR}/.list.ebook + + einfo "Total eBooks : ${BOLD}$NUMBER${NORMAL}" +@@ -141,17 +142,17 @@ + fi + + if [ -n "$optr" ] ; then +- einfo "Dowloading list from http://htmlhelp.berlios.de..." ++ einfo "Dowloading list from ${BASE_URL} ..." + cd ${EBDIR} + + if [ -n "$optn" ] ; then +- wget --no-cache -q ftp://ftp.berlios.de/pub/htmlhelp/ ++ wget --no-cache -q -k ${BASE_URL} + else +- wget -q ftp://ftp.berlios.de/pub/htmlhelp/ ++ wget -q -k ${BASE_URL} + fi +- +- cat index.html | gawk -F\" '{print $2}' | sed -e '1 d' -e '/^[ ]*$/d' -e '/[hc][thl][bmp]$/d' > ${EBDIR}/.urls.ebook +- rm index.html ++ ## below print field is still 2 for google code, with extra grep ++ grep tgz list | grep Download | gawk -F\" '{print $2}' | sed -e '/^[ ]*$/d' -e '/[hc][thl][bmp]$/d' > ${EBDIR}/.urls.ebook ++ rm list + + einfo "Dowloaded. Use ${BOLD}-l${NORMAL} for a list." + fi +@@ -176,9 +177,9 @@ + einfo "Dowloading eBook $optd in $DOWNDIR..." + + if [ -n "$optn" ] ; then +- wget --no-cache -q -c ftp://ftp.berlios.de/pub/htmlhelp/$optd -P$DOWNDIR ++ wget --no-cache -q -c $BASE_URL/$optd -P$DOWNDIR + else +- wget -q -c ftp://ftp.berlios.de/pub/htmlhelp/$optd -P$DOWNDIR ++ wget -q -c $BASE_URL/$optd -P$DOWNDIR + fi + + einfo "Dowloaded." +@@ -207,9 +208,9 @@ + einfo "Dowloading eBook $optd in $TMPDIR..." + + if [ -n "$optn" ] ; then +- wget --no-cache -q -c ftp://ftp.berlios.de/pub/htmlhelp/$opte -P$TMPDIR ++ wget --no-cache -q -c $BASE_URL/$opte -P$TMPDIR + else +- wget -q -c ftp://ftp.berlios.de/pub/htmlhelp/$opte -P$TMPDIR ++ wget -q -c $BASE_URL/$opte -P$TMPDIR + fi + einfo "Dowloaded." + $0 -i ${TMPDIR}/$opte diff --git a/app-doc/ebookmerge/metadata.xml b/app-doc/ebookmerge/metadata.xml new file mode 100644 index 000000000000..fac0ae6714e5 --- /dev/null +++ b/app-doc/ebookmerge/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>app-doc</herd> +</pkgmetadata> |