[ports-i386@pointyhat.freebsd.org: psgconf-3.2.1
pkg-plist errors on i386 6-exp]
Jim Pirzyk
pirzyk at FreeBSD.org
Wed Aug 30 14:30:51 UTC 2006
-----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ábor Kövesdán wrote:
> No, actually it is the same. If you type make deinstall in the port
> 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 at 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.
>>>
>>> --
>>> Stanislav Sedov MBSD labs, Inc. <ssedov at mbsd.msk.ru>
>>> Россия, Москва 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 at uiuc.edu --------------------------- jim at 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=
>> =cU/H
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-
>> unsubscribe at freebsd.org"
- --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
__o pirzyk at uiuc.edu --------------------------- jim at pirzyk.org
_'\<,_ Systems Management Group, CITES
(*)/ (*) University of Illinois at Urbana-Champaign
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
iD8DBQFE9aEI2EYx0U4j2soRAkcIAJ9sn43WYIiacTmcdo8Epjb5n70DQgCdEaV5
eIxiuRSjZw4ZTcaSQ0e2lkQ=
=yIVL
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list