From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ADFCC138206 for ; Thu, 28 Apr 2016 22:00:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18BD6E0875; Thu, 28 Apr 2016 22:00:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCBC5E0876 for ; Thu, 28 Apr 2016 22:00:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 041CD340D0D for ; Thu, 28 Apr 2016 22:00:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3095A337 for ; Thu, 28 Apr 2016 22:00:17 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1461880772.15b2f7e60003b468a57af486278c7a396b9ca4a2.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/dwun/files/, net-dialup/dwun/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/dwun/dwun-0.96e-r4.ebuild net-dialup/dwun/files/dwun X-VCS-Directories: net-dialup/dwun/ net-dialup/dwun/files/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 15b2f7e60003b468a57af486278c7a396b9ca4a2 X-VCS-Branch: master Date: Thu, 28 Apr 2016 22:00:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 00e6f3f1-2116-4ac0-a816-095ef1efb17d X-Archives-Hash: 72a34f3187784237ee36ccf9b622f37b commit: 15b2f7e60003b468a57af486278c7a396b9ca4a2 Author: Austin English gentoo org> AuthorDate: Thu Apr 28 21:19:33 2016 +0000 Commit: Austin English gentoo 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$