summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2007-11-05 02:50:21 +0000
committerMike Pagano <mpagano@gentoo.org>2007-11-05 02:50:21 +0000
commit1a92c0c994315d1c841c1c87806782d43ac61f97 (patch)
treef2124a09cec59447c53a139443b87c73457b233b
parentAdd sparc and ppc binaries. Also fix some var quoting QA warnings. (diff)
downloadgentoo-2-1a92c0c994315d1c841c1c87806782d43ac61f97.tar.gz
gentoo-2-1a92c0c994315d1c841c1c87806782d43ac61f97.tar.bz2
gentoo-2-1a92c0c994315d1c841c1c87806782d43ac61f97.zip
Added myself as maintainer, version bumps for 2.4 and 2.6 kernel documentation.
(Portage version: 2.1.3.16)
-rw-r--r--sys-kernel/linux-docs/ChangeLog5
-rw-r--r--sys-kernel/linux-docs/files/digest-linux-docs-2.4.35.33
-rw-r--r--sys-kernel/linux-docs/files/digest-linux-docs-2.6.23.13
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.4.35.3.ebuild54
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.6.23.1.ebuild57
-rw-r--r--sys-kernel/linux-docs/metadata.xml3
6 files changed, 124 insertions, 1 deletions
diff --git a/sys-kernel/linux-docs/ChangeLog b/sys-kernel/linux-docs/ChangeLog
index 4c99723c965e..28d84bc80dbf 100644
--- a/sys-kernel/linux-docs/ChangeLog
+++ b/sys-kernel/linux-docs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-kernel/linux-docs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.13 2007/11/04 10:35:10 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.14 2007/11/05 02:50:20 mpagano Exp $
+
+ 05 Nov 2007; Michael Pagano <mpagano@gentoo.org> ChangeLog:
+ Added myself as maintainer, version bumps for 2.4 and 2.6 kernel documentation.
04 Nov 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing myself as the maintainer.
diff --git a/sys-kernel/linux-docs/files/digest-linux-docs-2.4.35.3 b/sys-kernel/linux-docs/files/digest-linux-docs-2.4.35.3
new file mode 100644
index 000000000000..687c3016e54f
--- /dev/null
+++ b/sys-kernel/linux-docs/files/digest-linux-docs-2.4.35.3
@@ -0,0 +1,3 @@
+MD5 c3ea022d300b746327149ea5541909b5 linux-2.4.35.3.tar.bz2 31099113
+RMD160 84b0c75ee6c2498ab2fa371767e47fb931783829 linux-2.4.35.3.tar.bz2 31099113
+SHA256 a5e9ea5ade233860c4e7e8c3536353b965c384128cccada04dda5f00d755cd2a linux-2.4.35.3.tar.bz2 31099113
diff --git a/sys-kernel/linux-docs/files/digest-linux-docs-2.6.23.1 b/sys-kernel/linux-docs/files/digest-linux-docs-2.6.23.1
new file mode 100644
index 000000000000..2b6d030ad476
--- /dev/null
+++ b/sys-kernel/linux-docs/files/digest-linux-docs-2.6.23.1
@@ -0,0 +1,3 @@
+MD5 518d57e08fdacd88907166a3bfe383b7 linux-2.6.23.1.tar.bz2 45477128
+RMD160 2e552686cec24e462310f1a2e6c03729b3794d64 linux-2.6.23.1.tar.bz2 45477128
+SHA256 35bcba56edf2a24f5d38bac0e530b2ce0e06eb094ba083b4a679c903077a671c linux-2.6.23.1.tar.bz2 45477128
diff --git a/sys-kernel/linux-docs/linux-docs-2.4.35.3.ebuild b/sys-kernel/linux-docs/linux-docs-2.4.35.3.ebuild
new file mode 100644
index 000000000000..ed098b0e3501
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-2.4.35.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.4.35.3.ebuild,v 1.1 2007/11/05 02:50:20 mpagano Exp $
+
+inherit toolchain-funcs
+
+MY_P=linux-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="http://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/kernel/v2.4/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ dev-lang/perl
+ sys-apps/sed
+ html? ( media-gfx/xfig )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:docbook2html \$<:docbook2html -o \$@ \$<:" \
+ "${S}"/Documentation/DocBook/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+
+ make mandocs || die "make mandocs failed"
+
+ if use html; then
+ make htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+
+ doman Documentation/man/*
+
+ if use html; then
+ for file in Documentation/DocBook/*.sgml; do
+ dohtml -r ${file/\.sgml/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/linux-docs-2.6.23.1.ebuild b/sys-kernel/linux-docs/linux-docs-2.6.23.1.ebuild
new file mode 100644
index 000000000000..47715e94d6ec
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-2.6.23.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.6.23.1.ebuild,v 1.1 2007/11/05 02:50:20 mpagano Exp $
+
+inherit toolchain-funcs
+
+MY_P=linux-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="http://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ app-text/xmlto
+ sys-apps/sed
+ ~app-text/docbook-xml-dtd-4.1.2"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:/usr/local/man:${D}/usr/share/man:g" \
+ "${S}"/Documentation/DocBook/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make mandocs || die "make mandocs failed"
+
+ if use html; then
+ make htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make installmandocs || die "make installmandocs failed"
+
+ if use html; then
+ for file in Documentation/DocBook/*.html; do
+ dohtml -r ${file/\.html/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/metadata.xml b/sys-kernel/linux-docs/metadata.xml
index 2b5de19fe275..1220578197ab 100644
--- a/sys-kernel/linux-docs/metadata.xml
+++ b/sys-kernel/linux-docs/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kernel-misc</herd>
+ <maintainer>
+ <email>mpagano@gentoo.org</email>
+ </maintainer>
</pkgmetadata>