add /debian to build a package
debian files need a release so start with release 0.1.0 Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
This commit is contained in:
parent
4151e593e1
commit
bce896fadb
|
@ -0,0 +1,5 @@
|
|||
libasn1c (0.1.0) UNRELEASED; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Alexander Couzens <lynxis@fe80.eu> Sun, 06 Aug 2017 22:25:03 +0000
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,33 @@
|
|||
Source: libasn1c
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Maintainer: Alexander Couzens <lynxis@fe80.eu>
|
||||
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
|
|
@ -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 <vlm@lionet.info>
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: src/xer_support.c
|
||||
Copyright: 2003,2004 X/IO Labs, xiolabs.com.
|
||||
2003,2004,2005 Lev Walkin <vlm@lionet.info>.
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: include/asn1c/xer_support.h
|
||||
Copyright: 2003,2004 X/IO Labs, xiolabs.com
|
||||
2003,2004 Lev Walkin <vlm@lionet.info>
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: src/asn1helpers.c
|
||||
Copyright: 2014-2015 by Harald Welte <laforge@gnumonks.org>
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2017 Alexander Couzens <lynxis@stretch>
|
||||
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.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
usr/include
|
||||
usr/lib/*/pkgconfig/*.pc
|
||||
usr/lib/*/*.a
|
||||
usr/lib/*/lib*.so
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/*.so.*
|
|
@ -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
|
||||
#
|
||||
# Copy some variable definitions from pkg-info.mk and vendor.mk
|
||||
# under /usr/share/dpkg/ to here if they are useful.
|
||||
#
|
||||
# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1)
|
||||
# Apply all hardening options
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
# 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
|
||||
#
|
||||
# With debhelper version 9 or newer, the dh command exports
|
||||
# all buildflags. So there is no need to include the
|
||||
# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer.
|
||||
#
|
||||
# These are rarely used code. (START)
|
||||
#
|
||||
# The following include for *.mk magically sets miscellaneous
|
||||
# variables while honoring existing values of pertinent
|
||||
# environment variables:
|
||||
#
|
||||
# Architecture-related variables such as DEB_TARGET_MULTIARCH:
|
||||
#include /usr/share/dpkg/architecture.mk
|
||||
# Vendor-related variables such as DEB_VENDOR:
|
||||
#include /usr/share/dpkg/vendor.mk
|
||||
# Package-related variables such as DEB_DISTRIBUTION
|
||||
#include /usr/share/dpkg/pkg-info.mk
|
||||
#
|
||||
# You may alternatively set them susing a simple script such as:
|
||||
# DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor)
|
||||
#
|
||||
# These are rarely used code. (END)
|
||||
#
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
# debmake generated override targets
|
||||
# Set options for ./configure
|
||||
#CONFIGURE_FLAGS = <options for ./configure>
|
||||
#overrride_dh_configure:
|
||||
# dh_configure -- $(CONFIGURE_FLAGS)
|
||||
#
|
||||
# Do not install libtool archive, python .pyc .pyo
|
||||
#override_dh_install:
|
||||
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
||||
|
||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=libasn1c-dbg
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
Loading…
Reference in New Issue