Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41023?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: debian: initial
......................................................................
debian: initial
Change-Id: I8ab1b2d69b5617c91ac694bf4a754d6c28b080dd
---
A debian/changelog
A debian/compat
A debian/control
A debian/libosmo-asn1-tcap-dev.install
A debian/libosmo-asn1-tcap0.install
A debian/rules
A debian/source/format
7 files changed, 67 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-asn1-tcap refs/changes/23/41023/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41023?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-asn1-tcap
Gerrit-Branch: master
Gerrit-Change-Id: I8ab1b2d69b5617c91ac694bf4a754d6c28b080dd
Gerrit-Change-Number: 41023
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41022?usp=email )
Change subject: Regenerate code with newer asn1c
......................................................................
Regenerate code with newer asn1c
asn1c used from: https://github.com/mouse07410/asn1c
This no longer uses/requires libasn1c so drop the dependency and modify
the build system similar to osmo-cbc/src/sbcap/
Related: SYS#5423
Change-Id: If43a5d518f94fa558a3dff563a1c7aa31c925fec
---
M configure.ac
M include/AARE-apdu.h
M include/AARQ-apdu.h
M include/ABRT-apdu.h
M include/ABRT-source.h
A include/ANY.h
M include/AUDT-apdu.h
M include/Abort.h
M include/Associate-result.h
M include/Associate-source-diagnostic.h
A include/BIT_STRING.h
M include/Begin.h
M include/Component.h
M include/ComponentPortion.h
M include/Continue.h
M include/DestTransactionID.h
M include/Dialog1.h
D include/DialogueOC.h
M include/DialoguePDU.h
M include/DialoguePortion.h
M include/ERROR.h
M include/EXTERNAL.h
M include/End.h
M include/ErrorCode.h
M include/ExternalPDU.h
M include/GeneralProblem.h
A include/GraphicString.h
A include/INTEGER.h
M include/Invoke.h
M include/InvokeIdType.h
M include/InvokeProblem.h
M include/Makefile.am
A include/NULL.h
A include/NativeInteger.h
A include/OBJECT_IDENTIFIER.h
A include/OCTET_STRING.h
A include/OPEN_TYPE.h
M include/OPERATION.h
A include/ObjectDescriptor.h
M include/OrigTransactionID.h
M include/P-AbortCause.h
M include/Parameter.h
M include/RLRE-apdu.h
M include/RLRQ-apdu.h
M include/Reason.h
M include/Reject.h
M include/Release-request-reason.h
M include/Release-response-reason.h
M include/ReturnError.h
M include/ReturnErrorProblem.h
M include/ReturnResult.h
M include/ReturnResultProblem.h
M include/TCMessage.h
M include/UniDialoguePDU.h
M include/Unidirectional.h
A include/asn_SEQUENCE_OF.h
A include/asn_SET_OF.h
A include/asn_application.h
A include/asn_bit_data.h
A include/asn_codecs.h
A include/asn_codecs_prim.h
A include/asn_config.h
A include/asn_constant.h
A include/asn_internal.h
A include/asn_ioc.h
A include/asn_random_fill.h
A include/asn_system.h
A include/ber_decoder.h
A include/ber_tlv_length.h
A include/ber_tlv_tag.h
A include/constr_CHOICE.h
A include/constr_SEQUENCE.h
A include/constr_SEQUENCE_OF.h
A include/constr_SET_OF.h
A include/constr_TYPE.h
A include/constraints.h
A include/der_encoder.h
M libosmo-asn1-tcap.pc.in
M src/AARE-apdu.c
M src/AARQ-apdu.c
M src/ABRT-apdu.c
M src/ABRT-source.c
A src/ANY.c
A src/ANY_ber.c
M src/AUDT-apdu.c
M src/Abort.c
M src/Associate-result.c
M src/Associate-source-diagnostic.c
A src/BIT_STRING.c
A src/BIT_STRING_print.c
A src/BIT_STRING_rfill.c
M src/Begin.c
M src/Component.c
M src/ComponentPortion.c
M src/Continue.c
M src/DestTransactionID.c
M src/Dialog1.c
D src/DialogueOC.c
M src/DialoguePDU.c
M src/DialoguePortion.c
M src/ERROR.c
A src/EXTERNAL.c
M src/End.c
M src/ErrorCode.c
M src/ExternalPDU.c
M src/GeneralProblem.c
A src/GraphicString.c
A src/INTEGER.c
A src/INTEGER_ber.c
A src/INTEGER_print.c
A src/INTEGER_rfill.c
M src/Invoke.c
M src/InvokeIdType.c
M src/InvokeProblem.c
M src/Makefile.am
A src/NULL.c
A src/NULL_ber.c
A src/NULL_print.c
A src/NULL_rfill.c
A src/NativeInteger.c
A src/NativeInteger_ber.c
A src/NativeInteger_print.c
A src/NativeInteger_rfill.c
A src/OBJECT_IDENTIFIER.c
A src/OBJECT_IDENTIFIER_print.c
A src/OBJECT_IDENTIFIER_rfill.c
A src/OCTET_STRING.c
A src/OCTET_STRING_ber.c
A src/OCTET_STRING_print.c
A src/OCTET_STRING_rfill.c
A src/OPEN_TYPE.c
A src/OPEN_TYPE_ber.c
M src/OPERATION.c
A src/ObjectDescriptor.c
M src/OrigTransactionID.c
M src/P-AbortCause.c
M src/Parameter.c
M src/RLRE-apdu.c
M src/RLRQ-apdu.c
M src/Reason.c
M src/Reject.c
M src/Release-request-reason.c
M src/Release-response-reason.c
M src/ReturnError.c
M src/ReturnErrorProblem.c
M src/ReturnResult.c
M src/ReturnResultProblem.c
M src/TCMessage.c
M src/UniDialoguePDU.c
M src/Unidirectional.c
A src/asn_SEQUENCE_OF.c
A src/asn_SET_OF.c
A src/asn_application.c
A src/asn_bit_data.c
A src/asn_codecs_prim.c
A src/asn_codecs_prim_ber.c
A src/asn_internal.c
A src/asn_random_fill.c
A src/ber_decoder.c
A src/ber_tlv_length.c
A src/ber_tlv_tag.c
A src/constr_CHOICE.c
A src/constr_CHOICE_ber.c
A src/constr_CHOICE_print.c
A src/constr_CHOICE_rfill.c
A src/constr_SEQUENCE.c
A src/constr_SEQUENCE_OF.c
A src/constr_SEQUENCE_OF_ber.c
A src/constr_SEQUENCE_ber.c
A src/constr_SEQUENCE_print.c
A src/constr_SEQUENCE_rfill.c
A src/constr_SET_OF.c
A src/constr_SET_OF_ber.c
A src/constr_SET_OF_print.c
A src/constr_SET_OF_rfill.c
A src/constr_TYPE.c
A src/constraints.c
A src/der_encoder.c
D src/rebuild-from-asn.sh
179 files changed, 16,090 insertions(+), 2,627 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-asn1-tcap refs/changes/22/41022/1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41022?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-asn1-tcap
Gerrit-Branch: master
Gerrit-Change-Id: If43a5d518f94fa558a3dff563a1c7aa31c925fec
Gerrit-Change-Number: 41022
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41026?usp=email )
Change subject: Add git-version-gen
......................................................................
Add git-version-gen
Change-Id: Ic6245f4d0ccced5089c55eccbe07b36c43d71e9c
---
M Makefile.am
M configure.ac
A git-version-gen
3 files changed, 162 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-asn1-tcap refs/changes/26/41026/1
diff --git a/Makefile.am b/Makefile.am
index 8f12649..9fb4aef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,3 +6,9 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmo-asn1-tcap.pc
+
+EXTRA_DIST = \
+ .version \
+ debian \
+ git-version-gen \
+ $(NULL)
diff --git a/configure.ac b/configure.ac
index 5e57145..497b3d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,8 @@
-AC_INIT([libosmo-asn1-tcap], 0.0.0, [openbsc-devel(a)lists.openbsc.org])
+AC_INIT([libosmo-asn1-tcap],
+ m4_esyscmd([./git-version-gen .tarball-version]),
+ [openbsc(a)lists.openbsc.org])
+
+AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2])
diff --git a/git-version-gen b/git-version-gen
new file mode 100755
index 0000000..42cf3d2
--- /dev/null
+++ b/git-version-gen
@@ -0,0 +1,151 @@
+#!/bin/sh
+# Print a version string.
+scriptversion=2010-01-28.01
+
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/.
+# It may be run two ways:
+# - from a git repository in which the "git describe" command below
+# produces useful output (thus requiring at least one signed tag)
+# - from a non-git-repo directory containing a .tarball-version file, which
+# presumes this script is invoked like "./git-version-gen .tarball-version".
+
+# In order to use intra-version strings in your project, you will need two
+# separate generated version string files:
+#
+# .tarball-version - present only in a distribution tarball, and not in
+# a checked-out repository. Created with contents that were learned at
+# the last time autoconf was run, and used by git-version-gen. Must not
+# be present in either $(srcdir) or $(builddir) for git-version-gen to
+# give accurate answers during normal development with a checked out tree,
+# but must be present in a tarball when there is no version control system.
+# Therefore, it cannot be used in any dependencies. GNUmakefile has
+# hooks to force a reconfigure at distribution time to get the value
+# correct, without penalizing normal development with extra reconfigures.
+#
+# .version - present in a checked-out repository and in a distribution
+# tarball. Usable in dependencies, particularly for files that don't
+# want to depend on config.h but do want to track version changes.
+# Delete this file prior to any autoconf run where you want to rebuild
+# files to pick up a version string change; and leave it stale to
+# minimize rebuild time after unrelated changes to configure sources.
+#
+# It is probably wise to add these two files to .gitignore, so that you
+# don't accidentally commit either generated file.
+#
+# Use the following line in your configure.ac, so that $(VERSION) will
+# automatically be up-to-date each time configure is run (and note that
+# since configure.ac no longer includes a version string, Makefile rules
+# should not depend on configure.ac for version updates).
+#
+# AC_INIT([GNU project],
+# m4_esyscmd([build-aux/git-version-gen .tarball-version]),
+# [bug-project@example])
+#
+# Then use the following lines in your Makefile.am, so that .version
+# will be present for dependencies, and so that .tarball-version will
+# exist in distribution tarballs.
+#
+# BUILT_SOURCES = $(top_srcdir)/.version
+# $(top_srcdir)/.version:
+# echo $(VERSION) > $@-t && mv $@-t $@
+# dist-hook:
+# echo $(VERSION) > $(distdir)/.tarball-version
+
+case $# in
+ 1) ;;
+ *) echo 1>&2 "Usage: $0 \$srcdir/.tarball-version"; exit 1;;
+esac
+
+tarball_version_file=$1
+nl='
+'
+
+# First see if there is a tarball-only version file.
+# then try "git describe", then default.
+if test -f $tarball_version_file
+then
+ v=`cat $tarball_version_file` || exit 1
+ case $v in
+ *$nl*) v= ;; # reject multi-line output
+ [0-9]*) ;;
+ *) v= ;;
+ esac
+ test -z "$v" \
+ && echo "$0: WARNING: $tarball_version_file seems to be damaged" 1>&2
+fi
+
+if test -n "$v"
+then
+ : # use $v
+elif
+ v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \
+ || git describe --abbrev=4 HEAD 2>/dev/null` \
+ && case $v in
+ [0-9]*) ;;
+ v[0-9]*) ;;
+ *) (exit 1) ;;
+ esac
+then
+ # Is this a new git that lists number of commits since the last
+ # tag or the previous older version that did not?
+ # Newer: v6.10-77-g0f8faeb
+ # Older: v6.10-g0f8faeb
+ case $v in
+ *-*-*) : git describe is okay three part flavor ;;
+ *-*)
+ : git describe is older two part flavor
+ # Recreate the number of commits and rewrite such that the
+ # result is the same as if we were using the newer version
+ # of git describe.
+ vtag=`echo "$v" | sed 's/-.*//'`
+ numcommits=`git rev-list "$vtag"..HEAD | wc -l`
+ v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`;
+ ;;
+ esac
+
+ # Change the first '-' to a '.', so version-comparing tools work properly.
+ # Remove the "g" in git describe's output string, to save a byte.
+ v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`;
+else
+ v=UNKNOWN
+fi
+
+v=`echo "$v" |sed 's/^v//'`
+
+# Don't declare a version "dirty" merely because a time stamp has changed.
+git status > /dev/null 2>&1
+
+dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty=
+case "$dirty" in
+ '') ;;
+ *) # Append the suffix only if there isn't one already.
+ case $v in
+ *-dirty) ;;
+ *) v="$v-dirty" ;;
+ esac ;;
+esac
+
+# Omit the trailing newline, so that m4_esyscmd can use the result directly.
+echo "$v" | tr -d '\012'
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
--
To view, visit https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41026?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-asn1-tcap
Gerrit-Branch: master
Gerrit-Change-Id: Ic6245f4d0ccced5089c55eccbe07b36c43d71e9c
Gerrit-Change-Number: 41026
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>