Skip to contentSkip to conversation

New package: socketcand

PATCH New yegorslists at googlemail.com 4 participants 11 messages Mar 22, 2012 – Mar 27, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 New package: socketcand

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                |    1 +
 package/socketcand/Config.in     |    9 +++++++++
 package/socketcand/socketcand.mk |   12 ++++++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 package/socketcand/Config.in
 create mode 100644 package/socketcand/socketcand.mk
package/Config.in +1 -0
index 85583c6..b394f18 100644
@@ -504,6 +504,7 @@ source "package/rsync/Config.in"
 source "package/samba/Config.in"
 source "package/ser2net/Config.in"
 source "package/socat/Config.in"
+source "package/socketcand/Config.in"
 source "package/spawn-fcgi/Config.in"
 source "package/squid/Config.in"
 source "package/stunnel/Config.in"
package/socketcand/Config.in new file +9 -0
new file mode 100644
index 0000000..ed973b7
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_SOCKETCAND
+	bool "socketcand"
+	select BR2_PACKAGE_LIBCONFIG
+	help
+	  Socketcand is a daemon that provides access to CAN interfaces
+	  on a machine via a network interface.
+
+	  https://github.com/dschanoeh/socketcand
+
package/socketcand/socketcand.mk new file +12 -0
new file mode 100644
index 0000000..8677520
@@ -0,0 +1,12 @@
+#############################################################
+#
+# socketcand
+#
+#############################################################
+SOCKETCAND_VERSION = 7d06986fa4b5fd2c210ec4e248dab41107be1ccd
+SOCKETCAND_SITE = git://github.com/dschanoeh/socketcand.git
+SOCKETCAND_AUTORECONF = YES
+SOCKETCAND_DEPENDENCIES = libconfig
+
+$(eval $(call AUTOTARGETS))
+
Signature · 1 line
1.7.7
#1 lore raw

PATCH 2/2 udev: bump to 182

From: Yegor Yefremov <[email protected]>

---
 package/udev/udev.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/udev/udev.mk +1 -1
index d445a2f..85f6254 100644
@@ -3,7 +3,7 @@
 # udev
 #
 #############################################################
-UDEV_VERSION = 181
+UDEV_VERSION = 182
 UDEV_SOURCE = udev-$(UDEV_VERSION).tar.bz2
 UDEV_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/hotplug/
 UDEV_INSTALL_STAGING = YES
Signature · 1 line
1.7.7
#2 lore raw

PATCH 2/2 udev: bump to 182

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"yegorslists" == yegorslists <[email protected]> writes:

yegorslists> From: Yegor Yefremov <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/2 New package: socketcand

Le Thu, 22 Mar 2012 23:54:34 +0100,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"yegorslists" == yegorslists <[email protected]> writes:

yegorslists> From: Yegor Yefremov <[email protected]> yegorslists> Signed-off-by: Yegor Yefremov yegorslists> <[email protected]>

Committed, thanks.

There are apparently build problems with this package:
http://autobuild.buildroot.org/results/d6a79808eae008611a3ed12a0b7d9901a7fc159f/build-end.log

The host system I use is an old Debian Sarge, so the coreutils (including cp) might be quite old. But I think it's a good test to see if we can correctly build on old enterprise distros such as RHEL that some people are forced to use in companies (and I feel sorry for them).

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 1/2 New package: socketcand

Am 23.03.2012 09:55, schrieb Thomas Petazzoni:

Quoted 12 lines

Le Thu, 22 Mar 2012 23:54:34 +0100,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"yegorslists" == yegorslists <[email protected]> writes:

yegorslists> From: Yegor Yefremov <[email protected]> yegorslists> Signed-off-by: Yegor Yefremov yegorslists> <[email protected]>

Committed, thanks.

Quoted 7 lines

There are apparently build problems with this package:
http://autobuild.buildroot.org/results/d6a79808eae008611a3ed12a0b7d9901a7fc159f/build-end.log

The host system I use is an old Debian Sarge, so the coreutils (including cp) might be quite old. But I think it's a good test to see if we can correctly build on old enterprise distros such as RHEL that some people are forced to use in companies (and I feel sorry for them).

What do you suggest?
I found following solution here:

http://superuser.com/questions/140708/ubuntu-equivalent-of-unix-command-cp-n

if [ ! -e dest ]; then
cp -f src dest
fi

Yegor

#6 lore raw

PATCH 1/2 New package: socketcand

Le Fri, 23 Mar 2012 10:06:40 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 1 line

What do you suggest?

Fixup the Makefile.in to use install instead of cp. That will remove all the useless mkdir and such. You can even contribute this change to the upstream project I think.

No 'make install' ever cares about overwriting existing files, I don't see why the one of socketcand should.

What do you think about this option?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#7 lore raw

PATCH 1/2 New package: socketcand

Quoted 5 lines · Thomas Petazzoni

Le Fri, 23 Mar 2012 10:06:40 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 1 line

What do you suggest?

Quoted 8 lines

Fixup the Makefile.in to use install instead of cp. That will remove all the useless mkdir and such. You can even contribute this change to the upstream project I think.

No 'make install' ever cares about overwriting existing files, I don't see why the one of socketcand should.

What do you think about this option?

I agree with you. I'll make a patch and contact the maintainer.

Yegor

#8 lore raw

PATCH 1/2 New package: socketcand

Hello,

Le Fri, 23 Mar 2012 10:19:55 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 6 lines
Quoted 4 lines

No 'make install' ever cares about overwriting existing files, I don't see why the one of socketcand should.

What do you think about this option?

I agree with you. I'll make a patch and contact the maintainer.

Any news from this?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#9 lore raw

PATCH 1/2 New package: socketcand

Am 27.03.2012 11:39, schrieb Thomas Petazzoni:

Quoted 5 lines

Hello,

Le Fri, 23 Mar 2012 10:19:55 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

No 'make install' ever cares about overwriting existing files, I don't see why the one of socketcand should.

What do you think about this option?

I agree with you. I'll make a patch and contact the maintainer.

Any news from this?

I've contacted Jan-Niklas and he wanted to fix the stuff himself next week. He has also integrated a patch to make libconfig optional. I hope to clean up the issues next week.

Yegor

#10 lore raw

PATCH 1/2 New package: socketcand

Le Tue, 27 Mar 2012 11:45:43 +0200,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 3 lines

I've contacted Jan-Niklas and he wanted to fix the stuff himself next week. He has also integrated a patch to make libconfig optional. I hope to clean up the issues next week.

Excellent, thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com