Date: Sat, 18 Dec 2004 12:56:32 +0100 (CET) From: Jan-Peter Koopmann <j.koopmann@seceidos.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75215: [MAINTAINER] mail/MailScanner: [SUMMARIZE CHANGES] Message-ID: <200412181156.iBIBuW6L015299@services.intern.seceidos.de> Resent-Message-ID: <200412181200.iBIC0kuM025128@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75215 >Category: ports >Synopsis: [MAINTAINER] mail/MailScanner: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Dec 18 12:00:45 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jan-Peter Koopmann >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 5 10:56:46 CET >Description: Makefile change: Now all languages.conf are updated using Julians new upgrade_languages_conf script. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- MailScanner-4.36.4_1.patch begins here --- diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/Makefile /server-root/ports/mail/mailscanner/Makefile --- /server-root/ports/mail/mailscanner.orig/Makefile Fri Dec 17 08:32:44 2004 +++ /server-root/ports/mail/mailscanner/Makefile Sat Dec 18 12:53:52 2004 @@ -2,11 +2,12 @@ # Date created: 17 March 2003 # Whom: Jan-Peter Koopmann <j.koopmann@seceidos.de> # -# $FreeBSD: ports/mail/mailscanner/Makefile,v 1.30 2004/12/17 07:32:44 edwin Exp $ +# $FreeBSD: ports/mail/mailscanner/Makefile,v 1.29 2004/11/10 10:44:48 vs Exp $ # PORTNAME= MailScanner PORTVERSION= 4.36.4 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} @@ -209,18 +210,23 @@ ${ECHO} "Changes in MailScanner.conf found. Please look at \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi - # Upgrading langauages.conf... Please wait... ATTENTION: English version only! - @${WRKSRC}/bin/upgrade_languages_conf \ - ${DATADIR}/reports/en/languages.conf \ - ${DATADIR}/reports/en/languages.conf.sample > \ - ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} \ - 2> /dev/null - @if diff -b -B -q ${DATADIR}/reports/en/languages.conf \ - ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \ - then ${ECHO} "No changes in languages.conf found" ; \ - ${RM} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \ - else ${CP} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ${DATADIR}/reports/en/languages.conf ; \ - fi + @for LANG_DIR in ${DATADIR}/reports/*; do \ + if [ -f $${LANG_DIR}/languages.conf ]; then \ + ${ECHO} -n Upgrading $${LANG_DIR}/languages.conf... Please wait...; \ + ${WRKSRC}/bin/upgrade_languages_conf \ + $${LANG_DIR}/languages.conf \ + $${LANG_DIR}/languages.conf.sample > \ + $${LANG_DIR}/languages.conf.new.${PORTVERSION} \ + 2> /dev/null ; \ + if diff -b -B -q $${LANG_DIR}/languages.conf \ + $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ + then ${ECHO} " no changes"; \ + ${RM} $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ + else ${ECHO} " done"; \ + ${CP} $${LANG_DIR}/languages.conf.new.${PORTVERSION} $${LANG_DIR}/languages.conf ; \ + fi; \ + fi; \ + done .endif @${SED} -e 's,%%PREFIX%%,${PREFIX},' pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} --- MailScanner-4.36.4_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412181156.iBIBuW6L015299>