1
0
Fork 0

Adding debian version 3.1.0+dfsg-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 08:00:30 +01:00
parent cfcebb1a7d
commit aadf34f95c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
10 changed files with 215 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
libyang3 (3.1.0+dfsg-1) unstable; urgency=medium
* Initial upload to sid.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 23 Jul 2024 11:42:29 +0200

75
debian/control vendored Normal file
View file

@ -0,0 +1,75 @@
Source: libyang3
Section: libs
Priority: optional
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Build-Depends:
cmake,
debhelper-compat (= 13),
doxygen <!nodoc>,
graphviz <!nodoc>,
libcmocka-dev <!nocheck>,
libpcre2-dev,
pkgconf,
tclsh <!nocheck>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/CESNET/libyang
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/libyang3
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/libyang3
Package: libyang3-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends:
libpcre2-dev,
libyang3 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: parser toolkit for IETF YANG data modeling language (development)
YANG is a data modeling language for the definition of data sent over network
management protocols (RFC 6020/7950). It can be used to model both configuration
data as well as state data of network elements and is primarily used by larger
network equipment like routers and switches.
.
This package contains the development files.
Package: libyang3
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
${misc:Depends},
${shlibs:Depends},
Description: parser toolkit for IETF YANG data modeling language (library)
YANG is a data modeling language for the definition of data sent over network
management protocols (RFC 6020/7950). It can be used to model both configuration
data as well as state data of network elements and is primarily used by larger
network equipment like routers and switches.
.
This package contains the shared library.
Package: libyang3-tools
Section: devel
Architecture: any
Multi-Arch: foreign
Pre-Depends:
${misc:Pre-Depends},
Depends:
${misc:Depends},
${shlibs:Depends},
Conflicts:
libyang-tools,
libyang2-tools,
Replaces:
libyang-tools,
libyang2-tools,
Description: parser toolkit for IETF YANG data modeling language (tools)
YANG is a data modeling language for the definition of data sent over network
management protocols (RFC 6020/7950). It can be used to model both configuration
data as well as state data of network elements and is primarily used by larger
network equipment like routers and switches.
.
This package contains additional tools.

102
debian/copyright vendored Normal file
View file

@ -0,0 +1,102 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libyang
Upstream-Contact: https://github.com/CESNET/libyang/issues
Source: https://github.com/CESNET/libyang/releases
Files-excluded:
doc/*.html
doc/logo.png
Files: *
Copyright: 2015-2024 CESNET, z.s.p.o.
License: BSD-3-clause
Files: CMakeModules/FindCMocka.cmake
Copyright: 2011-2012 Andreas Schneider <asn@cryptomilk.org>
License: other-BSD
Files: models/ietf-*
tests/modules/yang/iana-*
tests/modules/yang/ietf-*
tests/yanglint/modules/ietf-*
tools/lint/examples/iana-*
tools/lint/examples/ietf-*
Copyright: 2011-2020 IETF Trust and the persons identified as authors of the code.
License: IETF-BSD-3-clause
Files: src/tree_data_sorted.c
Copyright: 2015-2023 CESNET, z.s.p.o.
2002 Niels Provos <provos@citi.umich.edu>
2016 David Gwynne <dlg@openbsd.org>
License: BSD-3-clause
Files: tools/lint/linenoise/*
Copyright: 2010-2014 Salvatore Sanfilippo <antirez@gmail.com>
2010-2013 Pieter Noordhuis <pcnoordhuis@gmail.com>
License: BSD-2-clause
Files: debian/*
Copyright: 2024 Daniel Baumann <daniel.baumann@progress-linux.org>
License: BSD-3-clause
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
.
* 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.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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.
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:
.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
* 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.
.
* Neither the name of CESNET nor the names of
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
License: IETF-BSD-3-clause
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).
.
The initial version of this YANG module is part of RFC 6020;
see the RFC itself for full legal notices.
License: other-BSD
This software is distributed WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

4
debian/libyang3-dev.install vendored Normal file
View file

@ -0,0 +1,4 @@
usr/include/libyang/*.h
usr/lib/*/*.so
usr/lib/*/pkgconfig/*.pc
doc/html /usr/share/doc/libyang3-dev

1
debian/libyang3-tools.examples vendored Normal file
View file

@ -0,0 +1 @@
tools/lint/examples/*

3
debian/libyang3-tools.install vendored Normal file
View file

@ -0,0 +1,3 @@
usr/bin/yanglint
usr/bin/yangre
usr/share/man/man1

2
debian/libyang3.install vendored Normal file
View file

@ -0,0 +1,2 @@
usr/lib/*/*.so.*
usr/share/yang/modules/libyang

18
debian/rules vendored Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
%:
dh ${@}
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE:String="Release" \
-DENABLE_TESTS=ON
execute_after_dh_auto_build:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
$(MAKE) -C obj-*/ doc
endif

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

4
debian/watch vendored Normal file
View file

@ -0,0 +1,4 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/libyang-$1\.tar\.gz/ \
dversionmangle=s/\+dfsg//" \
https://github.com/CESNET/libyang/tags .*/v?(\d\S+)\.tar\.gz