Gentoo Archives: gentoo-commits

From: "Benda XU (heroxbd)" <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/openbsd-netcat: openbsd-netcat-1.84.ebuild ChangeLog
Date: Sat, 01 Feb 2014 08:47:23
Message-Id: 20140201084717.388402004C@flycatcher.gentoo.org
1 heroxbd 14/02/01 08:47:17
2
3 Modified: openbsd-netcat-1.84.ebuild ChangeLog
4 Log:
5 respect LDFLAGS, bug 441680, credits Diego; warn against FO_REUSEPORT mismatch, bug 493074, credits Josh.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.3 net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild?r1=1.2&r2=1.3
15
16 Index: openbsd-netcat-1.84.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- openbsd-netcat-1.84.ebuild 1 Nov 2012 07:40:52 -0000 1.2
23 +++ openbsd-netcat-1.84.ebuild 1 Feb 2014 08:47:17 -0000 1.3
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2012 Gentoo Foundation
26 +# Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild,v 1.2 2012/11/01 07:40:52 heroxbd Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/openbsd-netcat-1.84.ebuild,v 1.3 2014/02/01 08:47:17 heroxbd Exp $
30
31 EAPI=4
32
33 @@ -47,8 +47,9 @@
34 src_compile() {
35 use static && export STATIC="-static"
36 COMPILER=$(tc-getCC)
37 - ${COMPILER} ${CFLAGS} $(pkg-config --cflags --libs glib-2.0) netcat.c \
38 - atomicio.c socks.c -o nc.openbsd || die
39 + ${COMPILER} ${CFLAGS} netcat.c atomicio.c socks.c \
40 + $(pkg-config --cflags --libs glib-2.0) \
41 + ${LDFLAGS} -o nc.openbsd || die
42 }
43
44 src_install() {
45 @@ -58,3 +59,11 @@
46 docinto scripts
47 dodoc scripts/*
48 }
49 +
50 +pkg_postinst() {
51 + if [[ ${KERNEL} = "linux" ]]; then
52 + ewarn "FO_REUSEPORT is introduced in linux 3.9. If your running kernel is older"
53 + ewarn "and kernel header is newer, nc will not listen correctly. Matching the header"
54 + ewarn "to the running kernel will do. See bug #490246 for details."
55 + fi
56 +}
57
58
59
60 1.4 net-analyzer/openbsd-netcat/ChangeLog
61
62 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog?rev=1.4&view=markup
63 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog?rev=1.4&content-type=text/plain
64 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog?r1=1.3&r2=1.4
65
66 Index: ChangeLog
67 ===================================================================
68 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog,v
69 retrieving revision 1.3
70 retrieving revision 1.4
71 diff -u -r1.3 -r1.4
72 --- ChangeLog 1 Nov 2012 07:40:52 -0000 1.3
73 +++ ChangeLog 1 Feb 2014 08:47:17 -0000 1.4
74 @@ -1,6 +1,10 @@
75 -# ChangeLog for net-analyzer/netcat-openbsd
76 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
77 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog,v 1.3 2012/11/01 07:40:52 heroxbd Exp $
78 +# ChangeLog for net-analyzer/openbsd-netcat
79 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
80 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openbsd-netcat/ChangeLog,v 1.4 2014/02/01 08:47:17 heroxbd Exp $
81 +
82 + 01 Feb 2014; Benda Xu <heroxbd@g.o> openbsd-netcat-1.84.ebuild:
83 + respect LDFLAGS, bug 441680, credits Diego; warn against FO_REUSEPORT
84 + mismatch, bug 493074, credits Josh.
85
86 01 Nov 2012; Benda Xu <heroxbd@g.o> openbsd-netcat-1.84.ebuild:
87 fix indentations