summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2006-06-14 16:52:08 +0000
committerTony Vroon <chainsaw@gentoo.org>2006-06-14 16:52:08 +0000
commit99fc57a8a24ef92528032f2afad4774202ade8e3 (patch)
tree03d14349da2e2e8fe4a50ccc762de7e4a8bc8b19 /net-dialup
parentStable on ppc; bug 136708 (diff)
downloadgentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.tar.gz
gentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.tar.bz2
gentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.zip
Version bump, ~amd64 keywording. Init script by me, makefile patch by mcummings.
(Portage version: 2.1)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/sendpage/ChangeLog13
-rw-r--r--net-dialup/sendpage/files/1.1.0-makefile.patch11
-rw-r--r--net-dialup/sendpage/files/digest-sendpage-0.9.142
-rw-r--r--net-dialup/sendpage/files/digest-sendpage-1.1.03
-rw-r--r--net-dialup/sendpage/files/sendpage.initd22
-rw-r--r--net-dialup/sendpage/sendpage-1.1.0.ebuild36
6 files changed, 86 insertions, 1 deletions
diff --git a/net-dialup/sendpage/ChangeLog b/net-dialup/sendpage/ChangeLog
index d3ee4ea12e31..bfc6c084bc57 100644
--- a/net-dialup/sendpage/ChangeLog
+++ b/net-dialup/sendpage/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for net-dialup/sendpage
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/ChangeLog,v 1.5 2006/05/14 16:35:06 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/ChangeLog,v 1.6 2006/06/14 16:52:08 chainsaw Exp $
+
+ 14 Jun 2006; Tony Vroon <chainsaw@gentoo.org> +files/1.1.0-makefile.patch,
+ +files/sendpage.initd, +sendpage-1.1.0.ebuild:
+ Version bump, ~amd64 keywording. Init script by me, makefile patch by
+ mcummings.
+
+*sendpage-1.1.0 (14 Jun 2006)
+
+ 14 Jun 2006; Tony Vroon <chainsaw@gentoo.org> +files/1.1.0-Makefile.PL,
+ +files/sendpage.initd, +sendpage-1.1.0.ebuild:
+ Version bump. Add ~amd64 keyword.
14 May 2006; Alin Nastac <mrness@gentoo.org> sendpage-0.9.14.ebuild:
Cleanup the ebuild code.
diff --git a/net-dialup/sendpage/files/1.1.0-makefile.patch b/net-dialup/sendpage/files/1.1.0-makefile.patch
new file mode 100644
index 000000000000..5b9a647db113
--- /dev/null
+++ b/net-dialup/sendpage/files/1.1.0-makefile.patch
@@ -0,0 +1,11 @@
+--- sendpage-1.001/Makefile.PL.orig 2006-06-14 12:20:10.000000000 -0400
++++ sendpage-1.001/Makefile.PL 2006-06-14 12:20:38.000000000 -0400
+@@ -71,6 +71,8 @@ if (defined($Config{'sitelib_stem'}) &&
+ $opts{'INSTALLSITELIB'} .= $Config{'sitelib_stem'};
+ }
+
++$opts{'DESTDIR'} = $args{'DESTDIR'};
++
+ WriteMakefile(%opts);
+
+ # /* vi:set ai ts=4 sw=4 expandtab: */
diff --git a/net-dialup/sendpage/files/digest-sendpage-0.9.14 b/net-dialup/sendpage/files/digest-sendpage-0.9.14
index 4e658de6af45..76865c14b728 100644
--- a/net-dialup/sendpage/files/digest-sendpage-0.9.14
+++ b/net-dialup/sendpage/files/digest-sendpage-0.9.14
@@ -1 +1,3 @@
MD5 007beb5bc96393bc3f3f87a3af9c38b4 sendpage-0.9.14.tar.gz 101985
+RMD160 b70b61d5643e9c0be2a851aeb40a487bfdf57e27 sendpage-0.9.14.tar.gz 101985
+SHA256 4ba98b2ba5ac4756ba2b6f4afab30fd1adb382bef45c5dce151648e622fef2dd sendpage-0.9.14.tar.gz 101985
diff --git a/net-dialup/sendpage/files/digest-sendpage-1.1.0 b/net-dialup/sendpage/files/digest-sendpage-1.1.0
new file mode 100644
index 000000000000..846ab9d23ae5
--- /dev/null
+++ b/net-dialup/sendpage/files/digest-sendpage-1.1.0
@@ -0,0 +1,3 @@
+MD5 7ca49276f010ea26053bfb07874f38e2 sendpage-1.001.tar.gz 127130
+RMD160 26a9fb7fa30a26deea32dc41ed4022ad689ffbc5 sendpage-1.001.tar.gz 127130
+SHA256 2f2d8253b3f94fd3915ae7568a87e1263c416066f2cce7923b6dd3d2d5dc2b0c sendpage-1.001.tar.gz 127130
diff --git a/net-dialup/sendpage/files/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd
new file mode 100644
index 000000000000..418cdbb625bc
--- /dev/null
+++ b/net-dialup/sendpage/files/sendpage.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/files/sendpage.initd,v 1.1 2006/06/14 16:52:08 chainsaw Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting sendpage"
+ start-stop-daemon --start --exec /usr/bin/sendpage -- \
+ -bd
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping sendpage"
+ start-stop-daemon --stop -p /var/run/sendpage.pid
+ eend ${?}
+}
+
diff --git a/net-dialup/sendpage/sendpage-1.1.0.ebuild b/net-dialup/sendpage/sendpage-1.1.0.ebuild
new file mode 100644
index 000000000000..c2f80e27af42
--- /dev/null
+++ b/net-dialup/sendpage/sendpage-1.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/sendpage-1.1.0.ebuild,v 1.1 2006/06/14 16:52:08 chainsaw Exp $
+
+inherit perl-module eutils
+
+MY_P=${PN}-1.001
+DESCRIPTION="Dialup alphapaging software."
+HOMEPAGE="http://www.sendpage.org/"
+SRC_URI="http://www.sendpage.org/download/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=dev-perl/Device-SerialPort-0.13
+ >=dev-perl/MailTools-1.44
+ >=virtual/perl-libnet-1.11
+ >=dev-perl/Net-SNPP-1.13"
+
+mydoc="FEATURES THANKS TODO email2page.conf sendpage.cf snpp.conf docs/*"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_install() {
+ perl-module_src_install
+ insinto /etc
+ doins sendpage.cf
+ newinitd ${FILESDIR}/sendpage.initd sendpage
+}