Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] New package: socketcand
@ 2012-03-22 15:00 yegorslists at googlemail.com
  2012-03-22 15:01 ` [Buildroot] [PATCH 2/2] udev: bump to 182 yegorslists at googlemail.com
  2012-03-22 22:54 ` [Buildroot] [PATCH 1/2] New package: socketcand Peter Korsgaard
  0 siblings, 2 replies; 11+ messages in thread
From: yegorslists at googlemail.com @ 2012-03-22 15:00 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 85583c6..b394f18 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/socketcand/Config.in b/package/socketcand/Config.in
new file mode 100644
index 0000000..ed973b7
--- /dev/null
+++ b/package/socketcand/Config.in
@@ -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
+
diff --git a/package/socketcand/socketcand.mk b/package/socketcand/socketcand.mk
new file mode 100644
index 0000000..8677520
--- /dev/null
+++ b/package/socketcand/socketcand.mk
@@ -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))
+
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/2] udev: bump to 182
  2012-03-22 15:00 [Buildroot] [PATCH 1/2] New package: socketcand yegorslists at googlemail.com
@ 2012-03-22 15:01 ` yegorslists at googlemail.com
  2012-03-22 23:21   ` Peter Korsgaard
  2012-03-22 22:54 ` [Buildroot] [PATCH 1/2] New package: socketcand Peter Korsgaard
  1 sibling, 1 reply; 11+ messages in thread
From: yegorslists at googlemail.com @ 2012-03-22 15:01 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/udev/udev.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index d445a2f..85f6254 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -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
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-22 15:00 [Buildroot] [PATCH 1/2] New package: socketcand yegorslists at googlemail.com
  2012-03-22 15:01 ` [Buildroot] [PATCH 2/2] udev: bump to 182 yegorslists at googlemail.com
@ 2012-03-22 22:54 ` Peter Korsgaard
  2012-03-23  8:55   ` Thomas Petazzoni
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Korsgaard @ 2012-03-22 22:54 UTC (permalink / raw)
  To: buildroot

>>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com> writes:

 yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
 yegorslists> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/2] udev: bump to 182
  2012-03-22 15:01 ` [Buildroot] [PATCH 2/2] udev: bump to 182 yegorslists at googlemail.com
@ 2012-03-22 23:21   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2012-03-22 23:21 UTC (permalink / raw)
  To: buildroot

>>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com> writes:

 yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-22 22:54 ` [Buildroot] [PATCH 1/2] New package: socketcand Peter Korsgaard
@ 2012-03-23  8:55   ` Thomas Petazzoni
  2012-03-23  9:06     ` Yegor Yefremov
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2012-03-23  8:55 UTC (permalink / raw)
  To: buildroot

Le Thu, 22 Mar 2012 23:54:34 +0100,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

> >>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com>
> >>>>> writes:
> 
>  yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
>  yegorslists> Signed-off-by: Yegor Yefremov
>  yegorslists> <yegorslists@googlemail.com>
> 
> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-23  8:55   ` Thomas Petazzoni
@ 2012-03-23  9:06     ` Yegor Yefremov
  2012-03-23  9:16       ` Thomas Petazzoni
  0 siblings, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2012-03-23  9:06 UTC (permalink / raw)
  To: buildroot

Am 23.03.2012 09:55, schrieb Thomas Petazzoni:
> Le Thu, 22 Mar 2012 23:54:34 +0100,
> Peter Korsgaard <jacmet@uclibc.org> a ?crit :
> 
>>>>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com>
>>>>>>> writes:
>>
>>  yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
>>  yegorslists> Signed-off-by: Yegor Yefremov
>>  yegorslists> <yegorslists@googlemail.com>
>>
>> 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).

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-23  9:06     ` Yegor Yefremov
@ 2012-03-23  9:16       ` Thomas Petazzoni
  2012-03-23  9:19         ` Yegor Yefremov
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2012-03-23  9:16 UTC (permalink / raw)
  To: buildroot

Le Fri, 23 Mar 2012 10:06:40 +0100,
Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :

> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-23  9:16       ` Thomas Petazzoni
@ 2012-03-23  9:19         ` Yegor Yefremov
  2012-03-27  9:39           ` Thomas Petazzoni
  0 siblings, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2012-03-23  9:19 UTC (permalink / raw)
  To: buildroot

On Fri, Mar 23, 2012 at 10:16 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Fri, 23 Mar 2012 10:06:40 +0100,
> Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :
>
>> 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?

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

Yegor

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-23  9:19         ` Yegor Yefremov
@ 2012-03-27  9:39           ` Thomas Petazzoni
  2012-03-27  9:45             ` Yegor Yefremov
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2012-03-27  9:39 UTC (permalink / raw)
  To: buildroot

Hello,

Le Fri, 23 Mar 2012 10:19:55 +0100,
Yegor Yefremov <yegorslists@googlemail.com> a ?crit :

> > 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-27  9:39           ` Thomas Petazzoni
@ 2012-03-27  9:45             ` Yegor Yefremov
  2012-03-27  9:54               ` Thomas Petazzoni
  0 siblings, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2012-03-27  9:45 UTC (permalink / raw)
  To: buildroot

Am 27.03.2012 11:39, schrieb Thomas Petazzoni:
> Hello,
> 
> Le Fri, 23 Mar 2012 10:19:55 +0100,
> Yegor Yefremov <yegorslists@googlemail.com> a ?crit :
> 
>>> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/2] New package: socketcand
  2012-03-27  9:45             ` Yegor Yefremov
@ 2012-03-27  9:54               ` Thomas Petazzoni
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2012-03-27  9:54 UTC (permalink / raw)
  To: buildroot

Le Tue, 27 Mar 2012 11:45:43 +0200,
Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :

> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-27  9:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 15:00 [Buildroot] [PATCH 1/2] New package: socketcand yegorslists at googlemail.com
2012-03-22 15:01 ` [Buildroot] [PATCH 2/2] udev: bump to 182 yegorslists at googlemail.com
2012-03-22 23:21   ` Peter Korsgaard
2012-03-22 22:54 ` [Buildroot] [PATCH 1/2] New package: socketcand Peter Korsgaard
2012-03-23  8:55   ` Thomas Petazzoni
2012-03-23  9:06     ` Yegor Yefremov
2012-03-23  9:16       ` Thomas Petazzoni
2012-03-23  9:19         ` Yegor Yefremov
2012-03-27  9:39           ` Thomas Petazzoni
2012-03-27  9:45             ` Yegor Yefremov
2012-03-27  9:54               ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox