diff options
author | Michael Weber <xmw@gentoo.org> | 2012-05-24 09:23:51 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-05-24 09:23:51 +0000 |
commit | da0e8583b2c9f813412b24a721848bb6c4657abf (patch) | |
tree | aee55ca30d52afeb0c8a65b46debd6645f1e002f /net-misc/ncp | |
parent | Stable for x86, wrt bug #414605 (diff) | |
download | gentoo-2-da0e8583b2c9f813412b24a721848bb6c4657abf.tar.gz gentoo-2-da0e8583b2c9f813412b24a721848bb6c4657abf.tar.bz2 gentoo-2-da0e8583b2c9f813412b24a721848bb6c4657abf.zip |
Initial import (thanks Adrian Frühwirth (bonki), bug 104011)
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ncp')
-rw-r--r-- | net-misc/ncp/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/ncp/Manifest | 4 | ||||
-rw-r--r-- | net-misc/ncp/metadata.xml | 13 | ||||
-rw-r--r-- | net-misc/ncp/ncp-1.2.4.ebuild | 44 |
4 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/ncp/ChangeLog b/net-misc/ncp/ChangeLog new file mode 100644 index 000000000000..9c65c31564f9 --- /dev/null +++ b/net-misc/ncp/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-misc/ncp +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ncp/ChangeLog,v 1.1 2012/05/24 09:23:51 xmw Exp $ + +*ncp-1.2.4 (24 May 2012) + + 24 May 2012; Michael Weber <xmw@gentoo.org> +ncp-1.2.4.ebuild, +metadata.xml: + Initial import (thanks Adrian Frühwirth (bonki), bug 104011) + diff --git a/net-misc/ncp/Manifest b/net-misc/ncp/Manifest new file mode 100644 index 000000000000..79f03406be36 --- /dev/null +++ b/net-misc/ncp/Manifest @@ -0,0 +1,4 @@ +DIST ncp-1.2.4.tar.bz2 6172 RMD160 3d9da3851362064ec372a00b605bcbdde86a85bd SHA1 bd33e5311c249948559d17bfd59df93ae72e1f17 SHA256 6cfa72edd5f7717bf7a4a93ccc74c4abd89892360e2e0bb095a73c24b9359b88 +EBUILD ncp-1.2.4.ebuild 821 RMD160 8df9b2391c465a57e85b9b5fcfa0cfc4d175b3f8 SHA1 a1a26ed89dcebeb3fd1daec0c315eb96f58e87ca SHA256 cb9d22be0cbea3c318ca321ef996d2fffa78ea8fa476f0e01492adbe72af3866 +MISC ChangeLog 284 RMD160 f64cf3c4c4a473a5040c1ec0bacb3ccb246e018c SHA1 5822da2c8ae5e9384539a4efa50f84c7d38ccb83 SHA256 f105b125d63891f9b007da72a8941f2ad61d50b20881b652c7bad242e41b8de7 +MISC metadata.xml 545 RMD160 645f4e5f55e2974ddbda80185ae39a20e33d4a26 SHA1 a1f3bd9be2bb34510a86bb0eebb1945b71706a1b SHA256 0eb2580e542ced3d620f7de37479b26032454e52c6593b21d3de6799abe0c167 diff --git a/net-misc/ncp/metadata.xml b/net-misc/ncp/metadata.xml new file mode 100644 index 000000000000..a91e4fc24559 --- /dev/null +++ b/net-misc/ncp/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +<longdescription lang="en"> +"ncp" is a utility for copying files in a LAN. It has absolutely no security or integrity checking, no throttling, no features, except one: you don't have to type the coordinates of your peer. +</longdescription> +<use><flag name="diet">Compile against <pkg>dev-libs/dietlibc</pkg></flag></use> +</pkgmetadata> + diff --git a/net-misc/ncp/ncp-1.2.4.ebuild b/net-misc/ncp/ncp-1.2.4.ebuild new file mode 100644 index 000000000000..570454c49ef6 --- /dev/null +++ b/net-misc/ncp/ncp-1.2.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ncp/ncp-1.2.4.ebuild,v 1.1 2012/05/24 09:23:51 xmw Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="utility for copying files in a LAN" +HOMEPAGE="http://www.fefe.de/ncp/" +SRC_URI="http://dl.fefe.de/ncp-1.2.4.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="diet" + +RDEPEND="" +DEPEND="dev-libs/libowfat + diet? ( dev-libs/dietlibc )" + +src_prepare() { + rm Makefile || die + sed -e '/^ncp:/,+5s:strip:#strip:' \ + -i GNUmakefile || die +} + +src_compile() { + emake \ + CC="$(use diet && echo "diet -Os ")$(tc-getCC)" \ + CFLAGS="${CFLAGS} -I/usr/include/libowfat" \ + LDFLAGS="${LDFLAGS}" \ + STRIP="#" +} + +src_install() { + dobin ncp + dosym /usr/bin/ncp /usr/bin/npoll + dosym /usr/bin/ncp /usr/bin/npush + + doman ncp.1 npush.1 + dodoc NEWS +} + |