Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/sendpage/files/, net-dialup/sendpage/
Date: Thu, 28 Apr 2016 22:00:41
Message-Id: 1461880772.ab134a38b42894f53ca999c3ca87d91ec39c5f51.wizardedit@gentoo
1 commit: ab134a38b42894f53ca999c3ca87d91ec39c5f51
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 21:55:52 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 21:59:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab134a38
7
8 net-dialup/sendpage: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-dialup/sendpage/files/sendpage.initd | 4 +--
15 net-dialup/sendpage/sendpage-1.1.0-r3.ebuild | 49 ++++++++++++++++++++++++++++
16 2 files changed, 51 insertions(+), 2 deletions(-)
17
18 diff --git a/net-dialup/sendpage/files/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd
19 index 2fcf217..3a46a8c 100644
20 --- a/net-dialup/sendpage/files/sendpage.initd
21 +++ b/net-dialup/sendpage/files/sendpage.initd
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2005 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild b/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild
32 new file mode 100644
33 index 0000000..f985432
34 --- /dev/null
35 +++ b/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild
36 @@ -0,0 +1,49 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +
43 +inherit perl-module eutils user
44 +
45 +MY_P=${PN}-1.001
46 +DESCRIPTION="Dialup alphapaging software"
47 +HOMEPAGE="http://www.sendpage.org/"
48 +SRC_URI="http://www.sendpage.org/download/${MY_P}.tar.gz"
49 +S="${WORKDIR}/${MY_P}"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~ppc ~x86"
54 +# This package warrants IUSE doc
55 +IUSE=""
56 +
57 +DEPEND="!net-misc/hylafax
58 + >=dev-perl/Device-SerialPort-0.13
59 + >=dev-perl/MailTools-1.44
60 + >=virtual/perl-libnet-1.11
61 + >=dev-perl/Net-SNPP-1.13
62 + dev-perl/DBI"
63 +RDEPEND="${DEPEND}"
64 +
65 +mydoc="FEATURES email2page.conf sendpage.cf snpp.conf"
66 +
67 +pkg_setup() {
68 + enewgroup sms
69 + enewuser sendpage -1 -1 /var/spool/sendpage sms
70 +}
71 +
72 +PATCHES=( "${FILESDIR}"/${PV}-makefile.patch )
73 +
74 +src_install() {
75 + perl-module_src_install
76 + insinto /etc
77 + doins sendpage.cf
78 + newinitd "${FILESDIR}"/sendpage.initd sendpage
79 + diropts -o sendpage -g sms -m0770
80 + keepdir /var/spool/sendpage
81 + # Separate docs/ content from ${mydoc[@]}
82 + docompress -x /usr/share/doc/${PF}/text/
83 + docinto text/
84 + dodoc docs/*
85 +}