summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-10-18 16:20:04 +0000
committerSven Wegener <swegener@gentoo.org>2004-10-18 16:20:04 +0000
commit252773676584327b2790963816047442065aa8ee (patch)
tree85670fe6f50794b12076fcbcd260d5f58f048a70 /net-irc/ptlink-services
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-252773676584327b2790963816047442065aa8ee.tar.gz
gentoo-2-252773676584327b2790963816047442065aa8ee.tar.bz2
gentoo-2-252773676584327b2790963816047442065aa8ee.zip
Version bump.
Diffstat (limited to 'net-irc/ptlink-services')
-rw-r--r--net-irc/ptlink-services/ChangeLog8
-rw-r--r--net-irc/ptlink-services/Manifest2
-rw-r--r--net-irc/ptlink-services/files/digest-ptlink-services-2.25.11
-rw-r--r--net-irc/ptlink-services/ptlink-services-2.25.1.ebuild72
4 files changed, 82 insertions, 1 deletions
diff --git a/net-irc/ptlink-services/ChangeLog b/net-irc/ptlink-services/ChangeLog
index 1653d2916f2c..025415108e75 100644
--- a/net-irc/ptlink-services/ChangeLog
+++ b/net-irc/ptlink-services/ChangeLog
@@ -1,6 +1,12 @@
# 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.3 2004/07/17 10:00:57 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-services/ChangeLog,v 1.4 2004/10/18 16:20:04 swegener Exp $
+
+*ptlink-services-2.25.1 (18 Oct 2004)
+
+ 18 Oct 2004; Sven Wegener <swegener@gentoo.org>
+ +ptlink-services-2.25.1.ebuild:
+ Version bump.
17 Jul 2004; David Holm <dholm@gentoo.org> ptlink-services-2.24.1.ebuild:
Added to ~ppc.
diff --git a/net-irc/ptlink-services/Manifest b/net-irc/ptlink-services/Manifest
index c35350502346..fe0146cdc88e 100644
--- a/net-irc/ptlink-services/Manifest
+++ b/net-irc/ptlink-services/Manifest
@@ -1,6 +1,8 @@
MD5 2a0e155ad9930e51122102866f240e25 ChangeLog 671
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 25384225dd65e9c39f9fa12825fb35a7 ptlink-services-2.24.1.ebuild 1952
+MD5 d3e1bca2809415add47d774239a3c7fc ptlink-services-2.25.1.ebuild 1953
MD5 1781889575de92eacb29dd5d2e58cfe1 files/digest-ptlink-services-2.24.1 73
MD5 6292e2ff1036f5e444ff2285313e0303 files/ptlink-services.conf.d 308
MD5 c6208b2429d4184be4ebc50272f7853a files/ptlink-services.init.d 581
+MD5 3585e53e707b0ab0a38b56eda84c4fe1 files/digest-ptlink-services-2.25.1 73
diff --git a/net-irc/ptlink-services/files/digest-ptlink-services-2.25.1 b/net-irc/ptlink-services/files/digest-ptlink-services-2.25.1
new file mode 100644
index 000000000000..6a4ca99fa828
--- /dev/null
+++ b/net-irc/ptlink-services/files/digest-ptlink-services-2.25.1
@@ -0,0 +1 @@
+MD5 59df68440f40c7ef0e40090048fc7775 PTlink.Services2.25.1.tar.gz 519725
diff --git a/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild b/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild
new file mode 100644
index 000000000000..db82e38f6d06
--- /dev/null
+++ b/net-irc/ptlink-services/ptlink-services-2.25.1.ebuild
@@ -0,0 +1,72 @@
+# 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 $
+
+inherit fixheadtails eutils
+
+MY_P="PTlink.Services${PV}"
+
+DESCRIPTION="PTlink Services"
+HOMEPAGE="http://www.ptlink.net/"
+SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/services2/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="mysql"
+
+DEPEND="mysql? ( dev-db/mysql )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ ht_fix_file configure
+
+ find ${S} -type d -name CVS -exec rm -rf {} \; 2>/dev/null
+}
+
+src_compile() {
+ econf || die "econf failed"
+
+ # Now we're going to override the paths setup by configure
+ echo "#define BINPATH \"/usr/bin\"" > include/path.h
+ echo "#define ETCPATH \"/etc/ptlink-services\"" >> include/path.h
+ echo "#define DATAPATH \"/var/lib/ptlink-services\"" >> include/path.h
+
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+ emake -C src/lang CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ newbin src/services ptlink-services
+
+ 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
+ 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
+
+ dohtml html_manual/*
+ dodoc CHANGES FAQ FEATURES README
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ptlink-services.init.d ptlink-services
+ insinto /etc/conf.d
+ newins ${FILESDIR}/ptlink-services.conf.d ptlink-services
+}
+
+pkg_postinst() {
+ enewuser ptlink-services
+ chown ptlink-services ${ROOT}/var/{log,lib}/ptlink-services
+}