<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-e1d/+/19080">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  tnt: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">debian packaging<br><br>Change-Id: Idac376e92f95ab8beef506e9617227f1c7277838<br>---<br>M .gitignore<br>M Makefile.am<br>A debian/changelog<br>A debian/compat<br>A debian/control<br>A debian/copyright<br>A debian/libosmo-e1d-dev.install<br>A debian/libosmo-e1d.install<br>A debian/osmo-e1d.install<br>A debian/rules<br>A debian/source/format<br>11 files changed, 161 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/.gitignore b/.gitignore</span><br><span>index aef7cd0..3e31435 100644</span><br><span>--- a/.gitignore</span><br><span>+++ b/.gitignore</span><br><span>@@ -18,6 +18,13 @@</span><br><span> .deps</span><br><span> .libs</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+debian/.debhelper</span><br><span style="color: hsl(120, 100%, 40%);">+debian/autoreconf.*</span><br><span style="color: hsl(120, 100%, 40%);">+debian/libosmo-e1d*</span><br><span style="color: hsl(120, 100%, 40%);">+debian/osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+debian/*.log</span><br><span style="color: hsl(120, 100%, 40%);">+debian/tmp</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> *.la</span><br><span> *.lo</span><br><span> *.o</span><br><span>diff --git a/Makefile.am b/Makefile.am</span><br><span>index cecc020..40dff3f 100644</span><br><span>--- a/Makefile.am</span><br><span>+++ b/Makefile.am</span><br><span>@@ -8,6 +8,7 @@</span><br><span> </span><br><span> EXTRA_DIST = \</span><br><span>     .version \</span><br><span style="color: hsl(120, 100%, 40%);">+    debian \</span><br><span>     doc \</span><br><span>        git-version-gen \</span><br><span>    $(NULL)</span><br><span>diff --git a/debian/changelog b/debian/changelog</span><br><span>new file mode 100644</span><br><span>index 0000000..238f98d</span><br><span>--- /dev/null</span><br><span>+++ b/debian/changelog</span><br><span>@@ -0,0 +1,6 @@</span><br><span style="color: hsl(120, 100%, 40%);">+osmo-e1d (0.0.1) unstable; urgency=medium</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+  [ Harald Welte ]</span><br><span style="color: hsl(120, 100%, 40%);">+  * initial debian package</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ -- Harald Welte <laforge@osmocom.org>  Tue, 30 Jun 2020 18:24:51 +0100</span><br><span>diff --git a/debian/compat b/debian/compat</span><br><span>new file mode 100644</span><br><span>index 0000000..ec63514</span><br><span>--- /dev/null</span><br><span>+++ b/debian/compat</span><br><span>@@ -0,0 +1 @@</span><br><span style="color: hsl(120, 100%, 40%);">+9</span><br><span>diff --git a/debian/control b/debian/control</span><br><span>new file mode 100644</span><br><span>index 0000000..66cef8a</span><br><span>--- /dev/null</span><br><span>+++ b/debian/control</span><br><span>@@ -0,0 +1,43 @@</span><br><span style="color: hsl(120, 100%, 40%);">+Source: osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+Section: net</span><br><span style="color: hsl(120, 100%, 40%);">+Priority: extra</span><br><span style="color: hsl(120, 100%, 40%);">+Maintainer: Harald Welte <laforge@osmocom.org></span><br><span style="color: hsl(120, 100%, 40%);">+Build-Depends: debhelper (>=9),</span><br><span style="color: hsl(120, 100%, 40%);">+               dh-autoreconf,</span><br><span style="color: hsl(120, 100%, 40%);">+               autotools-dev,</span><br><span style="color: hsl(120, 100%, 40%);">+               autoconf,</span><br><span style="color: hsl(120, 100%, 40%);">+               automake,</span><br><span style="color: hsl(120, 100%, 40%);">+               libtool,</span><br><span style="color: hsl(120, 100%, 40%);">+               pkg-config,</span><br><span style="color: hsl(120, 100%, 40%);">+               python3-minimal,</span><br><span style="color: hsl(120, 100%, 40%);">+               libosmocore-dev (>= 1.3.0),</span><br><span style="color: hsl(120, 100%, 40%);">+               libosmo-abis-dev (>= 0.6.0),</span><br><span style="color: hsl(120, 100%, 40%);">+               osmo-gsm-manuals-dev</span><br><span style="color: hsl(120, 100%, 40%);">+Standards-Version: 3.9.8</span><br><span style="color: hsl(120, 100%, 40%);">+Vcs-Git: git://git.osmocom.org/osmo-e1d.git</span><br><span style="color: hsl(120, 100%, 40%);">+Vcs-Browser: https://git.osmocom.org/osmo-e1d/</span><br><span style="color: hsl(120, 100%, 40%);">+Homepage: https://projects.osmocom.org/projects/osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Package: osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+Architecture: any</span><br><span style="color: hsl(120, 100%, 40%);">+Multi-Arch: foreign</span><br><span style="color: hsl(120, 100%, 40%);">+Depends: ${misc:Depends}, ${shlibs:Depends}</span><br><span style="color: hsl(120, 100%, 40%);">+Description: osmo-e1d: Osmocom's E1 interface daemon</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Package: libosmo-e1d0</span><br><span style="color: hsl(120, 100%, 40%);">+Section: libs</span><br><span style="color: hsl(120, 100%, 40%);">+Architecture: any</span><br><span style="color: hsl(120, 100%, 40%);">+Multi-Arch: same</span><br><span style="color: hsl(120, 100%, 40%);">+Depends: ${misc:Depends}, ${shlibs:Depends}</span><br><span style="color: hsl(120, 100%, 40%);">+Pre-Depends: ${misc:Pre-Depends}</span><br><span style="color: hsl(120, 100%, 40%);">+Description: Client library for talking to the Osmocom E1 interface daemon osmo-e1d.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Package: libosmo-e1d-dev</span><br><span style="color: hsl(120, 100%, 40%);">+Section: libdevel</span><br><span style="color: hsl(120, 100%, 40%);">+Architecture: any</span><br><span style="color: hsl(120, 100%, 40%);">+Multi-Arch: same</span><br><span style="color: hsl(120, 100%, 40%);">+Depends: ${misc:Depends}, ${shlibs:Depends},</span><br><span style="color: hsl(120, 100%, 40%);">+     libosmo-e1d0 (= ${binary:Version}),</span><br><span style="color: hsl(120, 100%, 40%);">+   libosmocore-dev,</span><br><span style="color: hsl(120, 100%, 40%);">+      libosmo-abis-dev</span><br><span style="color: hsl(120, 100%, 40%);">+Description: Development headers for the osmo-e1d library.</span><br><span>diff --git a/debian/copyright b/debian/copyright</span><br><span>new file mode 100644</span><br><span>index 0000000..9602f83</span><br><span>--- /dev/null</span><br><span>+++ b/debian/copyright</span><br><span>@@ -0,0 +1,36 @@</span><br><span style="color: hsl(120, 100%, 40%);">+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/</span><br><span style="color: hsl(120, 100%, 40%);">+Upstream-Name: osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+Source: git://git.osmocom.org/osmo-e1d</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Files:     *</span><br><span style="color: hsl(120, 100%, 40%);">+Copyright: 2019 Sylvain Munaut</span><br><span style="color: hsl(120, 100%, 40%);">+License:   GPL-2.0+</span><br><span style="color: hsl(120, 100%, 40%);">+ This program is free software; you can redistribute it and/or modify</span><br><span style="color: hsl(120, 100%, 40%);">+ it under the terms of the GNU General Public License as published by</span><br><span style="color: hsl(120, 100%, 40%);">+ the Free Software Foundation; either version 2 of the License, or</span><br><span style="color: hsl(120, 100%, 40%);">+ (at your option) any later version.</span><br><span style="color: hsl(120, 100%, 40%);">+ .</span><br><span style="color: hsl(120, 100%, 40%);">+ This program is distributed in the hope that it will be useful,</span><br><span style="color: hsl(120, 100%, 40%);">+ but WITHOUT ANY WARRANTY; without even the implied warranty of</span><br><span style="color: hsl(120, 100%, 40%);">+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span><br><span style="color: hsl(120, 100%, 40%);">+ GNU Affero General Public License for more details.</span><br><span style="color: hsl(120, 100%, 40%);">+ .</span><br><span style="color: hsl(120, 100%, 40%);">+ You should have received a copy of the GNU General Public License</span><br><span style="color: hsl(120, 100%, 40%);">+ along with this program.  If not, see <http://www.gnu.org/licenses/>.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Files:     src/proto*.c</span><br><span style="color: hsl(120, 100%, 40%);">+      include/osmocom/e1d/proto*.h</span><br><span style="color: hsl(120, 100%, 40%);">+Copyright: 2019 Sylvain Munaut</span><br><span style="color: hsl(120, 100%, 40%);">+License:   LGPL-3.0+</span><br><span style="color: hsl(120, 100%, 40%);">+ This program is free software; you can redistribute it and/or modify</span><br><span style="color: hsl(120, 100%, 40%);">+ it under the terms of the GNU Lesser General Public License as published</span><br><span style="color: hsl(120, 100%, 40%);">+ by the Free Software Foundation; either version 3 of the License, or</span><br><span style="color: hsl(120, 100%, 40%);">+ (at your option) any later version.</span><br><span style="color: hsl(120, 100%, 40%);">+ .</span><br><span style="color: hsl(120, 100%, 40%);">+ This program is distributed in the hope that it will be useful,</span><br><span style="color: hsl(120, 100%, 40%);">+ but WITHOUT ANY WARRANTY; without even the implied warranty of</span><br><span style="color: hsl(120, 100%, 40%);">+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span><br><span style="color: hsl(120, 100%, 40%);">+ GNU Affero General Public License for more details.</span><br><span style="color: hsl(120, 100%, 40%);">+ .</span><br><span style="color: hsl(120, 100%, 40%);">+ You should have received a copy of the GNU Lesser General Public License</span><br><span style="color: hsl(120, 100%, 40%);">+ along with this program.  If not, see <http://www.gnu.org/licenses/>.</span><br><span>diff --git a/debian/libosmo-e1d-dev.install b/debian/libosmo-e1d-dev.install</span><br><span>new file mode 100644</span><br><span>index 0000000..6179405</span><br><span>--- /dev/null</span><br><span>+++ b/debian/libosmo-e1d-dev.install</span><br><span>@@ -0,0 +1,5 @@</span><br><span style="color: hsl(120, 100%, 40%);">+usr/include/osmocom/e1d</span><br><span style="color: hsl(120, 100%, 40%);">+usr/lib/*/libosmo-e1d*.a</span><br><span style="color: hsl(120, 100%, 40%);">+usr/lib/*/libosmo-e1d*.so</span><br><span style="color: hsl(120, 100%, 40%);">+usr/lib/*/libosmo-e1d*.la</span><br><span style="color: hsl(120, 100%, 40%);">+usr/lib/*/pkgconfig/libosmo-e1d.pc</span><br><span>diff --git a/debian/libosmo-e1d.install b/debian/libosmo-e1d.install</span><br><span>new file mode 100644</span><br><span>index 0000000..dd98843</span><br><span>--- /dev/null</span><br><span>+++ b/debian/libosmo-e1d.install</span><br><span>@@ -0,0 +1 @@</span><br><span style="color: hsl(120, 100%, 40%);">+usr/lib/*/libosmo-e1d*.so.*</span><br><span>diff --git a/debian/osmo-e1d.install b/debian/osmo-e1d.install</span><br><span>new file mode 100644</span><br><span>index 0000000..7aeba92</span><br><span>--- /dev/null</span><br><span>+++ b/debian/osmo-e1d.install</span><br><span>@@ -0,0 +1,2 @@</span><br><span style="color: hsl(120, 100%, 40%);">+/etc/osmocom/osmo-e1d.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+usr/bin/osmo-e1d</span><br><span>diff --git a/debian/rules b/debian/rules</span><br><span>new file mode 100755</span><br><span>index 0000000..33be3c8</span><br><span>--- /dev/null</span><br><span>+++ b/debian/rules</span><br><span>@@ -0,0 +1,58 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#!/usr/bin/make -f</span><br><span style="color: hsl(120, 100%, 40%);">+# You must remove unused comment lines for the released package.</span><br><span style="color: hsl(120, 100%, 40%);">+# See debhelper(7) (uncomment to enable)</span><br><span style="color: hsl(120, 100%, 40%);">+# This is an autogenerated template for debian/rules.</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Output every command that modifies files on the build system.</span><br><span style="color: hsl(120, 100%, 40%);">+#export DH_VERBOSE = 1</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Copy some variable definitions from pkg-info.mk and vendor.mk</span><br><span style="color: hsl(120, 100%, 40%);">+# under /usr/share/dpkg/ to here if they are useful.</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1)</span><br><span style="color: hsl(120, 100%, 40%);">+# Apply all hardening options</span><br><span style="color: hsl(120, 100%, 40%);">+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all</span><br><span style="color: hsl(120, 100%, 40%);">+# Package maintainers to append CFLAGS</span><br><span style="color: hsl(120, 100%, 40%);">+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic</span><br><span style="color: hsl(120, 100%, 40%);">+# Package maintainers to append LDFLAGS</span><br><span style="color: hsl(120, 100%, 40%);">+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# With debhelper version 9 or newer, the dh command exports</span><br><span style="color: hsl(120, 100%, 40%);">+# all buildflags.  So there is no need to include the</span><br><span style="color: hsl(120, 100%, 40%);">+# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer.</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# These are rarely used code. (START)</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# The following include for *.mk magically sets miscellaneous</span><br><span style="color: hsl(120, 100%, 40%);">+# variables while honoring existing values of pertinent</span><br><span style="color: hsl(120, 100%, 40%);">+# environment variables:</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Architecture-related variables such as DEB_TARGET_MULTIARCH:</span><br><span style="color: hsl(120, 100%, 40%);">+#include /usr/share/dpkg/architecture.mk</span><br><span style="color: hsl(120, 100%, 40%);">+# Vendor-related variables such as DEB_VENDOR:</span><br><span style="color: hsl(120, 100%, 40%);">+#include /usr/share/dpkg/vendor.mk</span><br><span style="color: hsl(120, 100%, 40%);">+# Package-related variables such as DEB_DISTRIBUTION</span><br><span style="color: hsl(120, 100%, 40%);">+#include /usr/share/dpkg/pkg-info.mk</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# You may alternatively set them susing a simple script such as:</span><br><span style="color: hsl(120, 100%, 40%);">+# DEB_VENDOR ?= $(shell dpkg-vendor --query  Vendor)</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# These are rarely used code. (END)</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# main packaging script based on dh7 syntax</span><br><span style="color: hsl(120, 100%, 40%);">+%:</span><br><span style="color: hsl(120, 100%, 40%);">+        dh $@ --with autoreconf</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# debmake generated override targets</span><br><span style="color: hsl(120, 100%, 40%);">+CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals</span><br><span style="color: hsl(120, 100%, 40%);">+override_dh_auto_configure:</span><br><span style="color: hsl(120, 100%, 40%);">+     dh_auto_configure -- $(CONFIGURE_FLAGS)</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Do not install libtool archive, python .pyc .pyo</span><br><span style="color: hsl(120, 100%, 40%);">+#override_dh_install:</span><br><span style="color: hsl(120, 100%, 40%);">+#        dh_install --list-missing -X.la -X.pyc -X.pyo</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)</span><br><span style="color: hsl(120, 100%, 40%);">+override_dh_compress:</span><br><span style="color: hsl(120, 100%, 40%);">+       dh_compress -X.pdf</span><br><span>diff --git a/debian/source/format b/debian/source/format</span><br><span>new file mode 100644</span><br><span>index 0000000..89ae9db</span><br><span>--- /dev/null</span><br><span>+++ b/debian/source/format</span><br><span>@@ -0,0 +1 @@</span><br><span style="color: hsl(120, 100%, 40%);">+3.0 (native)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-e1d/+/19080">change 19080</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-e1d/+/19080"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-e1d </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Idac376e92f95ab8beef506e9617227f1c7277838 </div>
<div style="display:none"> Gerrit-Change-Number: 19080 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Assignee: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>