[MERGED] libasn1c[master]: add /debian to build a package

2017-08-13 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: add /debian to build a package
..


add /debian to build a package

debian files need a release so start with release 0.1.0

Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libasn1c-dev.install
A debian/libasn1c0.install
A debian/rules
A debian/source/format
8 files changed, 168 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved; Verified



diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000..f56c11a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libasn1c (0.1.0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Alexander Couzens   Sun, 06 Aug 2017 22:25:03 +
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000..4313249
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: libasn1c
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens 
+Build-Depends: debhelper (>=9),
+   dh-autoreconf,
+   libtalloc-dev
+Standards-Version: 3.9.8
+Vcs-Git: git://git.osmocom.org/libasn1c.git
+Vcs-Browser: http://git.osmocom.org/gitweb?p=libasn1c.git;a=summary
+Homepage: https://projects.osmocom.org/projects/libasn1c
+
+Package: libasn1c0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000..91a7cb9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,64 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libasn1c
+Source: git://git.osmocom.org/libasn1c
+
+Files: *
+Copyright: 2005-2014 Lev Walkin 
+License: BSD-3-Clause
+
+Files: src/xer_support.c
+Copyright: 2003,2004 X/IO Labs, xiolabs.com.
+   2003,2004,2005 Lev Walkin .
+License: BSD-3-Clause
+
+Files: include/asn1c/xer_support.h
+Copyright: 2003,2004 X/IO Labs, xiolabs.com
+   2003,2004 Lev Walkin 
+License: BSD-3-Clause
+
+Files: src/asn1helpers.c
+Copyright: 2014-2015 by Harald Welte 
+License:   AGPL-3.0+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program.  If not, see .
+
+Files: debian/*
+Copyright: 2017 Alexander Couzens 
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ 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 the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 

libasn1c[master]: add /debian to build a package

2017-08-13 Thread Harald Welte

Patch Set 2: Verified+1

-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 2
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: lynxis lazus 
Gerrit-HasComments: No


libasn1c[master]: add /debian to build a package

2017-08-13 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 2
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: lynxis lazus 
Gerrit-HasComments: No


libasn1c[master]: add /debian to build a package

2017-08-11 Thread Neels Hofmeyr

Patch Set 2: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/#/c/3440/2/debian/copyright
File debian/copyright:

Line 65
@hwelte, are the licenses making sense now?


-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 2
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: lynxis lazus 
Gerrit-HasComments: Yes


libasn1c[master]: add /debian to build a package

2017-08-11 Thread lynxis lazus

Patch Set 2:

done

-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 2
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: lynxis lazus 
Gerrit-HasComments: No


[PATCH] libasn1c[master]: add /debian to build a package

2017-08-11 Thread lynxis lazus
Hello Neels Hofmeyr,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/3440

to look at the new patch set (#2).

add /debian to build a package

debian files need a release so start with release 0.1.0

Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libasn1c-dev.install
A debian/libasn1c0.install
A debian/rules
A debian/source/format
8 files changed, 168 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/40/3440/2

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000..f56c11a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libasn1c (0.1.0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Alexander Couzens   Sun, 06 Aug 2017 22:25:03 +
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000..4313249
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: libasn1c
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens 
+Build-Depends: debhelper (>=9),
+   dh-autoreconf,
+   libtalloc-dev
+Standards-Version: 3.9.8
+Vcs-Git: git://git.osmocom.org/libasn1c.git
+Vcs-Browser: http://git.osmocom.org/gitweb?p=libasn1c.git;a=summary
+Homepage: https://projects.osmocom.org/projects/libasn1c
+
+Package: libasn1c0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000..91a7cb9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,64 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libasn1c
+Source: git://git.osmocom.org/libasn1c
+
+Files: *
+Copyright: 2005-2014 Lev Walkin 
+License: BSD-3-Clause
+
+Files: src/xer_support.c
+Copyright: 2003,2004 X/IO Labs, xiolabs.com.
+   2003,2004,2005 Lev Walkin .
+License: BSD-3-Clause
+
+Files: include/asn1c/xer_support.h
+Copyright: 2003,2004 X/IO Labs, xiolabs.com
+   2003,2004 Lev Walkin 
+License: BSD-3-Clause
+
+Files: src/asn1helpers.c
+Copyright: 2014-2015 by Harald Welte 
+License:   AGPL-3.0+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program.  If not, see .
+
+Files: debian/*
+Copyright: 2017 Alexander Couzens 
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ 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 the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 

libasn1c[master]: add /debian to build a package

2017-08-09 Thread Neels Hofmeyr

Patch Set 1: Code-Review-1

lynxis, let's enhance the copyright notice as in above comments

-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-HasComments: No


libasn1c[master]: add /debian to build a package

2017-08-09 Thread Harald Welte

Patch Set 1:

> (1 comment)
 > 
 > @hwelte, is there also material copyrighted by you in libasn1c?

yes, specifically asn1helpers.[ch]

-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-HasComments: No


libasn1c[master]: add /debian to build a package

2017-08-08 Thread Neels Hofmeyr

Patch Set 1: Code-Review+1

(1 comment)

@hwelte, is there also material copyrighted by you in libasn1c?

https://gerrit.osmocom.org/#/c/3440/1/debian/rules
File debian/rules:

Line 45:dh $@ --with autoreconf 
ws


-- 
To view, visit https://gerrit.osmocom.org/3440
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-HasComments: Yes


[PATCH] libasn1c[master]: add /debian to build a package

2017-08-08 Thread lynxis lazus

Review at  https://gerrit.osmocom.org/3440

add /debian to build a package

debian files need a release so start with release 0.1.0

Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libasn1c-dev.install
A debian/libasn1c0.install
A debian/rules
A debian/source/format
8 files changed, 147 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/40/3440/1

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000..f56c11a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libasn1c (0.1.0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Alexander Couzens   Sun, 06 Aug 2017 22:25:03 +
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000..4313249
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: libasn1c
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens 
+Build-Depends: debhelper (>=9),
+   dh-autoreconf,
+   libtalloc-dev
+Standards-Version: 3.9.8
+Vcs-Git: git://git.osmocom.org/libasn1c.git
+Vcs-Browser: http://git.osmocom.org/gitweb?p=libasn1c.git;a=summary
+Homepage: https://projects.osmocom.org/projects/libasn1c
+
+Package: libasn1c0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
+
+Package: libasn1c-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libasn1c0 (= ${binary:Version}), ${misc:Depends}
+Description: asn1c runtime code as shared library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000..cce213b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libasn1c
+Source: git://git.osmocom.org/libasn1c
+
+Files: *
+Copyright: 2005-2014 Lev Walkin 
+License: BSD-3-Clause
+
+Files: src/xer_support.c
+Copyright: 2003,2004 X/IO Labs, xiolabs.com.
+   2003,2004,2005 Lev Walkin .
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2017 Alexander Couzens 
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ 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 the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
diff --git a/debian/libasn1c-dev.install b/debian/libasn1c-dev.install
new file mode 100644
index 000..d8a8a49
--- /dev/null
+++ b/debian/libasn1c-dev.install
@@ -0,0 +1,4 @@
+usr/include
+usr/lib/*/pkgconfig/*.pc
+usr/lib/*/*.a
+usr/lib/*/lib*.so
diff --git a/debian/libasn1c0.install b/debian/libasn1c0.install
new file mode 100644
index 000..3de3b10
--- /dev/null
+++ b/debian/libasn1c0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000..c806072
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+# See debhelper(7) (uncomment to enable)
+# This is an autogenerated template for debian/rules.
+#
+# Output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+#
+#