From b50bc0f262fc29c3f0842b2154cfc37f6664a471 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 7 Jun 2004 22:15:33 +0000 Subject: src_postinst() -> pkg_postinst(); IUSE; tidy --- net-irc/cyclone/ChangeLog | 5 ++++- net-irc/cyclone/Manifest | 4 ++-- net-irc/cyclone/cyclone-0.3.1.1.ebuild | 37 ++++++++++++++-------------------- 3 files changed, 21 insertions(+), 25 deletions(-) (limited to 'net-irc/cyclone') diff --git a/net-irc/cyclone/ChangeLog b/net-irc/cyclone/ChangeLog index 25b1c6385a3b..f001499c2745 100644 --- a/net-irc/cyclone/ChangeLog +++ b/net-irc/cyclone/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/cyclone # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/cyclone/ChangeLog,v 1.6 2004/05/29 16:16:27 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/cyclone/ChangeLog,v 1.7 2004/06/07 22:15:33 mr_bones_ Exp $ + + 07 Jun 2004; Michael Sterrett cyclone-0.3.1.1.ebuild: + src_postinst() -> pkg_postinst(); IUSE; tidy 29 May 2004; Pieter Van den Abeele cyclone-0.3.1.1.ebuild: diff --git a/net-irc/cyclone/Manifest b/net-irc/cyclone/Manifest index 1ac78ee9e4e9..98ed59214702 100644 --- a/net-irc/cyclone/Manifest +++ b/net-irc/cyclone/Manifest @@ -1,5 +1,5 @@ -MD5 8d032c48e8c8eb2fa652ce43ea7c0068 ChangeLog 786 -MD5 d61e323da0adecd0057217b3ea5aea6f cyclone-0.3.1.1.ebuild 3803 +MD5 1926cc6ed2f44ca4399a5e62606f8ed8 ChangeLog 913 +MD5 b3bd3495c39e2c984973daa5273f91a4 cyclone-0.3.1.1.ebuild 3790 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 MD5 0bd50ab68ee1e3e2d0135f402bece427 files/digest-cyclone-0.3.1.1 67 MD5 1e39d487d36b4205327d85f126b9831c files/res_init.c 6485 diff --git a/net-irc/cyclone/cyclone-0.3.1.1.ebuild b/net-irc/cyclone/cyclone-0.3.1.1.ebuild index adde3e4e5175..f22c3e563750 100644 --- a/net-irc/cyclone/cyclone-0.3.1.1.ebuild +++ b/net-irc/cyclone/cyclone-0.3.1.1.ebuild @@ -1,25 +1,24 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/cyclone/cyclone-0.3.1.1.ebuild,v 1.12 2004/05/29 16:16:27 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/cyclone/cyclone-0.3.1.1.ebuild,v 1.13 2004/06/07 22:15:33 mr_bones_ Exp $ -S=${WORKDIR}/${P} DESCRIPTION="IRC daemon with hostname cloaking, SOCKS proxy checking and other advanced features" -SRC_URI="ftp://ftp.slashnet.org/pub/cyclone/server/${P}.tar.gz" HOMEPAGE="http://www.slashnet.org" +SRC_URI="ftp://ftp.slashnet.org/pub/cyclone/server/${P}.tar.gz" + +LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc" -LICENSE="GPL-2" +IUSE="" + DEPEND="virtual/glibc" src_unpack() { - unpack ${P}.tar.gz cp ${FILESDIR}/res_init.c ${S}/src - } src_compile() { - # Server administrators are encouraged to customize the following # variables if actually deploying cyclone in an IRC network. Upon # merging of this package a config file is created in /etc/cyclone @@ -86,11 +85,9 @@ END_OF_CONFIG # compile it emake RES="res_init.o" || die - } -src_install () { - +src_install() { # store generated .config file dodir /etc/cyclone cp ${S}/.config ${D}/etc/cyclone/config @@ -103,7 +100,7 @@ src_install () { mv ${D}/usr/bin/ircd ${D}/usr/bin/cyclone-ircd # documentation files - dodoc AUTHORS ChangeLog COPYING INSTALL README doc/oper.txt + dodoc AUTHORS ChangeLog INSTALL README doc/oper.txt dodoc doc/NOTICE doc/rfc* doc/Crule.readme doc/cyclone.gif doc/Operators # install sample configuration file @@ -117,20 +114,16 @@ src_install () { chmod 755 ${D}/etc/cyclone/chkconf ${D}/etc/cyclone/encrypt chmod 644 ${D}/etc/cyclone/example.conf ${D}/etc/cyclone/ircd.motd chmod 600 ${D}/etc/cyclone/ircd.conf ${D}/etc/cyclone/config - } - -src_postinst() -{ - - einfo Please read the documentation. The default /etc/cyclone/ircd.conf - einfo will need to be edited and file permissions changed so only root - einfo and the account under which the ircd will run can read the plaintext - einfo passwords stored in that file. +pkg_postinst() { + einfo "Please read the documentation. The default /etc/cyclone/ircd.conf" + einfo "will need to be edited and file permissions changed so only root" + einfo "and the account under which the ircd will run can read the plaintext" + einfo "passwords stored in that file." einfo - einfo Failure to modify the ircd.conf will result in cyclone-ircd - einfo quietly refusing to run. Read the documentation and config file. + einfo "Failure to modify the ircd.conf will result in cyclone-ircd" + einfo "quietly refusing to run. Read the documentation and config file." } -- cgit v1.2.3-65-gdbad