CVS commit: src/share/man/man4

2019-12-29 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Sun Dec 29 20:58:34 UTC 2019

Modified Files:
src/share/man/man4: urndis.4

Log Message:
urndis.4: add LGE Nexus 5 as a knonw working device.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/urndis.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2019-12-29 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Sun Dec 29 20:58:34 UTC 2019

Modified Files:
src/share/man/man4: urndis.4

Log Message:
urndis.4: add LGE Nexus 5 as a knonw working device.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/urndis.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/urndis.4
diff -u src/share/man/man4/urndis.4:1.9 src/share/man/man4/urndis.4:1.10
--- src/share/man/man4/urndis.4:1.9	Sun Sep  1 23:01:01 2019
+++ src/share/man/man4/urndis.4	Sun Dec 29 20:58:34 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: urndis.4,v 1.9 2019/09/01 23:01:01 gutteridge Exp $
+.\" $NetBSD: urndis.4,v 1.10 2019/12/29 20:58:34 triaxx Exp $
 .\"
 .\" Copyright (c) 2010 Michael Knudsen 
 .\" All rights reserved.
@@ -64,6 +64,8 @@ HTC Tattoo
 .It
 HTC Wildfire
 .It
+LGE Nexus 5
+.It
 Motorola Moto X (2nd Gen.)
 .It
 Samsung Galaxy S / S2



CVS commit: src/sys/dev/mii

2019-06-05 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Wed Jun  5 17:50:06 UTC 2019

Modified Files:
src/sys/dev/mii: rgephy.c

Log Message:
Cosmetic changes

Assignment made during declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/rgephy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/mii/rgephy.c
diff -u src/sys/dev/mii/rgephy.c:1.54 src/sys/dev/mii/rgephy.c:1.55
--- src/sys/dev/mii/rgephy.c:1.54	Thu Apr 11 09:14:07 2019
+++ src/sys/dev/mii/rgephy.c	Wed Jun  5 17:50:06 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: rgephy.c,v 1.54 2019/04/11 09:14:07 msaitoh Exp $	*/
+/*	$NetBSD: rgephy.c,v 1.55 2019/06/05 17:50:06 triaxx Exp $	*/
 
 /*
  * Copyright (c) 2003
@@ -33,7 +33,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.54 2019/04/11 09:14:07 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.55 2019/06/05 17:50:06 triaxx Exp $");
 
 
 /*
@@ -112,9 +112,6 @@ rgephy_attach(device_t parent, device_t 
 	int rev;
 	const char *sep = "";
 
-	ma = aux;
-	mii = ma->mii_data;
-
 	rev = MII_REV(ma->mii_id2);
 	mpd = mii_phy_match(ma, rgephys);
 	aprint_naive(": Media interface\n");



CVS commit: src/sys/dev/mii

2019-06-05 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Wed Jun  5 17:50:06 UTC 2019

Modified Files:
src/sys/dev/mii: rgephy.c

Log Message:
Cosmetic changes

Assignment made during declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/rgephy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/dhcpcd

2018-07-04 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Thu Jul  5 05:41:17 UTC 2018

Modified Files:
src/external/bsd/dhcpcd: Makefile.inc

Log Message:
Fix an inconsistency that showed /var/db/duid in the man page while the
binary opened /var/db/dhcpcd/duid.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/dhcpcd/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/Makefile.inc
diff -u src/external/bsd/dhcpcd/Makefile.inc:1.2 src/external/bsd/dhcpcd/Makefile.inc:1.3
--- src/external/bsd/dhcpcd/Makefile.inc:1.2	Mon Jun 12 14:50:38 2017
+++ src/external/bsd/dhcpcd/Makefile.inc	Thu Jul  5 05:41:17 2018
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.2 2017/06/12 14:50:38 roy Exp $
+# $NetBSD: Makefile.inc,v 1.3 2018/07/05 05:41:17 triaxx Exp $
 
 SRCDIR=		${NETBSDSRCDIR}/external/bsd/dhcpcd
 DIST=		${SRCDIR}/dist
 
 SED_SYS=	-e 's:@SYSCONFDIR@:/etc:g' \
 		-e 's:@DATADIR@:/usr/share/examples:g' \
-		-e 's:@DBDIR@:/var/db:g' \
+		-e 's:@DBDIR@:/var/db/dhcpcd:g' \
 		-e 's:@LIBDIR@:/lib:g' \
 		-e 's:@RUNDIR@:/var/run:g' \
 		-e 's:@HOOKDIR@:/libexec/dhcpcd-hooks:g' \



CVS commit: src/external/bsd/dhcpcd

2018-07-04 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Thu Jul  5 05:41:17 UTC 2018

Modified Files:
src/external/bsd/dhcpcd: Makefile.inc

Log Message:
Fix an inconsistency that showed /var/db/duid in the man page while the
binary opened /var/db/dhcpcd/duid.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/dhcpcd/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/external/gpl2/gmake/dist

2018-06-01 Thread Frédéric Fauberteau

Le 2018-06-01 11:05, Kamil Rytarowski a écrit :

On 01.06.2018 10:33, Frédéric Fauberteau wrote:

Le 2018-05-01 03:23, Kamil Rytarowski a écrit :

On 01.05.2018 02:55, Christos Zoulas wrote:

In article
,
Kimihiro Nonaka   wrote:

2018-05-01 8:53 GMT+09:00 Kamil Rytarowski :


This is polling GPLv3 code into GPLv2 gmake - these licenses are
incompatible.


You mean pulling here? There is no pulling GPLv3 code unless the 
code

is copied from GPLv3.



It was cherry-picked from GPLv3+.


Thanks to the following patch, I can cross-build a toolset on my Arch
box. When I look at the make.git tree:
http://git.savannah.gnu.org/cgit/make.git/tree/
I don't see any 'configure' file. In which way this patch breaks the
license?

Index: configure
===
RCS file: /cvsroot/src/external/gpl2/gmake/dist/configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure
--- configure    18 Aug 2014 06:46:54 -    1.1.1.1
+++ configure    1 Jun 2018 08:05:31 -
@@ -13619,10 +13619,9 @@
 #include 
 #include 

-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include 
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION 
== 2

    gnu glob
 # endif
 #endif


http://git.savannah.gnu.org/cgit/make.git/tree/configure.ac#n6

# GNU Make is free software; you can redistribute it and/or modify it 
under

# the terms of the GNU General Public License as published by the Free
Software
# Foundation; either version 3 of the License, or (at your option) any 
later

# version.

GPL2 and GPL3 are incompatible for some reasons.. we could just upgrade
gmake to GPLv3. It's used for building GCC only.


I am not sure to understand correctly. If we modify GNU Make 3.81 (by 
applying a patch) that is distributed in our sources, we redistribute it 
under the terms of GPLv2. No? Do you mean that this line:
# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 
2
is GPLv3 licensed? And therefore we should redistribute the whole GNU 
Make code under the terms of GPLv3?
This line can be found here: 
https://git.busybox.net/buildroot/tree/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch?id=157231405d219e484aa3829acff23569f6a60d00

in a project that is GPLv2 distributed.

I don't want to be too many insistent. Could we imagine putting GNU Make 
4.2.1 under external/gpl3/gmake/dist?


Re: CVS commit: src/external/gpl2/gmake/dist

2018-06-01 Thread Frédéric Fauberteau

Le 2018-05-01 03:23, Kamil Rytarowski a écrit :

On 01.05.2018 02:55, Christos Zoulas wrote:
In article 
,

Kimihiro Nonaka   wrote:

2018-05-01 8:53 GMT+09:00 Kamil Rytarowski :


This is polling GPLv3 code into GPLv2 gmake - these licenses are
incompatible.


You mean pulling here? There is no pulling GPLv3 code unless the code
is copied from GPLv3.



It was cherry-picked from GPLv3+.


Thanks to the following patch, I can cross-build a toolset on my Arch 
box. When I look at the make.git tree: 
http://git.savannah.gnu.org/cgit/make.git/tree/
I don't see any 'configure' file. In which way this patch breaks the 
license?


Index: configure
===
RCS file: /cvsroot/src/external/gpl2/gmake/dist/configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure
--- configure   18 Aug 2014 06:46:54 -  1.1.1.1
+++ configure   1 Jun 2018 08:05:31 -
@@ -13619,10 +13619,9 @@
 #include 
 #include 

-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include 
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 
2

gnu glob
 # endif
 #endif


src/sys/kern/subr_prf.c r1.161

2017-10-27 Thread Frédéric Fauberteau
Hi,

Since revision 1.161 of src/sys/kern/subr_prf.c, I encounter the
following error:
/home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c: In function
'lockdebug_barrier':
/home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c:683:24: error:
passing argument 2 of 'lockdebug_dump' from incompatible pointer type
[-Werror=incompatible-pointer-types]
 lockdebug_dump(ld, printf);
^
/home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c:106:13: note:
expected 'void (*)(const char *)' but argument is of type 'int (*)(const
char *)'
 static void lockdebug_dump(lockdebug_t *, void (*)(const char *, ...)

I fixed it by casting printf:
+
+ lockdebug_dump(ld, (void (*)(const char *, ...))printf);
+
but it does not appear as an elegant solution...



signature.asc
Description: OpenPGP digital signature