From owner-freebsd-java Wed May 30 5: 4:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.noos.fr (racine.noos.net [212.198.2.71]) by hub.freebsd.org (Postfix) with ESMTP id 9266837B423 for ; Wed, 30 May 2001 05:04:47 -0700 (PDT) (envelope-from clefevre@redirect.to) Received: (qmail 32490628 invoked by uid 0); 30 May 2001 11:02:36 -0000 Received: from d081.dhcp212-198-228.noos.fr (HELO gits.dyndns.org) ([212.198.228.81]) (envelope-sender ) by racine.noos.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 30 May 2001 11:02:36 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.3/8.11.3) id f4UB2Zc57307; Wed, 30 May 2001 13:02:35 +0200 (CEST) (envelope-from clefevre@redirect.to) To: ernst@jollem.com Cc: FreeBSD-gnats-submit@freebsd.org, java@freebsd.org Subject: Re: ports/27748: Update port: java/orion (1.4.5_4 -> 1.4.5_5) References: <200105291735.f4THZsf02716@heinz.jollem.com> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C Reply-To: Cyrille Lefevre In-Reply-To: From: Cyrille Lefevre Date: 30 May 2001 13:02:34 +0200 Message-ID: Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ernst@jollem.com writes: [snip] > diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/pkg-deinstall /home/ernst/freebsd-ports/java/orion/pkg-deinstall > --- /usr/ports/java/orion/pkg-deinstall Thu Jan 1 01:00:00 1970 > +++ /home/ernst/freebsd-ports/java/orion/pkg-deinstall Mon May 28 11:22:20 2001 > @@ -0,0 +1,8 @@ > +#!/bin/sh > +PID_FILE=/var/run/orion.pid > +if [ -e ${PID_FILE} ]; then > + echo -n "Orion is still running." > + /bin/kill `cat ${PID_FILE}` > + rm -f ${PID_FILE} > + echo " Stopped." > +fi As I told you messages and <200105290016.f4T0GbU72454@gits.dyndns.org> in -ports, this pkg-deinstall script isn't needed since it could be done as a one liner to the beginning of pkg-plist such as : @unexec [ -e /var/run/orion.pid ] && { echo killing orion.; kill `cat /var/run/orion.pid`; echo remoing pid file.; rm -f /var/run/orion.pid; } I just wanted this noted in gnats. the commiter will decide :P Cyrille. -- home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message