summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-07-27 17:27:18 +0000
committerSven Wegener <swegener@gentoo.org>2004-07-27 17:27:18 +0000
commitad8e765f8148308f457c831258669bd65607cdaf (patch)
tree4f015e8ab72b214445f2cfd78feff2cc02cee555 /net-irc/iip
parentFixes src/pkg typo (Manifest recommit) (diff)
downloadgentoo-2-ad8e765f8148308f457c831258669bd65607cdaf.tar.gz
gentoo-2-ad8e765f8148308f457c831258669bd65607cdaf.tar.bz2
gentoo-2-ad8e765f8148308f457c831258669bd65607cdaf.zip
Removed the enewuser command in src_install for bug #58526. The created user isn't used later on. Made iip-1.1.0 CFLAGS aware. Added dev-lang/perl to build time dependencies for 1.2.0 as pod2man is needed to create the man page.
Diffstat (limited to 'net-irc/iip')
-rw-r--r--net-irc/iip/ChangeLog8
-rw-r--r--net-irc/iip/iip-1.1.0.ebuild40
-rw-r--r--net-irc/iip/iip-1.2.ebuild37
3 files changed, 45 insertions, 40 deletions
diff --git a/net-irc/iip/ChangeLog b/net-irc/iip/ChangeLog
index b0f23974a4d3..5ea1213e9213 100644
--- a/net-irc/iip/ChangeLog
+++ b/net-irc/iip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/iip
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/ChangeLog,v 1.8 2004/07/01 22:21:21 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/ChangeLog,v 1.9 2004/07/27 17:27:18 swegener Exp $
+
+ 27 Jul 2004; Sven Wegener <swegener@gentoo.org> iip-1.1.0.ebuild,
+ iip-1.2.ebuild:
+ Removed the enewuser command in src_install for bug #58526. The created user
+ isn't used later on. Made iip-1.1.0 CFLAGS aware. Added dev-lang/perl to build
+ time dependencies for 1.2.0 as pod2man is needed to create the man page.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> iip-1.1.0.ebuild,
iip-1.2.ebuild:
diff --git a/net-irc/iip/iip-1.1.0.ebuild b/net-irc/iip/iip-1.1.0.ebuild
index 08b15b5ae75a..8a7b29d723cb 100644
--- a/net-irc/iip/iip-1.1.0.ebuild
+++ b/net-irc/iip/iip-1.1.0.ebuild
@@ -1,11 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.1.0.ebuild,v 1.6 2004/07/01 22:21:21 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.1.0.ebuild,v 1.7 2004/07/27 17:27:18 swegener Exp $
-inherit eutils
-
-S="${WORKDIR}/${P}/src"
-DESCRIPTION="Proxy server for encrypted anonymous irc-like network"
+DESCRIPTION="Proxy server for encrypted anonymous IRC-like network"
HOMEPAGE="http://www.invisiblenet.net/iip/"
SRC_URI="mirror://sourceforge/invisibleip/${P}.tgz"
LICENSE="GPL-2"
@@ -13,21 +10,32 @@ SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
-DEPEND="virtual/libc"
-RDEPEND=""
+S="${WORKDIR}/${P}/src"
+
+RDEPEND="virtual/libc"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e "s/-g -Wall -O2/${CFLAGS}/" ${S}/Makefile || die "sed failed"
+}
src_compile() {
- emake || die
+ emake || die "emake failed"
}
src_install() {
- ehome=/home/iip
- enewuser iip
- dodir /usr/man/man1
- dodir /usr/bin
- dodir /usr/share/iip
- make PREFIX=${D}usr INSTALLFILEPATH=${D}usr/share/iip/ install || die
+ dodir /usr/bin /usr/share/man/man1
+
+ make \
+ PREFIX=${D}/usr \
+ INSTALLMANDST=${D}/usr/share/man/man1/ \
+ INSTALLFILEPATH=${D}/usr/share/iip/ \
+ INSTALLUSER=root \
+ install || die "make install failed"
+
cd ${WORKDIR}/${P}
- dodoc AUTHORS CHANGELOG COPYING INSTALL README
+ dodoc AUTHORS CHANGELOG README
}
-
diff --git a/net-irc/iip/iip-1.2.ebuild b/net-irc/iip/iip-1.2.ebuild
index 717883d1a4ce..f86147e2924d 100644
--- a/net-irc/iip/iip-1.2.ebuild
+++ b/net-irc/iip/iip-1.2.ebuild
@@ -1,12 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.2.ebuild,v 1.7 2004/07/01 22:21:21 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.2.ebuild,v 1.8 2004/07/27 17:27:18 swegener Exp $
-inherit eutils
+MY_P="${P}-dev1"
-MY_P="iip-1.2-dev1"
-
-DESCRIPTION="Proxy server for encrypted anonymous irc-like network"
+DESCRIPTION="Proxy server for encrypted anonymous IRC-like network"
HOMEPAGE="http://www.invisiblenet.net/iip/"
SRC_URI="mirror://sourceforge/invisibleip/${MY_P}.tar.bz2"
LICENSE="GPL-2"
@@ -14,32 +12,25 @@ SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
-DEPEND="virtual/libc
- dev-libs/openssl
- >=sys-apps/sed-4"
-RDEPEND=""
+RDEPEND="virtual/libc
+ dev-libs/openssl"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ >=sys-apps/sed-4"
S="${WORKDIR}/${MY_P}"
src_compile() {
- econf || die
+ econf || die "econf failed"
sed -i \
- -e "s:-Werror::" ${S}/src/Makefile || \
- die "sed Makefile failed"
+ -e "s:-Werror::" ${S}/src/Makefile || \
+ die "sed Makefile failed"
- emake || die
+ emake || die "emake failed"
}
src_install() {
- ehome=/home/iip
- enewuser iip
- dodir /usr/man/man1
- dodir /usr/bin
- dodir /usr/share/iip
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man install || die
- dodoc AUTHORS CHANGELOG COPYING INSTALL README
-
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS README
}
-