public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/dwun/files/, net-dialup/dwun/
Date: Thu, 28 Apr 2016 22:00:17 +0000 (UTC)	[thread overview]
Message-ID: <1461880772.15b2f7e60003b468a57af486278c7a396b9ca4a2.wizardedit@gentoo> (raw)

commit:     15b2f7e60003b468a57af486278c7a396b9ca4a2
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 21:19:33 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 21:59:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b2f7e6

net-dialup/dwun: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-dialup/dwun/dwun-0.96e-r4.ebuild | 46 ++++++++++++++++++++++++++++++++++++
 net-dialup/dwun/files/dwun           |  4 ++--
 2 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/net-dialup/dwun/dwun-0.96e-r4.ebuild b/net-dialup/dwun/dwun-0.96e-r4.ebuild
new file mode 100644
index 0000000..60b23b9
--- /dev/null
+++ b/net-dialup/dwun/dwun-0.96e-r4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Dialer Without a Useful Name (DWUN)"
+HOMEPAGE="http://dwun.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT GPL-2" # GPL-2 only for init script
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( AUTHORS ChangeLog QUICKSTART README TODO UPGRADING )
+
+src_prepare() {
+	sed -i -e "s:TODO QUICKSTART README UPGRADING ChangeLog COPYING AUTHORS::" Makefile.in || die
+	tc-export CC
+
+	eapply_user
+}
+
+src_configure() {
+	econf --with-docdir="share/doc/${PF}"
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	newins doc/examples/complete-rcfile dwunrc
+	newins debian/dwunauth dwunauth
+	newinitd "${FILESDIR}/dwun" dwun
+}
+
+pkg_postinst() {
+	elog
+	elog 'Make sure you have "net-dialup/ppp" merged if you intend to use dwun'
+	elog "to control a standard PPP network link."
+	elog "See /usr/share/doc/${P}/QUICKSTART for instructions on"
+	elog "configuring dwun."
+	elog
+}

diff --git a/net-dialup/dwun/files/dwun b/net-dialup/dwun/files/dwun
index a645220..d076f9e 100644
--- a/net-dialup/dwun/files/dwun
+++ b/net-dialup/dwun/files/dwun
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 


             reply	other threads:[~2016-04-28 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-28 22:00 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-17 11:09 [gentoo-commits] repo/gentoo:master commit in: net-dialup/dwun/files/, net-dialup/dwun/ Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461880772.15b2f7e60003b468a57af486278c7a396b9ca4a2.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox