openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
June 2024
- 2 participants
- 1220 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package aws-c-mqtt for openSUSE:Factory checked in at 2024-06-03 17:41:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-c-mqtt (Old)
and /work/SRC/openSUSE:Factory/.aws-c-mqtt.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-c-mqtt"
Mon Jun 3 17:41:17 2024 rev:4 rq:1177910 …
[View More]version:0.10.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-c-mqtt/aws-c-mqtt.changes 2024-05-22 21:32:24.333822366 +0200
+++ /work/SRC/openSUSE:Factory/.aws-c-mqtt.new.24587/aws-c-mqtt.changes 2024-06-03 17:41:26.746543659 +0200
@@ -1,0 +2,7 @@
+Fri May 31 10:44:17 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.10.4
+ * Refactor MQTT5 ping timeout by @bretambrose in (#361)
+ * Disabled keep alive by @bretambrose in (#363)
+
+-------------------------------------------------------------------
Old:
----
v0.10.3.tar.gz
New:
----
v0.10.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aws-c-mqtt.spec ++++++
--- /var/tmp/diff_new_pack.DcLekm/_old 2024-06-03 17:41:27.354565968 +0200
+++ /var/tmp/diff_new_pack.DcLekm/_new 2024-06-03 17:41:27.358566114 +0200
@@ -18,7 +18,7 @@
%global library_version 1_0_0
Name: aws-c-mqtt
-Version: 0.10.3
+Version: 0.10.4
Release: 0
Summary: AWS C99 implementation of the MQTT 3.1.1 specification
License: Apache-2.0
++++++ v0.10.3.tar.gz -> v0.10.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/include/aws/mqtt/private/v5/mqtt5_options_storage.h new/aws-c-mqtt-0.10.4/include/aws/mqtt/private/v5/mqtt5_options_storage.h
--- old/aws-c-mqtt-0.10.3/include/aws/mqtt/private/v5/mqtt5_options_storage.h 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/include/aws/mqtt/private/v5/mqtt5_options_storage.h 2024-03-26 23:12:31.000000000 +0100
@@ -337,10 +337,6 @@
const struct aws_mqtt5_client_options_storage *options_storage,
enum aws_log_level level);
-AWS_MQTT_API bool aws_mqtt5_client_keep_alive_options_are_valid(
- uint16_t keep_alive_interval_seconds,
- uint32_t ping_timeout_ms);
-
AWS_EXTERN_C_END
#endif /* AWS_MQTT_MQTT5_OPERATION_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/source/v5/mqtt5_client.c new/aws-c-mqtt-0.10.4/source/v5/mqtt5_client.c
--- old/aws-c-mqtt-0.10.3/source/v5/mqtt5_client.c 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/source/v5/mqtt5_client.c 2024-03-26 23:12:31.000000000 +0100
@@ -1069,7 +1069,11 @@
uint64_t keep_alive_interval_nanos =
aws_timestamp_convert(keep_alive_seconds, AWS_TIMESTAMP_SECS, AWS_TIMESTAMP_NANOS, NULL);
- client->next_ping_time = aws_add_u64_saturating(now, keep_alive_interval_nanos);
+ if (keep_alive_interval_nanos == 0) {
+ client->next_ping_time = UINT64_MAX;
+ } else {
+ client->next_ping_time = aws_add_u64_saturating(now, keep_alive_interval_nanos);
+ }
AWS_LOGF_DEBUG(
AWS_LS_MQTT5_CLIENT, "id=%p: next PINGREQ scheduled for time %" PRIu64, (void *)client, client->next_ping_time);
@@ -2940,7 +2944,20 @@
uint64_t now = client->vtable->get_current_time_fn();
uint64_t ping_timeout_nanos =
aws_timestamp_convert(client->config->ping_timeout_ms, AWS_TIMESTAMP_MILLIS, AWS_TIMESTAMP_NANOS, NULL);
- client->next_ping_timeout_time = aws_add_u64_saturating(now, ping_timeout_nanos);
+ uint64_t half_keep_alive_nanos =
+ aws_timestamp_convert(
+ client->negotiated_settings.server_keep_alive, AWS_TIMESTAMP_SECS, AWS_TIMESTAMP_NANOS, NULL) /
+ 2;
+
+ uint64_t connection_ping_timeout = ping_timeout_nanos;
+ if (connection_ping_timeout == 0 || connection_ping_timeout > half_keep_alive_nanos) {
+ connection_ping_timeout = half_keep_alive_nanos;
+ }
+
+ AWS_LOGF_DEBUG(
+ AWS_LS_MQTT5_CLIENT, "id=%p: dynamic ping timeout: %" PRIu64 " ns", (void *)client, connection_ping_timeout);
+
+ client->next_ping_timeout_time = aws_add_u64_saturating(now, connection_ping_timeout);
}
static int s_apply_throughput_flow_control(struct aws_mqtt5_client *client) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/source/v5/mqtt5_options_storage.c new/aws-c-mqtt-0.10.4/source/v5/mqtt5_options_storage.c
--- old/aws-c-mqtt-0.10.3/source/v5/mqtt5_options_storage.c 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/source/v5/mqtt5_options_storage.c 2024-03-26 23:12:31.000000000 +0100
@@ -3308,26 +3308,6 @@
return pingreq_op;
}
-bool aws_mqtt5_client_keep_alive_options_are_valid(uint16_t keep_alive_interval_seconds, uint32_t ping_timeout_ms) {
- /* The client will not behave properly if ping timeout is not significantly shorter than the keep alive interval */
- if (keep_alive_interval_seconds > 0) {
- uint64_t keep_alive_ms =
- aws_timestamp_convert(keep_alive_interval_seconds, AWS_TIMESTAMP_SECS, AWS_TIMESTAMP_MILLIS, NULL);
- uint64_t one_second_ms = aws_timestamp_convert(1, AWS_TIMESTAMP_SECS, AWS_TIMESTAMP_MILLIS, NULL);
-
- if (ping_timeout_ms == 0) {
- ping_timeout_ms = AWS_MQTT5_CLIENT_DEFAULT_PING_TIMEOUT_MS;
- }
-
- if ((uint64_t)ping_timeout_ms + one_second_ms > keep_alive_ms) {
- AWS_LOGF_ERROR(AWS_LS_MQTT5_GENERAL, "keep alive interval is too small relative to ping timeout interval");
- return false;
- }
- }
-
- return true;
-}
-
/*********************************************************************************************************************
* Client storage options
********************************************************************************************************************/
@@ -3387,17 +3367,10 @@
if (aws_mqtt5_packet_connect_view_validate(options->connect_options)) {
AWS_LOGF_ERROR(AWS_LS_MQTT5_GENERAL, "invalid CONNECT options in mqtt5 client configuration");
- /* connect validation failure will have already rasied the appropriate error */
+ /* connect validation failure will have already raised the appropriate error */
return AWS_OP_ERR;
}
- /* The client will not behave properly if ping timeout is not significantly shorter than the keep alive interval */
- if (!aws_mqtt5_client_keep_alive_options_are_valid(
- options->connect_options->keep_alive_interval_seconds, options->ping_timeout_ms)) {
- AWS_LOGF_ERROR(AWS_LS_MQTT5_GENERAL, "keep alive interval is too small relative to ping timeout interval");
- return aws_raise_error(AWS_ERROR_MQTT5_CLIENT_OPTIONS_VALIDATION);
- }
-
if (options->topic_aliasing_options != NULL) {
if (!aws_mqtt5_outbound_topic_alias_behavior_type_validate(
options->topic_aliasing_options->outbound_topic_alias_behavior)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/source/v5/mqtt5_to_mqtt3_adapter.c new/aws-c-mqtt-0.10.4/source/v5/mqtt5_to_mqtt3_adapter.c
--- old/aws-c-mqtt-0.10.3/source/v5/mqtt5_to_mqtt3_adapter.c 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/source/v5/mqtt5_to_mqtt3_adapter.c 2024-03-26 23:12:31.000000000 +0100
@@ -309,16 +309,6 @@
}
}
- /* The client will not behave properly if ping timeout is not significantly shorter than the keep alive interval */
- if (!aws_mqtt5_client_keep_alive_options_are_valid(
- connection_options->keep_alive_time_secs, connection_options->ping_timeout_ms)) {
- AWS_LOGF_ERROR(
- AWS_LS_MQTT5_TO_MQTT3_ADAPTER,
- "id=%p: mqtt3-to-5-adapter - keep alive interval is too small relative to ping timeout interval",
- (void *)adapter);
- return aws_raise_error(AWS_ERROR_MQTT5_CLIENT_OPTIONS_VALIDATION);
- }
-
return AWS_OP_SUCCESS;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/tests/CMakeLists.txt new/aws-c-mqtt-0.10.4/tests/CMakeLists.txt
--- old/aws-c-mqtt-0.10.3/tests/CMakeLists.txt 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/tests/CMakeLists.txt 2024-03-26 23:12:31.000000000 +0100
@@ -244,7 +244,6 @@
add_test_case(mqtt5_client_options_validation_failure_no_publish_received)
add_test_case(mqtt5_client_options_validation_failure_invalid_socket_options)
add_test_case(mqtt5_client_options_validation_failure_invalid_connect)
-add_test_case(mqtt5_client_options_validation_failure_invalid_keep_alive)
add_test_case(mqtt5_client_options_validation_failure_invalid_port)
add_test_case(mqtt5_operation_subscribe_connection_settings_validation_failure_exceeds_maximum_packet_size)
add_test_case(mqtt5_operation_unsubscribe_connection_settings_validation_failure_exceeds_maximum_packet_size)
@@ -330,6 +329,8 @@
add_test_case(mqtt5_client_sub_pub_unsub_qos1)
add_test_case(mqtt5_client_ping_sequence)
add_test_case(mqtt5_client_ping_timeout)
+add_test_case(mqtt5_client_ping_timeout_with_keep_alive_conflict)
+add_test_case(mqtt5_client_disabled_keep_alive)
add_test_case(mqtt5_client_reconnect_failure_backoff)
add_test_case(mqtt5_client_reconnect_backoff_insufficient_reset)
add_test_case(mqtt5_client_reconnect_backoff_sufficient_reset)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/tests/v5/mqtt5_client_tests.c new/aws-c-mqtt-0.10.4/tests/v5/mqtt5_client_tests.c
--- old/aws-c-mqtt-0.10.3/tests/v5/mqtt5_client_tests.c 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/tests/v5/mqtt5_client_tests.c 2024-03-26 23:12:31.000000000 +0100
@@ -986,10 +986,7 @@
struct aws_mqtt5_client_mock_test_fixture *test_fixture;
};
-static bool s_received_at_least_n_pingreqs(void *arg) {
- struct aws_mqtt5_client_test_wait_for_n_context *ping_context = arg;
- struct aws_mqtt5_client_mock_test_fixture *test_fixture = ping_context->test_fixture;
-
+static size_t s_count_pingreqs(struct aws_mqtt5_client_mock_test_fixture *test_fixture) {
size_t ping_count = 0;
size_t packet_count = aws_array_list_length(&test_fixture->server_received_packets);
for (size_t i = 0; i < packet_count; ++i) {
@@ -1001,6 +998,15 @@
}
}
+ return ping_count;
+}
+
+static bool s_received_at_least_n_pingreqs(void *arg) {
+ struct aws_mqtt5_client_test_wait_for_n_context *ping_context = arg;
+ struct aws_mqtt5_client_mock_test_fixture *test_fixture = ping_context->test_fixture;
+
+ size_t ping_count = s_count_pingreqs(test_fixture);
+
return ping_count >= ping_context->required_event_count;
}
@@ -1217,7 +1223,9 @@
#define TIMEOUT_TEST_PING_INTERVAL_MS ((uint64_t)10000)
-static int s_verify_ping_timeout_interval(struct aws_mqtt5_client_mock_test_fixture *test_context) {
+static int s_verify_ping_timeout_interval(
+ struct aws_mqtt5_client_mock_test_fixture *test_context,
+ uint64_t expected_connected_time_ms) {
aws_mutex_lock(&test_context->lock);
uint64_t connected_time = 0;
@@ -1242,8 +1250,6 @@
uint64_t connected_interval_ms =
aws_timestamp_convert(disconnected_time - connected_time, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_MILLIS, NULL);
- uint64_t expected_connected_time_ms =
- TIMEOUT_TEST_PING_INTERVAL_MS + (uint64_t)test_context->client->config->ping_timeout_ms;
ASSERT_TRUE(s_is_within_percentage_of(expected_connected_time_ms, connected_interval_ms, .3));
@@ -1310,7 +1316,9 @@
ASSERT_SUCCESS(
s_verify_simple_lifecycle_event_sequence(&test_context, expected_events, AWS_ARRAY_SIZE(expected_events)));
- ASSERT_SUCCESS(s_verify_ping_timeout_interval(&test_context));
+ uint64_t expected_connected_time_ms =
+ TIMEOUT_TEST_PING_INTERVAL_MS + (uint64_t)test_context.client->config->ping_timeout_ms;
+ ASSERT_SUCCESS(s_verify_ping_timeout_interval(&test_context, expected_connected_time_ms));
enum aws_mqtt5_client_state expected_states[] = {
AWS_MCS_CONNECTING,
@@ -1329,6 +1337,147 @@
AWS_TEST_CASE(mqtt5_client_ping_timeout, s_mqtt5_client_ping_timeout_fn)
+/*
+ * A variant of the basic ping timeout test that uses a timeout that is larger than the keep alive. Previously,
+ * we forbid this because taken literally, it leads to broken behavior. We now clamp the ping timeout dynamically
+ * based on the connection's established keep alive.
+ */
+static int s_mqtt5_client_ping_timeout_with_keep_alive_conflict_fn(struct aws_allocator *allocator, void *ctx) {
+ (void)ctx;
+
+ aws_mqtt_library_init(allocator);
+
+ struct mqtt5_client_test_options test_options;
+ aws_mqtt5_client_test_init_default_options(&test_options);
+
+ /* fast keep alive in order keep tests reasonably short */
+ uint16_t keep_alive_seconds =
+ (uint16_t)aws_timestamp_convert(TIMEOUT_TEST_PING_INTERVAL_MS, AWS_TIMESTAMP_MILLIS, AWS_TIMESTAMP_SECS, NULL);
+ test_options.connect_options.keep_alive_interval_seconds = keep_alive_seconds;
+
+ /* don't respond to PINGREQs */
+ test_options.server_function_table.packet_handlers[AWS_MQTT5_PT_PINGREQ] = NULL;
+
+ /* ping timeout slower than keep alive */
+ test_options.client_options.ping_timeout_ms = 2 * TIMEOUT_TEST_PING_INTERVAL_MS;
+
+ struct aws_mqtt5_client_mqtt5_mock_test_fixture_options test_fixture_options = {
+ .client_options = &test_options.client_options,
+ .server_function_table = &test_options.server_function_table,
+ };
+
+ struct aws_mqtt5_client_mock_test_fixture test_context;
+ ASSERT_SUCCESS(aws_mqtt5_client_mock_test_fixture_init(&test_context, allocator, &test_fixture_options));
+
+ struct aws_mqtt5_client *client = test_context.client;
+ ASSERT_SUCCESS(aws_mqtt5_client_start(client));
+
+ aws_wait_for_connected_lifecycle_event(&test_context);
+ s_wait_for_disconnection_lifecycle_event(&test_context);
+
+ ASSERT_SUCCESS(aws_mqtt5_client_stop(client, NULL, NULL));
+
+ aws_wait_for_stopped_lifecycle_event(&test_context);
+
+ struct aws_mqtt5_client_lifecycle_event expected_events[] = {
+ {
+ .event_type = AWS_MQTT5_CLET_ATTEMPTING_CONNECT,
+ },
+ {
+ .event_type = AWS_MQTT5_CLET_CONNECTION_SUCCESS,
+ },
+ {
+ .event_type = AWS_MQTT5_CLET_DISCONNECTION,
+ .error_code = AWS_ERROR_MQTT5_PING_RESPONSE_TIMEOUT,
+ },
+ {
+ .event_type = AWS_MQTT5_CLET_STOPPED,
+ },
+ };
+ ASSERT_SUCCESS(
+ s_verify_simple_lifecycle_event_sequence(&test_context, expected_events, AWS_ARRAY_SIZE(expected_events)));
+
+ uint64_t expected_connected_time_ms = 3 * TIMEOUT_TEST_PING_INTERVAL_MS / 2;
+ ASSERT_SUCCESS(s_verify_ping_timeout_interval(&test_context, expected_connected_time_ms));
+
+ enum aws_mqtt5_client_state expected_states[] = {
+ AWS_MCS_CONNECTING,
+ AWS_MCS_MQTT_CONNECT,
+ AWS_MCS_CONNECTED,
+ AWS_MCS_CLEAN_DISCONNECT,
+ AWS_MCS_CHANNEL_SHUTDOWN,
+ };
+ ASSERT_SUCCESS(aws_verify_client_state_sequence(&test_context, expected_states, AWS_ARRAY_SIZE(expected_states)));
+
+ aws_mqtt5_client_mock_test_fixture_clean_up(&test_context);
+ aws_mqtt_library_clean_up();
+
+ return AWS_OP_SUCCESS;
+}
+
+AWS_TEST_CASE(
+ mqtt5_client_ping_timeout_with_keep_alive_conflict,
+ s_mqtt5_client_ping_timeout_with_keep_alive_conflict_fn)
+
+/*
+ * Set up a zero keep alive and verify no pings get sent over an interval of time.
+ */
+static int s_mqtt5_client_disabled_keep_alive_fn(struct aws_allocator *allocator, void *ctx) {
+ (void)ctx;
+
+ aws_mqtt_library_init(allocator);
+
+ struct mqtt5_client_test_options test_options;
+ aws_mqtt5_client_test_init_default_options(&test_options);
+
+ /* no keep alive at all */
+ test_options.connect_options.keep_alive_interval_seconds = 0;
+
+ struct aws_mqtt5_client_mqtt5_mock_test_fixture_options test_fixture_options = {
+ .client_options = &test_options.client_options,
+ .server_function_table = &test_options.server_function_table,
+ };
+
+ struct aws_mqtt5_client_mock_test_fixture test_context;
+ ASSERT_SUCCESS(aws_mqtt5_client_mock_test_fixture_init(&test_context, allocator, &test_fixture_options));
+
+ struct aws_mqtt5_client *client = test_context.client;
+ ASSERT_SUCCESS(aws_mqtt5_client_start(client));
+
+ aws_wait_for_connected_lifecycle_event(&test_context);
+
+ uint16_t negotiated_keep_alive = 65535;
+ aws_mutex_lock(&test_context.lock);
+ size_t event_count = aws_array_list_length(&test_context.lifecycle_events);
+ struct aws_mqtt5_lifecycle_event_record *record = NULL;
+ aws_array_list_get_at(&test_context.lifecycle_events, &record, event_count - 1);
+ ASSERT_TRUE(AWS_MQTT5_CLET_CONNECTION_SUCCESS == record->event.event_type);
+ negotiated_keep_alive = record->settings_storage.server_keep_alive;
+ aws_mutex_unlock(&test_context.lock);
+
+ ASSERT_INT_EQUALS(0, negotiated_keep_alive);
+
+ // zzz
+ aws_thread_current_sleep(aws_timestamp_convert(5, AWS_TIMESTAMP_SECS, AWS_TIMESTAMP_NANOS, NULL));
+
+ ASSERT_SUCCESS(aws_mqtt5_client_stop(client, NULL, NULL));
+
+ aws_wait_for_stopped_lifecycle_event(&test_context);
+
+ // verify the mock server did not get any PINGREQs
+ aws_mutex_lock(&test_context.lock);
+ size_t pingreq_count = s_count_pingreqs(&test_context);
+ aws_mutex_unlock(&test_context.lock);
+ ASSERT_INT_EQUALS(0, pingreq_count);
+
+ aws_mqtt5_client_mock_test_fixture_clean_up(&test_context);
+ aws_mqtt_library_clean_up();
+
+ return AWS_OP_SUCCESS;
+}
+
+AWS_TEST_CASE(mqtt5_client_disabled_keep_alive, s_mqtt5_client_disabled_keep_alive_fn)
+
struct aws_lifecycle_event_wait_context {
enum aws_mqtt5_client_lifecycle_event_type type;
size_t count;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-mqtt-0.10.3/tests/v5/mqtt5_operation_validation_failure_tests.c new/aws-c-mqtt-0.10.4/tests/v5/mqtt5_operation_validation_failure_tests.c
--- old/aws-c-mqtt-0.10.3/tests/v5/mqtt5_operation_validation_failure_tests.c 2024-02-29 17:06:37.000000000 +0100
+++ new/aws-c-mqtt-0.10.4/tests/v5/mqtt5_operation_validation_failure_tests.c 2024-03-26 23:12:31.000000000 +0100
@@ -1170,20 +1170,6 @@
AWS_CLIENT_CREATION_VALIDATION_FAILURE(invalid_connect, s_good_client_options, s_make_invalid_connect_client_options)
-static struct aws_mqtt5_packet_connect_view s_short_keep_alive_connect_view = {
- .keep_alive_interval_seconds = 20,
-};
-
-static void s_make_invalid_keep_alive_client_options(struct aws_mqtt5_client_options *options) {
- options->connect_options = &s_short_keep_alive_connect_view;
- options->ping_timeout_ms = 30000;
-}
-
-AWS_CLIENT_CREATION_VALIDATION_FAILURE(
- invalid_keep_alive,
- s_good_client_options,
- s_make_invalid_keep_alive_client_options)
-
static void s_make_invalid_port_client_options(struct aws_mqtt5_client_options *options) {
options->port = 0xFFFFFFFF;
}
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package aws-c-cal for openSUSE:Factory checked in at 2024-06-03 17:41:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-c-cal (Old)
and /work/SRC/openSUSE:Factory/.aws-c-cal.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-c-cal"
Mon Jun 3 17:41:14 2024 rev:5 rq:1177906 …
[View More]version:0.6.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-c-cal/aws-c-cal.changes 2024-05-16 17:15:46.613230439 +0200
+++ /work/SRC/openSUSE:Factory/.aws-c-cal.new.24587/aws-c-cal.changes 2024-06-03 17:41:23.194413328 +0200
@@ -1,0 +2,6 @@
+Wed May 22 13:49:36 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.6.14
+ - Fix inccorect export of aws_symmetric_cipher_get_state by @sbiscigl in (#185)
+
+-------------------------------------------------------------------
Old:
----
v0.6.13.tar.gz
New:
----
v0.6.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aws-c-cal.spec ++++++
--- /var/tmp/diff_new_pack.kT1Ua2/_old 2024-06-03 17:41:23.962441507 +0200
+++ /var/tmp/diff_new_pack.kT1Ua2/_new 2024-06-03 17:41:23.962441507 +0200
@@ -19,7 +19,7 @@
%define library_version 1.0.0
%define library_soversion 0unstable
Name: aws-c-cal
-Version: 0.6.13
+Version: 0.6.14
Release: 0
Summary: AWS C99 wrapper for cryptography primitives
License: Apache-2.0
++++++ v0.6.13.tar.gz -> v0.6.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.13/include/aws/cal/symmetric_cipher.h new/aws-c-cal-0.6.14/include/aws/cal/symmetric_cipher.h
--- old/aws-c-cal-0.6.13/include/aws/cal/symmetric_cipher.h 2024-05-08 22:22:59.000000000 +0200
+++ new/aws-c-cal-0.6.14/include/aws/cal/symmetric_cipher.h 2024-05-09 17:57:57.000000000 +0200
@@ -242,12 +242,12 @@
*/
AWS_CAL_API bool aws_symmetric_cipher_is_good(const struct aws_symmetric_cipher *cipher);
-AWS_EXTERN_C_END
-AWS_POP_SANE_WARNING_LEVEL
-
/**
* Retuns the current state of the cipher. Ther state of the cipher can be ready for use, finalized, or has encountered
* an error. if the cipher is in a finished or eror state, it must be reset before further use.
*/
AWS_CAL_API enum aws_symmetric_cipher_state aws_symmetric_cipher_get_state(const struct aws_symmetric_cipher *cipher);
+
+AWS_EXTERN_C_END
+AWS_POP_SANE_WARNING_LEVEL
#endif /* AWS_CAL_SYMMETRIC_CIPHER_H */
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package aws-crt-cpp for openSUSE:Factory checked in at 2024-06-03 17:41:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-crt-cpp (Old)
and /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-crt-cpp"
Mon Jun 3 17:41:13 2024 rev:6 rq:…
[View More]1177905 version:0.26.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-crt-cpp/aws-crt-cpp.changes 2024-05-22 21:32:26.513902103 +0200
+++ /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.24587/aws-crt-cpp.changes 2024-06-03 17:41:21.066335246 +0200
@@ -1,0 +2,8 @@
+Wed May 22 13:52:30 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.26.9
+ - Fix memory leak when UnsubscribePacket is reused by @sfod in (#617)
+ - Fix order of arguments when calling aws_aes_gcm_256_new by @sbiscigl in (#618)
+ - Symmetric cipher state by @sbiscigl in (#619)
+
+-------------------------------------------------------------------
Old:
----
v0.26.8.tar.gz
New:
----
v0.26.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aws-crt-cpp.spec ++++++
--- /var/tmp/diff_new_pack.zq8WN2/_old 2024-06-03 17:41:21.962368123 +0200
+++ /var/tmp/diff_new_pack.zq8WN2/_new 2024-06-03 17:41:21.962368123 +0200
@@ -20,7 +20,7 @@
%define library_soversion 1
Name: aws-crt-cpp
-Version: 0.26.8
+Version: 0.26.9
Release: 0
Summary: AWS C++ wrapper for AWS SDK C libraries
License: Apache-2.0
++++++ v0.26.8.tar.gz -> v0.26.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/VERSION new/aws-crt-cpp-0.26.9/VERSION
--- old/aws-crt-cpp-0.26.8/VERSION 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/VERSION 2024-05-20 20:08:37.000000000 +0200
@@ -1 +1 @@
-0.26.8
+0.26.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/include/aws/crt/Types.h new/aws-crt-cpp-0.26.9/include/aws/crt/Types.h
--- old/aws-crt-cpp-0.26.8/include/aws/crt/Types.h 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/include/aws/crt/Types.h 2024-05-20 20:08:37.000000000 +0200
@@ -57,6 +57,7 @@
AWS_CRT_CPP_API ByteBuf ByteBufFromEmptyArray(const uint8_t *array, size_t len) noexcept;
AWS_CRT_CPP_API ByteBuf ByteBufFromArray(const uint8_t *array, size_t capacity) noexcept;
AWS_CRT_CPP_API ByteBuf ByteBufNewCopy(Allocator *alloc, const uint8_t *array, size_t len);
+ AWS_CRT_CPP_API ByteBuf ByteBufInit(Allocator *alloc, size_t len);
AWS_CRT_CPP_API void ByteBufDelete(ByteBuf &);
AWS_CRT_CPP_API ByteCursor ByteCursorFromCString(const char *str) noexcept;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/include/aws/crt/crypto/SymmetricCipher.h new/aws-crt-cpp-0.26.9/include/aws/crt/crypto/SymmetricCipher.h
--- old/aws-crt-cpp-0.26.8/include/aws/crt/crypto/SymmetricCipher.h 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/include/aws/crt/crypto/SymmetricCipher.h 2024-05-20 20:08:37.000000000 +0200
@@ -3,6 +3,7 @@
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
+#include <aws/cal/symmetric_cipher.h>
#include <aws/crt/Exports.h>
#include <aws/crt/Types.h>
@@ -17,6 +18,13 @@
static const size_t AES_256_CIPHER_BLOCK_SIZE = 16u;
static const size_t AES_256_KEY_SIZE_BYTES = 32u;
+ enum class SymmetricCipherState
+ {
+ Ready = AWS_SYMMETRIC_CIPHER_READY,
+ Finalized = AWS_SYMMETRIC_CIPHER_FINALIZED,
+ Error = AWS_SYMMETRIC_CIPHER_ERROR,
+ };
+
class AWS_CRT_CPP_API SymmetricCipher final
{
public:
@@ -72,6 +80,12 @@
operator bool() const noexcept;
/**
+ * Returns current state of the cipher instance. ready to be used, finalized, or in a error state.
+ * If the cipher is in a finalized or error state it may not be used anymore
+ **/
+ SymmetricCipherState GetState() const noexcept;
+
+ /**
* Returns the value of the last aws error encountered by operations on this instance.
*/
inline int LastError() const noexcept { return m_lastError; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/source/Types.cpp new/aws-crt-cpp-0.26.9/source/Types.cpp
--- old/aws-crt-cpp-0.26.8/source/Types.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/source/Types.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -30,6 +30,13 @@
return retVal;
}
+ ByteBuf ByteBufInit(Allocator *alloc, size_t len)
+ {
+ ByteBuf buff;
+ aws_byte_buf_init(&buff, alloc, len);
+ return buff;
+ }
+
void ByteBufDelete(ByteBuf &buf) { aws_byte_buf_clean_up(&buf); }
ByteCursor ByteCursorFromCString(const char *str) noexcept { return aws_byte_cursor_from_c_str(str); }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/source/crypto/SymmetricCipher.cpp new/aws-crt-cpp-0.26.9/source/crypto/SymmetricCipher.cpp
--- old/aws-crt-cpp-0.26.8/source/crypto/SymmetricCipher.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/source/crypto/SymmetricCipher.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -5,8 +5,6 @@
#include <aws/crt/Api.h>
#include <aws/crt/crypto/SymmetricCipher.h>
-#include <aws/cal/symmetric_cipher.h>
-
namespace Aws
{
namespace Crt
@@ -27,6 +25,15 @@
return m_cipher != nullptr ? aws_symmetric_cipher_is_good(m_cipher.get()) : false;
}
+ SymmetricCipherState SymmetricCipher::GetState() const noexcept
+ {
+ if (m_cipher == nullptr)
+ {
+ return SymmetricCipherState::Error;
+ }
+ return static_cast<SymmetricCipherState>(aws_symmetric_cipher_get_state(m_cipher.get()));
+ }
+
bool SymmetricCipher::Encrypt(const ByteCursor &toEncrypt, ByteBuf &out) noexcept
{
if (!*this)
@@ -152,8 +159,8 @@
allocator,
key.has_value() ? &key.value() : nullptr,
iv.has_value() ? &iv.value() : nullptr,
- tag.has_value() ? &tag.value() : nullptr,
- aad.has_value() ? &aad.value() : nullptr)};
+ aad.has_value() ? &aad.value() : nullptr,
+ tag.has_value() ? &tag.value() : nullptr)};
}
SymmetricCipher SymmetricCipher::CreateAES_256_KeyWrap_Cipher(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/source/mqtt/Mqtt5Packets.cpp new/aws-crt-cpp-0.26.9/source/mqtt/Mqtt5Packets.cpp
--- old/aws-crt-cpp-0.26.8/source/mqtt/Mqtt5Packets.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/source/mqtt/Mqtt5Packets.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -138,7 +138,7 @@
const Crt::Vector<String> &stringVector,
Allocator *allocator)
{
- AWS_ZERO_STRUCT(dst);
+ aws_array_list_clean_up(&dst);
if (aws_array_list_init_dynamic(&dst, allocator, stringVector.size(), sizeof(aws_byte_cursor)) !=
AWS_OP_SUCCESS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/tests/CMakeLists.txt new/aws-crt-cpp-0.26.9/tests/CMakeLists.txt
--- old/aws-crt-cpp-0.26.8/tests/CMakeLists.txt 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/tests/CMakeLists.txt 2024-05-20 20:08:37.000000000 +0200
@@ -235,6 +235,7 @@
add_net_test_case(Mqtt5NullPublish)
add_net_test_case(Mqtt5NullSubscribe)
add_net_test_case(Mqtt5NullUnsubscribe)
+ add_net_test_case(Mqtt5ReuseUnsubscribePacket)
add_net_test_case(Mqtt5QoS1SubPub)
add_net_test_case(Mqtt5RetainSetAndClear)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/tests/Mqtt5ClientTest.cpp new/aws-crt-cpp-0.26.9/tests/Mqtt5ClientTest.cpp
--- old/aws-crt-cpp-0.26.8/tests/Mqtt5ClientTest.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/tests/Mqtt5ClientTest.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -2285,6 +2285,34 @@
}
AWS_TEST_CASE(Mqtt5NullUnsubscribe, s_TestMqtt5NullUnsubscribe)
+/*
+ * Reuse unsubscribe packet test.
+ * The scenario in this test once caused memory leak, so the test ensures the issue is fixed for good.
+ */
+static int s_TestMqtt5ReuseUnsubscribePacket(Aws::Crt::Allocator *allocator, void *)
+{
+ ApiHandle apiHandle(allocator);
+
+ const String TEST_TOPIC = "test/s_TestMqtt5NullUnsubscribe" + Aws::Crt::UUID().ToString();
+
+ Mqtt5::Mqtt5ClientOptions mqtt5Options(allocator);
+ mqtt5Options.WithHostName("www.example.com").WithPort(1111);
+ std::shared_ptr<Mqtt5::Mqtt5Client> mqtt5Client = Mqtt5::Mqtt5Client::NewMqtt5Client(mqtt5Options, allocator);
+ ASSERT_TRUE(mqtt5Client);
+
+ Vector<String> unsubList{TEST_TOPIC};
+ std::shared_ptr<Mqtt5::UnsubscribePacket> unsubscribe = std::make_shared<Mqtt5::UnsubscribePacket>(allocator);
+ unsubscribe->WithTopicFilters(unsubList);
+ ASSERT_TRUE(mqtt5Client->Unsubscribe(unsubscribe));
+ /* Unsubscribe once again using the same UnsubscribePacket. */
+ ASSERT_TRUE(mqtt5Client->Unsubscribe(unsubscribe));
+
+ ASSERT_TRUE(mqtt5Client->Stop());
+
+ return AWS_OP_SUCCESS;
+}
+AWS_TEST_CASE(Mqtt5ReuseUnsubscribePacket, s_TestMqtt5ReuseUnsubscribePacket)
+
//////////////////////////////////////////////////////////
// QoS1 Test Cases [QoS1-UC]
//////////////////////////////////////////////////////////
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/tests/SymmetricCipherTest.cpp new/aws-crt-cpp-0.26.9/tests/SymmetricCipherTest.cpp
--- old/aws-crt-cpp-0.26.8/tests/SymmetricCipherTest.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/tests/SymmetricCipherTest.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -16,6 +16,7 @@
auto cbcCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_CBC_Cipher();
ASSERT_TRUE(cbcCipher);
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto input = aws_byte_cursor_from_c_str("abc");
@@ -23,17 +24,22 @@
auto outputBuf = Aws::Crt::ByteBufFromEmptyArray(output, sizeof(output));
ASSERT_TRUE(cbcCipher.Encrypt(input, outputBuf));
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(cbcCipher.FinalizeEncryption(outputBuf));
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_FALSE(cbcCipher);
ASSERT_TRUE(cbcCipher.Reset());
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto decryptInput = Aws::Crt::ByteCursorFromByteBuf(outputBuf);
outputBuf.len = 0;
ASSERT_TRUE(cbcCipher.Decrypt(decryptInput, outputBuf));
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(cbcCipher.FinalizeDecryption(outputBuf));
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_BIN_ARRAYS_EQUALS(input.ptr, input.len, outputBuf.buffer, outputBuf.len);
@@ -48,6 +54,7 @@
uint8_t key[Aws::Crt::Crypto::AES_256_KEY_SIZE_BYTES] = {0xDD};
auto keyCur = Aws::Crt::ByteCursorFromArray(key, sizeof(key));
cbcCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_CBC_Cipher(keyCur);
+ ASSERT_TRUE(cbcCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(cbcCipher);
ASSERT_BIN_ARRAYS_EQUALS(keyCur.ptr, keyCur.len, cbcCipher.GetKey().ptr, cbcCipher.GetKey().len);
ASSERT_UINT_EQUALS(Aws::Crt::Crypto::AES_256_CIPHER_BLOCK_SIZE, cbcCipher.GetIV().len);
@@ -64,6 +71,7 @@
Aws::Crt::ApiHandle apiHandle(allocator);
auto ctrCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_CTR_Cipher();
ASSERT_TRUE(ctrCipher);
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto input = aws_byte_cursor_from_c_str("abc");
@@ -71,17 +79,22 @@
auto outputBuf = Aws::Crt::ByteBufFromEmptyArray(output, sizeof(output));
ASSERT_TRUE(ctrCipher.Encrypt(input, outputBuf));
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(ctrCipher.FinalizeEncryption(outputBuf));
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_FALSE(ctrCipher);
ASSERT_TRUE(ctrCipher.Reset());
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto decryptInput = Aws::Crt::ByteCursorFromByteBuf(outputBuf);
outputBuf.len = 0;
ASSERT_TRUE(ctrCipher.Decrypt(decryptInput, outputBuf));
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(ctrCipher.FinalizeDecryption(outputBuf));
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_BIN_ARRAYS_EQUALS(input.ptr, input.len, outputBuf.buffer, outputBuf.len);
@@ -97,6 +110,7 @@
auto keyCur = Aws::Crt::ByteCursorFromArray(key, sizeof(key));
ctrCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_CTR_Cipher(keyCur);
ASSERT_TRUE(ctrCipher);
+ ASSERT_TRUE(ctrCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_BIN_ARRAYS_EQUALS(keyCur.ptr, keyCur.len, ctrCipher.GetKey().ptr, ctrCipher.GetKey().len);
ASSERT_UINT_EQUALS(Aws::Crt::Crypto::AES_256_CIPHER_BLOCK_SIZE, ctrCipher.GetIV().len);
}
@@ -112,6 +126,7 @@
Aws::Crt::ApiHandle apiHandle(allocator);
auto gcmCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_GCM_Cipher();
ASSERT_TRUE(gcmCipher);
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto input = aws_byte_cursor_from_c_str("abc");
@@ -119,17 +134,22 @@
auto outputBuf = Aws::Crt::ByteBufFromEmptyArray(output, sizeof(output));
ASSERT_TRUE(gcmCipher.Encrypt(input, outputBuf));
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(gcmCipher.FinalizeEncryption(outputBuf));
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_FALSE(gcmCipher);
ASSERT_TRUE(gcmCipher.Reset());
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto decryptInput = Aws::Crt::ByteCursorFromByteBuf(outputBuf);
outputBuf.len = 0;
ASSERT_TRUE(gcmCipher.Decrypt(decryptInput, outputBuf));
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(gcmCipher.FinalizeDecryption(outputBuf));
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_BIN_ARRAYS_EQUALS(input.ptr, input.len, outputBuf.buffer, outputBuf.len);
@@ -146,6 +166,7 @@
auto keyCur = Aws::Crt::ByteCursorFromArray(key, sizeof(key));
gcmCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_GCM_Cipher(keyCur);
ASSERT_TRUE(gcmCipher);
+ ASSERT_TRUE(gcmCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_BIN_ARRAYS_EQUALS(keyCur.ptr, keyCur.len, gcmCipher.GetKey().ptr, gcmCipher.GetKey().len);
ASSERT_UINT_EQUALS(Aws::Crt::Crypto::AES_256_CIPHER_BLOCK_SIZE - 4, gcmCipher.GetIV().len);
}
@@ -161,6 +182,7 @@
Aws::Crt::ApiHandle apiHandle(allocator);
auto keywrapCipher = Aws::Crt::Crypto::SymmetricCipher::CreateAES_256_KeyWrap_Cipher();
ASSERT_TRUE(keywrapCipher);
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
auto input = aws_byte_cursor_from_c_str("abcdefghijklmnopqrstuvwxyz123456");
@@ -168,11 +190,14 @@
auto outputBuf = Aws::Crt::ByteBufFromEmptyArray(output, sizeof(output));
ASSERT_TRUE(keywrapCipher.Encrypt(input, outputBuf));
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(keywrapCipher.FinalizeEncryption(outputBuf));
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_FALSE(keywrapCipher);
ASSERT_TRUE(keywrapCipher.Reset());
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
uint8_t decryptOutput[Aws::Crt::Crypto::AES_256_CIPHER_BLOCK_SIZE * 3] = {0};
auto decryptOutputBuf = Aws::Crt::ByteBufFromEmptyArray(decryptOutput, sizeof(decryptOutput));
@@ -180,7 +205,9 @@
auto decryptInput = Aws::Crt::ByteCursorFromByteBuf(outputBuf);
ASSERT_TRUE(keywrapCipher.Decrypt(decryptInput, decryptOutputBuf));
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Ready);
ASSERT_TRUE(keywrapCipher.FinalizeDecryption(decryptOutputBuf));
+ ASSERT_TRUE(keywrapCipher.GetState() == Aws::Crt::Crypto::SymmetricCipherState::Finalized);
ASSERT_BIN_ARRAYS_EQUALS(input.ptr, input.len, decryptOutputBuf.buffer, decryptOutputBuf.len);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.26.8/tests/TypesTest.cpp new/aws-crt-cpp-0.26.9/tests/TypesTest.cpp
--- old/aws-crt-cpp-0.26.8/tests/TypesTest.cpp 2024-04-12 22:46:53.000000000 +0200
+++ new/aws-crt-cpp-0.26.9/tests/TypesTest.cpp 2024-05-20 20:08:37.000000000 +0200
@@ -119,3 +119,21 @@
}
AWS_TEST_CASE(TestByteCursorArrayListToVector, s_byte_cursor_array_list_to_vector)
+
+static int s_byte_buff_init_delete(struct aws_allocator *allocator, void *ctx)
+{
+ (void)ctx;
+ {
+ Aws::Crt::ApiHandle apiHandle(allocator);
+ const auto targetLength = 8;
+ auto byteBuff = ByteBufInit(allocator, targetLength);
+ ASSERT_UINT_EQUALS(targetLength, byteBuff.len);
+ ASSERT_TRUE(byteBuff.buffer != nullptr);
+ ByteBufDelete(byteBuff);
+ ASSERT_UINT_EQUALS(targetLength, 0);
+ ASSERT_TRUE(byteBuff.buffer == nullptr);
+ return 0;
+ }
+}
+
+AWS_TEST_CASE(TestByteBufInitDelete, s_byte_buff_init_delete)
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package aws-c-s3 for openSUSE:Factory checked in at 2024-06-03 17:41:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-c-s3 (Old)
and /work/SRC/openSUSE:Factory/.aws-c-s3.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-c-s3"
Mon Jun 3 17:41:12 2024 rev:5 rq:1177904 version:0.…
[View More]5.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-c-s3/aws-c-s3.changes 2024-04-02 16:45:18.935371978 +0200
+++ /work/SRC/openSUSE:Factory/.aws-c-s3.new.24587/aws-c-s3.changes 2024-06-03 17:41:19.890292096 +0200
@@ -1,0 +2,31 @@
+Thu May 23 10:35:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.5.9
+ * Buffer-pool allows "forced" buffers, which don't count
+ against memory limit by @graebm in (#429)
+ * Improve async write (fewer copies, polling API)
+ by @graebm in (#430)
+- Add Provides and Obsoletes for lib%{name}%{library_soversion}
+
+-------------------------------------------------------------------
+Mon May 13 10:48:17 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.5.8
+ * Allow disabling upload checksums while using upload review
+ by @jamesbornholt in (#421)
+ * Remove Dashboard and S3 Benchmark Stack by @waahm7 in (#427)
+ * Make test_s3_range_requests less flaky by @waahm7 in #423
+ * Add 'Content-Length: 0' header on multipart upload creation
+ by @waahm7 in #428
+- from version 0.5.7
+ * Add async write() function - fixes "stalled" uploads deadlocking
+ S3 Client by @graebm in (#418)
+- from version 0.5.6
+ * Adds Connection Pool Destroy Delay Take 2 by @waahm7 in (#419)
+- from version 0.5.5
+ * Set fail-fast to false in CI by @waahm7 in (#420)
+ * Small buffer by @DmitriyMusatkin in (#422)
+- Rename shared librar package from lib%{name}%{library_soversion}
+ to lib%{name}-%{library_soversion} to fix rpmlint error
+
+-------------------------------------------------------------------
Old:
----
v0.5.4.tar.gz
New:
----
v0.5.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aws-c-s3.spec ++++++
--- /var/tmp/diff_new_pack.f1aV1N/_old 2024-06-03 17:41:20.574317194 +0200
+++ /var/tmp/diff_new_pack.f1aV1N/_new 2024-06-03 17:41:20.574317194 +0200
@@ -19,7 +19,7 @@
%define library_version 1.0.0
%define library_soversion 0unstable
Name: aws-c-s3
-Version: 0.5.4
+Version: 0.5.9
Release: 0
Summary: AWS Cross-Platform, C99 wrapper for cryptography primitives
License: Apache-2.0
@@ -29,25 +29,25 @@
Patch0: acs_fix-cmake-modules-path.patch
BuildRequires: cmake
BuildRequires: fdupes
+BuildRequires: ninja
+BuildRequires: pkgconfig
BuildRequires: cmake(aws-c-auth)
BuildRequires: cmake(aws-c-cal)
BuildRequires: cmake(aws-c-common)
BuildRequires: cmake(aws-c-compression)
-BuildRequires: cmake(aws-checksums)
BuildRequires: cmake(aws-c-http)
BuildRequires: cmake(aws-c-io)
BuildRequires: cmake(aws-c-sdkutils)
+BuildRequires: cmake(aws-checksums)
BuildRequires: cmake(s2n)
-BuildRequires: pkgconfig(numa)
BuildRequires: pkgconfig(libssl)
-BuildRequires: ninja
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig(numa)
%description
AWS Crypto Abstraction Layer: Cross-Platform, C99 wrapper for cryptography primitives.
%package -n %{name}-bin
-Summary: aws-c-s3 binary files
+Summary: Binary files for aws-c-s3 library
Group: Development/Libraries/C and C++
# both provide /usr/bin/s3
Conflicts: libs3-tools
@@ -57,11 +57,13 @@
This package contains the command line utilities.
-%package -n lib%{name}%{library_soversion}
+%package -n lib%{name}-%{library_soversion}
Summary: Shared library files for aws-c-s3 library
Group: Development/Libraries/C and C++
+Provides: lib%{name}%{library_soversion} = %{version}
+Obsoletes: lib%{name}%{library_soversion} < %{version}
-%description -n lib%{name}%{library_soversion}
+%description -n lib%{name}-%{library_soversion}
AWS Crypto Abstraction Layer: Cross-Platform, C99 wrapper for cryptography primitives.
This package contains the dynamically linked library.
@@ -69,7 +71,7 @@
%package devel
Summary: Development files for aws-c-s3 library
Group: Development/Libraries/C and C++
-Requires: lib%{name}%{library_soversion} = %{version}
+Requires: lib%{name}-%{library_soversion} = %{version}
%description devel
AWS Crypto Abstraction Layer: Cross-Platform, C99 wrapper for cryptography primitives.
@@ -93,13 +95,13 @@
%install
%cmake_install
-%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
-%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
+%post -n lib%{name}-%{library_soversion} -p /sbin/ldconfig
+%postun -n lib%{name}-%{library_soversion} -p /sbin/ldconfig
%files -n %{name}-bin
%{_bindir}/s3
-%files -n lib%{name}%{library_soversion}
+%files -n lib%{name}-%{library_soversion}
%doc README.md
%license LICENSE
%{_libdir}/*.so.%{library_soversion}
++++++ v0.5.4.tar.gz -> v0.5.9.tar.gz ++++++
++++ 4770 lines of diff (skipped)
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package elixir-hex for openSUSE:Factory checked in at 2024-06-03 17:41:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elixir-hex (Old)
and /work/SRC/openSUSE:Factory/.elixir-hex.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elixir-hex"
Mon Jun 3 17:41:10 2024 rev:6 rq:1177881 …
[View More]version:2.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/elixir-hex/elixir-hex.changes 2023-12-18 22:55:54.451533621 +0100
+++ /work/SRC/openSUSE:Factory/.elixir-hex.new.24587/elixir-hex.changes 2024-06-03 17:41:18.450239259 +0200
@@ -1,0 +2,35 @@
+Fri May 31 09:09:48 UTC 2024 - valentin.lefebvre(a)suse.com
+
+- Update to version 2.1.1:
+ * Release v2.1.1
+ * Only filter non Hex overrides from requests (#1030)
+ * Bump v2.1.1-dev
+ * Release v2.1.0
+ * Warn on unknown dependency options (#1027)
+ * Document generating package keys
+ * Use docs output if set in project's config (#1026)
+ * Handle empty package name in mix hex.info (#1022)
+ * Improve error message when trying to publish existing package with permissions (#1021)
+ * Fix failing test on newer Elixir
+ * Do not silently ignore incorrect `mix hex.outdated --sort BY`
+ * Provide --sort flag sorting outdated results by status (#1017)
+ * Fix building requests from umbrella apps (#1013)
+ * Revert Mix changes on app stop (#1015)
+ * Update release matrix
+ * Update CI matrix and bump Elixir requirement to ~> 1.6
+ * Update certs
+ * Set exit status on organization.auth failure (#1009)
+ * Improve logging of auth issues (#1007)
+ * Add disclaimer about loadpaths (#1000)
+ * Update Hex.Repo to use hex_core to fetch data (#993)
+ * Add rebar3 installs for Elixir 1.14.5 & 1.15.0-rc.0 (#995)
+ * Do not close registry server in post_converge (#994)
+ * Add (CI) to user-agent
+ * Fix HEX_TRUSTED_MIRROR_URL name in docs
+ * Revert setup-beam tag
+ * Convert HTTP module into hex_core adapter (#990)
+ * Test erlef/setup-beam with builds.hex.pm (#992)
+ * Solve with path and git deps (#989)
+ * Bump to v2.0.7-dev
+
+-------------------------------------------------------------------
Old:
----
hex-2.0.6.tar.xz
New:
----
hex-2.1.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ elixir-hex.spec ++++++
--- /var/tmp/diff_new_pack.XL7iGp/_old 2024-06-03 17:41:19.138264504 +0200
+++ /var/tmp/diff_new_pack.XL7iGp/_new 2024-06-03 17:41:19.142264650 +0200
@@ -1,7 +1,7 @@
#
-# spec file
+# spec file for package elixir-hex
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define app_name hex
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
Name: elixir-%{app_name}
-Version: 2.0.6
+Version: 2.1.1
Release: 0
Summary: Package manager for the Erlang VM
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.XL7iGp/_old 2024-06-03 17:41:19.170265678 +0200
+++ /var/tmp/diff_new_pack.XL7iGp/_new 2024-06-03 17:41:19.174265825 +0200
@@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/hexpm/hex.git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">v2.0.6</param>
+ <param name="revision">v2.1.1</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.+)</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.XL7iGp/_old 2024-06-03 17:41:19.190266412 +0200
+++ /var/tmp/diff_new_pack.XL7iGp/_new 2024-06-03 17:41:19.194266559 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hexpm/hex.git</param>
- <param name="changesrevision">194ac08502cad54dc072e58c1f30a901c04b3284</param></service></servicedata>
+ <param name="changesrevision">e9e02933bbbf21cd222f64b785db27af2c790ecc</param></service></servicedata>
(No newline at EOF)
++++++ hex-2.0.6.tar.xz -> hex-2.1.1.tar.xz ++++++
++++ 6879 lines of diff (skipped)
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package i3status-rust for openSUSE:Factory checked in at 2024-06-03 17:41:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/i3status-rust (Old)
and /work/SRC/openSUSE:Factory/.i3status-rust.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "i3status-rust"
Mon Jun 3 17:41:07 2024 rev:9 …
[View More]rq:1177889 version:0.33.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/i3status-rust/i3status-rust.changes 2023-10-17 20:25:51.905102528 +0200
+++ /work/SRC/openSUSE:Factory/.i3status-rust.new.24587/i3status-rust.changes 2024-06-03 17:41:15.174119055 +0200
@@ -1,0 +2,46 @@
+Fri May 31 09:35:42 UTC 2024 - Dawid Adam <nyslay(a)gmail.com>
+
+- Update to 0.33.1:
+ * Memory: add zram, zswap support
+ * Music: allow asymmetric seek steps
+ * Time: snap seconds to the multiple of interval
+ * Privacy(Pipewire): fix status bar freezing
+ * Privacy(v4l): change device scan method
+ * Kdeconnect: fix device_id parameter
+ * AMD GPU: better error message on device not found
+
+-------------------------------------------------------------------
+Fri May 31 09:35:42 UTC 2024 - Dawid Adam <nyslay(a)gmail.com>
+
+- Update to 0.33.0:
+ * Kdeconnect: removed hide_disconnected option and connected formatting flag
+ * cpu: Add critical_info/warning_info/info_info options
+ * Kdeconnect: add format_disconnected and format_missing options
+ * Toggle: allow customizing state/theming when on/off by adding state_on and state_off options
+ * Disk Space: add support for TiB, GiB, MiB and KiB in alert_unit
+ * Add new privacy block which can detect if your webcam, screen/monitor, microphone, or audio monitor is being captured by another application. Note: only webcams that use v4l can be detected by default, enable the pipewire to monitor the use of the other listed kinds of media.
+ * Add new packages block which supports apt, dnf, and pacman/aur
+
+-------------------------------------------------------------------
+Fri May 31 09:35:42 UTC 2024 - Dawid Adam <nyslay(a)gmail.com>
+
+- Update to 0.32.3:
+ * Weather: add zip option for OpenWeatherMap
+ * Weather: add format_alt option
+ * Weather: implement forecast
+ * Music: add format_alt
+ * Apt: added config option ignore_updates_regex to filter the list of updates
+ * Time: add basic support for non Gregorian calendars (#1968).
+ * Xrandr: support multiple outputs
+ * Fail if click handler config refers to unknown button.
+ * Weather: location placeholder now works with Met.no if autolocate is enabled
+
+-------------------------------------------------------------------
+Fri May 31 09:35:42 UTC 2024 - Dawid Adam <nyslay(a)gmail.com>
+
+- Update to 0.32.2:
+ * Weather: Add icons for night, separated icons for Fog/Mist from Cloudy.
+ * icons: Add new set of emoji icons.
+ * Fix "update = true" click event handling for some blocks (e.g. pacman).
+
+-------------------------------------------------------------------
Old:
----
i3status-rust-0.32.1.tar.gz
New:
----
_servicedata
i3status-rust-0.33.1.obscpio
i3status-rust-0.33.1.tar.gz
i3status-rust.obsinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ i3status-rust.spec ++++++
--- /var/tmp/diff_new_pack.n80oLq/_old 2024-06-03 17:41:17.482203741 +0200
+++ /var/tmp/diff_new_pack.n80oLq/_new 2024-06-03 17:41:17.486203888 +0200
@@ -1,7 +1,7 @@
#
# spec file for package i3status-rust
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: i3status-rust
-Version: 0.32.1
+Version: 0.33.1
Release: 0%{?dist}
Summary: Feature-rich and resource-friendly replacement for i3status, written in Rust
++++++ _service ++++++
--- /var/tmp/diff_new_pack.n80oLq/_old 2024-06-03 17:41:17.514204915 +0200
+++ /var/tmp/diff_new_pack.n80oLq/_new 2024-06-03 17:41:17.514204915 +0200
@@ -3,7 +3,7 @@
<param name="url">https://github.com/greshake/i3status-rust</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
- <param name="revision">v0.32.1</param>
+ <param name="revision">v0.33.1</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/greshake/i3status-rust</param>
<param name="changesrevision">974402d0d3cd458e9df14581d53081779fd6ef6b</param></service></servicedata>
(No newline at EOF)
++++++ i3status-rust-0.32.1.tar.gz -> i3status-rust-0.33.1.tar.gz ++++++
++++ 13637 lines of diff (skipped)
++++++ i3status-rust.obsinfo ++++++
name: i3status-rust
version: 0.33.1
mtime: 1712509703
commit: 974402d0d3cd458e9df14581d53081779fd6ef6b
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/i3status-rust/vendor.tar.gz /work/SRC/openSUSE:Factory/.i3status-rust.new.24587/vendor.tar.gz differ: char 4, line 1
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tik for openSUSE:Factory checked in at 2024-06-03 17:40:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tik (Old)
and /work/SRC/openSUSE:Factory/.tik.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tik"
Mon Jun 3 17:40:59 2024 rev:9 rq:1177866 version:1.0.6
Changes:
------…
[View More]--
--- /work/SRC/openSUSE:Factory/tik/tik.changes 2024-05-29 19:37:32.844171196 +0200
+++ /work/SRC/openSUSE:Factory/.tik.new.24587/tik.changes 2024-06-03 17:41:04.601731144 +0200
@@ -1,0 +2,6 @@
+Fri May 31 08:32:04 UTC 2024 - rbrown(a)suse.com
+
+- Update to version 1.0.6:
+ * Migrate bluetooth configuration also
+
+-------------------------------------------------------------------
Old:
----
tik-1.0.5.tar.xz
New:
----
tik-1.0.6.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tik.spec ++++++
--- /var/tmp/diff_new_pack.u9AoYs/_old 2024-06-03 17:41:05.277755949 +0200
+++ /var/tmp/diff_new_pack.u9AoYs/_new 2024-06-03 17:41:05.281756095 +0200
@@ -17,7 +17,7 @@
Name: tik
-Version: 1.0.5
+Version: 1.0.6
Release: 0
Summary: Transactional Installation Kit
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.u9AoYs/_old 2024-06-03 17:41:05.301756829 +0200
+++ /var/tmp/diff_new_pack.u9AoYs/_new 2024-06-03 17:41:05.325757709 +0200
@@ -3,7 +3,7 @@
<service name="obs_scm" mode="localonly">
<param name="url">https://github.com/sysrich/tik.git</param>
<param name="scm">git</param>
- <param name="revision">v1.0.5</param>
+ <param name="revision">v1.0.6</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ tik-1.0.5.tar.xz -> tik-1.0.6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tik-1.0.5/usr/lib/tik/modules/post/20-mig new/tik-1.0.6/usr/lib/tik/modules/post/20-mig
--- old/tik-1.0.5/usr/lib/tik/modules/post/20-mig 2024-05-29 16:31:47.000000000 +0200
+++ new/tik-1.0.6/usr/lib/tik/modules/post/20-mig 2024-05-31 10:29:47.000000000 +0200
@@ -42,6 +42,7 @@
prun-opt /usr/bin/cp -a ${mig_dir}/localtime ${mig_dir}/mnt/etc/localtime
prun-opt /usr/bin/cp -a ${mig_dir}/users/* ${mig_dir}/mnt/var/lib/AccountsService/users
prun-opt /usr/bin/cp -a ${mig_dir}/icons/* ${mig_dir}/mnt/var/lib/AccountsService/icons
+ prun-opt /usr/bin/cp -a ${mig_dir}/bluetooth/* ${mig_dir}/mnt/var/lib/bluetooth
prun /usr/bin/umount ${mig_dir}/mnt/etc
prun /usr/bin/umount ${mig_dir}/mnt/var
prun /usr/bin/umount ${mig_dir}/mnt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tik-1.0.5/usr/lib/tik/modules/pre/20-mig new/tik-1.0.6/usr/lib/tik/modules/pre/20-mig
--- old/tik-1.0.5/usr/lib/tik/modules/pre/20-mig 2024-05-29 16:31:47.000000000 +0200
+++ new/tik-1.0.6/usr/lib/tik/modules/pre/20-mig 2024-05-31 10:29:47.000000000 +0200
@@ -175,6 +175,7 @@
prun-opt /usr/bin/cp -a ${mig_dir}/mnt/var/lib/AccountsService/users ${mig_dir}/users
prun-opt /usr/bin/chmod 744 ${mig_dir}/users
prun-opt /usr/bin/cp -a ${mig_dir}/mnt/var/lib/AccountsService/icons ${mig_dir}/icons
+ prun-opt /usr/bin/cp -a ${mig_dir}/mnt/var/lib/bluetooth ${mig_dir}/bluetooth
prun-opt /usr/bin/umount ${mig_dir}/mnt/etc
prun /usr/bin/umount ${mig_dir}/mnt/var
prun /usr/bin/umount ${mig_dir}/mnt
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package adns for openSUSE:Factory checked in at 2024-06-03 17:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/adns (Old)
and /work/SRC/openSUSE:Factory/.adns.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "adns"
Mon Jun 3 17:40:57 2024 rev:32 rq:1177863 version:1.6.1
Changes:
-…
[View More]-------
--- /work/SRC/openSUSE:Factory/adns/adns.changes 2024-02-21 17:59:21.713693951 +0100
+++ /work/SRC/openSUSE:Factory/.adns.new.24587/adns.changes 2024-06-03 17:41:03.201679775 +0200
@@ -1,0 +2,20 @@
+Sat May 25 07:58:19 UTC 2024 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- fix Factory submission and spec file tweaks
+
+-------------------------------------------------------------------
+Tue May 14 14:00:41 UTC 2024 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Update to version 1.6.1:
+ + Minor bugfix:
+ * Suppress warning about `trust-ad` in resolv.conf.
+ + Build system:
+ * Honour DESTDIR, avoiding need for prefix= workaround.
+ (Drop adns-1.4-destdir.patch)
+ * regression tests: Add missing dependency on hsyscalls.i.
+ GNU #51329. [Report from Sergei Trofimovich]
+ * regression tests: build with 64-bit time_t on 32-bit systems.
+ + Documentation:
+ * Fix all http: URLs in docs to be https: instead.
+
+-------------------------------------------------------------------
Old:
----
adns-1.4-destdir.patch
adns-1.6.0.tar.gz
adns-1.6.0.tar.gz.sig
New:
----
adns-1.6.1.tar.gz
adns-1.6.1.tar.gz.sig
BETA DEBUG BEGIN:
Old: * Honour DESTDIR, avoiding need for prefix= workaround.
(Drop adns-1.4-destdir.patch)
* regression tests: Add missing dependency on hsyscalls.i.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ adns.spec ++++++
--- /var/tmp/diff_new_pack.jP0rRq/_old 2024-06-03 17:41:04.013709569 +0200
+++ /var/tmp/diff_new_pack.jP0rRq/_new 2024-06-03 17:41:04.013709569 +0200
@@ -2,6 +2,7 @@
# spec file for package adns
#
# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger(a)gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +19,7 @@
%define lname libadns1
Name: adns
-Version: 1.6.0
+Version: 1.6.1
Release: 0
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
License: GPL-2.0-or-later
@@ -29,7 +30,6 @@
Source2: %{name}.keyring
Source3: README.SUSE
Source4: baselibs.conf
-Patch0: adns-1.4-destdir.patch
Patch1: adns-1.4-configure.patch
Patch2: adns-visibility.patch
BuildRequires: autoconf
@@ -65,7 +65,7 @@
%build
autoreconf -fiv
%configure
-%make_build all
+%make_build
%install
make install \
@@ -77,18 +77,23 @@
# FIXME: --disable-static not available
rm %{buildroot}%{_libdir}/*.a
+%ldconfig_scriptlets -n %{lname}
+
+%check
+## Fails without network
+#%%make_build check
+
%files
%license COPYING
%doc GPL-vs-LGPL README* TODO changelog
%{_bindir}/adns*
%files -n %{lname}
+%license COPYING
%{_libdir}/libadns.so.1*
%files -n libadns-devel
+%license COPYING
%{_includedir}/adns.h
%{_libdir}/libadns.so
-%post -n %{lname} -p /sbin/ldconfig
-%postun -n %{lname} -p /sbin/ldconfig
-
++++++ adns-1.6.0.tar.gz -> adns-1.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/INSTALL new/adns-1.6.1/INSTALL
--- old/adns-1.6.0/INSTALL 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/INSTALL 2024-05-05 23:32:29.000000000 +0200
@@ -101,7 +101,8 @@
details for adns.
adns is
- Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
+ Copyright (C) 1997-2000,2003,2006,2014-2016,2020,2024 Ian Jackson
+ Copyright (C) 2024 Sergey Poznyakoff
Copyright (C) 2014 Mark Wooding
Copyright (C) 1999-2000,2003,2006 Tony Finch <dot(a)dotat.at> [1]
Copyright (C) 1991 Massachusetts Institute of Technology [2]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/Makefile.in new/adns-1.6.1/Makefile.in
--- old/adns-1.6.0/Makefile.in 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/Makefile.in 2024-05-05 23:39:08.000000000 +0200
@@ -1,11 +1,7 @@
# Makefile[.in] - top-level Makefile
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -24,7 +20,7 @@
# Remember to change ADNS_VERSION_STRING in client/client.h too, and
# possibly library soname (MAJOR and MINOR in common.make.in).
-DISTVERSION= 1.6.0
+DISTVERSION= 1.6.1
srcdir= @srcdir@
VPATH= @srcdir@
@@ -75,10 +71,10 @@
web-install: adnshost.txt
test -e $(WEBDIR) || mkdir $(WEBDIR)
- $(INSTALL_DATA) $(srcdir)/README.html $(WEBDIR)/
- $(INSTALL_DATA) $(srcdir)/src/adns.h $(WEBDIR)/adns.h.txt
- $(INSTALL_DATA) COPYING $(WEBDIR)/COPYING.txt
- $(INSTALL_DATA) adnshost.txt $(WEBDIR)/
+ $(INSTALL_DATA) $(srcdir)/README.html $(DESTDIR)$(WEBDIR)/
+ $(INSTALL_DATA) $(srcdir)/src/adns.h $(DESTDIR)$(WEBDIR)/adns.h.txt
+ $(INSTALL_DATA) COPYING $(DESTDIR)$(WEBDIR)/COPYING.txt
+ $(INSTALL_DATA) adnshost.txt $(DESTDIR)$(WEBDIR)/
check: all
$(MAKE) -C regress check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/README new/adns-1.6.1/README
--- old/adns-1.6.0/README 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/README 2024-05-05 23:29:46.000000000 +0200
@@ -120,9 +120,8 @@
Copyright and licensing
- adns is Copyright 1997-2000,2003,2006,2014-2016,2020 Ian Jackson,
- Copyright 2014 Mark Wooding, Copyright 1999-2000,2003,2006 Tony Finch,
- and Copyright 1991 Massachusetts Institute of Technology.
+ adns is Copyright Ian Jackson and contributors. (See the file INSTALL
+ for a full list.)
adns 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
@@ -148,23 +147,23 @@
References
- 1. http://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt
- 2. http://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt
- 3. http://debbugs.gnu.org/
- 4. http://www.chiark.greenend.org.uk/mailman/listinfo
- 5. http://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt
- 6. http://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt
- 7. http://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz
- 8. http://www.chiark.greenend.org.uk/~ian/adns/ftp/
- 9. http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git/
- 10. http://www.gnu.org/
- 11. http://www.gnu.org/order/ftp.html
- 12. http://code.google.com/p/adns-python
- 13. http://www.lysator.liu.se/liboop/
- 14. http://adns.jgaa.com/
- 15. http://www.chiark.greenend.org.uk/~ian/adns/docs/COPYING.txt
- 16. http://www.fsf.org/
- 17. http://www.gnu.org/
- 18. http://www.chiark.greenend.org.uk/
+ 1. https://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt
+ 2. https://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt
+ 3. https://debbugs.gnu.org/
+ 4. https://www.chiark.greenend.org.uk/mailman/listinfo
+ 5. https://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt
+ 6. https://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt
+ 7. https://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz
+ 8. https://www.chiark.greenend.org.uk/~ian/adns/ftp/
+ 9. https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git/
+ 10. https://www.gnu.org/
+ 11. https://www.gnu.org/order/ftp.html
+ 12. https://code.google.com/p/adns-python
+ 13. https://www.lysator.liu.se/liboop/
+ 14. https://adns.jgaa.com/
+ 15. https://www.chiark.greenend.org.uk/~ian/adns/docs/COPYING.txt
+ 16. https://www.fsf.org/
+ 17. https://www.gnu.org/
+ 18. https://www.chiark.greenend.org.uk/
19. file:///
- 20. http://www.chiark.greenend.org.uk/~ian/sw-www-copy.html
+ 20. https://www.chiark.greenend.org.uk/~ian/sw-www-copy.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/README.html new/adns-1.6.1/README.html
--- old/adns-1.6.0/README.html 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/README.html 2024-05-05 23:17:43.000000000 +0200
@@ -11,7 +11,7 @@
<!-- Note: this file must contain portable HTML ! -->
<!-- -->
<!-- It is served on the GNU site and also from my own system, -->
-<!-- under the URL http://www.chiark.greenend.org.uk/adns/ -->
+<!-- under the URL https://www.chiark.greenend.org.uk/adns/ -->
<!-- Please ensure that all links continine to be correct -->
<!-- both for www.gnu.org and chiark. -->
<!-- -->
@@ -87,7 +87,7 @@
scripts to do simple lookups. In a more advanced mode it can be used
as a general-purpose DNS helper program for scripting languages which
can invoke and communicate with subprocesses. See the
-<A href="http://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt">adnshost
+<A href="https://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt">adnshost
usage message</A> for a summary of its capabilities.
</ul>
@@ -96,7 +96,7 @@
I'm afraid there is no manual yet. However, competent C programmers
should be able to use the library based on the
-<A href="http://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt">commented
+<A href="https://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt">commented
adns.h header file</A>, and the usage messages for the programs should
be sufficient.
@@ -108,7 +108,7 @@
<p>
Bug reports should be reported to the
-<a href="http://debbugs.gnu.org/">GNU Debbugs</a>. Send an email
+<a href="https://debbugs.gnu.org/">GNU Debbugs</a>. Send an email
to <code>submit(a)debbugs.gnu.org</code> and at the top of your email,
in a paragraph of its own, write the single line
<pre>
@@ -131,7 +131,7 @@
<p>
There are
-<A href="http://www.chiark.greenend.org.uk/mailman/listinfo">archives
+<A href="https://www.chiark.greenend.org.uk/mailman/listinfo">archives
and subscription web pages</A>, or you can subscribe by sending mail
containing the word `subscribe' to
<code>adns-announce-REQUEST(a)chiark.greenend.org.uk</code> or
@@ -140,26 +140,26 @@
<h2>Documentation</h2>
<ul>
-<li><A href="http://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt">adns.h
+<li><A href="https://www.chiark.greenend.org.uk/~ian/adns/docs/adns.h.txt">adns.h
API header file with documentation comments</A>
-<li><A href="http://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt">usage
+<li><A href="https://www.chiark.greenend.org.uk/~ian/adns/docs/adnshost.txt">usage
message for adnshost</A>
</ul>
<h2>Download and source code</h2>
<ul>
-<li>The <A href="http://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz">current
+<li>The <A href="https://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz">current
release</A> as a gzipped tarfile.
-<li><A href="http://www.chiark.greenend.org.uk/~ian/adns/ftp/">Previous
+<li><A href="https://www.chiark.greenend.org.uk/~ian/adns/ftp/">Previous
versions</A> and other files (including OpenPGP signatures).
-<li><A href="http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git/">master
+<li><A href="https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git/">master
git (version control) repository browser</a>.
</ul>
adns is also available from the
-<A href="http://www.gnu.org/">GNU Project</A> FTP servers and their
-<A href="http://www.gnu.org/order/ftp.html">mirrors</A>.
+<A href="https://www.gnu.org/">GNU Project</A> FTP servers and their
+<A href="https://www.gnu.org/order/ftp.html">mirrors</A>.
<h2>Installation note</h2>
@@ -175,21 +175,21 @@
<h2>References and related projects</h2>
<ul>
-<li><a href="http://code.google.com/p/adns-python">Python bindings</a>
+<li><a href="https://code.google.com/p/adns-python">Python bindings</a>
by Andy Dustman.
-<!-- <li><a href="http://cryp.to/hsdns/">Haskell bindings</a>
+<!-- <li><a href="https://cryp.to/hsdns/">Haskell bindings</a>
by Peter Simons. -->
-<li><a href="http://www.lysator.liu.se/liboop/">liboop event loop library</a>
+<li><a href="https://www.lysator.liu.se/liboop/">liboop event loop library</a>
has a built-in binding for adns.
-<li><a href="http://adns.jgaa.com/">port to MS Visual Studio 6 C++</a>
+<li><a href="https://adns.jgaa.com/">port to MS Visual Studio 6 C++</a>
by Jarle Aase.
</ul>
<h2>Copyright and licensing</h2>
-<kbd>adns</kbd> is Copyright 1997-2000,2003,2006,2014-2016,2020 Ian
-Jackson, Copyright 2014 Mark Wooding, Copyright 1999-2000,2003,2006
-Tony Finch, and Copyright 1991 Massachusetts Institute of Technology.
+<kbd>adns</kbd> is
+Copyright Ian Jackson and contributors.
+(See the file INSTALL for a full list.)
<p>
@@ -204,14 +204,14 @@
be useful, but <em>without any warranty</em>; without even the implied
warranty of <em>merchantability</em> or <em>fitness for a particular
purpose</em>. See the
-<A href="http://www.chiark.greenend.org.uk/~ian/adns/docs/COPYING.txt">GNU
+<A href="https://www.chiark.greenend.org.uk/~ian/adns/docs/COPYING.txt">GNU
General Public License</A> for more details.
<p>
You should have received a copy of the GNU General Public License
along with <kbd>adns</kbd>, or one should be available above; if not,
-write to the <A href="http://www.fsf.org/">Free Software Foundation</A>
+write to the <A href="https://www.fsf.org/">Free Software Foundation</A>
or email <code>ijackson(a)chiark.greenend.org.uk</code>.
<p>
@@ -220,13 +220,13 @@
Ian Jackson / <tt>ijackson(a)chiark.greenend.org.uk</tt>.
<p>
-<A href="http://www.gnu.org/">GNU home page</A>;
-<A href="http://www.chiark.greenend.org.uk/">chiark home page</A>;
+<A href="https://www.gnu.org/">GNU home page</A>;
+<A href="https://www.chiark.greenend.org.uk/">chiark home page</A>;
<A href="/">site or mirror home page</A>
<p>
This web page is Copyright (C)1996-2005,2014-2016 Ian Jackson. See the
-<A href="http://www.chiark.greenend.org.uk/~ian/sw-www-copy.html">Copyright/acknowledgements</A>.
+<A href="https://www.chiark.greenend.org.uk/~ian/sw-www-copy.html">Copyright/acknowledgements</A>.
</body>
</html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/acconfig.h new/adns-1.6.1/acconfig.h
--- old/adns-1.6.0/acconfig.h 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/acconfig.h 2024-05-05 23:22:44.000000000 +0200
@@ -3,12 +3,8 @@
* input file for autoheader/autoconf/configure: extra stuff for config.h
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/aclocal.m4 new/adns-1.6.1/aclocal.m4
--- old/adns-1.6.0/aclocal.m4 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/aclocal.m4 2024-05-05 23:26:58.000000000 +0200
@@ -1,11 +1,7 @@
# aclocal.m4 - package-specific macros for autoconf
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/changelog new/adns-1.6.1/changelog
--- old/adns-1.6.0/changelog 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/changelog 2024-05-05 23:39:28.000000000 +0200
@@ -1,3 +1,22 @@
+adns (1.6.1) UPSTREAM; urgency=low
+
+ Minor bugfix:
+ * Suppress warning about `trust-ad` in resolv.conf. Debian #1028112.
+
+ Build system:
+ * Honour DESTDIR, avoiding need for prefix= workaround.
+ [Contribution from Sergey Poznyakoff]
+ * regression tests: Add missing dependency on hsyscalls.i.
+ GNU #51329. [Report from Sergei Trofimovich]
+ * regression tests: build with 64-bit time_t on 32-bit systems.
+ Debian #1065725, Ubuntu Launchpad #2057735.
+ [Report from Sebastian Ramacher]
+
+ Documentation:
+ * Fix all http: URLs in docs to be https: instead.
+
+ -- Ian Jackson <ijackson(a)chiark.greenend.org.uk> Sun, 05 May 2024 22:39:28 +0100
+
adns (1.6.0) UPSTREAM; urgency=medium
Bugfixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/Makefile.in new/adns-1.6.1/client/Makefile.in
--- old/adns-1.6.0/client/Makefile.in 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/client/Makefile.in 2024-05-05 23:27:40.000000000 +0200
@@ -1,11 +1,7 @@
# client/Makefile - client program(s) Makefile
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -58,9 +54,9 @@
all: $(TARGETS)
install: $(TARG_INSTALL)
- mkdir -p $(bindir)
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
set -xe; for f in $(TARG_INSTALL); \
- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
+ do $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; done
uninstall:
for f in $(TARGETS); do rm -f $(bindir)/$$f; done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/addrtext.c new/adns-1.6.1/client/addrtext.c
--- old/adns-1.6.0/client/addrtext.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/client/addrtext.c 2024-05-05 23:20:28.000000000 +0200
@@ -21,12 +21,8 @@
* - test program for address<->string conversion, not part of the library
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adh-main.c new/adns-1.6.1/client/adh-main.c
--- old/adns-1.6.0/client/adh-main.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adh-main.c 2024-05-05 23:20:28.000000000 +0200
@@ -4,12 +4,8 @@
* main program and useful subroutines
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adh-opts.c new/adns-1.6.1/client/adh-opts.c
--- old/adns-1.6.0/client/adh-opts.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adh-opts.c 2024-05-05 23:20:28.000000000 +0200
@@ -4,12 +4,8 @@
* option handling tables etc.
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adh-query.c new/adns-1.6.1/client/adh-query.c
--- old/adns-1.6.0/client/adh-query.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adh-query.c 2024-05-05 23:20:27.000000000 +0200
@@ -4,12 +4,8 @@
* make queries and print answers
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adnsheloex.c new/adns-1.6.1/client/adnsheloex.c
--- old/adns-1.6.0/client/adnsheloex.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/client/adnsheloex.c 2024-05-05 23:20:55.000000000 +0200
@@ -3,15 +3,8 @@
* - look up the A record of hosts in an Exim log that failed HELO verification
*/
/*
- * This file is
- * Copyright (C) 2004 Tony Finch <dot(a)dotat.at>
- *
- * It is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adnshost.h new/adns-1.6.1/client/adnshost.h
--- old/adns-1.6.0/client/adnshost.h 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adnshost.h 2024-05-05 23:21:27.000000000 +0200
@@ -3,12 +3,8 @@
* - useful general-purpose resolver client program, header file
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adnslogres.c new/adns-1.6.1/client/adnslogres.c
--- old/adns-1.6.0/client/adnslogres.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adnslogres.c 2024-05-05 23:21:27.000000000 +0200
@@ -3,16 +3,8 @@
* - a replacement for the Apache logresolve program using adns
*/
/*
- * This file is
- * Copyright (C) 1999-2000 Tony Finch <dot(a)dotat.at>
- * Copyright (C) 1999-2000,2020 Ian Jackson <ian(a)davenant.greenend.org.uk>
- *
- * It is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adnsresfilter.c new/adns-1.6.1/client/adnsresfilter.c
--- old/adns-1.6.0/client/adnsresfilter.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/adnsresfilter.c 2024-05-05 23:21:27.000000000 +0200
@@ -3,12 +3,8 @@
* - filter which does resolving, not part of the library
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/adnstest.c new/adns-1.6.1/client/adnstest.c
--- old/adns-1.6.0/client/adnstest.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/client/adnstest.c 2024-05-05 23:22:44.000000000 +0200
@@ -3,12 +3,8 @@
* - simple test program, not part of the library
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/client.h new/adns-1.6.1/client/client.h
--- old/adns-1.6.0/client/client.h 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/client/client.h 2024-05-05 23:39:08.000000000 +0200
@@ -3,12 +3,8 @@
* - useful declarations and definitions for adns client programs
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
@@ -27,13 +23,10 @@
#ifndef CLIENT_H_INCLUDED
#define CLIENT_H_INCLUDED
-#define ADNS_VERSION_STRING "1.6.0"
+#define ADNS_VERSION_STRING "1.6.1"
#define COPYRIGHT_MESSAGE \
- "Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson\n" \
- "Copyright (C) 2014 Mark Wooding\n" \
- "Copyright (C) 1999-2000,2003,2006 Tony Finch\n" \
- "Copyright (C) 1991 Massachusetts Institute of Technology\n" \
+ "Copyright Ian Jackson and contributors\n" \
"This is free software; see the source for copying conditions. There is NO\n" \
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/client/fanftest.c new/adns-1.6.1/client/fanftest.c
--- old/adns-1.6.0/client/fanftest.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/client/fanftest.c 2024-05-05 23:22:43.000000000 +0200
@@ -3,16 +3,8 @@
* - a small test program from Tony Finch
*/
/*
- * This file is
- * Copyright (C) 1999 Tony Finch <dot(a)dotat.at>
- * Copyright (C) 1999-2000 Ian Jackson <ian(a)davenant.greenend.org.uk>
- *
- * It is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/common.make.in new/adns-1.6.1/common.make.in
--- old/adns-1.6.0/common.make.in 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/common.make.in 2024-05-05 23:28:40.000000000 +0200
@@ -1,12 +1,8 @@
# common.make[.in] - common configuration settings for Makefiles,
# used by autoconf/configure to generate settings.make
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -71,4 +67,4 @@
INSTALL_PROGRAM= $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
INSTALL_DATA= $(INSTALL) -m 644
-
+INSTALL_DIR= $(INSTALL) -d 755
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/configure.in new/adns-1.6.1/configure.in
--- old/adns-1.6.0/configure.in 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/configure.in 2024-05-05 23:28:40.000000000 +0200
@@ -1,11 +1,7 @@
# configure.in - input to autoconf
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/dynamic/Makefile.in new/adns-1.6.1/dynamic/Makefile.in
--- old/adns-1.6.0/dynamic/Makefile.in 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/dynamic/Makefile.in 2024-05-05 23:27:40.000000000 +0200
@@ -1,11 +1,7 @@
# dynamic/Makefile - dynamic library Makefile
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -31,9 +27,9 @@
install:
mkdir -p $(libdir)
- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBFILE)
+ ln -sf $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBSONAME)
+ ln -sf $(SHLIBSONAME) $(DESTDIR)$(libdir)/$(SHLIBFORLINK)
uninstall:
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/Makefile.in new/adns-1.6.1/regress/Makefile.in
--- old/adns-1.6.0/regress/Makefile.in 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/Makefile.in 2024-05-05 23:27:40.000000000 +0200
@@ -1,11 +1,7 @@
# regress/Makefile[.in] - regression test Makefile
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -123,10 +119,10 @@
adnshost_fuzzraw: $(ADH_OBJS) hfuzzraw.o hfuzz.o $(HARNLOBJS)
$(LINK_CMD)
-%_d.o: $(srcdir)/../src/%.c hredirect.h
+%_d.o: $(srcdir)/../src/%.c hredirect.h hsyscalls.h
$(CC) $(CFLAGS) $(HCPPFLAGS) -c -g -o $@ $<
-%_c.o: $(srcdir)/../client/%.c hredirect.h
+%_c.o: $(srcdir)/../client/%.c hredirect.h hsyscalls.h
$(CC) $(CFLAGS) $(HCPPFLAGS) -I $(srcdir)/../src -c -g -o $@ $<
$(ALL_OBJS): $(srcdir)/../src/adns.h $(srcdir)/../src/internal.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/addcases new/adns-1.6.1/regress/addcases
--- old/adns-1.6.0/regress/addcases 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/regress/addcases 2024-05-05 23:27:39.000000000 +0200
@@ -1,12 +1,8 @@
#!/bin/sh
# usage: ./addcases <casename> ...
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/checkall new/adns-1.6.1/regress/checkall
--- old/adns-1.6.0/regress/checkall 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/regress/checkall 2024-05-05 23:28:39.000000000 +0200
@@ -2,12 +2,8 @@
# usage: checkall
# runs all test cases
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/harness.h.m4 new/adns-1.6.1/regress/harness.h.m4
--- old/adns-1.6.0/regress/harness.h.m4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/harness.h.m4 2024-05-05 23:30:25.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - function and other declarations
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hcommon.c.m4 new/adns-1.6.1/regress/hcommon.c.m4
--- old/adns-1.6.0/regress/hcommon.c.m4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hcommon.c.m4 2024-05-05 23:31:14.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - routines used for both record and playback
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hmacros.i4 new/adns-1.6.1/regress/hmacros.i4
--- old/adns-1.6.0/regress/hmacros.i4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hmacros.i4 2024-05-05 23:31:14.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - common macros
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hplayback.c.m4 new/adns-1.6.1/regress/hplayback.c.m4
--- old/adns-1.6.0/regress/hplayback.c.m4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hplayback.c.m4 2024-05-05 23:31:13.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - playback routines
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
@@ -170,19 +166,25 @@
static void P_updatetime(void) {
int chars;
- unsigned long sec, usec;
+ unsigned long sec;
+ long usec;
if (!adns__vbuf_ensure(&vb2,1000)) Tnomem();
fgets(vb2.buf,vb2.avail,Tinputfile); Pcheckinput();
chars= -1;
- sscanf(vb2.buf," +%lu.%lu%n",&sec,&usec,&chars);
+ sscanf(vb2.buf," +%lu.%ld%n",&sec,&usec,&chars);
if (chars==-1) Psyntax("update time invalid");
currenttime.tv_sec+= sec;
- currenttime.tv_usec+= usec;
- if (currenttime.tv_usec > 1000000) {
+ usec = (long)currenttime.tv_usec + usec;
+ while (usec < 0) {
+ currenttime.tv_sec--;
+ usec += 1000000;
+ }
+ while (usec > 1000000) {
currenttime.tv_sec++;
- currenttime.tv_usec -= 1000000;
+ usec -= 1000000;
}
+ currenttime.tv_usec = usec;
if (vb2.buf[chars] != hm_squote\nhm_squote) Psyntax("not newline after update time");
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hrecord.c.m4 new/adns-1.6.1/regress/hrecord.c.m4
--- old/adns-1.6.0/regress/hrecord.c.m4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hrecord.c.m4 2024-05-05 23:31:34.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - recording routines
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hredirect.h.m4 new/adns-1.6.1/regress/hredirect.h.m4
--- old/adns-1.6.0/regress/hredirect.h.m4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hredirect.h.m4 2024-05-05 23:31:34.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - redefinitions of system calls
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hsyscalls.h.m4 new/adns-1.6.1/regress/hsyscalls.h.m4
--- old/adns-1.6.0/regress/hsyscalls.h.m4 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/regress/hsyscalls.h.m4 2024-05-05 23:31:33.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - prototypes of redefinitions of system calls
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/hsyscalls.i4 new/adns-1.6.1/regress/hsyscalls.i4
--- old/adns-1.6.0/regress/hsyscalls.i4 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/hsyscalls.i4 2024-05-05 23:31:45.000000000 +0200
@@ -2,12 +2,8 @@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - list of syscalls to override/log and their args
-m4_dnl This file is part of adns, which is
-m4_dnl Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-m4_dnl Copyright (C) 2014 Mark Wooding
-m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
-m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
-m4_dnl (See the file INSTALL for full details.)
+m4_dnl This file is part of adns, which is Copyright Ian Jackson
+m4_dnl and contributors (see the file INSTALL for full details).
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/m1test new/adns-1.6.1/regress/m1test
--- old/adns-1.6.0/regress/m1test 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/m1test 2024-05-05 23:29:06.000000000 +0200
@@ -2,12 +2,8 @@
# usage: m1test <name> <initfile> [<initflags>] <queryargs>'
# test recording script
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/regress/r1test new/adns-1.6.1/regress/r1test
--- old/adns-1.6.0/regress/r1test 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/regress/r1test 2024-05-05 23:29:06.000000000 +0200
@@ -2,12 +2,8 @@
# usage: r1test <testcasename>
# test execution script, for running one test
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/settings.make.in new/adns-1.6.1/settings.make.in
--- old/adns-1.6.0/settings.make.in 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/settings.make.in 2024-05-05 23:29:17.000000000 +0200
@@ -1,12 +1,8 @@
# settings.make[.in] - main configuration settings for Makefiles,
# used by autoconf/configure to generate settings.make
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/Makefile.in new/adns-1.6.1/src/Makefile.in
--- old/adns-1.6.0/src/Makefile.in 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/Makefile.in 2024-05-05 23:29:06.000000000 +0200
@@ -1,11 +1,7 @@
# src/Makefile[.in] - library main Makefile
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
@@ -32,8 +28,10 @@
install:
mkdir -p $(libdir) $(includedir)
set -xe; for f in $(TARGETS); \
- do $(INSTALL_DATA) $$f $(libdir)/$$f; done
- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h
+ do $(INSTALL_DIR) $(DESTDIR)$(libdir); \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(libdir)/$$f; done
+ $(INSTALL_DIR) $(DESTDIR)$(includedir)
+ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)$(includedir)/adns.h
uninstall:
for f in $(TARGETS); do rm -f $(libdir)/$$f; done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/addrfam.c new/adns-1.6.1/src/addrfam.c
--- old/adns-1.6.0/src/addrfam.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/addrfam.c 2024-05-05 23:24:45.000000000 +0200
@@ -3,12 +3,8 @@
* - address-family specific code
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/adns.make new/adns-1.6.1/src/adns.make
--- old/adns-1.6.0/src/adns.make 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/adns.make 2024-05-05 23:29:05.000000000 +0200
@@ -1,11 +1,7 @@
# src/adns.make - library definitions, including list of object files
#
-# This file is part of adns, which is
-# Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
-# Copyright (C) 2014 Mark Wooding
-# Copyright (C) 1999-2000,2003,2006 Tony Finch
-# Copyright (C) 1991 Massachusetts Institute of Technology
-# (See the file INSTALL for full details.)
+# This file is part of adns, which is Copyright Ian Jackson
+# and contributors (see the file INSTALL for full details).
#
# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/check.c new/adns-1.6.1/src/check.c
--- old/adns-1.6.0/src/check.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/check.c 2024-05-05 23:24:45.000000000 +0200
@@ -3,12 +3,8 @@
* - consistency checks
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/config.h.in new/adns-1.6.1/src/config.h.in
--- old/adns-1.6.0/src/config.h.in 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/config.h.in 2024-05-05 23:24:45.000000000 +0200
@@ -4,12 +4,8 @@
* input file for autoheader/autoconf/configure: extra stuff for config.h
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/dlist.h new/adns-1.6.1/src/dlist.h
--- old/adns-1.6.0/src/dlist.h 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/dlist.h 2024-05-05 23:24:45.000000000 +0200
@@ -3,12 +3,8 @@
* - macros for handling doubly linked lists
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/event.c new/adns-1.6.1/src/event.c
--- old/adns-1.6.0/src/event.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/event.c 2024-05-05 23:24:45.000000000 +0200
@@ -5,12 +5,8 @@
* - user-visible check/wait and event-loop-related functions
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/general.c new/adns-1.6.1/src/general.c
--- old/adns-1.6.0/src/general.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/general.c 2024-05-05 23:24:45.000000000 +0200
@@ -4,12 +4,8 @@
* - vbuf handling
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/internal.h new/adns-1.6.1/src/internal.h
--- old/adns-1.6.0/src/internal.h 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/internal.h 2024-05-05 23:24:45.000000000 +0200
@@ -5,12 +5,8 @@
* - comments regarding library data structures
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/parse.c new/adns-1.6.1/src/parse.c
--- old/adns-1.6.0/src/parse.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/parse.c 2024-05-05 23:24:44.000000000 +0200
@@ -3,12 +3,8 @@
* - parsing assistance functions (mainly for domains inside datagrams)
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/poll.c new/adns-1.6.1/src/poll.c
--- old/adns-1.6.0/src/poll.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/poll.c 2024-05-05 23:24:44.000000000 +0200
@@ -3,12 +3,8 @@
* - wrappers for poll(2)
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/query.c new/adns-1.6.1/src/query.c
--- old/adns-1.6.0/src/query.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/query.c 2024-05-05 23:24:44.000000000 +0200
@@ -5,12 +5,8 @@
* - query submission and cancellation (user-visible and internal)
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/reply.c new/adns-1.6.1/src/reply.c
--- old/adns-1.6.0/src/reply.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/reply.c 2024-05-05 23:24:44.000000000 +0200
@@ -3,12 +3,8 @@
* - main handling and parsing routine for received datagrams
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/setup.c new/adns-1.6.1/src/setup.c
--- old/adns-1.6.0/src/setup.c 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/setup.c 2024-05-05 23:24:44.000000000 +0200
@@ -4,12 +4,8 @@
* - management of global state
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
@@ -348,6 +344,8 @@
/* adns normally does IPv6 if the application wants it; control
* this with the adns_af: option if you like */
WORD_IS("inet6") ||
+ /* adns trusts the resolver anyway */
+ WORD_IS("trust-ad") ||
/* adns does not do edns0 and this is not a problem */
WORD_IS("edns0"))
continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/transmit.c new/adns-1.6.1/src/transmit.c
--- old/adns-1.6.0/src/transmit.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/transmit.c 2024-05-05 23:24:44.000000000 +0200
@@ -4,12 +4,8 @@
* - send queries
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/tvarith.h new/adns-1.6.1/src/tvarith.h
--- old/adns-1.6.0/src/tvarith.h 2020-06-11 17:07:10.000000000 +0200
+++ new/adns-1.6.1/src/tvarith.h 2024-05-05 23:24:44.000000000 +0200
@@ -3,12 +3,8 @@
* - static inline functions for doing arithmetic on timevals
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/adns-1.6.0/src/types.c new/adns-1.6.1/src/types.c
--- old/adns-1.6.0/src/types.c 2020-06-11 17:43:40.000000000 +0200
+++ new/adns-1.6.1/src/types.c 2024-05-05 23:24:43.000000000 +0200
@@ -3,12 +3,8 @@
* - RR-type-specific code, and the machinery to call it
*/
/*
- * This file is part of adns, which is
- * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson
- * Copyright (C) 2014 Mark Wooding
- * Copyright (C) 1999-2000,2003,2006 Tony Finch
- * Copyright (C) 1991 Massachusetts Institute of Technology
- * (See the file INSTALL for full details.)
+ * This file is part of adns, which is Copyright Ian Jackson
+ * and contributors (see the file INSTALL for full details).
*
* 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
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lyx for openSUSE:Factory checked in at 2024-06-03 17:40:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lyx (Old)
and /work/SRC/openSUSE:Factory/.lyx.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lyx"
Mon Jun 3 17:40:55 2024 rev:109 rq:1177865 version:2.4.0
Changes:
----…
[View More]----
--- /work/SRC/openSUSE:Factory/lyx/lyx.changes 2024-04-03 17:20:05.940795531 +0200
+++ /work/SRC/openSUSE:Factory/.lyx.new.24587/lyx.changes 2024-06-03 17:41:01.617621654 +0200
@@ -1,0 +2,8 @@
+Fri May 31 08:08:12 UTC 2024 - Cor Blom <cornelis(a)solcon.nl>
+
+- Update to 2.4.0 release
+ This is a major release with many changes, too much to list here.
+ Details can be found at:
+ https://wiki.lyx.org/LyX/NewInLyX24
+
+-------------------------------------------------------------------
Old:
----
lyx-2.4.0~RC4.tar.xz
lyx-2.4.0~RC4.tar.xz.sig
New:
----
lyx-2.4.0.tar.xz
lyx-2.4.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lyx.spec ++++++
--- /var/tmp/diff_new_pack.3cvnvy/_old 2024-06-03 17:41:02.481653356 +0200
+++ /var/tmp/diff_new_pack.3cvnvy/_new 2024-06-03 17:41:02.481653356 +0200
@@ -21,16 +21,16 @@
%endif
Name: lyx
-Version: 2.4.0~RC4
+Version: 2.4.0
Release: 0
Summary: WYSIWYM (What You See Is What You Mean) document processor
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Frontends
URL: http://www.lyx.org/
-Source: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/lyx-%{version}.tar.xz
+Source: http://ftp.lyx.org/pub/lyx/stable/2.4.x/lyx-%{version}.tar.xz
Source1: lyxrc.dist
Source2: lyx.keyring
-Source3: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/lyx-%{version}.tar.xz.sig
+Source3: http://ftp.lyx.org/pub/lyx/stable/2.4.x/lyx-%{version}.tar.xz.sig
Source4: README.SUSE
BuildRequires: autoconf
BuildRequires: automake
++++++ lyx-2.4.0~RC4.tar.xz -> lyx-2.4.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/lyx/lyx-2.4.0~RC4.tar.xz /work/SRC/openSUSE:Factory/.lyx.new.24587/lyx-2.4.0.tar.xz differ: char 26, line 1
[View Less]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gpxsee for openSUSE:Factory checked in at 2024-06-03 17:40:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpxsee (Old)
and /work/SRC/openSUSE:Factory/.gpxsee.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gpxsee"
Mon Jun 3 17:40:53 2024 rev:124 rq:1177851 version:13.21
…
[View More]Changes:
--------
--- /work/SRC/openSUSE:Factory/gpxsee/gpxsee.changes 2024-05-24 19:52:41.252904012 +0200
+++ /work/SRC/openSUSE:Factory/.gpxsee.new.24587/gpxsee.changes 2024-06-03 17:40:58.681513926 +0200
@@ -1,0 +2,8 @@
+Wed May 29 21:19:29 CEST 2024 - tumic(a)cbox.cz
+
+- Update to version 13.21
+ * Added hillshading settings.
+ * Fixed render issues with Qt 6.7.
+ * Fixed issues with dates not respecting the system format.
+
+-------------------------------------------------------------------
Old:
----
GPXSee-13.20.tar.gz
New:
----
GPXSee-13.21.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gpxsee.spec ++++++
--- /var/tmp/diff_new_pack.WSD0Gs/_old 2024-06-03 17:40:59.665550031 +0200
+++ /var/tmp/diff_new_pack.WSD0Gs/_new 2024-06-03 17:40:59.665550031 +0200
@@ -19,7 +19,7 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: gpxsee
-Version: 13.20
+Version: 13.21
Release: 1
Summary: GPS log file visualization and analysis tool
License: GPL-3.0-only
@@ -34,7 +34,7 @@
BuildRequires: qt6-qtbase-gui
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtbase-private-devel
-BuildRequires: qt6-qtlocation-devel
+BuildRequires: qt6-qtpositioning-devel
BuildRequires: qt6-qtsvg-devel
BuildRequires: qt6-qtserialport-devel
BuildRequires: qt6-linguist
++++++ GPXSee-13.20.tar.gz -> GPXSee-13.21.tar.gz ++++++
++++ 24594 lines of diff (skipped)
++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.WSD0Gs/_old 2024-06-03 17:41:00.217570285 +0200
+++ /var/tmp/diff_new_pack.WSD0Gs/_new 2024-06-03 17:41:00.221570432 +0200
@@ -1,5 +1,5 @@
pkgname=gpxsee
-pkgver=13.20
+pkgver=13.21
pkgrel=1
pkgdesc='GPS log files visualizing and analyzing tool'
arch=('i686' 'x86_64')
++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.WSD0Gs/_old 2024-06-03 17:41:00.249571459 +0200
+++ /var/tmp/diff_new_pack.WSD0Gs/_new 2024-06-03 17:41:00.253571606 +0200
@@ -1,3 +1,11 @@
+gpxsee (13.21) stable; urgency=low
+
+ * Added hillshading settings.
+ * Fixed render issues with Qt 6.7.
+ * Fixed issues with dates not respecting the system format.
+
+ -- Martin Tuma <tumic(a)cbox.cz> Wed, 29 May 2024 21:28:02 +0200
+
gpxsee (13.20) stable; urgency=low
* Improved hillshading rendering.
++++++ gpxsee.dsc ++++++
--- /var/tmp/diff_new_pack.WSD0Gs/_old 2024-06-03 17:41:00.317573954 +0200
+++ /var/tmp/diff_new_pack.WSD0Gs/_new 2024-06-03 17:41:00.321574101 +0200
@@ -1,10 +1,10 @@
Format: 1.0
Source: gpxsee
-Version: 13.20-1
+Version: 13.21-1
Binary: gpxsee
Maintainer: Martin Tuma <tumic(a)cbox.cz>
Architecture: any
Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-private-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools, libqt5opengl5-dev, qtpositioning5-dev, libqt5svg5-dev, libqt5serialport5-dev
Files:
- 00000000000000000000000000000000 0 GPXSee-13.20.tar.gz
+ 00000000000000000000000000000000 0 GPXSee-13.21.tar.gz
[View Less]
1
0