-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnserial: Provide debian files for Ubuntu 21.10 (Impish Indri)
Issue: DOTNET-438
- Loading branch information
Showing
16 changed files
with
214 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
libnserial (1.1.4-0ubuntu1~impish1) impish; urgency=low | ||
|
||
* Initial release for Ubuntu 21.10 Impish Indri | ||
|
||
-- Jason Curl <jcurl@arcor.de> Tue, 18 Oct 2021 21:14:00 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
Source: libnserial | ||
Priority: optional | ||
Maintainer: Jason Curl <jcurl@arcor.de> | ||
Build-Depends: debhelper (>=9), cmake (>=2.8.5), doxygen (>= 1.7.6.1) | ||
Standards-Version: 3.9.7 | ||
Section: libs | ||
Homepage: https://github.com/jcurl/serialportstream | ||
|
||
Package: libnserial-dev | ||
Section: libdevel | ||
Architecture: any | ||
Depends: libnserial (= ${binary:Version}), ${misc:Depends} | ||
Description: Provide development environment for compiling with libnserial. | ||
The library is a small implementation in C that abstracts the usage | ||
of the serial port. It makes it considerably easiers for other languages | ||
like Mono to then use the serial port without directly depending on | ||
the C library or special macros common when dealing with devices and | ||
files. | ||
. | ||
This package contains the library for developers in C. | ||
|
||
Package: libnserial-dbg | ||
Architecture: any | ||
Section: debug | ||
Priority: extra | ||
Depends: libnserial (= ${binary:Version}), ${misc:Depends} | ||
Description: Debugging symbols for libnserial | ||
The library is a small implementation in C that abstracts the usage | ||
of the serial port. It makes it considerably easiers for other languages | ||
like Mono to then use the serial port without directly depending on | ||
the C library or special macros common when dealing with devices and | ||
files. | ||
. | ||
This package contains the debugging symbols for libnserial. | ||
|
||
Package: libnserial-doc | ||
Architecture: all | ||
Section: doc | ||
Priority: extra | ||
Depends: | ||
Recommends: libnserial-dev (= ${binary:Version}) | ||
Description: Documentation for libnserial API | ||
The library is a small implementation in C that abstracts the usage | ||
of the serial port. It makes it considerably easiers for other languages | ||
like Mono to then use the serial port without directly depending on | ||
the C library or special macros common when dealing with devices and | ||
files. | ||
. | ||
This package contains the doxygen'erated API in HTML format. | ||
|
||
Package: libnserial | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: Abstraction of the Serial port for higher level languages. | ||
The library is a small implementation in C that abstracts the usage | ||
of the serial port. It makes it considerably easiers for other languages | ||
like Mono to then use the serial port without directly depending on | ||
the C library or special macros common when dealing with devices and | ||
files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: libnserial | ||
Upstream-Contact: Jason Curl <jcurl@arcor.de> | ||
Source: https://github.com/jcurl/serialportstream | ||
|
||
Files: * | ||
Copyright: 2008-2021 Jason Curl <jcurl@arcor.de> | ||
License: MS-PL | ||
The Microsoft Public License | ||
. | ||
This license governs use of the accompanying software. If you use the | ||
software, you accept this license. If you do not accept the license, do not | ||
use the software. | ||
. | ||
1. Definitions | ||
. | ||
The terms "reproduce," "reproduction," "derivative works," and "distribution" | ||
have the same meaning here as under U.S. copyright law. | ||
. | ||
A "contribution" is the original software, or any additions or changes to the | ||
software. | ||
. | ||
A "contributor" is any person that distributes its contribution under this | ||
license. | ||
. | ||
"Licensed patents" are a contributor's patent claims that read directly on its | ||
contribution. | ||
. | ||
2. Grant of Rights | ||
. | ||
(A) Copyright Grant- Subject to the terms of this license, including the | ||
license conditions and limitations in section 3, each contributor grants you a | ||
non-exclusive, worldwide, royalty-free copyright license to reproduce its | ||
contribution, prepare derivative works of its contribution, and distribute its | ||
contribution or any derivative works that you create. | ||
. | ||
(B) Patent Grant- Subject to the terms of this license, including the license | ||
conditions and limitations in section 3, each contributor grants you a | ||
non-exclusive, worldwide, royalty-free license under its licensed patents to | ||
make, have made, use, sell, offer for sale, import, and/or otherwise dispose | ||
of its contribution in the software or derivative works of the contribution in | ||
the software. | ||
. | ||
3. Conditions and Limitations | ||
. | ||
(A) No Trademark License- This license does not grant you rights to use any | ||
contributors' name, logo, or trademarks. | ||
. | ||
(B) If you bring a patent claim against any contributor over patents that you | ||
claim are infringed by the software, your patent license from such contributor | ||
to the software ends automatically. | ||
. | ||
(C) If you distribute any portion of the software, you must retain all | ||
copyright, patent, trademark, and attribution notices that are present in the | ||
software. | ||
. | ||
(D) If you distribute any portion of the software in source code form, you may | ||
do so only under this license by including a complete copy of this license | ||
with your distribution. If you distribute any portion of the software in | ||
compiled or object code form, you may only do so under a license that complies | ||
with this license. | ||
. | ||
(E) The software is licensed "as-is." You bear the risk of using it. The | ||
contributors give no express warranties, guarantees or conditions. You may | ||
have additional consumer rights under your local laws which this license | ||
cannot change. To the extent permitted under your local laws, the contributors | ||
exclude the implied warranties of merchantability, fitness for a particular | ||
purpose and non-infringement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.\" Hey, EMACS: -*- nroff -*- | ||
.\" (C) Copyright 2021 Jason Curl <jcurl@arcor.de>, | ||
.\" | ||
.\" First parameter, NAME, should be all caps | ||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | ||
.\" other parameters are allowed: see man(7), man(1) | ||
.TH libnserial.so 3 "May 15 2016" | ||
.\" Please adjust this date whenever revising the manpage. | ||
.\" | ||
.\" Some roff macros, for reference: | ||
.\" .nh disable hyphenation | ||
.\" .hy enable hyphenation | ||
.\" .ad l left justify | ||
.\" .ad b justify to both left and right margins | ||
.\" .nf disable filling | ||
.\" .fi enable filling | ||
.\" .br insert line break | ||
.\" .sp <n> insert n+1 empty lines | ||
.\" for manpage-specific macros, see man(7) | ||
.SH NAME | ||
libnserial \- Serial port abstraction library in C | ||
.SH DESCRIPTION | ||
\fBlibnserial\fP is a library written in C that makes it easier to use | ||
with other languages, such as the MONO .NET framework under Linux. | ||
Please refer to the doxygen documentation that came with this package | ||
under /usr/share/doc/libnserial obtained by the doc package for this | ||
library. | ||
.PP | ||
Known issues can be found in the documentation library with this | ||
package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
usr/include/* | ||
usr/lib/*/lib*.so | ||
usr/lib/*/nserial-*/*.cmake | ||
#usr/lib/*/pkgconfig/* | ||
#usr/share/pkgconfig/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/share/doc/libnserial/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# We don't execute this on the local machine, javascript here is only | ||
# needed on the client to view the documentation. | ||
libnserial-doc binary: embedded-javascript-library | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.linux | ||
libnserial/NOTES.bug-serialportclose.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/*/lib*.so.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
libnserial binary : package-name-doesnt-match-sonames libnserial1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debian/docs/libnserial.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/make -f | ||
# See debhelper(7) (uncomment to enable) | ||
# output every command that modifies files on the build system. | ||
export DH_VERBOSE = 1 | ||
export DH_OPTIONS = -v | ||
|
||
# see FEATURE AREAS in dpkg-buildflags(1) | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# see ENVIRONMENT in dpkg-buildflags(1) | ||
# package maintainers to append CFLAGS | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# package maintainers to append LDFLAGS | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
|
||
%: | ||
dh $@ | ||
|
||
|
||
override_dh_strip: | ||
dh_strip --dbg-package=libnserial-dbg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# We build directly within GIT on its own branch with debhelper. Thus | ||
# there is no need for patches, etc. However, we still need the dash | ||
# version to indicate if there was a package update on the branch even | ||
# if the main branch didn't change. | ||
libnserial: native-package-with-dash-version | ||
|
||
# We don't need any dependencies for documentation as it's not executable. | ||
libnserial: debhelper-but-no-misc-depends libnserial-doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (native) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Use bzip2 compression instead of default xz | ||
compression = "bzip2" | ||
compression-level = 9 | ||
|