diff options
| author | Fabian Wenk <fabian@wenks.ch> | 2026-11-26 16:52:25 +0000 |
|---|---|---|
| committer | Yusuf Yaman <nxjoseph@FreeBSD.org> | 2026-11-26 17:29:36 +0000 |
| commit | cae617b0946157d8cfa4adb99eed538a3f82b58a (patch) (diff) | |
| tree | de5172865b0085c354d20ca726e1d69b9a1537bd | |
| download | ports-cae617b0946157d8cfa4adb99eed538a3f82b58a.tar.gz | |
| previous commit | 66567801a09360b662797a142566cfe55237b06d (comms/serialoverip: Deprecate/Set to expire) | |
irc/anope: Security Update 2.0.18 => 2.0.21
This is a stable release that fixes multiple serious security issues
and various bugs that have been found since the previous releases.
2.0.21 fixes 10+ security issues. The issues consist of: crashes,
hangs, account takeover, and command injection.
Announcement:
https://sourceforge.net/p/unreal/mailman/message/59437579/
Release Notes:
https://www.anope.org/news/2026/anope-2019-release.html
https://www.anope.org/news/2026/anope-2020-release.html
https://www.anope.org/news/2026/anope-2021-release.html
Changelog:
https://github.com/anope/anope/blob/2.0.21/docs/Changes
While here, always depend on gettext-runtime since
anope/bin/services gets linked to gettext-runtime.
Also add CPE information from commit 27a24ff185ab.
PR: 301016
Approved by: Rafael Grether <devnull@apt322.org> (maintainer)
MFH: 2026Q4
(cherry picked from commit 94f8f023aefd5760ab621806470547ebc9f34170)
| -rw-r--r-- | irc/anope/Makefile | [diff] [file] | 6 | ||||
| -rw-r--r-- | irc/anope/distinfo | [diff] [file] | 6 | ||||
| -rw-r--r-- | irc/anope/files/patch-CMakeLists.txt | [diff] [file] | 24 |
3 files changed, 18 insertions, 18 deletions
diff --git a/irc/anope/Makefile b/irc/anope/Makefile index fce5ceb169c1..fba1ba25bc52 100644 --- a/irc/anope/Makefile +++ b/irc/anope/Makefile @@ -1,5 +1,5 @@ PORTNAME= anope -DISTVERSION= 2.0.18 +DISTVERSION= 2.0.21 CATEGORIES= irc MAINTAINER= devnull@apt322.org @@ -9,7 +9,7 @@ WWW= https://www.anope.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/COPYING -USES= cmake localbase:ldflags shebangfix +USES= cmake cpe gettext-runtime localbase:ldflags shebangfix USE_GITHUB= yes USE_RC_SUBR= anope SHEBANG_FILES= ${WRKSRC}/src/tools/*.sh @@ -36,7 +36,7 @@ LDAP_USES= ldap MYSQL_USES= mysql MYSQL_CMAKE_ON= -DEXTRA_LIBS:STRING="${LOCALBASE}/lib/mysql/" -NLS_USES= gettext +NLS_USES= gettext-tools OPENSSL_USES= ssl diff --git a/irc/anope/distinfo b/irc/anope/distinfo index b8cbd23d5113..13cf74583a64 100644 --- a/irc/anope/distinfo +++ b/irc/anope/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749867366 -SHA256 (anope-anope-2.0.18_GH0.tar.gz) = 40c8f59118f7ee2d0f4a66a3e1ab022dc91fcad3ff89ea4e6e3fc20de09dc3af -SIZE (anope-anope-2.0.18_GH0.tar.gz) = 1656281 +TIMESTAMP = 1795372930 +SHA256 (anope-anope-2.0.21_GH0.tar.gz) = 0482efd83edf61c132acdb689742bbfcc0ff1bb8c51dc424f32e2b9098b185fe +SIZE (anope-anope-2.0.21_GH0.tar.gz) = 1662681 diff --git a/irc/anope/files/patch-CMakeLists.txt b/irc/anope/files/patch-CMakeLists.txt index dadac3edd3c4..e24087fc156c 100644 --- a/irc/anope/files/patch-CMakeLists.txt +++ b/irc/anope/files/patch-CMakeLists.txt @@ -1,23 +1,23 @@ ---- CMakeLists.txt.orig 2023-06-02 15:14:06 UTC +--- CMakeLists.txt.orig 2026-11-22 18:48:01 UTC +++ CMakeLists.txt -@@ -486,16 +486,16 @@ - get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME) +@@ -472,16 +472,16 @@ + endif(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR}) # At install time, create the following additional directories --install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")") --install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")") -+#install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")") -+#install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")") +-install(DIRECTORY DESTINATION "${DB_DIR}/backups") +-install(DIRECTORY DESTINATION "${LOGS_DIR}") ++#install(DIRECTORY DESTINATION "${DB_DIR}/backups") ++#install(DIRECTORY DESTINATION "${LOGS_DIR}") if(WIN32) - install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/runtime\")") + install(DIRECTORY DESTINATION "${DB_DIR}/runtime") endif(WIN32) # On non-Windows platforms, if RUNGROUP is set, change the permissions of the below directories, as well as the group of the data directory if(NOT WIN32 AND RUNGROUP) -- install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${DB_DIR}/backups\")") -- install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${LOGS_DIR}\")") +- install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")") +- install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")") - install(CODE "execute_process(COMMAND ${CHGRP} -R ${RUNGROUP} \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\")") -+# install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${DB_DIR}/backups\")") -+# install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${LOGS_DIR}\")") ++# install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")") ++# install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")") +# install(CODE "execute_process(COMMAND ${CHGRP} -R ${RUNGROUP} \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\")") endif(NOT WIN32 AND RUNGROUP) # On Windows platforms, install extra files |
