diff options
author | Tom William Payne <twp@gentoo.org> | 2004-05-31 12:14:01 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2004-05-31 12:14:01 +0000 |
commit | bc2b36af2c6fc2c499cb72c78da65bd3bf127ad0 (patch) | |
tree | 1c96b9efab146c5a1eafeeaef6603ef647500b34 /app-text/man2html | |
parent | app-text/man2html blocking on bug # 52544 (diff) | |
download | gentoo-2-bc2b36af2c6fc2c499cb72c78da65bd3bf127ad0.tar.gz gentoo-2-bc2b36af2c6fc2c499cb72c78da65bd3bf127ad0.tar.bz2 gentoo-2-bc2b36af2c6fc2c499cb72c78da65bd3bf127ad0.zip |
Patch to use webapp eclass, thanks Rob Kruus. Bug # 52119, masked in package.mask pending bug # 52544.
Diffstat (limited to 'app-text/man2html')
-rw-r--r-- | app-text/man2html/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/man2html/Manifest | 3 | ||||
-rw-r--r-- | app-text/man2html/files/digest-man2html-1.5l-r2 | 1 | ||||
-rw-r--r-- | app-text/man2html/files/mansec.patch | 12 | ||||
-rw-r--r-- | app-text/man2html/man2html-1.5l-r2.ebuild | 55 |
5 files changed, 78 insertions, 1 deletions
diff --git a/app-text/man2html/ChangeLog b/app-text/man2html/ChangeLog index a46a3370f865..717d253cc968 100644 --- a/app-text/man2html/ChangeLog +++ b/app-text/man2html/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/man2html # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/man2html/ChangeLog,v 1.6 2004/02/29 18:10:25 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/man2html/ChangeLog,v 1.7 2004/05/31 12:14:01 twp Exp $ + +*man2html-1.5l-r2 (31 May 2004) + + 31 May 2004; twp +files/mansec.patch, +man2html-1.5l-r2.ebuild: + Patch to use webapp eclass, thanks Rob Kruus. Bug # 52119, masked in + package.mask pending bug # 52544. 20 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> man2html-1.5l-r1.ebuild, man2html-1.5l.ebuild: diff --git a/app-text/man2html/Manifest b/app-text/man2html/Manifest index 5c37a405135b..ade999a32d71 100644 --- a/app-text/man2html/Manifest +++ b/app-text/man2html/Manifest @@ -1,3 +1,4 @@ +MD5 98e58c4e4f2961ee7929ae2b1b8c48fe man2html-1.5l-r2.ebuild 1527 MD5 3dc31c825eaa6e8f4dbe2c6a1d06c23a man2html-1.5l.ebuild 1554 MD5 b61b93af952603696ec54883122985de man2html-1.5l-r1.ebuild 1822 MD5 2db1b1dd0f8c88dcd85c8db01ad164aa ChangeLog 872 @@ -6,4 +7,6 @@ MD5 a63bfea0511bb4ea9292d63dc11348b3 files/digest-man2html-1.5l 60 MD5 56100920b7436cf90ed14c82d9d6475e files/manwhatis-gentoo.patch 638 MD5 8907539a119c6fcb706af01a90e6923f files/man2html.cron 120 MD5 cc4443b206a96b25c569d6fb800f717d files/mansearch-gentoo.patch 686 +MD5 1f9c3d195ff74e7f73229d5024179273 files/mansec.patch 639 MD5 a63bfea0511bb4ea9292d63dc11348b3 files/digest-man2html-1.5l-r1 60 +MD5 a63bfea0511bb4ea9292d63dc11348b3 files/digest-man2html-1.5l-r2 60 diff --git a/app-text/man2html/files/digest-man2html-1.5l-r2 b/app-text/man2html/files/digest-man2html-1.5l-r2 new file mode 100644 index 000000000000..1d4a35da11da --- /dev/null +++ b/app-text/man2html/files/digest-man2html-1.5l-r2 @@ -0,0 +1 @@ +MD5 07fa5ab41c39afcd59cdef5139ef563b man-1.5l.tar.gz 218249 diff --git a/app-text/man2html/files/mansec.patch b/app-text/man2html/files/mansec.patch new file mode 100644 index 000000000000..ccea96a4562c --- /dev/null +++ b/app-text/man2html/files/mansec.patch @@ -0,0 +1,12 @@ +--- man2html/scripts/cgi-bin/man/mansec 2002-07-17 10:20:20.000000000 -0400 ++++ man2html/scripts/cgi-bin/man/mansec.new 2004-05-26 14:29:56.396967256 -0400 +@@ -117,7 +117,8 @@ + print "<p>Manual pages found under " man_path "." > cache_tmp; + + # Find any man[1-8]/filenames +- while (("find " man_path " -follow -type f -printf '%f\n' | sort -f " | getline manpage) > 0) { ++ find_cmd = "find " man_path " -follow -type f -printf '%f\n' | sort -f | uniq " ; ++ while ((find_cmd | getline manpage) > 0) { + # Check for new letter of alphabet + letter = tolower(substr(manpage,1,1)); + if (letter != last_letter) { diff --git a/app-text/man2html/man2html-1.5l-r2.ebuild b/app-text/man2html/man2html-1.5l-r2.ebuild new file mode 100644 index 000000000000..6701100d6dbe --- /dev/null +++ b/app-text/man2html/man2html-1.5l-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/man2html/man2html-1.5l-r2.ebuild,v 1.1 2004/05/31 12:14:01 twp Exp $ + +inherit eutils webapp + +DESCRIPTION="Convert manual pages to HTML" +HOMEPAGE="http://freshmeat.net/projects/man/" +SRC_URI="mirror://kernel/linux/utils/man/man-${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~sparc ~x86 ~ia64" + +DEPEND="app-misc/glimpse + sys-apps/gawk + sys-apps/man" + +S=${WORKDIR}/man-${PV} + +pkg_setup() { + webapp_pkg_setup + einfo "Installing into ${MY_HOSTROOTDIR}" +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/mansearch-gentoo.patch + epatch ${FILESDIR}/manwhatis-gentoo.patch + epatch ${FILESDIR}/mansec.patch + find man2html -type f | xargs sed -i -e "s:/home/httpd/htdocs/:/var/www/localhost/:g" + find man2html -type f | xargs sed -i -e "s:/home/httpd/cgi-bin/:/var/www/localhost/cgi-bin/man:g" + find man2html -type f | xargs sed -i -e "s:/home/httpd/cgi-aux/man:/var/www/localhost/cgi-aux/man:g" +} + +src_compile() { + : +} + +src_install() { + webapp_src_preinst + + cd man2html + exeinto ${MY_HOSTROOTDIR}/cgi-bin/man + doexe scripts/cgi-bin/man/* + insinto ${MY_HOSTROOTDIR}/cgi-aux/man + doins scripts/cgi-aux/man/* + insinto /var/man2html + newins glimpse_filters .glimpse_filters + fperms 1777 /var/man2html + exeinto /etc/cron.daily + doexe ${FILESDIR}/man2html.cron + + webapp_src_install +} |