Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 09:30:25 -0500
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [ports-i386@pointyhat.freebsd.org: psgconf-3.2.1 pkg-plist	errors on i386 6-exp]
Message-ID:  <08DA55DD-3641-4D3D-ADEA-692B8534A066@FreeBSD.org>
In-Reply-To: <44F4B8DE.109@FreeBSD.org>
References:  <20060825125030.GB73712@xor.obsecurity.org>	<09A569F7-DFAA-4963-A1A8-935488F0C955@freebsd.org>	<20060830012836.4e29c4f4@localhost> <08ED4A82-2E82-4614-A09D-28B555AAC850@freebsd.org> <44F4B8DE.109@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I see that.  But once you install a package via make install,
the pkg-plist is going to have the extra values that TMP_PLIST
had.  Then when you do make package, that will also have those
values (as I understand make package, it will read the 'installed'
version, not the one in /usr/ports/sysutils/psgconf).

I need to do something special before the pkg_delete is done, and
only in the case of 'make install', not in the case of pkg_delete.

- - JimP

On Aug 29, 2006, at 4:59 PM, G=C3=A1bor K=C3=B6vesd=C3=A1n wrote:

> No, actually it is the same. If you type make deinstall in the port =20=

> directory, pkg_delete is called. Look at bsd.port.mk, about line 4300.
>
> Cheers,
>
> Gabor
>
> Jim Pirzyk wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hmm, this is not quite the same.  I need to know if I am deinstalling
>> from a port install or a package install.  The install/deinstall
>> behavior is different.
>>
>> - - JimP
>>
>> On Aug 29, 2006, at 4:28 PM, Stanislav Sedov wrote:
>>
>>> On Tue, 29 Aug 2006 16:16:40 -0500
>>> Jim Pirzyk <pirzyk@freebsd.org> mentioned:
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> I do not see any
>>>>
>>>> pre-deinstall:
>>>>
>>>> target available in bsd.ports.mk  Is there a way I can have a
>>>> custom action before the main deinstall script or do I have to
>>>> reimplement the deinstall: target itself?
>>>>
>>>
>>> You should not tweak any deinstall targets, just add custom entries
>>> into TMP_PLIST. You can schedule any actions by using @unexec PLIST
>>> entry. Just put them in approriate order.
>>>
>>> --=20
>>> Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
>>> =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D1=8F, =D0=9C=D0=BE=D1=81=D0=BA=D0=B2=D0=
=B0         http://mbsd.msk.ru
>>>
>>> --------------------------------------------------------------------
>>> If the facts don't fit the theory, change the facts.  -- A. Einstein
>>> --------------------------------------------------------------------
>>> PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
>>
>> - --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
>>     __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
>>  _'\<,_  Systems Management Group, CITES
>> (*)/ (*) University of Illinois at Urbana-Champaign
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.2.2 (Darwin)
>>
>> iD8DBQFE9Ldt2EYx0U4j2soRAqOuAKCvKD+CRApzfeqKBKY8eiGg5z4c4ACeIvPr
>> dW1Ds53PO5/ErgY3khMcTVA=3D
>> =3DcU/H
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-=20
>> unsubscribe@freebsd.org"

- --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
     __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
  _'\<,_  Systems Management Group, CITES
(*)/ (*) University of Illinois at Urbana-Champaign


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFE9aEI2EYx0U4j2soRAkcIAJ9sn43WYIiacTmcdo8Epjb5n70DQgCdEaV5
eIxiuRSjZw4ZTcaSQ0e2lkQ=3D
=3DyIVL
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08DA55DD-3641-4D3D-ADEA-692B8534A066>