diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-25 20:44:52 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-25 20:44:52 +0000 |
commit | 691d7b903534c7b711634b22425cc1fdece45136 (patch) | |
tree | e45065323bf03f3f15a1b558134570a679378309 /sys-apps/nca | |
parent | Bump 2.16 series to 2.16.3. Update screensaver migration help text to work wi... (diff) | |
download | gentoo-2-691d7b903534c7b711634b22425cc1fdece45136.tar.gz gentoo-2-691d7b903534c7b711634b22425cc1fdece45136.tar.bz2 gentoo-2-691d7b903534c7b711634b22425cc1fdece45136.zip |
initial commit.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-apps/nca')
-rw-r--r-- | sys-apps/nca/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/nca/Manifest | 20 | ||||
-rw-r--r-- | sys-apps/nca/files/digest-nca-0.9.0 | 2 | ||||
-rw-r--r-- | sys-apps/nca/files/ncad.initd | 16 | ||||
-rw-r--r-- | sys-apps/nca/metadata.xml | 18 | ||||
-rw-r--r-- | sys-apps/nca/nca-0.9.0.ebuild | 43 |
6 files changed, 109 insertions, 0 deletions
diff --git a/sys-apps/nca/ChangeLog b/sys-apps/nca/ChangeLog new file mode 100644 index 000000000000..5f5a8ab8b999 --- /dev/null +++ b/sys-apps/nca/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/nca +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/ChangeLog,v 1.1 2007/05/25 20:44:52 sbriesen Exp $ + +*nca-0.9.0 (25 May 2007) + + 25 May 2007; Stefan Briesenick <sbriesen@gentoo.org> +files/ncad.initd, + +metadata.xml, +nca-0.9.0.ebuild: + initial commit. + diff --git a/sys-apps/nca/Manifest b/sys-apps/nca/Manifest new file mode 100644 index 000000000000..3e208a3c953e --- /dev/null +++ b/sys-apps/nca/Manifest @@ -0,0 +1,20 @@ +AUX ncad.initd 360 RMD160 7a75b974930f4b7eb3175ce4a2a36d45bad2ce65 SHA1 65b281f177fee638e3349e1a8a4d1abf5f7d3bad SHA256 702bbb51bca7af4ce8771890d445de73574f241b33a5097b59d01a1bd9ec2aa6 +MD5 adbe5877140ca45ce7967b39c3732cbf files/ncad.initd 360 +RMD160 7a75b974930f4b7eb3175ce4a2a36d45bad2ce65 files/ncad.initd 360 +SHA256 702bbb51bca7af4ce8771890d445de73574f241b33a5097b59d01a1bd9ec2aa6 files/ncad.initd 360 +DIST nca-0.9.0.tar.gz 818721 RMD160 406aaf19e42b39b77769c9dfe7585fc6a74dd371 SHA1 3770d8ff3373c5fb791305810d03739905e1a767 SHA256 407144394f6f90e818c7ce992a691c4e99983defbe9de63f6a0adaa93a36ae03 +EBUILD nca-0.9.0.ebuild 984 RMD160 c21e617ffaf133d750fc34081d71264e61a8d6a6 SHA1 b4b39f5709a0030a19983733bd4127e5a1625987 SHA256 622b839ce5cbe1a859da57bdc3c06b814c538ab0dc476d35d792282daaa8cb5b +MD5 0e005ee8bc1fc387f059417164343ac2 nca-0.9.0.ebuild 984 +RMD160 c21e617ffaf133d750fc34081d71264e61a8d6a6 nca-0.9.0.ebuild 984 +SHA256 622b839ce5cbe1a859da57bdc3c06b814c538ab0dc476d35d792282daaa8cb5b nca-0.9.0.ebuild 984 +MISC ChangeLog 268 RMD160 b70b56f180437a1623b0671ba3f42453c6a0e103 SHA1 3a770ad30a01c059b68f9ad50338359524891020 SHA256 b971e1ef5ae1095d2b617fbbe5874f42015dd3c2b1e07f3cd9598a94eec5ad47 +MD5 d7cbea3a74f3215868b63028a0cbcc39 ChangeLog 268 +RMD160 b70b56f180437a1623b0671ba3f42453c6a0e103 ChangeLog 268 +SHA256 b971e1ef5ae1095d2b617fbbe5874f42015dd3c2b1e07f3cd9598a94eec5ad47 ChangeLog 268 +MISC metadata.xml 792 RMD160 2a79568d4431d77bada9ca6f67f356c59117d2cc SHA1 7cf54207bbc114083499401b98ca890a496444c9 SHA256 6f31671034cd87d536613a6bf8669e36e4e72e84568bad4404d0303e927d14d9 +MD5 2358fecca5319c983e494547a527492b metadata.xml 792 +RMD160 2a79568d4431d77bada9ca6f67f356c59117d2cc metadata.xml 792 +SHA256 6f31671034cd87d536613a6bf8669e36e4e72e84568bad4404d0303e927d14d9 metadata.xml 792 +MD5 02449882040eab464e7947653c3e83e8 files/digest-nca-0.9.0 168 +RMD160 9b1e1962999a69499cf4276e050e66ade2bcda66 files/digest-nca-0.9.0 168 +SHA256 c2a43666072c4043209b56e929759e241582f85b376fb4751bc8262cadd4f158 files/digest-nca-0.9.0 168 diff --git a/sys-apps/nca/files/digest-nca-0.9.0 b/sys-apps/nca/files/digest-nca-0.9.0 new file mode 100644 index 000000000000..1de34599aaf5 --- /dev/null +++ b/sys-apps/nca/files/digest-nca-0.9.0 @@ -0,0 +1,2 @@ +RMD160 406aaf19e42b39b77769c9dfe7585fc6a74dd371 nca-0.9.0.tar.gz 818721 +SHA256 407144394f6f90e818c7ce992a691c4e99983defbe9de63f6a0adaa93a36ae03 nca-0.9.0.tar.gz 818721 diff --git a/sys-apps/nca/files/ncad.initd b/sys-apps/nca/files/ncad.initd new file mode 100644 index 000000000000..c9cecb3adb78 --- /dev/null +++ b/sys-apps/nca/files/ncad.initd @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/files/ncad.initd,v 1.1 2007/05/25 20:44:52 sbriesen Exp $ + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet --exec /sbin/ncad + eend ${?} +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --retry 5 --quiet --exec /sbin/ncad + eend ${?} +} diff --git a/sys-apps/nca/metadata.xml b/sys-apps/nca/metadata.xml new file mode 100644 index 000000000000..90c84dc69116 --- /dev/null +++ b/sys-apps/nca/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en"> + nca connects a pseudo terminal to the console's virtual terminals + (/dev/tty0...n) that are normally only accessible to someone with + local keyboard access. It is particularly useful in conjunction with + ncad since it then provides remote console access via SSH; with some + appropriate system start up scripts, ncad can be started immediately + the root filesystem has been mounted read-only, providing a cheap, + and only marginally inferior alternative to a serial console. + </longdescription> +</pkgmetadata> diff --git a/sys-apps/nca/nca-0.9.0.ebuild b/sys-apps/nca/nca-0.9.0.ebuild new file mode 100644 index 000000000000..513c156a1d8c --- /dev/null +++ b/sys-apps/nca/nca-0.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/nca-0.9.0.ebuild,v 1.1 2007/05/25 20:44:52 sbriesen Exp $ + +inherit eutils 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" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + sys-libs/zlib" + +DEPEND="dev-lang/perl + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + 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 +} + +src_compile() { + emake -j1 CFLAGS="${CFLAGS}" CC=$(tc-getCC) || die "emake failed" +} + +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 +} |