summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-03-07 10:30:35 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-03-07 10:30:35 +0000
commitb6ab867b8a1ae997f6b800874e831f3dcb6f57d7 (patch)
tree27c8e9a8055c13ab9092507a179ad72012574465 /net-irc/cgiirc
parentversion bump wrt security #212288 (diff)
downloadgentoo-2-b6ab867b8a1ae997f6b800874e831f3dcb6f57d7.tar.gz
gentoo-2-b6ab867b8a1ae997f6b800874e831f3dcb6f57d7.tar.bz2
gentoo-2-b6ab867b8a1ae997f6b800874e831f3dcb6f57d7.zip
fix #212396; ebuild cleanup wrt #208584
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-irc/cgiirc')
-rw-r--r--net-irc/cgiirc/ChangeLog8
-rw-r--r--net-irc/cgiirc/cgiirc-0.5.9.ebuild32
-rw-r--r--net-irc/cgiirc/metadata.xml6
3 files changed, 24 insertions, 22 deletions
diff --git a/net-irc/cgiirc/ChangeLog b/net-irc/cgiirc/ChangeLog
index 71ffea84a8ed..3f134793e77d 100644
--- a/net-irc/cgiirc/ChangeLog
+++ b/net-irc/cgiirc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/cgiirc
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/ChangeLog,v 1.11 2006/10/04 04:07:30 rl03 Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/ChangeLog,v 1.12 2008/03/07 10:30:35 hollow Exp $
+
+ 07 Mar 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
+ cgiirc-0.5.9.ebuild:
+ fix #212396; ebuild cleanup wrt #208584
*cgiirc-0.5.9 (04 Oct 2006)
diff --git a/net-irc/cgiirc/cgiirc-0.5.9.ebuild b/net-irc/cgiirc/cgiirc-0.5.9.ebuild
index 8d4b2d8035bc..0ff41c8f5f43 100644
--- a/net-irc/cgiirc/cgiirc-0.5.9.ebuild
+++ b/net-irc/cgiirc/cgiirc-0.5.9.ebuild
@@ -1,22 +1,27 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/cgiirc-0.5.9.ebuild,v 1.1 2006/10/04 04:07:30 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/cgiirc-0.5.9.ebuild,v 1.2 2008/03/07 10:30:35 hollow Exp $
-IUSE=""
-
-inherit webapp
+inherit webapp eutils
DESCRIPTION="A perl/CGI program to use IRC from a web browser"
HOMEPAGE="http://cgiirc.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
-src_unpack() {
+pkg_setup() {
+ webapp_pkg_setup
elog "Note that file locations have changed."
elog "CGI:IRC will be installed into cgi-bin/${P}"
+}
+
+src_unpack() {
unpack ${A}
- find ${S} -name .cvsignore -exec rm {} \;
+ cd "${S}"
+ ecvs_clean
}
src_install() {
@@ -26,15 +31,12 @@ src_install() {
dodoc docs/{CHANGES,TODO} ${docs}
dohtml docs/help.html
+ rm -rf docs/ ${docs}
- dodir ${MY_CGIBINDIR}/${P}
-
- cp -R . ${D}/${MY_CGIBINDIR}/${P}
-
- cd ${D}/${MY_CGIBINDIR}/${P}
- rm -rf docs ${docs}
-
- webapp_configfile ${MY_CGIBINDIR}/${P}/cgiirc.config
+ insinto "${MY_CGIBINDIR}"/${P}
+ doins -r .
+ fperms +x "${MY_CGIBINDIR}"/${P}/irc.cgi
+ webapp_configfile "${MY_CGIBINDIR}"/${P}/cgiirc.config
webapp_src_install
}
diff --git a/net-irc/cgiirc/metadata.xml b/net-irc/cgiirc/metadata.xml
index 13bc126c7d91..6632069b5aff 100644
--- a/net-irc/cgiirc/metadata.xml
+++ b/net-irc/cgiirc/metadata.xml
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>web-apps</herd>
-<maintainer>
-<email>web-apps@gentoo.org</email>
-<name>Gentoo Web Application Packages Maintainers</name>
-</maintainer>
+ <herd>web-apps</herd>
</pkgmetadata>