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 B5440138206 for ; Fri, 29 Apr 2016 19:32:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEFE221C04B; Fri, 29 Apr 2016 19:32:39 +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 4A1FC21C05E for ; Fri, 29 Apr 2016 19:32:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0F7D7340D74 for ; Fri, 29 Apr 2016 19:32:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1655C331 for ; Fri, 29 Apr 2016 19:32:32 +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: <1461958333.3e9055c6596ba0d36dab58a623866ff840232450.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nca/, sys-apps/nca/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/nca/files/ncad.initd sys-apps/nca/nca-0.9.0-r1.ebuild X-VCS-Directories: sys-apps/nca/ sys-apps/nca/files/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 3e9055c6596ba0d36dab58a623866ff840232450 X-VCS-Branch: master Date: Fri, 29 Apr 2016 19:32:32 +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: 98c4c7a7-5934-4864-bd60-22658a9847f5 X-Archives-Hash: 288d141f7c0517246c9ba24dfcaca75f commit: 3e9055c6596ba0d36dab58a623866ff840232450 Author: Austin English gentoo org> AuthorDate: Fri Apr 29 17:50:58 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Apr 29 19:32:13 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9055c6 sys-apps/nca: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 sys-apps/nca/files/ncad.initd | 4 ++-- sys-apps/nca/nca-0.9.0-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/sys-apps/nca/files/ncad.initd b/sys-apps/nca/files/ncad.initd index 5e7fff2..f87ec32 100644 --- a/sys-apps/nca/files/ncad.initd +++ b/sys-apps/nca/files/ncad.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2007 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/sys-apps/nca/nca-0.9.0-r1.ebuild b/sys-apps/nca/nca-0.9.0-r1.ebuild new file mode 100644 index 0000000..d4abf43 --- /dev/null +++ b/sys-apps/nca/nca-0.9.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Network Console on Acid" +HOMEPAGE="http://www.xenoclast.org/nca/" +SRC_URI="http://www.xenoclast.org/nca/download/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + sys-libs/zlib" + +DEPEND="dev-lang/perl + ${RDEPEND}" + +src_prepare() { + sed -i -e "s:^\([[:space:]]\+\$(MAKE) install\):\1 DESTDIR=\$(DESTDIR):g" \ + -e "s:=\(\$(CFLAGS)\):=\"\1\":g" -e "s:=\(\$(CC)\):=\"\1\":g" Makefile + + sed -i -e "s:-s sshd:sshd:g" ncad.patch + + eapply_user +} + +src_compile() { + emake -j1 CFLAGS="${CFLAGS}" CC=$(tc-getCC) +} + +src_install() { + dodir /sbin + emake BINDIR="${D}sbin" MANDIR="${D}usr/share/man" SYSCONF_DIR="${D}etc" \ + DESTDIR="${D}" install_nca install_ssh install_man + + newinitd "${FILESDIR}/ncad.initd" ncad + dodoc ChangeLog README* rc/ncad.template +}