Is there a way to get the previous version of any package?
Kok-Yong Tan
ktan at realityartisans.com
Thu Mar 25 20:26:33 PDT 2010
Nifty. Thanks, Perry.
On Mar 25, 2010, at 14:42, Perry Lee wrote:
> You can also create a local Portfile repository [1] with the older
> version of zlib, so port will see the older version rather than the
> newer one.
>
> perry at patton-lxp ~/src/lports/archivers/zlib % port list zlib
> zlib @1.2.3 archivers/zlib
> zlib @1.2.4 archivers/zlib
> perry at patton-lxp ~/src/lports/archivers/zlib % sudo port install zlib
> ---> Computing dependencies for zlib
> ---> Fetching archive for zlib
> ---> Fetching zlib
> ---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://
> distfiles.macports.org/zlib
> ---> Verifying checksum(s) for zlib
> ---> Extracting zlib
> ---> Applying patches to zlib
> ---> Configuring zlib
> ---> Building zlib
> ---> Staging zlib into destroot
> ---> Packaging tgz archive for zlib 1.2.3_4+universal
> ---> Installing zlib @1.2.3_4+universal
> ---> Activating zlib @1.2.3_4+universal
> ---> Cleaning zlib
> perry at patton-lxp ~/src/lports/archivers/zlib % port installed zlib
> The following ports are currently installed:
> zlib @1.2.3_4+universal (active)
> zlib @1.2.4_1+universal
>
> [1] http://guide.macports.org/#development.local-repositories
> On Mar 25, 2010, at 11:21 AM, Ryan Schmidt wrote:
>
>>
>> On Mar 25, 2010, at 13:20, Kok-Yong Tan wrote:
>>
>>> Is there any way to reliably stop wireshark (without messing with
>>> the Portfile) from keeping on getting the zlib 1.2.4 release even
>>> though I've deactivated it and activated the zlib 1.2.3 release?
>>> I've even gone so far as to uninstall zlib 1.2.4 when MacPorts
>>> wasn't ignoring the inactive zlib 1.2.4.
>>>
>>> I've tried deactivating, cleaning (with --dist) and then
>>> uinstalling zlib 1.2.4 prior to deactivating, cleaning,
>>> uninstalling and then installing wireshark but when I re-install
>>> wireshark, it keeps on pulling in the zlib 1.2.4 package. What
>>> I've had to do to get it to use the zlib 1.2.3 package is to
>>> start an install of wireshark going, wait till it's done
>>> installing the zlib 1.2.4 package and going onto something else
>>> before using another window to quickly uninstall zlib 1.2.4 and
>>> install zlib 1.2.3 while wireshark is being built in the other
>>> window but this seems a very dangerous and Rube Goldberg-like
>>> maneuver to me.
>>
>> MacPorts follows dependencies automatically. To tell it not to do
>> so, use the -n switch.
>>
>> sudo port -n install wireshark
>>
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
--
Reality Artisans, Inc. # Network Wrangling and Delousing
P.O. Box 565, Gracie Station # Apple Certified Consultant
New York, NY 10028-0019 # Apple Consultants Network member
<http://www.realityartisans.com> # Apple Developer Connection member
(212) 369-4876 (Voice) # My PGP public key can be found
at <https://keyserver.pgp.com>
More information about the macports-users
mailing list