Changes of Revision 9
commit_7c8722d9d4d2db13d889be1e5e37bc062f069396.txt
Added
commit_c537166d3717b2d98cc9d81dfc574d7709191fb5.txt
Deleted
open5gs_2.4.11.3.c537.dsc -> open5gs_2.4.11.4.7c872.dsc
Changed
x
1
2
Source: open5gs
3
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
4
Architecture: any
5
-Version: 2.4.11.3.c537
6
+Version: 2.4.11.4.7c872
7
Maintainer: Harald Welte <laforge@gnumonks.org>
8
Uploaders: Sukchan Lee <acetcom@gmail.com>
9
Homepage: https://open5gs.org
10
11
open5gs-udr deb net optional arch=any
12
open5gs-upf deb net optional arch=any
13
Checksums-Sha1:
14
- e5283d1a6a5a02a1b149da2eb14be6e0e3e6a10a 11468840 open5gs_2.4.11.3.c537.tar.xz
15
+ 6f79d04cb5a4cd63f5fcd63ebc91224f52eb425c 11469872 open5gs_2.4.11.4.7c872.tar.xz
16
Checksums-Sha256:
17
- c96c62b3c5ccd4985a5a195bcbf14a15ef3be8310334598266667484b975f428 11468840 open5gs_2.4.11.3.c537.tar.xz
18
+ 8234c0bab65652c4ee40952a66e3bdbd6b2025342ff1a042ee435280350d9062 11469872 open5gs_2.4.11.4.7c872.tar.xz
19
Files:
20
- 227a3a7df951b34cb5bdd7eb2c6baf02 11468840 open5gs_2.4.11.3.c537.tar.xz
21
+ 7f4eadef4f45178ccc51d2cf6b34cd36 11469872 open5gs_2.4.11.4.7c872.tar.xz
22
open5gs_2.4.11.3.c537.tar.xz/.tarball-version -> open5gs_2.4.11.4.7c872.tar.xz/.tarball-version
Changed
4
1
2
-2.4.11.3-c537
3
+2.4.11.4-7c872
4
open5gs_2.4.11.3.c537.tar.xz/debian/changelog -> open5gs_2.4.11.4.7c872.tar.xz/debian/changelog
Changed
12
1
2
-open5gs (2.4.11.3.c537) unstable; urgency=medium
3
+open5gs (2.4.11.4.7c872) unstable; urgency=medium
4
5
* Automatically generated changelog entry for building the Osmocom master feed
6
7
- -- Osmocom OBS scripts <info@osmocom.org> Sun, 02 Oct 2022 10:52:48 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org> Mon, 03 Oct 2022 02:55:33 +0000
9
10
open5gs (2.4.11) unstable; urgency=medium
11
12
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/conv.c -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/conv.c
Changed
74
1
2
return true;
3
}
4
5
+int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time)
6
+{
7
+ const char ogs_month_snames124 = {
8
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
9
+ "Aug", "Sep", "Oct", "Nov", "Dec"
10
+ };
11
+ const char ogs_day_snames74 = {
12
+ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
13
+ };
14
+
15
+ struct tm gmt;
16
+ const char *s;
17
+ int real_year;
18
+
19
+ ogs_time_t sec = ogs_time_sec(time);
20
+ ogs_time_t msec = ogs_time_msec(time);
21
+
22
+ ogs_assert(date_str);
23
+
24
+ ogs_gmtime(sec, &gmt);
25
+
26
+ /* example: "Sun, 04 Aug 2019 08:49:37.845 GMT" */
27
+ /* 123456789012345678901234567890123 */
28
+
29
+ s = &ogs_day_snamesgmt.tm_wday0;
30
+ *date_str++ = *s++;
31
+ *date_str++ = *s++;
32
+ *date_str++ = *s++;
33
+ *date_str++ = ',';
34
+ *date_str++ = ' ';
35
+ *date_str++ = gmt.tm_mday / 10 + '0';
36
+ *date_str++ = gmt.tm_mday % 10 + '0';
37
+ *date_str++ = ' ';
38
+ s = &ogs_month_snamesgmt.tm_mon0;
39
+ *date_str++ = *s++;
40
+ *date_str++ = *s++;
41
+ *date_str++ = *s++;
42
+ *date_str++ = ' ';
43
+ real_year = 1900 + gmt.tm_year;
44
+ /* This routine isn't y10k ready. */
45
+ *date_str++ = real_year / 1000 + '0';
46
+ *date_str++ = real_year % 1000 / 100 + '0';
47
+ *date_str++ = real_year % 100 / 10 + '0';
48
+ *date_str++ = real_year % 10 + '0';
49
+ *date_str++ = ' ';
50
+ *date_str++ = gmt.tm_hour / 10 + '0';
51
+ *date_str++ = gmt.tm_hour % 10 + '0';
52
+ *date_str++ = ':';
53
+ *date_str++ = gmt.tm_min / 10 + '0';
54
+ *date_str++ = gmt.tm_min % 10 + '0';
55
+ *date_str++ = ':';
56
+ *date_str++ = gmt.tm_sec / 10 + '0';
57
+ *date_str++ = gmt.tm_sec % 10 + '0';
58
+ *date_str++ = '.';
59
+ *date_str++ = msec / 100 + '0';
60
+ *date_str++ = msec % 100 / 10 + '0';
61
+ *date_str++ = msec % 10 + '0';
62
+ *date_str++ = ' ';
63
+ *date_str++ = 'G';
64
+ *date_str++ = 'M';
65
+ *date_str++ = 'T';
66
+ *date_str++ = 0;
67
+
68
+ return OGS_OK;
69
+}
70
+
71
char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai)
72
{
73
cJSON *item = NULL;
74
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/conv.h -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/conv.h
Changed
11
1
2
char *ogs_sbi_timezone_string(int tm_gmtoff);
3
bool ogs_sbi_time_from_string(ogs_time_t *time, char *str);
4
5
+#define OGS_SBI_RFC7231_DATE_LEN (34)
6
+int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time);
7
+
8
char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai);
9
bool ogs_sbi_s_nssai_from_string(ogs_s_nssai_t *s_nssai, char *str);
10
11
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/message.c -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/message.c
Changed
29
1
2
{
3
int i;
4
ogs_sbi_request_t *request = NULL;
5
+ char sender_timestampOGS_SBI_RFC7231_DATE_LEN;
6
+ char *max_rsp_time = NULL;
7
8
ogs_assert(message);
9
10
11
END
12
}
13
14
+ ogs_assert(OGS_OK ==
15
+ ogs_sbi_rfc7231_string(sender_timestamp, ogs_time_now()));
16
+ ogs_sbi_header_set(request->http.headers,
17
+ OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP, sender_timestamp);
18
+
19
+ ogs_assert(ogs_time_to_msec(ogs_app()->time.message.duration));
20
+ max_rsp_time = ogs_msprintf("%d",
21
+ (int)ogs_time_to_msec(ogs_app()->time.message.duration));
22
+ ogs_sbi_header_set(request->http.headers,
23
+ OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME, max_rsp_time);
24
+ ogs_free(max_rsp_time);
25
+
26
if (message->http.content_encoding)
27
ogs_sbi_header_set(request->http.headers,
28
OGS_SBI_ACCEPT_ENCODING, message->http.content_encoding);
29
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/message.h -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/message.h
Changed
12
1
2
OGS_SBI_CUSTOM_3GPP_COMMON "Access-Scope"
3
#define OGS_SBI_CUSTOM_ACCESS_TOKEN \
4
OGS_SBI_CUSTOM_3GPP_COMMON "Access-Token"
5
+#define OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP \
6
+ OGS_SBI_CUSTOM_3GPP_COMMON "Sender-Timestamp"
7
+#define OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME \
8
+ OGS_SBI_CUSTOM_3GPP_COMMON "Max-Rsp-Time"
9
10
#define OGS_SBI_PARAM_TARGET_NF_TYPE "target-nf-type"
11
#define OGS_SBI_PARAM_REQUESTER_NF_TYPE "requester-nf-type"
12