Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2005 12:48:28 -0300 (BRST)
From:      Renato Botelho <freebsd@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        toxa@toxahost.ru
Subject:   ports/83100: [PATCH] mail/simscan: Don't remove simscan user/group to portupgrade works fine
Message-ID:  <200507071548.j67FmSNJ017484@data.galle.com.br>
Resent-Message-ID: <200507071600.j67G0VEC000870@freefall.freebsd.org>

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

>Number:         83100
>Category:       ports
>Synopsis:       [PATCH] mail/simscan: Don't remove simscan user/group to portupgrade works fine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 07 16:00:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #2: Thu Jun 30 10:57:16 BRST 2005
>Description:
- Don't remove simscan user/group to portupgrade works fine
- Add CONFIGURE_TARGET just to remove warning

Removed file(s):
- pkg-deinstall

Port maintainer (toxa@toxahost.ru) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- simscan-1.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/simscan/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	6 Jul 2005 19:36:24 -0000	1.2
+++ Makefile	7 Jul 2005 15:49:21 -0000
@@ -43,6 +43,7 @@
 		--enable-qmaildir=${QMAIL_DIR} \
 	  	--enable-spamc-user=n \
 		--enable-workdir=${WORKDIR}
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 .if defined(WITHOUT_CLAMAV)
 CONFIGURE_ARGS+=	--enable-clamav=n
Index: pkg-deinstall
===================================================================
RCS file: pkg-deinstall
diff -N pkg-deinstall
--- pkg-deinstall	3 Apr 2005 16:04:21 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/mail/simscan/pkg-deinstall,v 1.1 2005/04/03 16:04:21 novel Exp $
-
-USER=simscan
-GROUP=${USER}
-
-if [ x$2 != xDEINSTALL ]; then
-    exit
-fi
-
-pw groupdel -n ${GROUP} || true
-pw userdel -n ${GROUP} || true
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/simscan/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	3 Apr 2005 16:04:21 -0000	1.1
+++ pkg-plist	7 Jul 2005 15:49:21 -0000
@@ -3,5 +3,5 @@
 bin/simscan
 @unexec rmdir %%QMAIL_DIR%%/%%SIMSCAN_DIR%% || true
 @unexec echo ""
-@unexec echo "If you're not updating this port, you can delete %%QMAIL_DIR%%/%%SIMSCAN_DIR%% directory"
+@unexec echo "If you're not updating this port, you can delete %%QMAIL_DIR%%/%%SIMSCAN_DIR%% directory and remove simscan user and group."
 @unexec echo ""
--- simscan-1.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?200507071548.j67FmSNJ017484>