Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2002 15:08:11 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46577: deskutils/nag: upgrade to 1.1.
Message-ID:  <20021228140811.75E5B78AF@graf.pompo.net>

next in thread | raw e-mail | index | archive | help

>Number:         46577
>Category:       ports
>Synopsis:       deskutils/nag: upgrade to 1.1.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 28 06:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 16 12:34:31 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Upgrade to Nag 1.1.

	This release works with the new PEAR::DB package, and it includes
	a pkg-deinstall to preserve the modified configuration files
	(requested by many); however, this back-up will only be active
	for the next update!

>How-To-Repeat:
	N/A.

>Fix:

	Please apply the following patch.

	New file: deskutils/nag/pkg-deinstall (chmod u+x).


diff -urN deskutils/nag.orig/Makefile deskutils/nag/Makefile
--- deskutils/nag.orig/Makefile	Wed Jun 26 21:38:15 2002
+++ deskutils/nag/Makefile	Sat Dec 28 12:51:04 2002
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	nag
-PORTVERSION=	1.0
-PORTREVISION=	2
+PORTVERSION=	1.1
 CATEGORIES=	deskutils www
 MASTER_SITES=	ftp://ftp.horde.org/pub/nag/tarballs/%SUBDIR%/
 MASTER_SITE_SUBDIR=	. old
diff -urN deskutils/nag.orig/distinfo deskutils/nag/distinfo
--- deskutils/nag.orig/distinfo	Tue Jun 18 20:27:58 2002
+++ deskutils/nag/distinfo	Sat Dec 28 12:53:02 2002
@@ -1 +1 @@
-MD5 (nag-1.0.tar.gz) = c62d4a1fe20d9badac5a4f0446c9cf1f
+MD5 (nag-1.1.tar.gz) = c435586a62a7e9d85eb4cc8ef92afbe1
diff -urN deskutils/nag.orig/pkg-deinstall deskutils/nag/pkg-deinstall
--- deskutils/nag.orig/pkg-deinstall	Thu Jan  1 01:00:00 1970
+++ deskutils/nag/pkg-deinstall	Thu Dec 26 16:43:49 2002
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Backup Nag config files, if needed.
+
+if [ x$2 != xDEINSTALL ]; then
+    exit
+fi
+
+if [ -z "${PACKAGE_BUILDING}" ]; then
+  for cf in `ls ${PKG_PREFIX}/www/horde/nag/config/*php`; do
+    diff -bBqw $cf $cf.dist >/dev/null 2>&1
+    case $? in
+      0)  # original config file, will be deleted by pkg-plist
+          ;;
+      1)  # config file has been updated, must be backuped
+          cp -p $cf $cf.previous
+          echo "===> Backing-up..."
+          echo "--->   $cf has been saved ***"
+          echo "--->      as $cf.previous ***"
+          ;;
+      *)  # not found?
+          ;;
+    esac
+  done
+fi
diff -urN deskutils/nag.orig/pkg-plist deskutils/nag/pkg-plist
--- deskutils/nag.orig/pkg-plist	Tue Jun 18 20:27:58 2002
+++ deskutils/nag/pkg-plist	Thu Dec 26 17:44:09 2002
@@ -22,6 +22,7 @@
 %%NAGDIR%%/graphics/list.gif
 %%NAGDIR%%/graphics/nag.gif
 %%NAGDIR%%/graphics/note.gif
+%%NAGDIR%%/graphics/print.gif
 %%NAGDIR%%/graphics/refresh.gif
 %%NAGDIR%%/graphics/search.gif
 %%NAGDIR%%/graphics/up.gif
@@ -34,8 +35,11 @@
 %%NAGDIR%%/lib/constants.php
 %%NAGDIR%%/lib/version.php
 %%NAGDIR%%/list.php
+%%NAGDIR%%/locale/bg_BG/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/cs_CZ/LC_MESSAGES/nag.mo
+%%NAGDIR%%/locale/da_DK/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/de_DE/LC_MESSAGES/nag.mo
+%%NAGDIR%%/locale/el_GR/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/en_US/help.xml
 %%NAGDIR%%/locale/es_ES/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/fi_FI/LC_MESSAGES/nag.mo
@@ -44,19 +48,25 @@
 %%NAGDIR%%/locale/hu_HU/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/it_IT/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/ko_KR/LC_MESSAGES/nag.mo
+%%NAGDIR%%/locale/lt_LT/LC_MESSAGES/nag.mo
+%%NAGDIR%%/locale/nb_NO/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/nl_NL/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/nn_NO/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/pt_BR/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/ru_RU/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES/nag.mo
+%%NAGDIR%%/locale/sk_SK/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/sv_SE/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/zh_CN/LC_MESSAGES/nag.mo
 %%NAGDIR%%/locale/zh_TW/LC_MESSAGES/nag.mo
 %%NAGDIR%%/menu.php
 %%NAGDIR%%/po/Makefile
 %%NAGDIR%%/po/README
+%%NAGDIR%%/po/bg_BG.po
 %%NAGDIR%%/po/cs_CZ.po
+%%NAGDIR%%/po/da_DK.po
 %%NAGDIR%%/po/de_DE.po
+%%NAGDIR%%/po/el_GR.po
 %%NAGDIR%%/po/es_ES.po
 %%NAGDIR%%/po/extract.pl
 %%NAGDIR%%/po/fi_FI.po
@@ -64,11 +74,15 @@
 %%NAGDIR%%/po/hu_HU.po
 %%NAGDIR%%/po/it_IT.po
 %%NAGDIR%%/po/ko_KR.po
+%%NAGDIR%%/po/lt_LT.po
+%%NAGDIR%%/po/nag.pot
+%%NAGDIR%%/po/nb_NO.po
 %%NAGDIR%%/po/nl_NL.po
 %%NAGDIR%%/po/nn_NO.po
 %%NAGDIR%%/po/pt_BR.po
 %%NAGDIR%%/po/ru_RU.po
 %%NAGDIR%%/po/ru_RU.KOI8-R.po
+%%NAGDIR%%/po/sk_SK.po
 %%NAGDIR%%/po/sv_SE.po
 %%NAGDIR%%/po/zh_CN.po
 %%NAGDIR%%/po/zh_TW.po
@@ -83,6 +97,8 @@
 %%NAGDIR%%/templates/common-header.inc
 %%NAGDIR%%/templates/index/css.inc
 %%NAGDIR%%/templates/index/notconfigured.inc
+%%NAGDIR%%/templates/javascript/open_print_win.js
+%%NAGDIR%%/templates/javascript/print.js
 %%NAGDIR%%/templates/list/actions.inc
 %%NAGDIR%%/templates/list/empty.inc
 %%NAGDIR%%/templates/list/footer.inc
@@ -92,6 +108,7 @@
 %%NAGDIR%%/templates/list/task_headers.inc
 %%NAGDIR%%/templates/list/task_summaries.inc
 %%NAGDIR%%/templates/menu/menu.inc
+%%NAGDIR%%/templates/prefs/category_management.inc
 %%NAGDIR%%/templates/search/begin.inc
 %%NAGDIR%%/templates/search/end.inc
 %%NAGDIR%%/templates/search/search.inc
@@ -107,10 +124,16 @@
 @dirrm %%NAGDIR%%/graphics
 @dirrm %%NAGDIR%%/lib/Driver
 @dirrm %%NAGDIR%%/lib
+@dirrm %%NAGDIR%%/locale/bg_BG/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/bg_BG
 @dirrm %%NAGDIR%%/locale/cs_CZ/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/cs_CZ
+@dirrm %%NAGDIR%%/locale/da_DK/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/da_DK
 @dirrm %%NAGDIR%%/locale/de_DE/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/de_DE
+@dirrm %%NAGDIR%%/locale/el_GR/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/el_GR
 @dirrm %%NAGDIR%%/locale/en_US
 @dirrm %%NAGDIR%%/locale/es_ES/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/es_ES
@@ -124,6 +147,10 @@
 @dirrm %%NAGDIR%%/locale/it_IT
 @dirrm %%NAGDIR%%/locale/ko_KR/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/ko_KR
+@dirrm %%NAGDIR%%/locale/lt_LT/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/lt_LT
+@dirrm %%NAGDIR%%/locale/nb_NO/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/nb_NO
 @dirrm %%NAGDIR%%/locale/nl_NL/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/nl_NL
 @dirrm %%NAGDIR%%/locale/nn_NO/LC_MESSAGES
@@ -134,6 +161,8 @@
 @dirrm %%NAGDIR%%/locale/ru_RU
 @dirrm %%NAGDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/ru_RU.KOI8-R
+@dirrm %%NAGDIR%%/locale/sk_SK/LC_MESSAGES
+@dirrm %%NAGDIR%%/locale/sk_SK
 @dirrm %%NAGDIR%%/locale/sv_SE/LC_MESSAGES
 @dirrm %%NAGDIR%%/locale/sv_SE
 @dirrm %%NAGDIR%%/locale/zh_CN/LC_MESSAGES
@@ -145,8 +174,10 @@
 @dirrm %%NAGDIR%%/scripts/drivers
 @dirrm %%NAGDIR%%/scripts
 @dirrm %%NAGDIR%%/templates/index
+@dirrm %%NAGDIR%%/templates/javascript
 @dirrm %%NAGDIR%%/templates/list
 @dirrm %%NAGDIR%%/templates/menu
+@dirrm %%NAGDIR%%/templates/prefs
 @dirrm %%NAGDIR%%/templates/search
 @dirrm %%NAGDIR%%/templates/task
 @dirrm %%NAGDIR%%/templates/view


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021228140811.75E5B78AF>