Notification time stamped 2022-12-31 13:16:10 UTC
From 08c2584a295f6d8f941648bac5226a45316b6ed0 Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert(a)fedoraproject.org>
Date: Dec 31 2022 13:15:30 +0000
Subject: Upgrade to 6.0.5 (#2151482)
---
diff --git a/sources b/sources
index 4cce6bc..411002f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (gpgkey-1D2D2B03A0B68ED11D68A24BA7A21B0A108FF4A9.gpg) =
b17e72bc242e606fc660a851676317326ea0a1f3b501cf199a6f59edd999444b957bd52a359e3aa6ceb6c54cba4001e1b94116793c3e0c815eb03df139e1239d
-SHA512 (unrealircd-6.0.4.2.tar.gz) =
2677834660f9e6123ddf5121d9a46908f6071070cc9da085884d6c6ccec9fefc5429effa2890527a1e162984f1c5cd57bcd9cd488e8713613af84fb6d507207d
-SHA512 (unrealircd-6.0.4.2.tar.gz.asc) =
3bbad079c486bd072694f246306094a5cdfc7648f49a9ec40743453bec78173454667243a05870a8a19320b31843dfcd15d962d04758cf97cccd8854dbfdfea4
+SHA512 (unrealircd-6.0.5.tar.gz) =
bd3ee8db0646dd6d80df097157363506ace195d3590c82103309d78688ec39ac26384e871491e7c0884c905af478254caf168b99db3703f1c02073ad9dc2b6dc
+SHA512 (unrealircd-6.0.5.tar.gz.asc) =
e376053bb6b61c24afd47f1ca4a0c671980b7a376b8655924281a1137650b3b875df7cb1d7161d9b6318f821117ac471955ddb1348425b3befce670a8f2769c9
diff --git a/unrealircd-6.0.1.1-geoip.patch b/unrealircd-6.0.1.1-geoip.patch
deleted file mode 100644
index aceb969..0000000
--- a/unrealircd-6.0.1.1-geoip.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-Nasty hack by Robert Scheck <robert(a)fedoraproject.org> for UnrealIRCd >= 6.0.1.1
which disables all
-default upstream GeoIP functionalities in UnrealIRCd, because:
-
-As of writing, the origin of the two GeoIP Legacy databases provided by UnrealIRCd
upstream is, at
-least to me as packager, unknown. MaxMind retired and removed the (free) GeoLite Legacy
databases
-already in April 2018. The (free) GeoLite2 databases (to be used with libmaxminddb) are
maintained
-by MaxMind, but due to legal implications these GeoLite2 databases are no longer
available under
-the Creative Commons Attribution-ShareAlike 4.0 International License (since December
2019). While
-the (free) GeoLite2 databases can be still downloaded without charges, it's necessary
to register a
-MaxMind account and to obtain a license key. Additionally, an end-user license agreement
containing
-the relevant data processing provisions that MaxMind and the user/admin (= you) need to
comply with
-applicable data privacy regulations needs to be signed
(
https://www.maxmind.com/en/geolite2/eula).
-Technically it's indeed possible for UnrealIRCd upstream to keep the GeoIP Legacy
databases up-to-
-date using other sources themself, however:
-
-UnrealIRCd upstream unfortunately prefers to use the legacy (and near to end of life)
library GeoIP
-aka libgeoip (
https://github.com/maxmind/geoip-api-c/) rather its successor, the GeoIP2
library aka
-libmaxminddb (
https://github.com/maxmind/libmaxminddb) by default.
-
-See also:
- -
https://www.unrealircd.org/docs/GeoIP (for the different options and the configuration
itself)
- -
https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadab...
- -
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-...
-
---- unrealircd-6.0.1.1/doc/conf/modules.default.conf 2021-12-29 19:33:50.000000000
+0100
-+++ unrealircd-6.0.1.1/doc/conf/modules.default.conf.geoip 2021-12-31 03:04:25.592988734
+0100
-@@ -203,7 +203,7 @@
- loadmodule "extbans/timedban"; /* +b ~time (old ~t mode, timed bans /
temporary bans) */
- loadmodule "extbans/partmsg"; /* +b ~partmsg (old ~p mode, hide part/quit
message) */
- loadmodule "extbans/securitygroup"; /* +b ~security-group (old ~G mode,
security group) */
--loadmodule "extbans/country"; /* +b ~country (country/geoip) */
-+// loadmodule "extbans/country"; /* +b ~country (country/geoip) */ /* Disabled
by Fedora intentionally, please read the end of this file */
-
-
- /** IRCv3 extensions */
-@@ -250,9 +250,33 @@
- loadmodule "json-log-tag"; /*
unrealircd.org/json-log tag and CAP for ircops
*/
- loadmodule "targetfloodprot"; /* set::anti-flood::target-flood protection */
- loadmodule "watch-backend"; /* used by watch and other modules */
--loadmodule "geoip_base"; /* needed for ALL geoip functions */
-+// loadmodule "geoip_base"; /* needed for ALL geoip functions */ /* Disabled
by Fedora intentionally, please read the end of this file */
-
--loadmodule "geoip_classic";
-+/* As of writing, the origin of the two GeoIP Legacy databases provided by UnrealIRCd
upstream is, at
-+ * least to me as packager, unknown. MaxMind retired and removed the (free) GeoLite
Legacy databases
-+ * already in April 2018. The (free) GeoLite2 databases (to be used with libmaxminddb)
are maintained
-+ * by MaxMind, but due to legal implications these GeoLite2 databases are no longer
available under
-+ * the Creative Commons Attribution-ShareAlike 4.0 International License (since December
2019). While
-+ * the (free) GeoLite2 databases can be still downloaded without charges, it's
necessary to register a
-+ * MaxMind account and to obtain a license key. Additionally, an end-user license
agreement containing
-+ * the relevant data processing provisions that MaxMind and the user/admin (= you) need
to comply with
-+ * applicable data privacy regulations needs to be signed
(
https://www.maxmind.com/en/geolite2/eula).
-+ * Technically it's indeed possible for UnrealIRCd upstream to keep the GeoIP Legacy
databases up-to-
-+ * date using other sources themself, however:
-+ *
-+ * UnrealIRCd upstream unfortunately prefers to use the legacy (and near to end of life)
GeoIP library
-+ * aka libgeoip (
https://github.com/maxmind/geoip-api-c/) rather its successor, the
GeoIP2 library aka
-+ * libmaxminddb (
https://github.com/maxmind/libmaxminddb) by default.
-+ *
-+ * See also:
-+ * -
https://www.unrealircd.org/docs/GeoIP (for the different options and the
configuration itself)
-+ * -
https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadab...
-+ * -
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-...
-+ */
-+
-+// loadmodule "geoip_classic"; /* Disabled by Fedora intentionally, requires
the legacy (and near to end of life) GeoIP library */
-+// loadmodule "geoip_csv"; /* Requires a suitable CSV file and a manual
configuration (including a database update mechanism) */
-+// loadmodule "geoip_maxmind"; /* Requires unrealircd-maxmind RPM to be
installed, GeoLite2 databases and a manual configuration (including a database update
mechanism) */
- @if module-loaded("geoip_classic")
- set {
- geoip-classic {
diff --git a/unrealircd-6.0.5-geoip.patch b/unrealircd-6.0.5-geoip.patch
new file mode 100644
index 0000000..3ff3910
--- /dev/null
+++ b/unrealircd-6.0.5-geoip.patch
@@ -0,0 +1,72 @@
+Nasty hack by Robert Scheck <robert(a)fedoraproject.org> for UnrealIRCd >= 6.0.5
which disables all
+default upstream GeoIP functionalities in UnrealIRCd, because:
+
+As of writing, the origin of the two GeoIP Legacy databases provided by UnrealIRCd
upstream is, at
+least to me as packager, unknown. MaxMind retired and removed the (free) GeoLite Legacy
databases
+already in April 2018. The (free) GeoLite2 databases (to be used with libmaxminddb) are
maintained
+by MaxMind, but due to legal implications these GeoLite2 databases are no longer
available under
+the Creative Commons Attribution-ShareAlike 4.0 International License (since December
2019). While
+the (free) GeoLite2 databases can be still downloaded without charges, it's necessary
to register a
+MaxMind account and to obtain a license key. Additionally, an end-user license agreement
containing
+the relevant data processing provisions that MaxMind and the user/admin (= you) need to
comply with
+applicable data privacy regulations needs to be signed
(
https://www.maxmind.com/en/geolite2/eula).
+Technically it's indeed possible for UnrealIRCd upstream to keep the GeoIP Legacy
databases up-to-
+date using other sources themself, however:
+
+UnrealIRCd upstream unfortunately prefers to use the legacy (and near to end of life)
library GeoIP
+aka libgeoip (
https://github.com/maxmind/geoip-api-c/) rather its successor, the GeoIP2
library aka
+libmaxminddb (
https://github.com/maxmind/libmaxminddb) by default.
+
+See also:
+ -
https://www.unrealircd.org/docs/GeoIP (for the different options and the configuration
itself)
+ -
https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadab...
+ -
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-...
+
+--- unrealircd-6.0.5/doc/conf/modules.default.conf 2022-12-29 10:23:56.000000000 +0100
++++ unrealircd-6.0.5/doc/conf/modules.default.conf.geoip 2022-12-31 13:55:58.158303865
+0100
+@@ -207,7 +207,7 @@
+ loadmodule "extbans/timedban"; /* +b ~time (old ~t mode, timed bans /
temporary bans) */
+ loadmodule "extbans/partmsg"; /* +b ~partmsg (old ~p mode, hide part/quit
message) */
+ loadmodule "extbans/securitygroup"; /* +b ~security-group (old ~G mode,
security group) */
+-loadmodule "extbans/country"; /* +b ~country (country/geoip) */
++// loadmodule "extbans/country"; /* +b ~country (country/geoip) */ /* Disabled
by Fedora intentionally, please read the end of this file */
+
+
+ /** IRCv3 extensions */
+@@ -258,10 +258,34 @@
+ loadmodule "json-log-tag"; /*
unrealircd.org/json-log tag and CAP for ircops
*/
+ loadmodule "targetfloodprot"; /* set::anti-flood::target-flood protection */
+ loadmodule "watch-backend"; /* used by watch and other modules */
+-loadmodule "geoip_base"; /* needed for ALL geoip functions */
++// loadmodule "geoip_base"; /* needed for ALL geoip functions */ /* Disabled
by Fedora intentionally, please read the end of this file */
+ loadmodule "websocket_common"; /* helper functions for websocket (internal)
*/
+
+-loadmodule "geoip_classic";
++/* As of writing, the origin of the two GeoIP Legacy databases provided by UnrealIRCd
upstream is, at
++ * least to me as packager, unknown. MaxMind retired and removed the (free) GeoLite
Legacy databases
++ * already in April 2018. The (free) GeoLite2 databases (to be used with libmaxminddb)
are maintained
++ * by MaxMind, but due to legal implications these GeoLite2 databases are no longer
available under
++ * the Creative Commons Attribution-ShareAlike 4.0 International License (since December
2019). While
++ * the (free) GeoLite2 databases can be still downloaded without charges, it's
necessary to register a
++ * MaxMind account and to obtain a license key. Additionally, an end-user license
agreement containing
++ * the relevant data processing provisions that MaxMind and the user/admin (= you) need
to comply with
++ * applicable data privacy regulations needs to be signed
(
https://www.maxmind.com/en/geolite2/eula).
++ * Technically it's indeed possible for UnrealIRCd upstream to keep the GeoIP Legacy
databases up-to-
++ * date using other sources themself, however:
++ *
++ * UnrealIRCd upstream unfortunately prefers to use the legacy (and near to end of life)
GeoIP library
++ * aka libgeoip (
https://github.com/maxmind/geoip-api-c/) rather its successor, the
GeoIP2 library aka
++ * libmaxminddb (
https://github.com/maxmind/libmaxminddb) by default.
++ *
++ * See also:
++ * -
https://www.unrealircd.org/docs/GeoIP (for the different options and the
configuration itself)
++ * -
https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadab...
++ * -
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-...
++ */
++
++// loadmodule "geoip_classic"; /* Disabled by Fedora intentionally, requires
the legacy (and near to end of life) GeoIP library */
++// loadmodule "geoip_csv"; /* Requires a suitable CSV file and a manual
configuration (including a database update mechanism) */
++// loadmodule "geoip_maxmind"; /* Requires unrealircd-maxmind RPM to be
installed, GeoLite2 databases and a manual configuration (including a database update
mechanism) */
+ @if module-loaded("geoip_classic")
+ set {
+ geoip-classic {
diff --git a/unrealircd.spec b/unrealircd.spec
index 5e0c2e4..44a485b 100644
--- a/unrealircd.spec
+++ b/unrealircd.spec
@@ -5,7 +5,7 @@
Summary: Open Source IRC server
Name: unrealircd
-Version: 6.0.4.2
+Version: 6.0.5
Release: 1%{?dist}
# UnrealIRCd declares itself as GPL-2.0-or-later as it's the common denominator for
# a GPL-1.0-or-later and GPL-2.0-or-later mixture, breakdown of other source codes:
@@ -24,7 +24,7 @@ Source5: %{name}.sysusersd
# Apply Fedora system-wide crypto policy
Patch0: unrealircd-6.0.4-crypto-policy.patch
# Disable GeoIP to avoid dependency to legacy GeoIP
-Patch1: unrealircd-6.0.1.1-geoip.patch
+Patch1: unrealircd-6.0.5-geoip.patch
# Same options like in unrealircd(ctl) shell script
Patch2: unrealircd-6.0.3-unrealircdctl.patch
BuildRequires: gnupg2
@@ -36,11 +36,7 @@ BuildRequires: openssl-devel
%else
BuildRequires: openssl11-devel
%endif
-%if 0%{?fedora} || 0%{?rhel} > 8
-BuildRequires: pcre2-devel >= 10.34
-%else
BuildRequires: pcre2-devel >= 10.00
-%endif
BuildRequires: libargon2-devel >= 20161029
BuildRequires: libsodium-devel >= 1.0.16
BuildRequires: c-ares-devel >= 1.6.0
@@ -226,6 +222,9 @@ fi
%endif
%changelog
+* Sat Dec 31 2022 Robert Scheck <robert(a)fedoraproject.org> 6.0.5-1
+- Upgrade to 6.0.5 (#2151482)
+
* Sat Nov 19 2022 Robert Scheck <robert(a)fedoraproject.org> 6.0.4.2-1
- Upgrade to 6.0.4.2 (#2143921)
https://src.fedoraproject.org/rpms/unrealircd/c/08c2584a295f6d8f941648bac...