Date: Thu, 22 Oct 2020 08:32:06 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552948 - in head/mail/mailagent: . files Message-ID: <202010220832.09M8W6Wn004114@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Oct 22 08:32:06 2020 New Revision: 552948 URL: https://svnweb.freebsd.org/changeset/ports/552948 Log: Use @rmempty While here: - Document license - Modify the message to only show up for users upgrading from a version lower then 3.1.78_1 as it was meant to be - replace @exec by @postexec Modified: head/mail/mailagent/Makefile head/mail/mailagent/files/pkg-message.in head/mail/mailagent/pkg-plist Modified: head/mail/mailagent/Makefile ============================================================================== --- head/mail/mailagent/Makefile Thu Oct 22 08:30:28 2020 (r552947) +++ head/mail/mailagent/Makefile Thu Oct 22 08:32:06 2020 (r552948) @@ -3,12 +3,15 @@ PORTNAME= mailagent PORTVERSION= 3.1.78 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://eron.info/ MAINTAINER= ports@FreeBSD.org COMMENT= Sophisticated automatic mail-processing tool + +LICENSE= ART10 +LICENSE_FILES= ${WRKSRC}/Artistic USES= perl5 tar:bzip2 Modified: head/mail/mailagent/files/pkg-message.in ============================================================================== --- head/mail/mailagent/files/pkg-message.in Thu Oct 22 08:30:28 2020 (r552947) +++ head/mail/mailagent/files/pkg-message.in Thu Oct 22 08:32:06 2020 (r552948) @@ -1,8 +1,6 @@ [ -{ type: install +{ type: upgrade, maximum_version: 3.1.78_1, message: <<EOM -** Upgrade note from a previous version to mailagent-3.1.78_1 or later ** - In order to make building of this port non-interactive, the build-time manual configuration of FQDN and the organization name had been removed. Modified: head/mail/mailagent/pkg-plist ============================================================================== --- head/mail/mailagent/pkg-plist Thu Oct 22 08:30:28 2020 (r552947) +++ head/mail/mailagent/pkg-plist Thu Oct 22 08:32:06 2020 (r552948) @@ -34,8 +34,8 @@ man/man1/edusers.1.gz man/man1/mailagent.1.gz man/man1/mailhelp.1.gz man/man1/package.1.gz -@exec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true -@unexec [ -s %%ORGFILE%% ] || rm -f %%ORGFILE%% || true +@postexec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true +@rmempty %%ORGFILE%% %%EXAMPLESDIR%%/agent/README %%EXAMPLESDIR%%/agent/daemon %%EXAMPLESDIR%%/agent/mailfolders
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010220832.09M8W6Wn004114>