diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dialup/sendpage |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dialup/sendpage')
-rw-r--r-- | net-dialup/sendpage/Manifest | 7 | ||||
-rw-r--r-- | net-dialup/sendpage/files/1.1.0-makefile.patch | 11 | ||||
-rw-r--r-- | net-dialup/sendpage/files/sendpage.initd | 20 | ||||
-rw-r--r-- | net-dialup/sendpage/metadata.xml | 10 | ||||
-rw-r--r-- | net-dialup/sendpage/sendpage-1.1.0-r3.ebuild | 48 |
5 files changed, 96 insertions, 0 deletions
diff --git a/net-dialup/sendpage/Manifest b/net-dialup/sendpage/Manifest new file mode 100644 index 000000000000..2663c1958266 --- /dev/null +++ b/net-dialup/sendpage/Manifest @@ -0,0 +1,7 @@ +AUX 1.1.0-makefile.patch 369 SHA256 1c211aefc44d8534e1077b256ed01f20ba506cafca6eb7668c247f1deb5f7131 SHA512 35d177ce5a3bc0f559204fdbe320c1fe338d057faa9c100785e11b406cfdb06049784fdd434b4760f8dc852460192fdda4ce1cbad4ff35ad553cd748dd693f10 WHIRLPOOL 84e668170bf53512c46d6ee64a89954a5d2000c8a466310df49955897966e0610bdb9741e612f54da9d73dfd38054373e89f7cc63b803468fffc61a16fff0c34 +AUX sendpage.initd 407 SHA256 16d186b7a40a7366a6066c5066da5d32c51aa0cad7a275a62a867bb12a5035ec SHA512 35fcf9afdc289bbd7034733e3a49a4d6891745bbecce8fabf8642ae160a221fbc0e6d795403d8f01399c250c41973bab86e22a9aea307d7e42ffa9ce18f53e9b WHIRLPOOL 6106bd150ae313db4fe8f41d849fca5656d4a298569190bb8685fe42858d11b376c7ea9a7ab43165ea388b88053be2e8a65277c18a9453603d0bbffaad98a82f +DIST sendpage-1.001.tar.gz 127130 SHA256 2f2d8253b3f94fd3915ae7568a87e1263c416066f2cce7923b6dd3d2d5dc2b0c SHA512 694f7eb8afd3a73d1322d51140b5eb473a3d697613a88d1b90fb0368e9eb25ec4cee8ed018841076fcd8370420d6c9f437f84af873b31cccb36c16f91a01cb3d WHIRLPOOL 8a3426a251eadad5d28c2ca2538d26af8476ea3b5dd497681a5e469f798a8d901aa9d0d2a422766fed485c366b16d46fed431cc60423e4b67c60bca130a1f0a4 +EBUILD sendpage-1.1.0-r3.ebuild 1086 SHA256 7b832fd70695114db59a115d47c26082160f8aebaf89cffcd6207fdb4a3e7f51 SHA512 dfeca4ea70d5b717e48f0726882f95b0ff18c51aa28c109a1dbe2e399a94899f4306bfaf69a0325203d1dabf67796e9ceb675b8ca456576e0a518da9f66555be WHIRLPOOL ad24a3c0f74d5ec58738cec7aa89ecdd5f7a15b6a2fe00c244badcfc7f3bac4503668f937b721b77ff1608cf5f768e94d9a6823130da09ac6d13ea90d7357996 +MISC ChangeLog 2942 SHA256 4da4f57280ef23557dc3e5a4ae3a6b2161713577cf363313f72be449513181b8 SHA512 e1416cba35b6d2148ba40831c719865c8a3ec9bd23f77961f647ad94ad8bd58066f5c8ea90a18b2949fc839e9d398ff35658717997cf804b27b7c247e4cd8356 WHIRLPOOL 4eb68f534a399c77ef072281819066c4e228b87134230d84a5624f67a2536d7c6786673259d3eb774eaf84b419aa4bf36468cc143b5847e142e666d5f9293f59 +MISC ChangeLog-2015 2837 SHA256 6516c7dfc6602e468cdc7fa2240a4a2eb213954e59ca145149437f59ed06e40e SHA512 d193b3418ca5ce3813de171b01333eec6a563813ab2479c41193752721f3963a1a08ab1041d5f431b250005b935ceb18e1a881548c6fcbc09094e609d1bab5fc WHIRLPOOL be7c82608bd4ab657a207a0085c427abfd587ac54dc0aabdda757faf1b9d761494ff91fd5f83d8347b2ea35258c47864376a8c237c9b8823861807b6d6e44fe5 +MISC metadata.xml 643 SHA256 1bbda82cdbd14c30ef9b269cbe0097242fe496331a23ec56cbd914a3321aea52 SHA512 76f748530bdcf74ef12f246ef954f2d334ae8ebab3923752e9fb02c5cb6b5475442c15275b91909555d3f9515a98d1f134b8c16ab3d9e73ac7d61b1cbcb71e83 WHIRLPOOL 772026ed52cfce3c0659898ad3f1571902b37f12cd32345a4f32d15f08b9c18e6ce63911d7d4a203feb922f56432c822e202d999f5ee3645c58dcf72454cced6 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..d88854577796 --- /dev/null +++ b/net-dialup/sendpage/files/sendpage.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..7a7e31313794 --- /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> + <!-- maintainer-needed --> + <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-r3.ebuild b/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild new file mode 100644 index 000000000000..a06e61474b36 --- /dev/null +++ b/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/* +} |