Date: Wed, 1 Jan 2025 12:19:59 GMT From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 60756926e52d - main - security/maia: Remove expired port Message-ID: <202501011219.501CJx9G071850@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=60756926e52d57f6053a353c4416486e3a3e2985 commit 60756926e52d57f6053a353c4416486e3a3e2985 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2025-01-01 12:19:51 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2025-01-01 12:19:51 +0000 security/maia: Remove expired port 2024-12-31 security/maia: Depends on deprecated dependencies and doesn't work with PHP 8. --- MOVED | 1 + security/Makefile | 1 - security/maia/Makefile | 341 ------- security/maia/distinfo | 3 - security/maia/files/maiad.in | 49 -- security/maia/files/patch-maia.conf.dist | 11 - security/maia/files/patch-maiad | 12 - security/maia/files/patch-maiad.conf.dist | 49 -- security/maia/files/patch-scripts_configtest.pl | 8 - security/maia/files/patch-scripts_detectvba.pl | 8 - .../files/patch-scripts_expire-quarantine-cache.pl | 8 - security/maia/files/patch-scripts_load-sa-rules.pl | 8 - security/maia/files/patch-scripts_maiadbtool.pl | 8 - .../maia/files/patch-scripts_process-quarantine.pl | 8 - security/maia/files/patch-scripts_resend.pl | 8 - .../files/patch-scripts_send-quarantine-digests.pl | 8 - .../patch-scripts_send-quarantine-reminders.pl | 8 - .../maia/files/patch-scripts_stats-snapshot.pl | 8 - security/maia/files/pkg-message.in | 25 - security/maia/pkg-descr | 5 - security/maia/pkg-plist | 980 --------------------- 21 files changed, 1 insertion(+), 1556 deletions(-) diff --git a/MOVED b/MOVED index 3da55aba9d2c..ba0c1d68d4f9 100644 --- a/MOVED +++ b/MOVED @@ -3843,3 +3843,4 @@ filesystems/httpfs||2025-01-01|Has expired: Abandonware, last release in 2012 an multimedia/dumpmpeg|multimedia/ffmpeg|2025-01-01|Has expired: Obsolete utility, consider using multimedia/ffmpeg devel/cquery|devel/ccls|2025-01-01|Has expired: Abandonware, upstream repo archived Jul 30, 2020. Consider using migrating to devel/ccls security/py-first-server||2025-01-01|Has expired: Upstream project has been archived +security/maia||2025-01-01|Has expired: Depends on deprecated dependencies and doesn't work with PHP 8 diff --git a/security/Makefile b/security/Makefile index 3b9d2c0e8473..e5129fa1219e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -374,7 +374,6 @@ SUBDIR += lxqt-sudo SUBDIR += lynis SUBDIR += mac-robber - SUBDIR += maia SUBDIR += mailzu SUBDIR += makepasswd SUBDIR += maltrail diff --git a/security/maia/Makefile b/security/maia/Makefile deleted file mode 100644 index 209ec0339f85..000000000000 --- a/security/maia/Makefile +++ /dev/null @@ -1,341 +0,0 @@ -PORTNAME= maia -DISTVERSION= 1.0.4 -PORTREVISION= 12 -CATEGORIES= security - -MAINTAINER= ek@purplehat.org -COMMENT= Web-based management system based on amavisd-new and SpamAssassin -WWW= http://www.maiamailguard.com/ - -LICENSE=GPLv3 -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= Depends on deprecated dependencies and doesn't work with PHP 8. -EXPIRATION_DATE=2024-12-31 - -RUN_DEPENDS= p5-Unix-Syslog>=0.94:sysutils/p5-Unix-Syslog \ - p5-MIME-Tools>=4.116:mail/p5-MIME-Tools \ - p5-Convert-TNEF>=0.08:converters/p5-Convert-TNEF \ - p5-Convert-UUlib>=1.08,1:converters/p5-Convert-UUlib \ - p5-Net-CIDR-Lite>=0.18:net/p5-Net-CIDR-Lite \ - p5-forks>=0.34:devel/p5-forks \ - p5-Archive-Zip>=0.10:archivers/p5-Archive-Zip \ - p5-IO-Stringy>=1.203:devel/p5-IO-Stringy \ - p5-IO-Socket-INET6>=1.27:net/p5-IO-Socket-INET6 \ - p5-Text-CSV>=1.02:textproc/p5-Text-CSV \ - p5-Data-UUID>=1.148:devel/p5-Data-UUID \ - p5-Template-Toolkit>=2.13:www/p5-Template-Toolkit \ - p5-Net-Server>=0.93:net/p5-Net-Server - -USES= perl5 shebangfix - -USE_GITHUB= yes -GH_ACCOUNT= technion -GH_PROJECT= maia_mailguard -GH_TAGNAME= 48df5fb -USE_PERL5= run -NO_ARCH= yes -NO_BUILD= yes -DOCS= LICENSE.txt README.md maiad.conf.dist maia-mysql.sql maia-pgsql.sql maia.conf.dist -USERS= vscan -GROUPS= vscan -MAIAHOME= /var/maiad -MAIAQUARANTINE?= /var/maiad/virusmails -PEAR_DIR?= ${LOCALBASE}/share/pear -PLIST_SUB+= USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" - -OPTIONS_DEFINE= APACHE LIGHTTPD NGINX WEBHOST MYSQL LOCAL PGSQL \ - DOVECOT2 POSTFIX PFA CLAMAV SPAMASSASSIN BDB CRYPT \ - IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB \ - RPM ZOO UNZOO LZOP TNEF DOCS - -OPTIONS_DEFAULT= MYSQL CLAMAV DOCS SPAMASSASSIN BDB IPCOUNTRY \ - DOMAINKEYS SPF DKIM FILE UNRAR ARJ LHA ARC CAB RPM ZOO - -LIGHTTPD_DESC= Use LighTTPD web server -NGINX_DESC= Use Nginx web server -WEBHOST_DESC= PHP, PEAR, etc... for Maia web interface -MYSQL_DESC= Use MySQL -LOCAL_DESC= All services/databases hosted locally -PGSQL_DESC= Use PgSQL -DOVECOT2_DESC= Use Dovecot 2.x IMAP/POP3 -POSTFIX_DESC= Use Postfix MTA -PFA_DESC= Use Postfixadmin -CLAMAV_DESC= Use ClamAV anti-virus -SPAMASSASSIN_DESC= Use SpamAssassin -BDB_DESC= Use BerkeleyDB -CRYPT_DESC= Encryption support -IPCOUNTRY_DESC= SpamAssassin IP Country plugin -DOMAINKEYS_DESC= SpamAssassin DomainKey plugin -SPF_DESC= SpamAssassin SPF plugin -DKIM_DESC= SpamAssassin DKIM plugin -FILE_DESC= Use newer file(1) utility from ports -RAR_DESC= RAR support with archivers/rar -UNRAR_DESC= RAR support with archivers/unrar -ARJ_DESC= ARJ support with archivers/arj -UNARJ_DESC= ARJ support with archivers/unarj -LHA_DESC= LHA support with archivers/lha -ARC_DESC= ARC support with archivers/arc -NOMARCH_DESC= ARC support with archivers/nomarch -CAB_DESC= CAB support with archivers/cabextract -RPM_DESC= RPM support with archivers/rpm2cpio -ZOO_DESC= ZOO support with archivers/zoo -UNZOO_DESC= ZOO support with archivers/unzoo -LZOP_DESC= LZOP support with archivers/lzop -TNEF_DESC= Add external tnef decoder - -SUB_FILES= maiad pkg-message -SHEBANG_FILES= maiad -SUB_LIST+= USERS=${USERS} \ - GROUPS=${GROUPS} \ - MAIAHOME=${MAIAHOME} \ - MAIAQUARANTINE=${MAIAQUARANTINE} \ - ETCDIR=${ETCDIR} -USE_RC_SUBR+= maiad - -.include <bsd.port.options.mk> - -# Code is a bit fiddly here; we can't use USE variables after pre.mk so we have -# to duplicate some WITH_ parts like WEBHOST that use pre.mk vars as well as -# setting USE_ variables. C'est la vie. - -.if ${PORT_OPTIONS:MAPACHE} -USES+= apache:run -.endif - -.if ${PORT_OPTIONS:MWEBHOST} -USES+= php -USE_PHP= bcmath ctype dom gettext iconv imap mbstring \ - mcrypt pdo pdo_sqlite posix session simplexml sockets \ - sqlite3 tokenizer xml xmlreader xmlwriter xmlrpc - -RUN_DEPENDS+= ${PEAR_DIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR} \ - ${PEAR_DIR}/Mail/mimeDecode.php:mail/pear-Mail_mimeDecode@${PHP_FLAVOR} \ - ${PEAR_DIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} \ - ${PEAR_DIR}/Pager/Pager.php:devel/pear-Pager@${PHP_FLAVOR} \ - ${PEAR_DIR}/Net/Socket.php:net/pear-Net_Socket@${PHP_FLAVOR} \ - ${PEAR_DIR}/Net/SMTP.php:net/pear-Net_SMTP@${PHP_FLAVOR} \ - ${PEAR_DIR}/Log.php:sysutils/pear-Log@${PHP_FLAVOR} \ - ${PEAR_DIR}/HTMLPurifier.php:devel/pear-htmlpurifier@${PHP_FLAVOR} \ - ${PEAR_DIR}/Net/IMAP.php:mail/pear-Net_IMAP@${PHP_FLAVOR} \ - ${PEAR_DIR}/Net/POP3.php:net/pear-Net_POP3@${PHP_FLAVOR} \ - ${PEAR_DIR}/Auth/SASL.php:security/pear-Auth_SASL@${PHP_FLAVOR} \ - ${PEAR_DIR}/Image/Color.php:graphics/pear-Image_Color@${PHP_FLAVOR} \ - ${PEAR_DIR}/Image/Canvas.php:graphics/pear-Image_Canvas@${PHP_FLAVOR} \ - ${PEAR_DIR}/Image/Graph.php:graphics/pear-Image_Graph@${PHP_FLAVOR} \ - ${PEAR_DIR}/Numbers/Roman.php:textproc/pear-Numbers_Roman@${PHP_FLAVOR} \ - ${PEAR_DIR}/Numbers/Words.php:textproc/pear-Numbers_Words@${PHP_FLAVOR} \ - ${PEAR_DIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \ - ${PEAR_DIR}/MDB2/Driver/mysqli.php:databases/pear-MDB2_Driver_mysqli@${PHP_FLAVOR} \ - ${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR} \ - ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/scrypt.so:security/pecl-scrypt@${PHP_FLAVOR} -PLIST_SUB+= WEBHOST="" -.else -PLIST_SUB+= WEBHOST="@comment " -.endif - -.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MLOCAL} -USES+= mysql:server,client -RUN_DEPENDS+= ${DBD_MYSQL} -.endif - -.if ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MLOCAL} -USES+= mysql:client -RUN_DEPENDS+= ${DBD_MYSQL} -.endif - -.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST} -USE_PHP+= mysqli -.endif - -.if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MLOCAL} -USES+= pgsql -WANT_PGSQL= server -RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg -.endif - -.if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MLOCAL} -USES+= pgsql -RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg -.endif - -.if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MWEBHOST} -USE_PHP+= pgsql -.endif - -.if ${PORT_OPTIONS:MLIGHTTPD} -RUN_DEPENDS+= lighttpd:www/lighttpd -.endif - -.if ${PORT_OPTIONS:MNGINX} -RUN_DEPENDS+= nginx:www/nginx -.endif - -.if ${PORT_OPTIONS:MDOVECOT2} -RUN_DEPENDS+= dovecot:mail/dovecot -.endif - -.if ${PORT_OPTIONS:MPOSTFIX} -RUN_DEPENDS+= postfix:mail/postfix -.endif - -.if ${PORT_OPTIONS:MPFA} -USES+= php -RUN_DEPENDS+= postfixadmin-${PHP_FLAVOR}>=0:mail/postfixadmin -.endif - -.if ${PORT_OPTIONS:MCLAMAV} -RUN_DEPENDS+= clamd:security/clamav -.endif - -.if ${PORT_OPTIONS:MSPAMASSASSIN} -RUN_DEPENDS+= spamassassin>=0:mail/spamassassin -.endif - -.if ${PORT_OPTIONS:MBDB} -RUN_DEPENDS+= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB -.endif - -.if ${PORT_OPTIONS:MCRYPT} -RUN_DEPENDS+= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ - p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \ - p5-Crypt-CBC>=0:security/p5-Crypt-CBC -.endif - -.if ${PORT_OPTIONS:MIPCOUNTRY} -RUN_DEPENDS+= p5-IP-Country>=0:net/p5-IP-Country -.endif - -.if ${PORT_OPTIONS:MDOMAINKEYS} -RUN_DEPENDS+= p5-Mail-DomainKeys>=0:mail/p5-Mail-DomainKeys -.endif - -.if ${PORT_OPTIONS:MSPF} -RUN_DEPENDS+= p5-Mail-SPF>=0:mail/p5-Mail-SPF -.endif - -.if ${PORT_OPTIONS:MDKIM} -RUN_DEPENDS+= p5-Mail-DKIM>=0:mail/p5-Mail-DKIM -.endif - -.if ${PORT_OPTIONS:MFILE} -# security fix, file > 4.21 needed -RUN_DEPENDS+= file>=4.21:sysutils/file -.endif - -# archivers/rar is a 32-bit binary port, we don't want the install to fail -# at that port, therefore we will block instantly here if the platform does -# not suit rar. -.if ${PORT_OPTIONS:MRAR} -IA32_BINARY_PORT= yes -RUN_DEPENDS+= rar:archivers/rar -.endif - -.if ${PORT_OPTIONS:MUNRAR} -RUN_DEPENDS+= unrar:archivers/unrar -.endif - -.if ${PORT_OPTIONS:MARJ} -RUN_DEPENDS+= arj:archivers/arj -.endif - -.if ${PORT_OPTIONS:MUNARJ} -RUN_DEPENDS+= unarj:archivers/unarj -.endif - -.if ${PORT_OPTIONS:MLHA} -RUN_DEPENDS+= lha:archivers/lha -.endif - -.if ${PORT_OPTIONS:MARC} -RUN_DEPENDS+= arc:archivers/arc -.endif - -.if ${PORT_OPTIONS:MNOMARCH} -RUN_DEPENDS+= nomarch:archivers/nomarch -.endif - -.if ${PORT_OPTIONS:MCAB} -RUN_DEPENDS+= cabextract:archivers/cabextract -.endif - -.if ${PORT_OPTIONS:MRPM} -RUN_DEPENDS+= rpm2cpio.pl:archivers/rpm2cpio -.endif - -.if ${PORT_OPTIONS:MZOO} -# DOS condition in 2.10.1_2 -RUN_DEPENDS+= zoo>=2.10.1_2:archivers/zoo -.endif - -.if ${PORT_OPTIONS:MUNZOO} -RUN_DEPENDS+= unzoo>=4.4_1:archivers/unzoo -.endif - -.if ${PORT_OPTIONS:MLZOP} -RUN_DEPENDS+= lzop:archivers/lzop -.endif - -.if ${PORT_OPTIONS:MTNEF} -RUN_DEPENDS+= tnef:converters/tnef -.endif - -.include <bsd.port.pre.mk> - -post-patch: -.for m in scripts/configtest.pl scripts/expire-quarantine-cache.pl \ - scripts/load-sa-rules.pl scripts/maiadbtool.pl \ - scripts/process-quarantine.pl scripts/resend.pl scripts/send-quarantine-digests.pl \ - scripts/send-quarantine-reminders.pl scripts/stats-snapshot.pl - @${REINPLACE_CMD} -e "s|/etc/maia/maia.conf|${ETCDIR}/maia.conf|" \ - ${WRKSRC}/${m} -.endfor - -.for i in digest.tpl newuser.tpl reminder.tpl - ${MV} ${WRKSRC}/templates/${i} ${WRKSRC}/templates/${i}.dist -.endfor - - @${REINPLACE_CMD} -e "s|daemon_user = 'maia'|daemon_user = '${USERS}'|" \ - -e "s|daemon_group = 'maia'|daemon_group = '${GROUPS}'|" \ - -e "s|/var/lib/maia|${MAIAHOME}|" \ - ${WRKSRC}/maiad.conf.dist - - @${REINPLACE_CMD} -e "s|/etc/maia.conf|${ETCDIR}/maia.conf|" \ - -e "s|username = 'maia'|username = '${USERS}'|" \ - -e "s|/var/lib/maia|${DATADIR}|" \ - -e "s|/usr/bin/sa-learn|${PREFIX}/bin/sa-learn|" \ - -e "s|local_cf_dir = undef|local_cf_dir = '${PREFIX}/etc/mail/spamassassin'|" \ - -e "s|user_rules_dir = undef|user_rules_dir = '${MAIAHOME}/.spamassassin'|" \ - -e "s|template_dir = '/etc/maia/templates/'|template_dir = '${ETCDIR}/templates/'|" \ - ${WRKSRC}/maia.conf.dist - - @${REINPLACE_CMD} -e "s|/etc/maia/maiad.conf|${ETCDIR}/maiad.conf|" \ - -e "s|/var/lib/maia|${DATADIR}|" \ - ${WRKSRC}/maiad - - @${FIND} -E ${WRKSRC} -iregex '.*(bak|~)$$' -delete - @${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete - -do-install: - ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web - @cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} -.if ${PORT_OPTIONS:MWEBHOST} - ${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty -.endif - ${MKDIR} ${STAGEDIR}${DATADIR} - @cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts - ${MKDIR} ${STAGEDIR}${ETCDIR}/templates -.for i in digest.tpl newuser.tpl reminder.tpl - ${INSTALL} -m 644 ${WRKSRC}/templates/${i}.dist ${STAGEDIR}${ETCDIR}/templates -.endfor - ${INSTALL_SCRIPT} ${WRKSRC}/maiad ${STAGEDIR}${PREFIX}/sbin - ${INSTALL} -m 640 ${WRKSRC}/maiad.conf.dist ${STAGEDIR}${ETCDIR}/maiad.conf.dist - ${INSTALL} -m 640 ${WRKSRC}/maia.conf.dist ${STAGEDIR}${ETCDIR}/maia.conf.dist - -do-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor - -.include <bsd.port.post.mk> diff --git a/security/maia/distinfo b/security/maia/distinfo deleted file mode 100644 index bcb6b72cac72..000000000000 --- a/security/maia/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1647483858 -SHA256 (technion-maia_mailguard-1.0.4-48df5fb_GH0.tar.gz) = efe7291e96b38bfac29de9655706e6d58d907290b02172a3c73e7aa3b9aebf71 -SIZE (technion-maia_mailguard-1.0.4-48df5fb_GH0.tar.gz) = 2298060 diff --git a/security/maia/files/maiad.in b/security/maia/files/maiad.in deleted file mode 100644 index 0257d373b57c..000000000000 --- a/security/maia/files/maiad.in +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -# PROVIDE: maiad -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable maiad: -# maiad_enable (bool): Set it to "YES" to enable maiad. -# Default is "NO". -# - -. /etc/rc.subr - -name=maiad -rcvar=maiad_enable - -load_rc_config $name - -: ${maiad_enable:=NO} -: ${maiad_pidfile="/var/run/maia/maiad.pid"} - -required_files=%%ETCDIR%%/maiad.conf - -start_cmd="%%PREFIX%%/sbin/maiad start" -start_precmd="start_precmd" -extra_commands="status" -pidfile=${maiad_pidfile} -procname=maiad - -start_precmd() -{ - for i in db tmp var virusmails; do - if [ ! -e %%MAIAHOME%%/${i} ]; then - install -d -o %%USERS%% -g %%GROUPS%% -m 750 %%MAIAHOME%%/${i} - fi - done - - for i in log run lock; do - if [ ! -e /var/${i}/maia ]; then - install -d -o %%USERS%% -g %%GROUPS%% /var/${i}/maia - fi - done - - # not sure why, but previous maintainer had this in the rc script - rm -rf %%MAIAHOME%%/tmp/* %%MAIAHOME%%/tmp/.* 2>/dev/null || true -} - -run_rc_command "$1" - diff --git a/security/maia/files/patch-maia.conf.dist b/security/maia/files/patch-maia.conf.dist deleted file mode 100644 index 072b380d4603..000000000000 --- a/security/maia/files/patch-maia.conf.dist +++ /dev/null @@ -1,11 +0,0 @@ ---- maia.conf.dist.orig 2022-04-25 16:08:35 UTC -+++ maia.conf.dist -@@ -52,7 +52,7 @@ $local_cf_dir = undef; # default: let the script find - # %%VERSION%% macro to replace the actual SpamAssassin version number. - #$system_rules_dir = '/usr/share/spamassassin'; - #$system_rules_dir = '/var/lib/spamassassin/%%VERSION%%'; # sa-update --$system_rules_dir = undef; # default: let the script find it -+$system_rules_dir = '/var/db/spamassassin'; # default: let the script find it - - # The directory where your amavis user's user_prefs file can be found. - #$user_rules_dir = '/var/lib/maia/.spamassassin'; diff --git a/security/maia/files/patch-maiad b/security/maia/files/patch-maiad deleted file mode 100644 index 7c31a2b346e1..000000000000 --- a/security/maia/files/patch-maiad +++ /dev/null @@ -1,12 +0,0 @@ ---- maiad.orig 2022-12-01 19:36:50 UTC -+++ maiad -@@ -3833,9 +3833,6 @@ sub maia_store_mail($$$$$@) { - $subject = substr($subject, 0, 255) if length($subject) > 255; - $subject = untaint($subject); - $sender = substr($sender, 0, 255) if length($sender) > 255; -- if ($document_charset ne "") { -- from_to($contents, $document_charset, 'UTF-8'); -- } - - if (!$oversized) { - if ($dbtype =~ /^mysql$/si) { # MySQL diff --git a/security/maia/files/patch-maiad.conf.dist b/security/maia/files/patch-maiad.conf.dist deleted file mode 100644 index da4250defad1..000000000000 --- a/security/maia/files/patch-maiad.conf.dist +++ /dev/null @@ -1,49 +0,0 @@ ---- maiad.conf.dist.orig 2022-04-25 17:16:14 UTC -+++ maiad.conf.dist -@@ -55,8 +55,8 @@ $daemon_chroot_dir = undef; - # Path overrides for chrooted environments - # * Uncomment and adjust as necessary if using chroot - --# $lock_file = "$daemon_chroot_dir/var/lock/maia/maiad.lock"; --# $pid_file = "$daemon_chroot_dir/var/run/maia/maiad.pid"; -+$lock_file = "/var/run/maia/maiad.lock"; -+$pid_file = "/var/run/maia/maiad.pid"; - - - ########################################################################### -@@ -160,7 +160,7 @@ $log_level = 0; - # * Set to 1 to send logs to syslog, 0 to disable - # * If enabled, configure $SYSLOG_LEVEL as well - --$DO_SYSLOG = 0; -+$DO_SYSLOG = 1; - - - # Syslog logging facility and level ($SYSLOG_LEVEL) -@@ -199,7 +199,7 @@ $LOGFILE = "/var/log/maia/maiad.log"; - # * If enabled, stores data for optional SNMP agents and nanny utility - # * Required for the optional Message-ID cache feature - --$enable_db = 1; -+$enable_db = 0; - - - # Message-ID cache ($enable_global_cache) -@@ -243,7 +243,7 @@ $uncompress = ['uncompress', 'gzip -d', 'zcat']; - $unfreeze = ['unfreeze', 'freeze -d', 'melt', 'fcat']; - $arc = ['nomarch', 'arc']; - $unarj = ['arj', 'unarj']; --#$unrar = ['rar', 'unrar']; -+$unrar = ['rar', 'unrar v -c- -p- --']; - $zoo = 'zoo'; - $lha = 'lha'; - $cpio = ['gcpio','cpio']; -@@ -390,7 +390,7 @@ $banned_filename_re = new_RE( - - # Clam Antivirus Daemon (clamd) - ['ClamAV-clamd', -- \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"], -+ \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"], - qr/\bOK$/m, qr/\bFOUND$/m, - qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], - # NOTE: run clamd under the same user as maiad, or run it under its own diff --git a/security/maia/files/patch-scripts_configtest.pl b/security/maia/files/patch-scripts_configtest.pl deleted file mode 100644 index bab393c72978..000000000000 --- a/security/maia/files/patch-scripts_configtest.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/configtest.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/configtest.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: configtest.pl 1570 2011-07-01 19:09:55Z rjl $ - diff --git a/security/maia/files/patch-scripts_detectvba.pl b/security/maia/files/patch-scripts_detectvba.pl deleted file mode 100644 index 78ef46e6ce1e..000000000000 --- a/security/maia/files/patch-scripts_detectvba.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/detectvba.pl.orig 2022-03-16 00:45:19 UTC -+++ scripts/detectvba.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - #technion@lolware.net - #Detects vba macros containing blacklisted strings. - # diff --git a/security/maia/files/patch-scripts_expire-quarantine-cache.pl b/security/maia/files/patch-scripts_expire-quarantine-cache.pl deleted file mode 100644 index b2edb64c42af..000000000000 --- a/security/maia/files/patch-scripts_expire-quarantine-cache.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/expire-quarantine-cache.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/expire-quarantine-cache.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: expire-quarantine-cache.pl 1528 2011-05-31 10:09:15Z rjl $ - diff --git a/security/maia/files/patch-scripts_load-sa-rules.pl b/security/maia/files/patch-scripts_load-sa-rules.pl deleted file mode 100644 index 8c2fc0678709..000000000000 --- a/security/maia/files/patch-scripts_load-sa-rules.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/load-sa-rules.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/load-sa-rules.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: load-sa-rules.pl 1528 2011-05-31 10:09:15Z rjl $ - diff --git a/security/maia/files/patch-scripts_maiadbtool.pl b/security/maia/files/patch-scripts_maiadbtool.pl deleted file mode 100644 index 29c6fb562ae1..000000000000 --- a/security/maia/files/patch-scripts_maiadbtool.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/maiadbtool.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/maiadbtool.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: $ - diff --git a/security/maia/files/patch-scripts_process-quarantine.pl b/security/maia/files/patch-scripts_process-quarantine.pl deleted file mode 100644 index 263a221661b4..000000000000 --- a/security/maia/files/patch-scripts_process-quarantine.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/process-quarantine.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/process-quarantine.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - package Maia::ProcessQuarantine; - diff --git a/security/maia/files/patch-scripts_resend.pl b/security/maia/files/patch-scripts_resend.pl deleted file mode 100644 index d10980786d7f..000000000000 --- a/security/maia/files/patch-scripts_resend.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/resend.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/resend.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # $Id: $ - diff --git a/security/maia/files/patch-scripts_send-quarantine-digests.pl b/security/maia/files/patch-scripts_send-quarantine-digests.pl deleted file mode 100644 index 90948897bd43..000000000000 --- a/security/maia/files/patch-scripts_send-quarantine-digests.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/send-quarantine-digests.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/send-quarantine-digests.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id$ - diff --git a/security/maia/files/patch-scripts_send-quarantine-reminders.pl b/security/maia/files/patch-scripts_send-quarantine-reminders.pl deleted file mode 100644 index e2cc72c05c47..000000000000 --- a/security/maia/files/patch-scripts_send-quarantine-reminders.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/send-quarantine-reminders.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/send-quarantine-reminders.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: send-quarantine-reminders.pl 1528 2011-05-31 10:09:15Z rjl $ - diff --git a/security/maia/files/patch-scripts_stats-snapshot.pl b/security/maia/files/patch-scripts_stats-snapshot.pl deleted file mode 100644 index 7158e8c2e301..000000000000 --- a/security/maia/files/patch-scripts_stats-snapshot.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/stats-snapshot.pl.orig 2022-03-02 01:05:20 UTC -+++ scripts/stats-snapshot.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - - # $Id: stats-snapshot.pl 1528 2011-05-31 10:09:15Z rjl $ - diff --git a/security/maia/files/pkg-message.in b/security/maia/files/pkg-message.in deleted file mode 100644 index 6fd7689896ec..000000000000 --- a/security/maia/files/pkg-message.in +++ /dev/null @@ -1,25 +0,0 @@ -[ -{ type: install - message: <<EOM - To use Maia-Mailguard, you need to install at least one virus scanner. - The following virus scanners are available in the FreeBSD ports - collection: - - security/clamav Clam Antivirus - security/f-prot F-Prot Antivirus - security/drweb DrWeb antivirus suite - - Enable Maia-Mailguard in /etc/rc.conf with the following line: - - maiad_enable="YES" - - Configuration templates are available in %%ETCDIR%% - as maia.conf.dist and maiad.conf.dist. - - - Please note that Maia Mailguard no longer supports "mysql" but has - moved forward to using "mysqli" instead. So, please check your - %%WWWDIR%%/config.php file and make any appropriate changes. -EOM -} -] diff --git a/security/maia/pkg-descr b/security/maia/pkg-descr deleted file mode 100644 index 92cb5feff13e..000000000000 --- a/security/maia/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Maia Mailguard is a web-based interface and management system based on the -popular amavisd-new e-mail scanner and SpamAssassin. Written in Perl and PHP, -Maia Mailguard gives end-users control over how their mail is processed by -virus scanners and spam filters, while giving mail administrators the power -to configure site-wide defaults and limits. diff --git a/security/maia/pkg-plist b/security/maia/pkg-plist deleted file mode 100644 index a349917f4709..000000000000 --- a/security/maia/pkg-plist +++ /dev/null @@ -1,980 +0,0 @@ -@group %%GROUPS%% -@sample %%ETCDIR%%/maia.conf.dist %%ETCDIR%%/maia.conf -@sample %%ETCDIR%%/maiad.conf.dist %%ETCDIR%%/maiad.conf -@group -@sample %%ETCDIR%%/templates/digest.tpl.dist %%ETCDIR%%/templates/digest.tpl -@sample %%ETCDIR%%/templates/newuser.tpl.dist %%ETCDIR%%/templates/newuser.tpl -@sample %%ETCDIR%%/templates/reminder.tpl.dist %%ETCDIR%%/templates/reminder.tpl -sbin/maiad -%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt -%%PORTDOCS%%%%DOCSDIR%%/README.md -%%PORTDOCS%%%%DOCSDIR%%/maia-mysql.sql -%%PORTDOCS%%%%DOCSDIR%%/maia-pgsql.sql -%%PORTDOCS%%%%DOCSDIR%%/maia.conf.dist -%%PORTDOCS%%%%DOCSDIR%%/maiad.conf.dist -@mode 755 -%%DATADIR%%/scripts/configtest.pl -%%DATADIR%%/scripts/detectvba.pl -%%DATADIR%%/scripts/expire-quarantine-cache.pl -%%DATADIR%%/scripts/load-sa-rules.pl -%%DATADIR%%/scripts/maiadbtool.pl -%%DATADIR%%/scripts/process-quarantine.pl -%%DATADIR%%/scripts/resend.pl -%%DATADIR%%/scripts/send-quarantine-digests.pl -%%DATADIR%%/scripts/send-quarantine-reminders.pl -%%DATADIR%%/scripts/stats-snapshot.pl -@mode -@owner %%WWWOWN%% -@group %%WWWGRP%% -%%WWWDIR%%/admin/configtest.php -%%WWWDIR%%/admin/dblib.php -%%WWWDIR%%/admin/internal-init.php -%%WWWDIR%%/admin/schema.php -%%WWWDIR%%/admindex.php -%%WWWDIR%%/admindomains.php -%%WWWDIR%%/adminhelp.php -%%WWWDIR%%/adminlanguages.php -%%WWWDIR%%/adminstats.php -%%WWWDIR%%/adminsystem.php -%%WWWDIR%%/adminthemes.php -%%WWWDIR%%/adminusers.php -%%WWWDIR%%/adminviruses.php -%%WWWDIR%%/auth.php -%%WWWDIR%%/authcheck.php -%%WWWDIR%%/cache.php -%%WWWDIR%%/chart_rules.php -%%WWWDIR%%/chart_stats.php -%%WWWDIR%%/chart_virus.php -@sample(%%WWWOWN%%,%%WWWGRP%%,640) %%WWWDIR%%/config.php.dist %%WWWDIR%%/config.php -%%WWWDIR%%/confirm.php -%%WWWDIR%%/constants.php -%%WWWDIR%%/core.php -%%WWWDIR%%/display.php -%%WWWDIR%%/domainsettings.php -%%WWWDIR%%/encrypt.php -%%WWWDIR%%/favicon.ico -%%WWWDIR%%/help.php -%%WWWDIR%%/images/admin-int.png -%%WWWDIR%%/images/blocked.jpg -%%WWWDIR%%/images/buttonbg.gif -%%WWWDIR%%/images/delete-item.png -%%WWWDIR%%/images/help.png -%%WWWDIR%%/images/logout.png -%%WWWDIR%%/images/maia-logo-old.gif -%%WWWDIR%%/images/maia-logotoolbar.gif -%%WWWDIR%%/images/poweredbymaia.gif -%%WWWDIR%%/images/quarantine.png -%%WWWDIR%%/images/report-spam.png -%%WWWDIR%%/images/rescue-item.png -%%WWWDIR%%/images/settings.png -%%WWWDIR%%/images/stats.png -%%WWWDIR%%/images/view-decoded.png -%%WWWDIR%%/images/view-raw.png -%%WWWDIR%%/images/white-black-list.png -%%WWWDIR%%/index.php -%%WEBHOST%%%%WWWDIR%%/libs/Smarty -%%WWWDIR%%/libs/jquery/images/arrowdown.gif -%%WWWDIR%%/libs/jquery/images/arrowleft.gif -%%WWWDIR%%/libs/jquery/images/arrowright.gif -%%WWWDIR%%/libs/jquery/images/arrowup.gif -%%WWWDIR%%/libs/jquery/images/bl.gif -%%WWWDIR%%/libs/jquery/images/bl.png -%%WWWDIR%%/libs/jquery/images/br.gif -%%WWWDIR%%/libs/jquery/images/br.png -%%WWWDIR%%/libs/jquery/images/darrowdown.gif -%%WWWDIR%%/libs/jquery/images/darrowleft.gif -%%WWWDIR%%/libs/jquery/images/darrowright.gif -%%WWWDIR%%/libs/jquery/images/darrowup.gif -%%WWWDIR%%/libs/jquery/images/loadingAnimation.gif -%%WWWDIR%%/libs/jquery/images/rarrowdown.gif -%%WWWDIR%%/libs/jquery/images/rarrowleft.gif -%%WWWDIR%%/libs/jquery/images/rarrowright.gif -%%WWWDIR%%/libs/jquery/images/rarrowup.gif -%%WWWDIR%%/libs/jquery/images/tl.gif -%%WWWDIR%%/libs/jquery/images/tl.png -%%WWWDIR%%/libs/jquery/images/tr.gif -%%WWWDIR%%/libs/jquery/images/tr.png -%%WWWDIR%%/libs/jquery/jquery-1.4.2.min.js -%%WWWDIR%%/libs/jquery/jquery-ui.min.js -%%WWWDIR%%/libs/jquery/jquery.bgiframe.js -%%WWWDIR%%/libs/jquery/jquery.dimensions.js -%%WWWDIR%%/libs/jquery/jquery.hoverIntent.js -%%WWWDIR%%/libs/jquery/jquery.tooltip.css -%%WWWDIR%%/libs/jquery/jquery.tooltip.js -%%WWWDIR%%/libs/jquery/jquery.tooltip.min.js -%%WWWDIR%%/libs/jquery/jquery.tooltip.pack.js -%%WWWDIR%%/libs/jquery/macFFBgHack.png -%%WWWDIR%%/libs/jquery/selectToUISlider.jQuery.js -%%WWWDIR%%/libs/jquery/simpletip.js -%%WWWDIR%%/libs/jquery/thickbox.css -%%WWWDIR%%/libs/jquery/thickbox.js -%%WWWDIR%%/libs/jquery/ui.slider.extras.css -%%WWWDIR%%/libs/jquery/wait.gif -%%WWWDIR%%/libs/pngfix.js -%%WWWDIR%%/list-cache.php -%%WWWDIR%%/locale/cs/admindex.php -%%WWWDIR%%/locale/cs/admindomains.php -%%WWWDIR%%/locale/cs/adminhelp.php -%%WWWDIR%%/locale/cs/adminlanguages.php -%%WWWDIR%%/locale/cs/adminstats.php -%%WWWDIR%%/locale/cs/adminsystem.php -%%WWWDIR%%/locale/cs/adminthemes.php -%%WWWDIR%%/locale/cs/adminusers.php -%%WWWDIR%%/locale/cs/adminviruses.php -%%WWWDIR%%/locale/cs/auth.php -%%WWWDIR%%/locale/cs/confirmspam.php -%%WWWDIR%%/locale/cs/db.php -%%WWWDIR%%/locale/cs/deleteitem.php -%%WWWDIR%%/locale/cs/deliver.php -%%WWWDIR%%/locale/cs/display.php -%%WWWDIR%%/locale/cs/domainsettings.php -%%WWWDIR%%/locale/cs/falsenegative.php -%%WWWDIR%%/locale/cs/help.php -%%WWWDIR%%/locale/cs/internal-init.php -%%WWWDIR%%/locale/cs/login.php -%%WWWDIR%%/locale/cs/logout.php -%%WWWDIR%%/locale/cs/mime.php -%%WWWDIR%%/locale/cs/quarantine.php -%%WWWDIR%%/locale/cs/reportspam.php -%%WWWDIR%%/locale/cs/rulestats.php -%%WWWDIR%%/locale/cs/settings.php -%%WWWDIR%%/locale/cs/smtp.php -%%WWWDIR%%/locale/cs/stats.php -%%WWWDIR%%/locale/cs/viewmail.php -%%WWWDIR%%/locale/cs/virusstats.php -%%WWWDIR%%/locale/cs/wblist.php -%%WWWDIR%%/locale/cs/welcome.php -%%WWWDIR%%/locale/cs/xadminusers.php -%%WWWDIR%%/locale/cs/xlogin.php -%%WWWDIR%%/locale/da/admindex.php -%%WWWDIR%%/locale/da/admindomains.php -%%WWWDIR%%/locale/da/adminhelp.php -%%WWWDIR%%/locale/da/adminlanguages.php -%%WWWDIR%%/locale/da/adminstats.php -%%WWWDIR%%/locale/da/adminsystem.php -%%WWWDIR%%/locale/da/adminthemes.php -%%WWWDIR%%/locale/da/adminusers.php -%%WWWDIR%%/locale/da/adminviruses.php -%%WWWDIR%%/locale/da/auth.php -%%WWWDIR%%/locale/da/confirmspam.php -%%WWWDIR%%/locale/da/db.php -%%WWWDIR%%/locale/da/deleteitem.php -%%WWWDIR%%/locale/da/deliver.php -%%WWWDIR%%/locale/da/display.php -%%WWWDIR%%/locale/da/domainsettings.php -%%WWWDIR%%/locale/da/falsenegative.php -%%WWWDIR%%/locale/da/help.php -%%WWWDIR%%/locale/da/internal-init.php -%%WWWDIR%%/locale/da/login.php -%%WWWDIR%%/locale/da/logout.php -%%WWWDIR%%/locale/da/mime.php -%%WWWDIR%%/locale/da/quarantine.php -%%WWWDIR%%/locale/da/quickstats.php -%%WWWDIR%%/locale/da/reportspam.php -%%WWWDIR%%/locale/da/rulestats.php -%%WWWDIR%%/locale/da/settings.php -%%WWWDIR%%/locale/da/smtp.php -%%WWWDIR%%/locale/da/stats.php -%%WWWDIR%%/locale/da/viewmail.php -%%WWWDIR%%/locale/da/virusstats.php -%%WWWDIR%%/locale/da/wblist.php -%%WWWDIR%%/locale/da/welcome.php -%%WWWDIR%%/locale/da/xadminusers.php -%%WWWDIR%%/locale/da/xlogin.php -%%WWWDIR%%/locale/de/admindex.php -%%WWWDIR%%/locale/de/admindomains.php -%%WWWDIR%%/locale/de/adminhelp.php -%%WWWDIR%%/locale/de/adminlanguages.php -%%WWWDIR%%/locale/de/adminstats.php -%%WWWDIR%%/locale/de/adminsystem.php -%%WWWDIR%%/locale/de/adminthemes.php -%%WWWDIR%%/locale/de/adminusers.php -%%WWWDIR%%/locale/de/adminviruses.php -%%WWWDIR%%/locale/de/auth.php -%%WWWDIR%%/locale/de/confirmspam.php -%%WWWDIR%%/locale/de/db.php -%%WWWDIR%%/locale/de/deleteitem.php -%%WWWDIR%%/locale/de/deliver.php -%%WWWDIR%%/locale/de/display.php -%%WWWDIR%%/locale/de/domainsettings.php -%%WWWDIR%%/locale/de/errors.php -%%WWWDIR%%/locale/de/falsenegative.php -%%WWWDIR%%/locale/de/help.php -%%WWWDIR%%/locale/de/internal-init.php -%%WWWDIR%%/locale/de/listcache.php -%%WWWDIR%%/locale/de/login.php -%%WWWDIR%%/locale/de/logout.php -%%WWWDIR%%/locale/de/mime.php -%%WWWDIR%%/locale/de/quarantine.php -%%WWWDIR%%/locale/de/quickstats.php -%%WWWDIR%%/locale/de/reportspam.php -%%WWWDIR%%/locale/de/rulestats.php -%%WWWDIR%%/locale/de/settings.php -%%WWWDIR%%/locale/de/smtp.php -%%WWWDIR%%/locale/de/stats.php -%%WWWDIR%%/locale/de/viewmail.php -%%WWWDIR%%/locale/de/virusstats.php -%%WWWDIR%%/locale/de/wblist.php -%%WWWDIR%%/locale/de/welcome.php -%%WWWDIR%%/locale/de/xadminusers.php -%%WWWDIR%%/locale/de/xlogin.php -%%WWWDIR%%/locale/en/admindex.php -%%WWWDIR%%/locale/en/admindomains.php -%%WWWDIR%%/locale/en/adminhelp.php -%%WWWDIR%%/locale/en/adminlanguages.php -%%WWWDIR%%/locale/en/adminstats.php -%%WWWDIR%%/locale/en/adminsystem.php -%%WWWDIR%%/locale/en/adminthemes.php -%%WWWDIR%%/locale/en/adminusers.php -%%WWWDIR%%/locale/en/adminviruses.php -%%WWWDIR%%/locale/en/auth.php -%%WWWDIR%%/locale/en/confirmspam.php -%%WWWDIR%%/locale/en/db.php -%%WWWDIR%%/locale/en/deleteitem.php -%%WWWDIR%%/locale/en/deliver.php -%%WWWDIR%%/locale/en/display.php -%%WWWDIR%%/locale/en/domainsettings.php -%%WWWDIR%%/locale/en/errors.php -%%WWWDIR%%/locale/en/falsenegative.php -%%WWWDIR%%/locale/en/help.php *** 741 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501011219.501CJx9G071850>