Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 100
View file
open5gs_2.4.11.3.c537.202210030002.dsc -> open5gs_2.4.11.4.7c872.202210040002.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.4.11.3.c537.202210030002 +Version: 2.4.11.4.7c872.202210040002 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -30,8 +30,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - f59558efb7d83b36315c0dc8e26e610cba60e321 11468948 open5gs_2.4.11.3.c537.202210030002.tar.xz + e070b62d0ba2569b5b930db5d041ba592b411d96 11469200 open5gs_2.4.11.4.7c872.202210040002.tar.xz Checksums-Sha256: - 9f8e1af21edd31e64f9463570f4836f61c3f235e9d128ae907e6bef524d8cb7d 11468948 open5gs_2.4.11.3.c537.202210030002.tar.xz + 50578ce86f4b71f8df71ccb02c775e04e03e81de2c52e1ad536f67d7506d7a70 11469200 open5gs_2.4.11.4.7c872.202210040002.tar.xz Files: - 8fca652ae382e3bf2d20e2b8902fb099 11468948 open5gs_2.4.11.3.c537.202210030002.tar.xz + 4fb885f569fa83cc4f119c65e4be0c7f 11469200 open5gs_2.4.11.4.7c872.202210040002.tar.xz
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/.tarball-version -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.4.11.3-c537.202210030002 +2.4.11.4-7c872.202210040002
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/debian/changelog -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.4.11.3.c537.202210030002) unstable; urgency=medium +open5gs (2.4.11.4.7c872.202210040002) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 03 Oct 2022 00:05:24 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 04 Oct 2022 00:04:56 +0000 open5gs (2.4.11) unstable; urgency=medium
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/lib/sbi/conv.c -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/lib/sbi/conv.c
Changed
@@ -451,6 +451,72 @@ return true; } +int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time) +{ + const char ogs_month_snames124 = { + "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", + "Aug", "Sep", "Oct", "Nov", "Dec" + }; + const char ogs_day_snames74 = { + "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" + }; + + struct tm gmt; + const char *s; + int real_year; + + ogs_time_t sec = ogs_time_sec(time); + ogs_time_t msec = ogs_time_msec(time); + + ogs_assert(date_str); + + ogs_gmtime(sec, &gmt); + + /* example: "Sun, 04 Aug 2019 08:49:37.845 GMT" */ + /* 123456789012345678901234567890123 */ + + s = &ogs_day_snamesgmt.tm_wday0; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = ','; + *date_str++ = ' '; + *date_str++ = gmt.tm_mday / 10 + '0'; + *date_str++ = gmt.tm_mday % 10 + '0'; + *date_str++ = ' '; + s = &ogs_month_snamesgmt.tm_mon0; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = ' '; + real_year = 1900 + gmt.tm_year; + /* This routine isn't y10k ready. */ + *date_str++ = real_year / 1000 + '0'; + *date_str++ = real_year % 1000 / 100 + '0'; + *date_str++ = real_year % 100 / 10 + '0'; + *date_str++ = real_year % 10 + '0'; + *date_str++ = ' '; + *date_str++ = gmt.tm_hour / 10 + '0'; + *date_str++ = gmt.tm_hour % 10 + '0'; + *date_str++ = ':'; + *date_str++ = gmt.tm_min / 10 + '0'; + *date_str++ = gmt.tm_min % 10 + '0'; + *date_str++ = ':'; + *date_str++ = gmt.tm_sec / 10 + '0'; + *date_str++ = gmt.tm_sec % 10 + '0'; + *date_str++ = '.'; + *date_str++ = msec / 100 + '0'; + *date_str++ = msec % 100 / 10 + '0'; + *date_str++ = msec % 10 + '0'; + *date_str++ = ' '; + *date_str++ = 'G'; + *date_str++ = 'M'; + *date_str++ = 'T'; + *date_str++ = 0; + + return OGS_OK; +} + char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai) { cJSON *item = NULL;
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/lib/sbi/conv.h -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/lib/sbi/conv.h
Changed
@@ -56,6 +56,9 @@ char *ogs_sbi_timezone_string(int tm_gmtoff); bool ogs_sbi_time_from_string(ogs_time_t *time, char *str); +#define OGS_SBI_RFC7231_DATE_LEN (34) +int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time); + char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai); bool ogs_sbi_s_nssai_from_string(ogs_s_nssai_t *s_nssai, char *str);
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/lib/sbi/message.c -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/lib/sbi/message.c
Changed
@@ -249,6 +249,8 @@ { int i; ogs_sbi_request_t *request = NULL; + char sender_timestampOGS_SBI_RFC7231_DATE_LEN; + char *max_rsp_time = NULL; ogs_assert(message); @@ -443,6 +445,18 @@ END } + ogs_assert(OGS_OK == + ogs_sbi_rfc7231_string(sender_timestamp, ogs_time_now())); + ogs_sbi_header_set(request->http.headers, + OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP, sender_timestamp); + + ogs_assert(ogs_time_to_msec(ogs_app()->time.message.duration)); + max_rsp_time = ogs_msprintf("%d", + (int)ogs_time_to_msec(ogs_app()->time.message.duration)); + ogs_sbi_header_set(request->http.headers, + OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME, max_rsp_time); + ogs_free(max_rsp_time); + if (message->http.content_encoding) ogs_sbi_header_set(request->http.headers, OGS_SBI_ACCEPT_ENCODING, message->http.content_encoding);
View file
open5gs_2.4.11.3.c537.202210030002.tar.xz/lib/sbi/message.h -> open5gs_2.4.11.4.7c872.202210040002.tar.xz/lib/sbi/message.h
Changed
@@ -280,6 +280,10 @@ OGS_SBI_CUSTOM_3GPP_COMMON "Access-Scope" #define OGS_SBI_CUSTOM_ACCESS_TOKEN \ OGS_SBI_CUSTOM_3GPP_COMMON "Access-Token" +#define OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP \ + OGS_SBI_CUSTOM_3GPP_COMMON "Sender-Timestamp" +#define OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME \ + OGS_SBI_CUSTOM_3GPP_COMMON "Max-Rsp-Time" #define OGS_SBI_PARAM_TARGET_NF_TYPE "target-nf-type" #define OGS_SBI_PARAM_REQUESTER_NF_TYPE "requester-nf-type"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.