diff options
author | Austin English <wizardedit@gentoo.org> | 2016-04-28 16:55:52 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-04-28 16:59:32 -0500 |
commit | ab134a38b42894f53ca999c3ca87d91ec39c5f51 (patch) | |
tree | d9733d436183ee8e5e8de26916e08512dc0fb95b /net-dialup | |
parent | net-dialup/rp-l2tp: removing rp-l2tp-0.4-r3 (diff) | |
download | gentoo-ab134a38b42894f53ca999c3ca87d91ec39c5f51.tar.gz gentoo-ab134a38b42894f53ca999c3ca87d91ec39c5f51.tar.bz2 gentoo-ab134a38b42894f53ca999c3ca87d91ec39c5f51.zip |
net-dialup/sendpage: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/sendpage/files/sendpage.initd | 4 | ||||
-rw-r--r-- | net-dialup/sendpage/sendpage-1.1.0-r3.ebuild | 49 |
2 files changed, 51 insertions, 2 deletions
diff --git a/net-dialup/sendpage/files/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd index 2fcf217a3df8..3a46a8c26f38 100644 --- a/net-dialup/sendpage/files/sendpage.initd +++ b/net-dialup/sendpage/files/sendpage.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ 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..f98543280eef --- /dev/null +++ b/net-dialup/sendpage/sendpage-1.1.0-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/* +} |