All of lore.kernel.org
 help / color / mirror / Atom feed
* Debian package configuration for can-utils
@ 2013-09-06 14:08 Stefan Wahren
  2013-09-06 18:37 ` Markus Becker
  2013-09-06 18:51 ` Uwe Kleine-König
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Wahren @ 2013-09-06 14:08 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-can

Hello Uwe,

i had read the discussion about Debian package for can-utils ( 
http://thread.gmane.org/gmane.linux.can/3748 ) and i'm very interested 
about that.

Is there a public repository, where i can get can-utils including Debian 
package configuration?

Best regards
Stefan


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

* Re: Debian package configuration for can-utils
  2013-09-06 14:08 Debian package configuration for can-utils Stefan Wahren
@ 2013-09-06 18:37 ` Markus Becker
  2013-09-06 18:51 ` Uwe Kleine-König
  1 sibling, 0 replies; 5+ messages in thread
From: Markus Becker @ 2013-09-06 18:37 UTC (permalink / raw)
  To: Stefan Wahren; +Cc: Uwe Kleine-König, linux-can

On Friday 06 September 2013 16:08:18 Stefan Wahren wrote:
> Hello Uwe,
> 
> i had read the discussion about Debian package for can-utils (
> http://thread.gmane.org/gmane.linux.can/3748 ) and i'm very interested
> about that.
> 
> Is there a public repository, where i can get can-utils including Debian
> package configuration?

I did some packaging back in April 2012 in Debian's collab-maint packaging 
effort:
http://anonscm.debian.org/gitweb/?p=collab-maint/can-utils.git;a=summary
http://anonscm.debian.org/gitweb/?p=collab-maint/can-modules.git;a=summary
(The last one mostly to get the ISO-TP modules.)

https://wiki.debian.org/Alioth/PackagingProject and
http://alioth.debian.org/projects/collab-maint/
describe on how to join packaging efforts.

To build from the git repo shoud be as easy as cloning and using dpkg-
buildpackage.

Markus

> Best regards
> Stefan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
------------------------------------------------
| Dipl.-Ing. Markus Becker
| Communication Networks
| TZI - Center for Computing Technologies
| University Bremen
| Germany
------------------------------------------------
| web: http://www-user.uni-bremen.de/~beckerm/
| mailto: mab@comnets.uni-bremen.de
| telephone: +49 421 218 62379
| building: NW1 room: N2260
------------------------------------------------

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

* Re: Debian package configuration for can-utils
  2013-09-06 14:08 Debian package configuration for can-utils Stefan Wahren
  2013-09-06 18:37 ` Markus Becker
@ 2013-09-06 18:51 ` Uwe Kleine-König
  2013-09-06 19:28   ` Marc Kleine-Budde
  2013-09-09  6:44   ` Stefan Wahren
  1 sibling, 2 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2013-09-06 18:51 UTC (permalink / raw)
  To: Stefan Wahren; +Cc: linux-can

Hello Stefan,

On Fri, Sep 06, 2013 at 04:08:18PM +0200, Stefan Wahren wrote:
> i had read the discussion about Debian package for can-utils (
> http://thread.gmane.org/gmane.linux.can/3748 ) and i'm very
> interested about that.
> 
> Is there a public repository, where i can get can-utils including
> Debian package configuration?
I have some preliminary work. While it's not yet good enough for Debian
(because of license issues) I don't mind sharing it. Below you can find
the current patch. I don't plan to publish a repository until the
license issues are resolved.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
------------->8---------------
From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
Date: Fri, 6 Sep 2013 20:45:29 +0200
Subject: [PATCH can-utils] debian: initial packaging

Note the resulting package isn't DFSG-free as there are still a few license
issues to be resolved.
---
 debian/changelog     |   6 +++
 debian/compat        |   1 +
 debian/control       |  20 +++++++++
 debian/copyright     | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules         |  32 +++++++++++++++
 debian/source/format |   1 +
 6 files changed, 174 insertions(+)
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100755 debian/rules
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bbc60fb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+can-utils (0~git20130906.1-1) unstable; urgency=low
+
+  * Initial release based on git snapshot
+    ad7f44095ac301ae85f1c3e406a868c5ac664abe
+
+ -- Uwe Kleine-König <uwe@kleine-koenig.org>  Thu, 15 Aug 2013 21:33:02 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6bf2c9f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: can-utils
+Section: net
+Priority: extra
+Maintainer: Uwe Kleine-König <uwe@kleine-koenig.org>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.4
+Vcs-Browser: http://git.pengutronix.de/?p=ukl/can-utils.git;
+Vcs-Git: git://git.pengutronix.de/git/ukl/can-utils.git
+
+Package: can-utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CAN userspace utilities and tools
+ Can is a message-based network protocol designed for vehicles originally
+ designed by Robert Bosch GmbH. This package contains some userspace tools,
+ namely:
+        asc2log; bcmserver; canbusload; can-calc-bit-timing; candump;
+        canfdtest; cangen; cangw; canlogserver; canplayer; cansend; cansniffer;
+        isotpdump; isotprecv; isotpsend; isotpserver; isotpsniffer; isotptun;
+        log2asc; log2long; slcan_attach; slcand; and slcanpty
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8aa4f98
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,114 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: can-utils
+Upstream-Contact: linux-can@vger.kernel.org
+Source: https://gitorious.org/linux-can/can-utils
+
+Files: asc2log.c cangen.c canlogserver.c canplayer.c cansend.c cansniffer.c lib.c lib.h log2asc.c log2long.c slcan_attach.c terminal.h
+Copyright: 2002-2007 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: bcmserver.c candump.c
+Copyright: 2002-2009 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: canbusload.c
+Copyright: 2002-2008 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: can-calc-bit-timing.c
+Copyright: 2008 Wolfgang Grandegger <wg@grandegger.com>
+License: GPL
+
+Files: canfdtest.c
+Copyright: 2009 Vladislav Gribov, IXXAT Automation GmbH, <gribov@ixxat.de>
+           2009 Wolfgang Grandegger <wg@grandegger.com>
+License: GPL-2+
+
+Files: cangw.c
+Copyright: 2010 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: debian/*
+Copyright: 2013 Uwe Kleine-König <uwe@kleine-koenig.org>
+License: GPL-2
+
+Files: include/socketcan/can/bcm.h include/socketcan/can/error.h include/socketcan/can/raw.h
+Copyright: 2002-2007 Volkswagen Group Electronic Research
+License: XXX
+
+Files: include/socketcan/can/gw.h
+Copyright: 2011 Volkswagen Group Electronic Research
+License: XXX
+
+Files: include/socketcan/can/isotp.h
+Copyright: 2008 Volkswagen Group Electronic Research
+License: XXX
+
+Files: include/socketcan/can/netlink.h
+Copyright: 2009 Wolfgang Grandegger <wg@grandegger.com>
+License: XXX
+
+Files: include/socketcan/can/ioctl.h
+Copyright: XXX
+License: XXX
+
+Files: isotpdump.c isotprecv.c isotpsend.c isotpsniffer.c isotptun.c
+Copyright: 2008 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: isotpserver.c
+Copyright: 2002-2010 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: Makefile
+Copyright: 2002-2005 Volkswagen Group Electronic Research
+License: BSD-3-clause or GPL-2
+
+Files: slcand.c
+Copyright: 2009 Robert Haddon <robert.haddon@verari.com>
+           2009 Verari Systems Inc.
+License: GPL-2+ and GFDL-NIV-1.2
+Comment: This might not be distributable
+
+Files: slcanpty.c
+Copyright: 2009 Oliver Hartkopp
+License: GPL-2+
+
+License: BSD-3-clause
+ All rights reserved.
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of Volkswagen nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+
+License: GFDL-NIV-1.2
+ Redistributable and modifiable under the terms of the GNU Free Documentation
+ License version 1.2 as published by the Free Software Foundation, with no
+ Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ The full text of the GFDL version 1.2 can be found in
+ /usr/share/common-licenses/GFDL-1.2 on Debian systems
+
+License: GPL
+ Redistributable and modifiable under the terms of the GPL.
+ The full text of the GPL version 2 can be found in
+ /usr/share/common-licenses/GPL-2 on Debian systems.
+
+License: GPL-2
+ Redistributable and modifiable under the terms of the GPL version 2
+ as published by the Free Software Foundation.
+ The full text of the GPL version 2 can be found in
+ /usr/share/common-licenses/GPL-2 on Debian systems.
+
+License: GPL-2+
+ Redistributable and modifiable under the terms of the GPL version 2 or (at
+ your option) any later version published by the Free Software Foundation.
+ The full text of the GPL versions 2 and 3 can be found in
+ /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/GPL-3 on
+ Debian systems.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bc9bc8b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#! /usr/bin/make -f
+
+export PREFIX = /usr
+
+DH_SEQUENCE = $@
+DH = dh $(DH_SEQUENCE)
+
+build-arch: build-arch-stamp
+build-indep:
+build: build-arch build-indep
+
+install: build install-stamp
+
+build-arch-stamp install-stamp: DH_SEQUENCE = ${@:-stamp=}
+build-arch-stamp install-stamp:
+	$(DH)
+	touch $@
+
+binary-arch binary-indep: install
+	$(DH)
+
+binary: binary-arch binary-indep
+
+clean:
+	$(DH)
+
+get-orig-source: UPSTREAM_REF := $(shell grep -E -o '[0-9a-f]{40}' -m 1 debian/changelog)
+get-orig-source: UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //; T; s/-.*//p')
+get-orig-source:
+	git archive --format=tar --prefix=can-utils-$(UPSTREAM_VERSION).orig/ $(UPSTREAM_REF) | gzip --best --no-name > can-utils_$(UPSTREAM_VERSION).orig.tar.gz
+
+.PHONY: build-arch build-indep build install binary-indep binary-arch binary clean get-orig-source
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)


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

* Re: Debian package configuration for can-utils
  2013-09-06 18:51 ` Uwe Kleine-König
@ 2013-09-06 19:28   ` Marc Kleine-Budde
  2013-09-09  6:44   ` Stefan Wahren
  1 sibling, 0 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2013-09-06 19:28 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Stefan Wahren, linux-can

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

On 09/06/2013 08:51 PM, Uwe Kleine-König wrote:
> Hello Stefan,
> 
> On Fri, Sep 06, 2013 at 04:08:18PM +0200, Stefan Wahren wrote:
>> i had read the discussion about Debian package for can-utils (
>> http://thread.gmane.org/gmane.linux.can/3748 ) and i'm very
>> interested about that.
>>
>> Is there a public repository, where i can get can-utils including
>> Debian package configuration?
> I have some preliminary work. While it's not yet good enough for Debian
> (because of license issues) I don't mind sharing it. Below you can find
> the current patch. I don't plan to publish a repository until the
> license issues are resolved.

OT: Regarding the license issue, can you answer Wolfgangs mail?

Tnx,
Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: Debian package configuration for can-utils
  2013-09-06 18:51 ` Uwe Kleine-König
  2013-09-06 19:28   ` Marc Kleine-Budde
@ 2013-09-09  6:44   ` Stefan Wahren
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Wahren @ 2013-09-09  6:44 UTC (permalink / raw)
  To: Uwe Kleine-König, Markus Becker; +Cc: linux-can

Hello Uwe,
hello Markus,

thank you very much.

Best regards
Stefan

Am 06.09.2013 20:51, schrieb Uwe Kleine-König:
> Hello Stefan,
>
> On Fri, Sep 06, 2013 at 04:08:18PM +0200, Stefan Wahren wrote:
>> i had read the discussion about Debian package for can-utils (
>> http://thread.gmane.org/gmane.linux.can/3748 ) and i'm very
>> interested about that.
>>
>> Is there a public repository, where i can get can-utils including
>> Debian package configuration?
> I have some preliminary work. While it's not yet good enough for Debian
> (because of license issues) I don't mind sharing it. Below you can find
> the current patch. I don't plan to publish a repository until the
> license issues are resolved.
>
> Best regards
> Uwe
>


-- 
Software-Entwickler / software developer

I2SE GmbH                           Tel: +49 (0) 341 355667-00
Friedrich-Ebert-Str. 61             Fax: +49 (0) 341 355667-02
04109 Leipzig
Germany
Web: http://www.i2se.com/           Mail: info@i2se.com
VAT No.: DE 811528334
Amtsgericht Leipzig HRB 23784
Geschäftsführer/CEO: Carsten Ziermann

*** Diese E-Mail ist allein für den bezeichneten Adressaten bestimmt. Sie kann rechtlich vertrauliche Informationen enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte unverzüglich den Absender per E-Mail und löschen Sie diese E-Mail von Ihrem Computer, ohne Kopien anzufertigen.
Vielen Dank. ***

*** This email is for the exclusive use of the addressee. It may contain legally privileged information. If you have received this message in error, please notify the sender by email immediately and delete the message from your computer without making any copies.
Thank you. ***


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

end of thread, other threads:[~2013-09-09  6:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 14:08 Debian package configuration for can-utils Stefan Wahren
2013-09-06 18:37 ` Markus Becker
2013-09-06 18:51 ` Uwe Kleine-König
2013-09-06 19:28   ` Marc Kleine-Budde
2013-09-09  6:44   ` Stefan Wahren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.