summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-11-21 23:22:10 +0000
committerSven Wegener <swegener@gentoo.org>2004-11-21 23:22:10 +0000
commit5b699d196a5462eee08bc232871fd5dbaf50f974 (patch)
treeb999deb3a1a4592ce850f5d56cd5d5c0b17326f7 /net-irc
parentAdded a patch to the configure script to honor the arts use flag. Fixes bug #... (diff)
downloadgentoo-2-5b699d196a5462eee08bc232871fd5dbaf50f974.tar.gz
gentoo-2-5b699d196a5462eee08bc232871fd5dbaf50f974.tar.bz2
gentoo-2-5b699d196a5462eee08bc232871fd5dbaf50f974.zip
Fixed MySQL support. Modified to install domain.def. Thanks to Daniel 'Fremen' Llewellyn <daniel@mainframe.ath.cx> in bug #71961.
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/ptlink-services/ChangeLog7
-rw-r--r--net-irc/ptlink-services/ptlink-services-2.25.1.ebuild26
2 files changed, 18 insertions, 15 deletions
diff --git a/net-irc/ptlink-services/ChangeLog b/net-irc/ptlink-services/ChangeLog
index f98ff042e6b3..5de1027c2190 100644
--- a/net-irc/ptlink-services/ChangeLog
+++ b/net-irc/ptlink-services/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/ptlink-services
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-services/ChangeLog,v 1.5 2004/11/14 15:42:58 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-services/ChangeLog,v 1.6 2004/11/21 23:22:10 swegener Exp $
+
+ 22 Nov 2004; Sven Wegener <swegener@gentoo.org>
+ ptlink-services-2.25.1.ebuild:
+ Fixed MySQL support. Modified to install domain.def. Thanks to Daniel
+ 'Fremen' Llewellyn <daniel@mainframe.ath.cx> in bug #71961.
14 Nov 2004; Sven Wegener <swegener@gentoo.org>
-ptlink-services-2.24.1.ebuild:
diff --git a/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild b/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild
index db82e38f6d06..9d29ff3712d1 100644
--- a/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild
+++ b/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild,v 1.1 2004/10/18 16:20:04 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild,v 1.2 2004/11/21 23:22:10 swegener Exp $
inherit fixheadtails eutils
@@ -28,7 +28,7 @@ src_unpack() {
}
src_compile() {
- econf || die "econf failed"
+ econf $(use_with mysql) || die "econf failed"
# Now we're going to override the paths setup by configure
echo "#define BINPATH \"/usr/bin\"" > include/path.h
@@ -40,30 +40,28 @@ src_compile() {
}
src_install() {
- newbin src/services ptlink-services
+ newbin src/services ptlink-services || die "newbin failed"
keepdir /var/{lib,log}/ptlink-services
dosym /var/log/ptlink-services /var/lib/ptlink-services/logs
insinto /usr/share/ptlink-services/languages
for file in src/lang/*.l ; do
- doins src/lang/$(basename ${file} .l)
- doins src/lang/$(basename ${file} .l).auth
- doins src/lang/$(basename ${file} .l).setemail
+ doins src/lang/$(basename ${file} .l) || die "doins failed"
+ doins src/lang/$(basename ${file} .l).auth || die "doins failed"
+ doins src/lang/$(basename ${file} .l).setemail || die "doins failed"
done
dosym /usr/share/ptlink-services/languages /var/lib/ptlink-services
insinto /etc/ptlink-services
- newins data/example.conf services.conf
- doins data/create_tables.sql
+ newins data/example.conf services.conf || die "newins failed"
+ doins data/create_tables.sql data/domain.def || die "doins failed"
- dohtml html_manual/*
- dodoc CHANGES FAQ FEATURES README
+ dohtml html_manual/* || die "dohtml failed"
+ dodoc CHANGES FAQ FEATURES README || die "dodoc failed"
- exeinto /etc/init.d
- newexe ${FILESDIR}/ptlink-services.init.d ptlink-services
- insinto /etc/conf.d
- newins ${FILESDIR}/ptlink-services.conf.d ptlink-services
+ newinitd ${FILESDIR}/ptlink-services.init.d ptlink-services
+ newconfd ${FILESDIR}/ptlink-services.conf.d ptlink-services
}
pkg_postinst() {