From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 7 16:00:32 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 940D816A422 for ; Thu, 7 Jul 2005 16:00:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDAAD43D48 for ; Thu, 7 Jul 2005 16:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j67G0Vvx000876 for ; Thu, 7 Jul 2005 16:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j67G0VEC000870; Thu, 7 Jul 2005 16:00:31 GMT (envelope-from gnats) Resent-Date: Thu, 7 Jul 2005 16:00:31 GMT Resent-Message-Id: <200507071600.j67G0VEC000870@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Botelho Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AC2F16A420 for ; Thu, 7 Jul 2005 15:50:42 +0000 (GMT) (envelope-from renato@galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C58DF43D53 for ; Thu, 7 Jul 2005 15:50:41 +0000 (GMT) (envelope-from renato@galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by data.galle.com.br (8.13.3/8.13.3) with ESMTP id j67FmX0I017485; Thu, 7 Jul 2005 12:48:33 -0300 (BRST) (envelope-from renato@data.galle.com.br) Received: (from root@localhost) by data.galle.com.br (8.13.3/8.13.3/Submit) id j67FmSNJ017484; Thu, 7 Jul 2005 12:48:28 -0300 (BRST) (envelope-from renato) Message-Id: <200507071548.j67FmSNJ017484@data.galle.com.br> Date: Thu, 7 Jul 2005 12:48:28 -0300 (BRST) From: Renato Botelho To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: toxa@toxahost.ru Subject: ports/83100: [PATCH] mail/simscan: Don't remove simscan user/group to portupgrade works fine X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 16:00:32 -0000 >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: