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 6DDC413825A for ; Fri, 13 May 2016 08:11:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49413E079D; Fri, 13 May 2016 08:11:47 +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 BB7E4E079D for ; Fri, 13 May 2016 08:11:46 +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 1AFD2340A7F for ; Fri, 13 May 2016 08:11:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20725D6 for ; Fri, 13 May 2016 08:11:40 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1463127066.e25f018e70d3ac9a16cd8de46497dbb1e6f22965.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openbsd-netcat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/openbsd-netcat/Manifest net-analyzer/openbsd-netcat/openbsd-netcat-1.105.ebuild X-VCS-Directories: net-analyzer/openbsd-netcat/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: e25f018e70d3ac9a16cd8de46497dbb1e6f22965 X-VCS-Branch: master Date: Fri, 13 May 2016 08:11:40 +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: 17555ddc-66db-4b8e-adbe-127f6c4eeea2 X-Archives-Hash: 8a292c2c2ed6070e6d1cdf4fe9779940 commit: e25f018e70d3ac9a16cd8de46497dbb1e6f22965 Author: Benda Xu gentoo org> AuthorDate: Fri May 13 08:10:32 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Fri May 13 08:11:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25f018e net-analyzer/openbsd-netcat: bump to OpenBSD cvs version 1.105. Import patches from Debian. Package-Manager: portage-2.2.28 net-analyzer/openbsd-netcat/Manifest | 2 ++ .../openbsd-netcat/openbsd-netcat-1.105.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/net-analyzer/openbsd-netcat/Manifest b/net-analyzer/openbsd-netcat/Manifest index 8edf5f9..ffedf71 100644 --- a/net-analyzer/openbsd-netcat/Manifest +++ b/net-analyzer/openbsd-netcat/Manifest @@ -1 +1,3 @@ DIST nc-1.84-22.el6.src.rpm 62570 SHA256 8aa023a96a11f47fbaccda332f7e2c73697c271d2bd25b2485470d288d0db844 SHA512 a02f5a42e0db0aeff95a06964d6b9ccfa21d659ca67505d19c724966edbca42446ac4048339def769139ca6ae145cdc75e9908f12b21449bc9d748d3cac39094 WHIRLPOOL fb4b822b88fdf0097781ff8f23489e4300563e3c6f655b00519a2ced93f17cd433d5f3acf2cd66a7f97e4b3755838c9dc8619e0c1e5fbc54136a33212a8c7613 +DIST netcat-openbsd_1.105-7.debian.tar.gz 31843 SHA256 eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363 SHA512 ec507c858a9f0e75f5a8d6ee8e60eef5200428e55091e831a7acba6c61d70f97af01103c9b65354b0ce773214b0758d957852af793debb70be8aab5b5900b3f6 WHIRLPOOL 62878c51077b26578626f45e1282f2c1f16ae869714b355ef1797ec2911b8773ef07c81468e35bae02087f9f061b828be39200333c204e77b0bdb1ac9eceb957 +DIST netcat-openbsd_1.105.orig.tar.gz 14891 SHA256 40653fe66c1516876b61b07e093d826e2a5463c5d994f1b7e6ce328f3edb211e SHA512 1e515b5af83a12c6f270d6e8bede6406cc7c9f83ca0e316816508dfe2e2c49cda3fffb6b24a3922bf9908dc8b70d540eb8cc49e9cbfe867e49133c004d3f4703 WHIRLPOOL 7e80dde953575b5fc21399ef1d1d40c8cd6b40a5d6cd81d8a606d14b35ce8432c304d3e1bdaf9fb4697cf6dffc017b565cd60033ec0700d2442bc3ea3ca6aa9a diff --git a/net-analyzer/openbsd-netcat/openbsd-netcat-1.105.ebuild b/net-analyzer/openbsd-netcat/openbsd-netcat-1.105.ebuild new file mode 100644 index 0000000..0aba384 --- /dev/null +++ b/net-analyzer/openbsd-netcat/openbsd-netcat-1.105.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="the OpenBSD network swiss army knife" +HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/" +SRC_URI="http://http.debian.net/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz + http://http.debian.net/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz" +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/pkgconfig" +RDEPEND="dev-libs/libbsd" + +S=${WORKDIR}/netcat-openbsd-${PV} + +PATCHES=( "${WORKDIR}/debian/patches" ) + +src_install() { + # avoid name conflict against net-analyzer/netcat + newbin nc nc.openbsd + newman nc.1 nc.openbsd.1 + cd "${WORKDIR}/debian" + newdoc netcat-openbsd.README.Debian README + dodoc -r examples +} + +pkg_postinst() { + if [[ ${KERNEL} = "linux" ]]; then + ewarn "FO_REUSEPORT is introduced in linux 3.9. If your running kernel is older" + ewarn "and kernel header is newer, nc will not listen correctly. Matching the header" + ewarn "to the running kernel will do. See bug #490246 for details." + fi +}