summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-irc/ptlink-ircd/ChangeLog9
-rw-r--r--net-irc/ptlink-ircd/Manifest14
-rw-r--r--net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.11
-rw-r--r--net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.11
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild76
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild41
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild75
-rw-r--r--net-irc/ptlink-opm/ChangeLog8
-rw-r--r--net-irc/ptlink-opm/Manifest14
-rw-r--r--net-irc/ptlink-opm/files/digest-ptlink-opm-1.1.11
-rw-r--r--net-irc/ptlink-opm/files/digest-ptlink-opm-1.3.11
-rw-r--r--net-irc/ptlink-opm/ptlink-opm-1.3.0.ebuild18
-rw-r--r--net-irc/ptlink-opm/ptlink-opm-1.3.1.ebuild (renamed from net-irc/ptlink-opm/ptlink-opm-1.1.1.ebuild)25
13 files changed, 138 insertions, 146 deletions
diff --git a/net-irc/ptlink-ircd/ChangeLog b/net-irc/ptlink-ircd/ChangeLog
index b640742124e1..1f1c715ad31d 100644
--- a/net-irc/ptlink-ircd/ChangeLog
+++ b/net-irc/ptlink-ircd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/ptlink-ircd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.4 2004/10/18 16:08:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.5 2004/11/14 15:39:28 swegener Exp $
+
+*ptlink-ircd-6.19.1 (14 Nov 2004)
+
+ 14 Nov 2004; Sven Wegener <swegener@gentoo.org>
+ -ptlink-ircd-6.18.1.ebuild, ptlink-ircd-6.18.2.ebuild,
+ +ptlink-ircd-6.19.1.ebuild:
+ Version bump. Removed old ebuild.
*ptlink-ircd-6.18.2 (18 Oct 2004)
diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest
index 00cc2b04d7ad..ae797a6c1d3b 100644
--- a/net-irc/ptlink-ircd/Manifest
+++ b/net-irc/ptlink-ircd/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 48a7b60076de251bbe2a432834fab24b ChangeLog 1685
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 37e9465d6a2078dd2d01aece0fcb7bf4 ptlink-ircd-6.18.1.ebuild 2013
MD5 444589b041ddafeadd1e90c530634f2a ptlink-ircd-6.18.2.ebuild 2013
+MD5 444589b041ddafeadd1e90c530634f2a ptlink-ircd-6.19.1.ebuild 2013
MD5 a8424a92a1aef170448f005a3d91aa7e files/digest-ptlink-ircd-6.18.1 64
+MD5 7d06d919527779013e5e3c1086f3f5aa files/digest-ptlink-ircd-6.18.2 64
MD5 e7d7d7b9be4a7e73ced48f01e97329d0 files/ptlink-ircd.conf.d 288
MD5 ac9ca761a22cbe60373a156fa04718af files/ptlink-ircd.init.d 625
-MD5 7d06d919527779013e5e3c1086f3f5aa files/digest-ptlink-ircd-6.18.2 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBc+psI1lqEGTUzyQRAlbJAKCukD0ZD4ty7tsJ3EptlKbafI9g5gCfVljk
-9m6R/XkT4cVHGHhFA26PXOg=
-=FcYz
------END PGP SIGNATURE-----
+MD5 503187bb419b16029524331e913585bd files/digest-ptlink-ircd-6.19.1 64
diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1
deleted file mode 100644
index 77139d773e2c..000000000000
--- a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7323bfb03f8d808ca12a729d1fa012ac PTlink6.18.1.tar.gz 774417
diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.1 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.1
new file mode 100644
index 000000000000..4bca5f6d3be6
--- /dev/null
+++ b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.1
@@ -0,0 +1 @@
+MD5 f9e311c99aa73eb84d8b0b51daaa1460 PTlink6.19.1.tar.gz 796312
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild
deleted file mode 100644
index ea701b87edc1..000000000000
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild,v 1.1 2004/07/10 22:24:03 swegener Exp $
-
-inherit eutils
-
-MY_P="PTlink${PV}"
-
-DESCRIPTION="PTlink IRCd is a secure IRC daemon with many advanced features."
-HOMEPAGE="http://www.ptlink.net/"
-SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ircd/${MY_P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc"
-
-IUSE="ipv6"
-DEPEND="sys-libs/zlib"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- find ${S} -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-}
-
-src_compile() {
- econf \
- `use_enable ipv6` \
- || die "econf failed"
- emake CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- newbin src/ircd ptlink-ircd
- newbin tools/fixklines ptlink-ircd-fixklines
- newbin tools/mkpasswd ptlink-ircd-mkpasswd
-
- insinto /etc/ptlink-ircd
- fperms 700 /etc/ptlink-ircd
- doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}}
- newins samples/example.conf.short ircd.conf
- newins samples/example.conf.trillian ircd.conf.trillian
- newins samples/main.dconf.sample main.dconf
- newins samples/network.dconf.sample network.dconf
-
- insinto /etc/ptlink-ircd/codepage
- doins src/codepage/*.enc
-
- rm -rf doc/old
- dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README
-
- keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd
- dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd
- insinto /etc/conf.d
- newins ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd
-}
-
-pkg_postinst() {
- enewuser ptlink-ircd
-
- chown ptlink-ircd \
- ${ROOT}/{etc,var/{log,lib}}/ptlink-ircd
-
- einfo
- einfo "PTlink IRCd will run without configuration, although this is strongly"
- einfo "advised against."
- einfo
- einfo "You can find example cron scripts here:"
- einfo " /usr/share/doc/${PF}/ircd.cron"
- einfo
- einfo "You can also use /etc/init.d/ptlink-ircd to start at boot"
- einfo
-}
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild
index 71afd1952629..03d81818e6f2 100644
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.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-ircd/ptlink-ircd-6.18.2.ebuild,v 1.1 2004/10/18 16:08:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild,v 1.2 2004/11/14 15:39:28 swegener Exp $
inherit eutils
@@ -25,37 +25,36 @@ src_unpack() {
src_compile() {
econf \
- `use_enable ipv6` \
+ $(use_enable ipv6) \
|| die "econf failed"
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- newbin src/ircd ptlink-ircd
- newbin tools/fixklines ptlink-ircd-fixklines
- newbin tools/mkpasswd ptlink-ircd-mkpasswd
+ newbin src/ircd ptlink-ircd || die "newbin failed"
+ newbin tools/fixklines ptlink-ircd-fixklines || die "newbin failed"
+ newbin tools/mkpasswd ptlink-ircd-mkpasswd || die "newbin failed"
insinto /etc/ptlink-ircd
- fperms 700 /etc/ptlink-ircd
- doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}}
- newins samples/example.conf.short ircd.conf
- newins samples/example.conf.trillian ircd.conf.trillian
- newins samples/main.dconf.sample main.dconf
- newins samples/network.dconf.sample network.dconf
+ fperms 700 /etc/ptlink-ircd || die "fperms failed"
+ doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}} || die "newins failed"
+ newins samples/example.conf.short ircd.conf || die "newins failed"
+ newins samples/example.conf.trillian ircd.conf.trillian || die "newins failed"
+ newins samples/main.dconf.sample main.dconf || die "newins failed"
+ newins samples/network.dconf.sample network.dconf || die "newins failed"
- insinto /etc/ptlink-ircd/codepage
- doins src/codepage/*.enc
+ insinto /usr/share/ptlink-ircd/codepage
+ doins src/codepage/*.enc || die "doins failed"
+ dosym /usr/share/ptlink-ircd/codepage /etc/ptlink-ircd/codepage || die "dosym failed"
rm -rf doc/old
- dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README
+ dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README || die "dodoc failed"
- keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd
- dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log
+ keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd || die "keepdir failed"
+ dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log || die "dosym failed"
- exeinto /etc/init.d
- newexe ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd
- insinto /etc/conf.d
- newins ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd
+ newinitd ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd || die "newinitd failed"
+ newconfd ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd || die "newconfd failed"
}
pkg_postinst() {
@@ -69,7 +68,7 @@ pkg_postinst() {
einfo "advised against."
einfo
einfo "You can find example cron scripts here:"
- einfo " /usr/share/doc/${PF}/ircd.cron"
+ einfo " /usr/share/doc/${PF}/ircd.cron.gz"
einfo
einfo "You can also use /etc/init.d/ptlink-ircd to start at boot"
einfo
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
new file mode 100644
index 000000000000..41814e9afad1
--- /dev/null
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild,v 1.1 2004/11/14 15:39:28 swegener Exp $
+
+inherit eutils
+
+MY_P="PTlink${PV}"
+
+DESCRIPTION="PTlink IRCd is a secure IRC daemon with many advanced features."
+HOMEPAGE="http://www.ptlink.net/"
+SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ircd/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+IUSE="ipv6"
+DEPEND="sys-libs/zlib"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ find ${S} -type d -name CVS -exec rm -rf {} \; 2>/dev/null
+}
+
+src_compile() {
+ econf \
+ $(use_enable ipv6) \
+ || die "econf failed"
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ newbin src/ircd ptlink-ircd || die "newbin failed"
+ newbin tools/fixklines ptlink-ircd-fixklines || die "newbin failed"
+ newbin tools/mkpasswd ptlink-ircd-mkpasswd || die "newbin failed"
+
+ insinto /etc/ptlink-ircd
+ fperms 700 /etc/ptlink-ircd || die "fperms failed"
+ doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}} || die "newins failed"
+ newins samples/example.conf.short ircd.conf || die "newins failed"
+ newins samples/example.conf.trillian ircd.conf.trillian || die "newins failed"
+ newins samples/main.dconf.sample main.dconf || die "newins failed"
+ newins samples/network.dconf.sample network.dconf || die "newins failed"
+
+ insinto /usr/share/ptlink-ircd/codepage
+ doins src/codepage/*.enc || die "doins failed"
+ dosym /usr/share/ptlink-ircd/codepage /etc/ptlink-ircd/codepage || die "dosym failed"
+
+ rm -rf doc/old
+ dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README || die "dodoc failed"
+
+ keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd || die "keepdir failed"
+ dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log || die "dosym failed"
+
+ newinitd ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd || die "newinitd failed"
+ newconfd ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd || die "newconfd failed"
+}
+
+pkg_postinst() {
+ enewuser ptlink-ircd
+
+ chown ptlink-ircd \
+ ${ROOT}/{etc,var/{log,lib}}/ptlink-ircd
+
+ einfo
+ einfo "PTlink IRCd will run without configuration, although this is strongly"
+ einfo "advised against."
+ einfo
+ einfo "You can find example cron scripts here:"
+ einfo " /usr/share/doc/${PF}/ircd.cron.gz"
+ einfo
+ einfo "You can also use /etc/init.d/ptlink-ircd to start at boot"
+ einfo
+}
diff --git a/net-irc/ptlink-opm/ChangeLog b/net-irc/ptlink-opm/ChangeLog
index 3cb23485ac08..629b2448d2dd 100644
--- a/net-irc/ptlink-opm/ChangeLog
+++ b/net-irc/ptlink-opm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/ptlink-opm
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-opm/ChangeLog,v 1.7 2004/10/18 16:48:15 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-opm/ChangeLog,v 1.8 2004/11/14 15:41:35 swegener Exp $
+
+*ptlink-opm-1.3.1 (14 Nov 2004)
+
+ 14 Nov 2004; Sven Wegener <swegener@gentoo.org> -ptlink-opm-1.1.1.ebuild,
+ ptlink-opm-1.3.0.ebuild, +ptlink-opm-1.3.1.ebuild:
+ Version bump. Removed old ebuild.
*ptlink-opm-1.3.0 (18 Oct 2004)
diff --git a/net-irc/ptlink-opm/Manifest b/net-irc/ptlink-opm/Manifest
index 540469cae62e..d755574b659f 100644
--- a/net-irc/ptlink-opm/Manifest
+++ b/net-irc/ptlink-opm/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 111bccd2042649bc860e9ceee0195f10 ChangeLog 975
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 65b5f249d405797259256c44570ccb99 ptlink-opm-1.1.1.ebuild 1381
MD5 d36a80eb0c77b8efc72493ddbb2f3b2f ptlink-opm-1.3.0.ebuild 1447
+MD5 d36a80eb0c77b8efc72493ddbb2f3b2f ptlink-opm-1.3.1.ebuild 1447
MD5 55de0a052638e8efbbcfbd39b00b699b files/digest-ptlink-opm-1.1.1 67
+MD5 6ecad87c0247e165f3316b758358aa72 files/digest-ptlink-opm-1.3.0 67
MD5 1cfbc36b60e8ae51e840e337eae1fe32 files/ptlink-opm.conf.d 283
MD5 5239c77a2d0978ebdefdda450b1f13dd files/ptlink-opm.init.d 546
-MD5 6ecad87c0247e165f3316b758358aa72 files/digest-ptlink-opm-1.3.0 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBc/PYI1lqEGTUzyQRAtgxAJ9lN5GgpRDIMMGa9J4UK3hgxCcAKgCfeFEV
-8B7l0rzPSAUlO/tOXNgqD8U=
-=ssUb
------END PGP SIGNATURE-----
+MD5 70ece3a2f3634a46cf1f6c6d07791b5f files/digest-ptlink-opm-1.3.1 67
diff --git a/net-irc/ptlink-opm/files/digest-ptlink-opm-1.1.1 b/net-irc/ptlink-opm/files/digest-ptlink-opm-1.1.1
deleted file mode 100644
index 962a147137a0..000000000000
--- a/net-irc/ptlink-opm/files/digest-ptlink-opm-1.1.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 01aff2f5dac3fc3b41761b24aed68bdc PTlink.OPM1.1.1.tar.gz 106155
diff --git a/net-irc/ptlink-opm/files/digest-ptlink-opm-1.3.1 b/net-irc/ptlink-opm/files/digest-ptlink-opm-1.3.1
new file mode 100644
index 000000000000..9dc10ba2e3c7
--- /dev/null
+++ b/net-irc/ptlink-opm/files/digest-ptlink-opm-1.3.1
@@ -0,0 +1 @@
+MD5 0b1ee3eefe3138bddcfd81a615ff20ff PTlink.OPM1.3.1.tar.gz 156068
diff --git a/net-irc/ptlink-opm/ptlink-opm-1.3.0.ebuild b/net-irc/ptlink-opm/ptlink-opm-1.3.0.ebuild
index e627e93be36c..6414af79930e 100644
--- a/net-irc/ptlink-opm/ptlink-opm-1.3.0.ebuild
+++ b/net-irc/ptlink-opm/ptlink-opm-1.3.0.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-opm/ptlink-opm-1.3.0.ebuild,v 1.1 2004/10/18 16:48:15 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-opm/ptlink-opm-1.3.0.ebuild,v 1.2 2004/11/14 15:41:35 swegener Exp $
inherit eutils
@@ -39,20 +39,18 @@ src_compile() {
}
src_install() {
- newbin src/ptopm ptlink-opm
+ newbin src/ptopm ptlink-opm || die "newbin failed"
- keepdir /var/{lib,log}/ptlink-opm
- dosym /var/log/ptlink-opm /var/lib/ptlink-opm/log
+ keepdir /var/{lib,log}/ptlink-opm || die "keepdir failed"
+ dosym /var/log/ptlink-opm /var/lib/ptlink-opm/log || die "dosym failed"
insinto /etc/ptlink-opm
- newins samples/ptopm.dconf.sample ptopm.dconf
+ newins samples/ptopm.dconf.sample ptopm.dconf || die "newins failed"
- dodoc CHANGES README
+ dodoc CHANGES README || die "dodoc failed"
- exeinto /etc/init.d
- newexe ${FILESDIR}/ptlink-opm.init.d ptlink-opm
- insinto /etc/conf.d
- newins ${FILESDIR}/ptlink-opm.conf.d ptlink-opm
+ newinitd ${FILESDIR}/ptlink-opm.init.d ptlink-opm || die "newinitd failed"
+ newconfd ${FILESDIR}/ptlink-opm.conf.d ptlink-opm || die "newconfd failed"
}
pkg_postinst() {
diff --git a/net-irc/ptlink-opm/ptlink-opm-1.1.1.ebuild b/net-irc/ptlink-opm/ptlink-opm-1.3.1.ebuild
index 905e7425510c..24b5be3b5750 100644
--- a/net-irc/ptlink-opm/ptlink-opm-1.1.1.ebuild
+++ b/net-irc/ptlink-opm/ptlink-opm-1.3.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-opm/ptlink-opm-1.1.1.ebuild,v 1.4 2004/08/05 23:47:55 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-opm/ptlink-opm-1.3.1.ebuild,v 1.1 2004/11/14 15:41:35 swegener Exp $
inherit eutils
@@ -8,7 +8,7 @@ MY_P="PTlink.OPM${PV}"
DESCRIPTION="PTlink Open Proxy Monitor"
HOMEPAGE="http://www.ptlink.net/"
-SRC_URI="mirror://sourceforge/ptlinksoft/${MY_P}.tar.gz"
+SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ptopm/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
@@ -31,27 +31,26 @@ src_compile() {
econf || die "econf failed"
# Now we're going to override the paths setup by configure
- echo "#define BPATH \"/usr/bin\"" > include/path.h
- echo "#define DPATH \"/var/lib/ptlink-opm\"" >> include/path.h
+ echo "#define BINPATH \"/usr/bin\"" > include/path.h
+ echo "#define VARPATH \"/var/lib/ptlink-opm\"" >> include/path.h
+ echo "#define ETCPATH \"/etc\"" >> include/path.h
emake || die "emake failed"
}
src_install() {
- newbin src/ptopm ptlink-opm
+ newbin src/ptopm ptlink-opm || die "newbin failed"
- keepdir /var/{lib,log}/ptlink-opm
- dosym /var/log/ptlink-opm /var/lib/ptlink-opm/log
+ keepdir /var/{lib,log}/ptlink-opm || die "keepdir failed"
+ dosym /var/log/ptlink-opm /var/lib/ptlink-opm/log || die "dosym failed"
insinto /etc/ptlink-opm
- newins samples/ptopm.dconf.sample ptopm.dconf
+ newins samples/ptopm.dconf.sample ptopm.dconf || die "newins failed"
- dodoc CHANGES README
+ dodoc CHANGES README || die "dodoc failed"
- exeinto /etc/init.d
- newexe ${FILESDIR}/ptlink-opm.init.d ptlink-opm
- insinto /etc/conf.d
- newins ${FILESDIR}/ptlink-opm.conf.d ptlink-opm
+ newinitd ${FILESDIR}/ptlink-opm.init.d ptlink-opm || die "newinitd failed"
+ newconfd ${FILESDIR}/ptlink-opm.conf.d ptlink-opm || die "newconfd failed"
}
pkg_postinst() {