summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-dialup/sendpage
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-dialup/sendpage')
-rw-r--r--net-dialup/sendpage/Manifest1
-rw-r--r--net-dialup/sendpage/files/1.1.0-makefile.patch11
-rw-r--r--net-dialup/sendpage/files/sendpage.initd21
-rw-r--r--net-dialup/sendpage/metadata.xml10
-rw-r--r--net-dialup/sendpage/sendpage-1.1.0-r2.ebuild49
5 files changed, 92 insertions, 0 deletions
diff --git a/net-dialup/sendpage/Manifest b/net-dialup/sendpage/Manifest
new file mode 100644
index 000000000000..33a5fed0684d
--- /dev/null
+++ b/net-dialup/sendpage/Manifest
@@ -0,0 +1 @@
+DIST sendpage-1.001.tar.gz 127130 SHA256 2f2d8253b3f94fd3915ae7568a87e1263c416066f2cce7923b6dd3d2d5dc2b0c SHA512 694f7eb8afd3a73d1322d51140b5eb473a3d697613a88d1b90fb0368e9eb25ec4cee8ed018841076fcd8370420d6c9f437f84af873b31cccb36c16f91a01cb3d WHIRLPOOL 8a3426a251eadad5d28c2ca2538d26af8476ea3b5dd497681a5e469f798a8d901aa9d0d2a422766fed485c366b16d46fed431cc60423e4b67c60bca130a1f0a4
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/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd
new file mode 100644
index 000000000000..2fcf217a3df8
--- /dev/null
+++ b/net-dialup/sendpage/files/sendpage.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 -n sendpage
+ eend ${?}
+}
+
diff --git a/net-dialup/sendpage/metadata.xml b/net-dialup/sendpage/metadata.xml
new file mode 100644
index 000000000000..f444241a55dc
--- /dev/null
+++ b/net-dialup/sendpage/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-dialup</herd>
+ <longdescription>To send alphanumeric pages to a pager, if an email gateway is unavailable or undesirable,
+software is needed to control a modem which will dial a "Paging Central", and deliver the pages using
+an ASCII delivery system known as "TAP".
+Sendpage implements all aspects of this type of software, including an SNPP client, an SNPP server,
+a queuing engine, a modem control engine, a TAP communication system, and an email notification system.</longdescription>
+</pkgmetadata>
diff --git a/net-dialup/sendpage/sendpage-1.1.0-r2.ebuild b/net-dialup/sendpage/sendpage-1.1.0-r2.ebuild
new file mode 100644
index 000000000000..4c18f6e8d312
--- /dev/null
+++ b/net-dialup/sendpage/sendpage-1.1.0-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module eutils user
+
+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="~amd64 ~ppc ~x86"
+# This package warrants IUSE doc
+IUSE=""
+
+DEPEND="!net-misc/hylafax
+ >=dev-perl/Device-SerialPort-0.13
+ >=dev-perl/MailTools-1.44
+ >=virtual/perl-libnet-1.11
+ >=dev-perl/Net-SNPP-1.13
+ dev-perl/DBI"
+RDEPEND="${DEPEND}"
+
+mydoc="FEATURES email2page.conf sendpage.cf snpp.conf"
+
+pkg_setup() {
+ enewgroup sms
+ enewuser sendpage -1 -1 /var/spool/sendpage sms
+}
+
+PATCHES=( "${FILESDIR}"/${PV}-makefile.patch )
+
+src_install() {
+ perl-module_src_install
+ insinto /etc
+ doins sendpage.cf
+ newinitd "${FILESDIR}"/sendpage.initd sendpage
+ diropts -o sendpage -g sms -m0770
+ keepdir /var/spool/sendpage
+ # Separate docs/ content from ${mydoc[@]}
+ docompress -x /usr/share/doc/${PF}/text/
+ docinto text/
+ dodoc docs/*
+}