From ryandesign at macports.org Mon Sep 1 00:07:42 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 00:07:42 -0700 (PDT) Subject: [39713] trunk/dports/lang/polyml/Portfile Message-ID: <20080901070743.8C9622E3CFB@beta.macosforge.org> Revision: 39713 http://trac.macosforge.org/projects/macports/changeset/39713 Author: ryandesign at macports.org Date: 2008-09-01 00:07:41 -0700 (Mon, 01 Sep 2008) Log Message: ----------- polyml: fix checksum failure caused by upstream re-tar.gz-ing; closes #16244 (maintainer timeout) Modified Paths: -------------- trunk/dports/lang/polyml/Portfile Modified: trunk/dports/lang/polyml/Portfile =================================================================== --- trunk/dports/lang/polyml/Portfile 2008-09-01 05:44:38 UTC (rev 39712) +++ trunk/dports/lang/polyml/Portfile 2008-09-01 07:07:41 UTC (rev 39713) @@ -4,6 +4,7 @@ name polyml version 5.2 +set distfile_date 20080623181636 categories lang ml platforms darwin maintainers mww @@ -15,8 +16,11 @@ homepage http://www.polyml.org/ master_sites sourceforge +dist_subdir ${name}/${version}-${distfile_date} distname ${name}.${version} -checksums sha1 52d5b0f533b613a4aabfc735bc4a6c073f2d77ee +checksums md5 5c0a291990f6dbce6baed857068cda06 \ + sha1 0813dee09be28cf2a547a43e9d882638e670177b \ + rmd160 8e869843633cdfe898dee689b6a04bd94f498e99 depends_lib lib:libX11.6:XFree86 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/4a2a75ae/attachment-0001.html From ryandesign at macports.org Mon Sep 1 00:24:34 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 00:24:34 -0700 (PDT) Subject: [39714] trunk/dports/textproc/glimpse/Portfile Message-ID: <20080901072434.E13A02E3DAE@beta.macosforge.org> Revision: 39714 http://trac.macosforge.org/projects/macports/changeset/39714 Author: ryandesign at macports.org Date: 2008-09-01 00:24:33 -0700 (Mon, 01 Sep 2008) Log Message: ----------- glimpse: whitespace changes only Modified Paths: -------------- trunk/dports/textproc/glimpse/Portfile Modified: trunk/dports/textproc/glimpse/Portfile =================================================================== --- trunk/dports/textproc/glimpse/Portfile 2008-09-01 07:07:41 UTC (rev 39713) +++ trunk/dports/textproc/glimpse/Portfile 2008-09-01 07:24:33 UTC (rev 39714) @@ -1,19 +1,22 @@ # $Id$ -PortSystem 1.0 -name glimpse -version 4.18.5 -categories textproc -maintainers nomaintainer -description A text search engine. Free for personal use. -long_description A text search engine. Free for personal use. \ - Required for use with Webglimpse. -checksums md5 10204ab813f3bbb558e22dedf19d1dfb -master_sites http://webglimpse.net/trial/ -build.args LDFLAGS=-L${prefix}/lib +PortSystem 1.0 -destroot.destdir bindir=${destroot}${prefix}/bin \ - libdir=${destroot}${prefix}/lib \ - mandir=${destroot}${prefix}/share/man/man1 +name glimpse +version 4.18.5 +categories textproc +maintainers nomaintainer +description A text search engine. Free for personal use. +long_description A text search engine. Free for personal use. \ + Required for use with Webglimpse. +checksums md5 10204ab813f3bbb558e22dedf19d1dfb +master_sites http://webglimpse.net/trial/ +build.args LDFLAGS=-L${prefix}/lib -platform darwin 6 { depends_lib lib:libdl:dlcompat } +destroot.destdir bindir=${destroot}${prefix}/bin \ + libdir=${destroot}${prefix}/lib \ + mandir=${destroot}${prefix}/share/man/man1 + +platform darwin 6 { + depends_lib lib:libdl:dlcompat +} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/2334a2b3/attachment.html From ryandesign at macports.org Mon Sep 1 00:25:21 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 00:25:21 -0700 (PDT) Subject: [39715] trunk/dports/textproc/glimpse/Portfile Message-ID: <20080901072521.DF5962E3E30@beta.macosforge.org> Revision: 39715 http://trac.macosforge.org/projects/macports/changeset/39715 Author: ryandesign at macports.org Date: 2008-09-01 00:25:21 -0700 (Mon, 01 Sep 2008) Log Message: ----------- glimpse: add missing required variables 'homepage' and 'platforms' Modified Paths: -------------- trunk/dports/textproc/glimpse/Portfile Modified: trunk/dports/textproc/glimpse/Portfile =================================================================== --- trunk/dports/textproc/glimpse/Portfile 2008-09-01 07:24:33 UTC (rev 39714) +++ trunk/dports/textproc/glimpse/Portfile 2008-09-01 07:25:21 UTC (rev 39715) @@ -5,12 +5,14 @@ name glimpse version 4.18.5 categories textproc +platforms darwin maintainers nomaintainer description A text search engine. Free for personal use. long_description A text search engine. Free for personal use. \ Required for use with Webglimpse. checksums md5 10204ab813f3bbb558e22dedf19d1dfb -master_sites http://webglimpse.net/trial/ +homepage http://webglimpse.net/ +master_sites ${homepage}trial/ build.args LDFLAGS=-L${prefix}/lib destroot.destdir bindir=${destroot}${prefix}/bin \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/f80b07bf/attachment.html From portindex at macports.org Mon Sep 1 00:56:25 2008 From: portindex at macports.org (portindex at macports.org) Date: Mon, 1 Sep 2008 00:56:25 -0700 (PDT) Subject: [39716] trunk/dports/PortIndex Message-ID: <20080901075626.8E8062E3F30@beta.macosforge.org> Revision: 39716 http://trac.macosforge.org/projects/macports/changeset/39716 Author: portindex at macports.org Date: 2008-09-01 00:56:24 -0700 (Mon, 01 Sep 2008) Log Message: ----------- Total number of ports parsed: 5015 Ports successfully parsed: 5015 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-01 07:25:21 UTC (rev 39715) +++ trunk/dports/PortIndex 2008-09-01 07:56:24 UTC (rev 39716) @@ -3703,7 +3703,7 @@ llvm-gcc42 412 variants {universal darwin powerpc x86} portdir lang/llvm-gcc42 description {llvm is a next generation compiler infrastructure} homepage http://llvm.org/ epoch 0 platforms darwin name llvm-gcc42 depends_lib port:llvm maintainers {erickt at macports.org openmaintainer} long_description {llvm brings tools to work on the llvm intermediate language incl. a C and C++ frontend.} version 2.3 categories lang revision 0 logtalk 631 -portdir lang/logtalk platforms {darwin freebsd linux} description {Logtalk - Open source object-oriented logic programming language} name logtalk version 2.32.2 categories lang homepage http://logtalk.org/ revision 0 epoch 0 maintainers pmoura at logtalk.org long_description {Logtalk is an open source object-oriented logic programming language that can use most Prolog implementations as a back-end compiler. As a multi-paradigm language, Logtalk includes support for both prototypes and classes, protocols, component-based programming through category-based composition, event-driven programming, and multi-threading programming.} +portdir lang/logtalk platforms {darwin freebsd linux} description {Logtalk - Open source object-oriented logic programming language} name logtalk version 2.33.0 categories lang homepage http://logtalk.org/ revision 0 epoch 0 maintainers pmoura at logtalk.org long_description {Logtalk is an open source object-oriented logic programming language that can use most Prolog implementations as a back-end compiler. As a multi-paradigm language, Logtalk includes support for both prototypes and classes, protocols, component-based programming through category-based composition, event-driven programming, and multi-threading programming.} lua 446 variants {universal darwin_7} portdir lang/lua description {powerful, lightweight programming language} homepage http://www.lua.org epoch 0 platforms darwin name lua depends_lib port:readline maintainers {pmq openmaintainer} long_description {Lua is a powerful, light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, standalone language.} version 5.1.3 categories lang revision 3 lua50 444 @@ -4444,8 +4444,8 @@ variants {universal gui} variant_desc {gui {GTK2 Graphical User Interface}} portdir multimedia/tablet-encode description {Transcoding video files for Nokia Internet Tablets} homepage http://mediautils.garage.maemo.org/tablet-encode.html epoch 0 depends_run {port:perl5.8 port:MPlayer} platforms darwin name tablet-encode maintainers ecronin long_description {As the Nokia Internet Tablets have relatively slow processors, and relatively little storage space it is a good idea to transcode your videos to a smaller, more suitable format for watching them.} version 2.19 categories multimedia revision 0 tivodecode 868 variants universal description {utility to convert .tivo files into mpeg} portdir multimedia/tivodecode homepage http://tivodecode.sourceforge.net/ epoch 0 platforms darwin name tivodecode long_description {This software converts a .TiVo file (produced by the TiVoToGo functionality on recent TiVo software releases) to a normal MPEG file. This has the same functionality as using TiVo's supplied DirectShow DLL on Windows with a tool such as DirectShowDump, but is portable to different architectures and operating systems, and runs on the command line using files or pipes. The conversion still requires the valid MAK of the TiVo which recorded the file, so it cannot be used to circumvent their protection, simply to provide the same level of access as is already available on Windows.} maintainers css at macports.org categories multimedia version 0.2pre4 revision 0 -transcode 1104 -variants {universal a52dec faac faad2 freetype imagemagick libdv libogg libsdl libtheora libvorbis libxml2 x264 xvid} portdir multimedia/transcode description {Video and audio processing tools} homepage http://www.transcoding.org epoch 0 platforms darwin name transcode depends_lib {port:automake port:autoconf port:libtool port:ffmpeg port:libmpeg2 port:libdvdread port:jpeg port:lame} maintainers {cremes at mac.com liontooth at cogweb.net} long_description {transcode is a suite of tools, all of which are command line utilities, for transcoding various video, audio, and container formats, running on a platform that supports shared libraries and threads. Decoding and encoding is done by modules that are responsible for feeding transcode with raw video/ audio streams (import modules) and encoding the frames (export modules). It includes a variety of video and audio filters, including (but not limited to) video de-interlacing, audio resampling, framerate conversion, different resizing algorithms, smoothing, sharpening, denoisifying, and cutting.} version 1.1.0beta0 categories multimedia revision 0 +transcode 1133 +variants {universal a52dec faac faad2 freetype imagemagick libdv libogg libquicktime libsdl libtheora libvorbis libxml2 lzo x264 xvid} depends_build port:pkgconfig portdir multimedia/transcode description {Video and audio processing tools} homepage http://www.transcoding.org epoch 0 platforms darwin name transcode depends_lib {port:automake port:autoconf port:libtool port:ffmpeg port:libmpeg2 port:libdvdread port:jpeg port:lame} maintainers liontooth at cogweb.net long_description {transcode is a suite of tools, all of which are command line utilities, for transcoding various video, audio, and container formats, running on a platform that supports shared libraries and threads. Decoding and encoding is done by modules that are responsible for feeding transcode with raw video/ audio streams (import modules) and encoding the frames (export modules). It includes a variety of video and audio filters, including (but not limited to) video de-interlacing, audio resampling, framerate co nversion, different resizing algorithms, smoothing, sharpening, denoisifying, and cutting.} version 1.1.0beta1 categories multimedia revision 0 vcdimager 458 variants universal portdir multimedia/vcdimager description {Free software (Super) video CD authoring solution} homepage http://www.vcdimager.org/ epoch 0 platforms darwin name vcdimager depends_lib {lib:libcdio.0:libcdio lib:libpopt:popt port:libxml2} maintainers nomaintainer long_description {The GNU (Super)VideoCD authoring solution for mastering, extracting and analyzing Video CDs and Super Video CDs.} version 0.7.22 categories multimedia revision 1 vobcopy 372 @@ -5493,7 +5493,7 @@ p5-data-buffer 563 variants universal portdir perl/p5-data-buffer description {binary buffers for perl} homepage http://search.cpan.org/dist/Data-Buffer/ epoch 0 platforms darwin name p5-data-buffer depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers nomaintainer long_description {Data::Buffer implements a low-level binary buffer in which you can get and put integers, strings, and other data. Internally the implementation is based on pack and unpack, such that Data::Buffer is really a layer on top of those built-in functions.} version 0.04 categories perl revision 0 p5-data-dump 704 -variants universal portdir perl/p5-data-dump description {Pretty printing of data structures} homepage http://search.cpan.org/dist/Data-Dump/ epoch 0 platforms darwin name p5-data-dump depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers {narf_tm openmaintainer} long_description {This module provides a single function called dump() that takes a list of values as its argument and produces a string as its result. The string contains Perl code that, when evaled, produces a deep copy of the original arguments. The string is formatted for easy reading. If dump() is called in a void context, then the dump is printed on STDERR instead of being returned.} version 1.10 categories perl revision 0 +variants universal portdir perl/p5-data-dump description {Pretty printing of data structures} homepage http://search.cpan.org/dist/Data-Dump/ epoch 0 platforms darwin name p5-data-dump depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers {narf_tm openmaintainer} long_description {This module provides a single function called dump() that takes a list of values as its argument and produces a string as its result. The string contains Perl code that, when evaled, produces a deep copy of the original arguments. The string is formatted for easy reading. If dump() is called in a void context, then the dump is printed on STDERR instead of being returned.} version 1.11 categories perl revision 0 p5-data-dumper 434 variants universal portdir perl/p5-data-dumper description {Sstringified perl data structures, suitable for both printing and eval} homepage http://search.cpan.org/dist/Data-Dumper/ epoch 0 platforms darwin name p5-data-dumper depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers nomaintainer long_description {{Sstringified perl data structures, suitable for both printing and eval}} version 2.121 categories perl revision 0 p5-data-hexify 389 @@ -5533,7 +5533,7 @@ p5-datetime-locale 694 variants universal portdir perl/p5-datetime-locale description {Localization support for DateTime} homepage http://search.cpan.org/dist/DateTime-Locale/ epoch 1 platforms darwin name p5-datetime-locale depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-list-moreutils port:p5-params-validate port:p5-module-build} maintainers {narf_tm openmaintainer} long_description {DateTime::Locale is primarily a factory for the various locale subclasses. It also provides some functions for getting information on available locales. If you want to know what methods are available for locale objects, then please read the DateTime::Locale::Base documentation.} version 0.41 categories perl revision 0 p5-datetime-timezone 618 -variants universal portdir perl/p5-datetime-timezone description {Time zone object base class and factory} homepage http://search.cpan.org/dist/DateTime-TimeZone/ epoch 1 platforms darwin name p5-datetime-timezone depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-params-validate port:p5-class-singleton port:p5-module-build} maintainers {narf_tm openmaintainer} long_description {This class is the base class for all time zone objects. A time zone is represented internally as a set of observances, each of which describes the offset from GMT for a given time period.} version 0.7902 categories perl revision 0 +variants universal portdir perl/p5-datetime-timezone description {Time zone object base class and factory} homepage http://search.cpan.org/dist/DateTime-TimeZone/ epoch 1 platforms darwin name p5-datetime-timezone depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-params-validate port:p5-class-singleton port:p5-module-build} maintainers {narf_tm openmaintainer} long_description {This class is the base class for all time zone objects. A time zone is represented internally as a set of observances, each of which describes the offset from GMT for a given time period.} version 0.7904 categories perl revision 0 p5-dbd-mysql 601 variants {universal mysql3 mysql4 mysql5} variant_desc {mysql3 {build with mysql3 port} mysql4 {build with mysql4 port} mysql5 {build with mysql5 port (default)}} portdir perl/p5-dbd-mysql description {Perl5 Database Interface to the MySQL database} homepage http://search.cpan.org/dist/DBD-mysql/ epoch 0 platforms darwin name p5-dbd-mysql depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-dbi port:zlib {path:\${prefix}/bin/mysql_config5:mysql5}} maintainers {narf_tm openmaintainer} long_description {{Perl5 Database Interface to the MySQL database}} version 4.007 categories perl revision 0 p5-dbd-pg 744 @@ -5881,7 +5881,7 @@ p5-log-dispatch 424 variants universal portdir perl/p5-log-dispatch description {Dispatches messages to one or more outputs} homepage http://search.cpan.org/dist/Log-Dispatch/ epoch 0 platforms darwin name p5-log-dispatch depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-params-validate port:p5-test-simple} maintainers nomaintainer long_description {{Dispatches messages to one or more outputs}} version 2.21 categories perl revision 0 p5-log-log4perl 523 -variants universal portdir perl/p5-log-log4perl description {Log4j implementation for Perl} homepage http://search.cpan.org/dist/Log-Log4perl/ epoch 0 platforms darwin name p5-log-log4perl depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers {narf_tm openmaintainer} long_description {Log::Log4perl lets you remote-control and fine-tune the logging behaviour of your system from the outside. It implements the widely popular (Java-based) Log4j logging package in pure Perl.} version 1.17 categories perl revision 0 +variants universal portdir perl/p5-log-log4perl description {Log4j implementation for Perl} homepage http://search.cpan.org/dist/Log-Log4perl/ epoch 0 platforms darwin name p5-log-log4perl depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers {narf_tm openmaintainer} long_description {Log::Log4perl lets you remote-control and fine-tune the logging behaviour of your system from the outside. It implements the widely popular (Java-based) Log4j logging package in pure Perl.} version 1.18 categories perl revision 0 p5-lwp-authen-wsse 797 variants universal portdir perl/p5-lwp-authen-wsse description {Library for enabling X-WSSE authentication in LWP.} homepage http://search.cpan.org/dist/LWP-Authen-Wsse/ epoch 0 platforms darwin name p5-lwp-authen-wsse depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-digest-sha1 port:p5-libwww-perl} maintainers ryan at cyberscript.net long_description {LWP::Authen::Wsse allows LWP to authenticate against servers that are using the X-WSSE authentication scheme, as required by the Atom Authentication API. The module is used indirectly through LWP, rather than including it directly in your code. The LWP system will invoke the WSSE authentication when it encounters the authentication scheme while attempting to retrieve a URL from a server.} version 0.04 categories {perl www} revision 0 p5-mac-appleevents-simple 589 @@ -6291,7 +6291,7 @@ p5-text-reform 367 variants universal portdir perl/p5-text-reform description {Manual text wrapping and reformatting} homepage http://search.cpan.org/dist/Text-Reform/ epoch 0 platforms darwin name p5-text-reform depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers nomaintainer long_description {{Manual text wrapping and reformatting}} version 1.11 categories perl revision 0 p5-text-simpletable 417 -variants universal portdir perl/p5-text-simpletable description {Simple Eyecandy ASCII Tables} homepage http://search.cpan.org/dist/Text-SimpleTable/ epoch 0 platforms darwin name p5-text-simpletable depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-module-build} maintainers {narf_tm openmaintainer} long_description {Simple eyecandy ASCII tables, as seen in Catalyst.} version 0.03 categories perl revision 0 +variants universal portdir perl/p5-text-simpletable description {Simple Eyecandy ASCII Tables} homepage http://search.cpan.org/dist/Text-SimpleTable/ epoch 0 platforms darwin name p5-text-simpletable depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-module-build} maintainers {narf_tm openmaintainer} long_description {Simple eyecandy ASCII tables, as seen in Catalyst.} version 0.05 categories perl revision 0 p5-text-tabsxwrap 385 variants universal portdir perl/p5-text-tabsxwrap description {Line wrapping to form simple paragraphs} homepage http://search.cpan.org/dist/Text-Tabs+Wrap/ epoch 0 platforms darwin name p5-text-tabsxwrap depends_lib {{path:\${prefix}/bin/perl:perl5.8}} maintainers nomaintainer long_description {{Line wrapping to form simple paragraphs}} version 2006.0711 categories perl revision 0 p5-text-template 377 @@ -8114,8 +8114,8 @@ variants universal description {Verilog preprocessor} portdir science/vbpp homepage http://www.flex.com/~jching/ epoch 0 platforms darwin name vbpp long_description {VBPP is a Verilog preprocessor. It has support for most Verilog preprocessing directives and additional directives.} maintainers nomaintainer categories science version 1.1.0 revision 0 vbs 609 variants universal description {Verilog Behavioral Simulator} portdir science/vbs homepage http://www.flex.com/~jching/ epoch 0 platforms darwin name vbs long_description {This is the public release of the Verilog Behavioral Simulator. Verilog is a Hardware Description Language used mostly for digital circuit design and simulation. This program is a simple implementation of a Verilog simulator. VBS tries to implement all of the Verilog behavioral constructs that are synthesizable, but still allow complex test vectors for simulation.} maintainers nomaintainer categories science version 1.4.0 revision 0 -veriwell 541 -variants universal portdir science/veriwell description {VeriWell Verilog Simulator} homepage http://sourceforge.net/projects/veriwell epoch 0 platforms darwin name veriwell depends_lib port:help2man maintainers nomaintainer long_description {VeriWell is a full Verilog simulator. It supports nearly all of the IEEE1364-1995 standard, as well as PLI 1.0. Yes, VeriWell *is* the same simulator that was sold by Wellspring Solutions in the mid-1990 and was included with the Thomas and Moorby book} version 2.8.5 categories science revision 0 +veriwell 592 +variants universal depends_build port:help2man portdir science/veriwell description {VeriWell Verilog Simulator} homepage http://sourceforge.net/projects/veriwell epoch 0 platforms darwin depends_lib {port:bzip2 port:readline port:zlib} name veriwell maintainers nomaintainer long_description {VeriWell is a full Verilog simulator. It supports nearly all of the IEEE1364-1995 standard, as well as PLI 1.0. Yes, VeriWell *is* the same simulator that was sold by Wellspring Solutions in the mid-1990 and was included with the Thomas and Moorby book} version 2.8.6 categories science revision 0 wview 1277 variants {universal env mysql5 pgresql vpro wxt510 ws2300 wmr918 sim http} variant_desc {env { Install config files and templates (first time install) } mysql5 { Includes mySQL5 database support } pgresql { Includes Postgresql database support } vpro { Support for Davis Vantage Pro WX Station } wxt510 { Support for Vaisala WXT-510 WX Station } ws2300 { Support for the La Crosse WS-2300 series stations } wmr918 { Support for the for the Oregon Scientific WMR918/968 WX Station} sim { Support for the Simulated WX Station } http { Enable support for uploading data to Weather Underground }} portdir science/wview description {Daemons that download and archive data from supported weather stations} homepage http://wviewweather.com/ epoch 0 platforms darwin name wview depends_lib {port:gd2 port:radlib} maintainers mac.com:mbrooksclark long_description {wview is a unix application for weather stations. It archives weather data from the station. Generates full html web sites with graph ics. ftp/ssh export capability. MySQL/PostgreSQL archiving. International. Weather alarms. Data feed. RSS feed. Stations currently supported include: Davis Vantage Pro/Pro2, Vaisala WXT-510, La Crosse WS-2300, and a weather station simulator.} version 4.0.1 categories science revision 0 xastir 399 @@ -8900,8 +8900,8 @@ variants universal description {Free Implementation of the Unicode BiDi algorithm} portdir textproc/fribidi homepage http://fribidi.org/ epoch 0 platforms darwin name fribidi long_description {The FriBidi library implements the algorithm described in the {"Unicode} Standard Annex #9, The Bidirectional Algorithm\", available at http://www.unicode.org/unicode/reports/tr9/.} maintainers nomaintainer categories textproc version 0.10.9 revision 0 glark 489 variants universal description {Search text files for complex regular expressions} portdir textproc/glark homepage http://glark.sourceforge.net epoch 0 platforms darwin name glark long_description {A replacement for (or supplement to) the grep family, glark offers: Perl/Ruby regular expressions, highlighting of matches, complex expressions (``and'' and ``or''), and automatic exclusion of non-text files.} maintainers mich at freebsdcluster.org categories textproc version 1.6.5 revision 1 -glimpse 304 -portdir textproc/glimpse variants {universal darwin_6} description {A text search engine. Free for personal use.} name glimpse version 4.18.5 categories textproc revision 0 epoch 0 maintainers nomaintainer long_description {A text search engine. Free for personal use. Required for use with Webglimpse.} +glimpse 353 +variants {universal darwin_6} description {A text search engine. Free for personal use.} portdir textproc/glimpse homepage http://webglimpse.net/ epoch 0 platforms darwin name glimpse long_description {A text search engine. Free for personal use. Required for use with Webglimpse.} maintainers nomaintainer categories textproc version 4.18.5 revision 0 gpsbabel 593 variants universal portdir textproc/gpsbabel description {GPSBabel converts/uploads GPS waypoints, tracks, and routes} homepage http://www.gpsbabel.org/ epoch 0 platforms darwin name gpsbabel depends_lib {port:expat port:libusb} maintainers macports at michael-behrendt.net long_description {GPSBabel converts GPS waypoints, tracks, and routes from one format to another, whether that format is a common mapping format like Delorme, Streets and Trips, or even a serial upload or download to a GPS unit such as those from Garmin and Magellan.} version 1.3.5 categories {textproc comms} revision 0 grc 508 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/60486dea/attachment-0001.html From ryandesign at macports.org Mon Sep 1 02:11:34 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 02:11:34 -0700 (PDT) Subject: [39717] trunk/dports/textproc/glimpse/Portfile Message-ID: <20080901091134.852992E4147@beta.macosforge.org> Revision: 39717 http://trac.macosforge.org/projects/macports/changeset/39717 Author: ryandesign at macports.org Date: 2008-09-01 02:11:32 -0700 (Mon, 01 Sep 2008) Log Message: ----------- glimpse: fix checksum error by changing download location to one that still has the old correct distfile. (The file on the homepage has been hacked.) Hopefully this will also fetch the right distfile to our mirror. Changing the dist_subdir so that anyone who still had the pre-r26131 distfile won't get a checksum error. Closes #15703. Modified Paths: -------------- trunk/dports/textproc/glimpse/Portfile Modified: trunk/dports/textproc/glimpse/Portfile =================================================================== --- trunk/dports/textproc/glimpse/Portfile 2008-09-01 07:56:24 UTC (rev 39716) +++ trunk/dports/textproc/glimpse/Portfile 2008-09-01 09:11:32 UTC (rev 39717) @@ -4,6 +4,8 @@ name glimpse version 4.18.5 +set distfile_date 20070118051535 +dist_subdir ${name}/${version}-${distfile_date} categories textproc platforms darwin maintainers nomaintainer @@ -12,7 +14,9 @@ Required for use with Webglimpse. checksums md5 10204ab813f3bbb558e22dedf19d1dfb homepage http://webglimpse.net/ -master_sites ${homepage}trial/ +master_sites http://distfiles.macports.org/${dist_subdir} \ + http://www.sfr-fresh.com/unix/www +# ${homepage}trial/ build.args LDFLAGS=-L${prefix}/lib destroot.destdir bindir=${destroot}${prefix}/bin \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/adaecc17/attachment.html From mww at macports.org Mon Sep 1 02:13:15 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 1 Sep 2008 02:13:15 -0700 (PDT) Subject: [39718] trunk/dports/databases Message-ID: <20080901091315.BA7972E41C4@beta.macosforge.org> Revision: 39718 http://trac.macosforge.org/projects/macports/changeset/39718 Author: mww at macports.org Date: 2008-09-01 02:13:15 -0700 (Mon, 01 Sep 2008) Log Message: ----------- version 3.6.2 Modified Paths: -------------- trunk/dports/databases/sqlite3/Portfile trunk/dports/databases/tcl-sqlite3/Portfile Modified: trunk/dports/databases/sqlite3/Portfile =================================================================== --- trunk/dports/databases/sqlite3/Portfile 2008-09-01 09:11:32 UTC (rev 39717) +++ trunk/dports/databases/sqlite3/Portfile 2008-09-01 09:13:15 UTC (rev 39718) @@ -3,7 +3,7 @@ PortSystem 1.0 name sqlite3 -version 3.6.1 +version 3.6.2 categories databases platforms darwin maintainers mww @@ -20,7 +20,7 @@ master_sites ${homepage} distname sqlite-${version} dist_subdir ${name}/${version} -checksums sha1 756f45e812a2063dacd947b9642fdb82301348fa +checksums sha1 5408632b484d8e471e4a323e9c98dcdc08504bda depends_build port:gawk port:gmake depends_lib port:readline Modified: trunk/dports/databases/tcl-sqlite3/Portfile =================================================================== --- trunk/dports/databases/tcl-sqlite3/Portfile 2008-09-01 09:11:32 UTC (rev 39717) +++ trunk/dports/databases/tcl-sqlite3/Portfile 2008-09-01 09:13:15 UTC (rev 39718) @@ -3,7 +3,7 @@ PortSystem 1.0 name tcl-sqlite3 -version 3.6.1 +version 3.6.2 categories databases platforms darwin maintainers mww @@ -19,8 +19,8 @@ homepage http://www.sqlite.org/ master_sites ${homepage} distname sqlite-${version} -dist_subdir ${name}/${version} -checksums sha1 756f45e812a2063dacd947b9642fdb82301348fa +dist_subdir sqlite3/${version} +checksums sha1 5408632b484d8e471e4a323e9c98dcdc08504bda depends_build port:gawk port:gmake depends_lib port:readline \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/ad9b113b/attachment.html From ryandesign at macports.org Mon Sep 1 02:24:07 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 02:24:07 -0700 (PDT) Subject: [39719] trunk/dports/textproc/libxslt/Portfile Message-ID: <20080901092407.925812E42A2@beta.macosforge.org> Revision: 39719 http://trac.macosforge.org/projects/macports/changeset/39719 Author: ryandesign at macports.org Date: 2008-09-01 02:24:06 -0700 (Mon, 01 Sep 2008) Log Message: ----------- libxslt: try MacPorts distfiles mirror first, to prevent download failures from xmlsoft.org which are apparently common; see #15651 Modified Paths: -------------- trunk/dports/textproc/libxslt/Portfile Modified: trunk/dports/textproc/libxslt/Portfile =================================================================== --- trunk/dports/textproc/libxslt/Portfile 2008-09-01 09:13:15 UTC (rev 39718) +++ trunk/dports/textproc/libxslt/Portfile 2008-09-01 09:24:06 UTC (rev 39719) @@ -18,7 +18,8 @@ functions and some of Saxon's evaluate and expressions extensions. homepage http://xmlsoft.org/XSLT/ -master_sites ftp://xmlsoft.org/libxslt/ \ +master_sites http://distfiles.macports.org/${dist_subdir} \ + ftp://xmlsoft.org/libxslt/ \ ftp://fr.rpmfind.net/pub/libxml/ \ ftp://gd.tuwien.ac.at/pub/libxml/ \ gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/6374d746/attachment.html From ryandesign at macports.org Mon Sep 1 02:47:15 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 02:47:15 -0700 (PDT) Subject: [39720] trunk/dports/science/cdf/Portfile Message-ID: <20080901094716.21DD02E4389@beta.macosforge.org> Revision: 39720 http://trac.macosforge.org/projects/macports/changeset/39720 Author: ryandesign at macports.org Date: 2008-09-01 02:47:14 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdf: add MacPorts distfiles mirror to fix fetch failure; closes #15251 (maintainer timeout) Modified Paths: -------------- trunk/dports/science/cdf/Portfile Modified: trunk/dports/science/cdf/Portfile =================================================================== --- trunk/dports/science/cdf/Portfile 2008-09-01 09:24:06 UTC (rev 39719) +++ trunk/dports/science/cdf/Portfile 2008-09-01 09:47:14 UTC (rev 39720) @@ -16,7 +16,8 @@ independent fashion. homepage http://cdf.gsfc.nasa.gov/ -master_sites ftp://cdaweb.gsfc.nasa.gov/pub/cdf/dist/${name}${version}/unix +master_sites http://distfiles.macports.org/${dist_subdir} \ + ftp://cdaweb.gsfc.nasa.gov/pub/cdf/dist/${name}${version}/unix distfiles ${name}${version}-dist-all${extract.suffix} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/761c0564/attachment.html From jmr at macports.org Mon Sep 1 03:07:38 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 1 Sep 2008 03:07:38 -0700 (PDT) Subject: [39721] trunk/dports/devel/macstl/Portfile Message-ID: <20080901100739.D8CB42E44B3@beta.macosforge.org> Revision: 39721 http://trac.macosforge.org/projects/macports/changeset/39721 Author: jmr at macports.org Date: 2008-09-01 03:07:38 -0700 (Mon, 01 Sep 2008) Log Message: ----------- macstl: direct xcode to the right project file on panther (#16429) Modified Paths: -------------- trunk/dports/devel/macstl/Portfile Modified: trunk/dports/devel/macstl/Portfile =================================================================== --- trunk/dports/devel/macstl/Portfile 2008-09-01 09:47:14 UTC (rev 39720) +++ trunk/dports/devel/macstl/Portfile 2008-09-01 10:07:38 UTC (rev 39721) @@ -47,3 +47,6 @@ } } +platform darwin 7 { + xcode.project macstl.xcode +} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/99ffe92c/attachment.html From ryandesign at macports.org Mon Sep 1 03:20:36 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 03:20:36 -0700 (PDT) Subject: [39722] trunk/dports/math/add/Portfile Message-ID: <20080901102036.AFDC12E457E@beta.macosforge.org> Revision: 39722 http://trac.macosforge.org/projects/macports/changeset/39722 Author: ryandesign at macports.org Date: 2008-09-01 03:20:35 -0700 (Mon, 01 Sep 2008) Log Message: ----------- add: update to 20070214, fixing checksum error reported in #14701 (maintainer timeout) Modified Paths: -------------- trunk/dports/math/add/Portfile Modified: trunk/dports/math/add/Portfile =================================================================== --- trunk/dports/math/add/Portfile 2008-09-01 10:07:38 UTC (rev 39721) +++ trunk/dports/math/add/Portfile 2008-09-01 10:20:35 UTC (rev 39722) @@ -3,7 +3,7 @@ PortSystem 1.0 name add -version 20021229 +version 20070214 categories math platforms darwin maintainers jmpp openmaintainer @@ -14,10 +14,12 @@ homepage http://dickey.his.com/add/ master_sites ftp://invisible-island.net/add/ -distfiles ${name}${extract.suffix} -checksums md5 3739f37731601cbbc608d89299be9a72 +extract.suffix .tgz +checksums md5 939091db5323c54b6bf65dd01885db9d \ + sha1 a8afdb2e83a69847c805e874ec30f9eb7edbb182 \ + rmd160 a860640c3054e4bc700ae74bea4a5f26e50932a9 -worksrcdir ${name}-t${version} +depends_lib port:ncurses configure.args --mandir=${prefix}/share/man -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/581a290d/attachment.html From jochen at macports.org Mon Sep 1 05:53:24 2008 From: jochen at macports.org (jochen at macports.org) Date: Mon, 1 Sep 2008 05:53:24 -0700 (PDT) Subject: [39723] trunk/dports/math/gsl/Portfile Message-ID: <20080901125325.192572E4A70@beta.macosforge.org> Revision: 39723 http://trac.macosforge.org/projects/macports/changeset/39723 Author: jochen at macports.org Date: 2008-09-01 05:53:23 -0700 (Mon, 01 Sep 2008) Log Message: ----------- only access ${prefix}/share/dir in post-activate Modified Paths: -------------- trunk/dports/math/gsl/Portfile Modified: trunk/dports/math/gsl/Portfile =================================================================== --- trunk/dports/math/gsl/Portfile 2008-09-01 10:20:35 UTC (rev 39722) +++ trunk/dports/math/gsl/Portfile 2008-09-01 12:53:23 UTC (rev 39723) @@ -39,7 +39,7 @@ test.run yes test.target check -post-install { +post-activate { system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir" } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/d5d4e91c/attachment-0001.html From jochen at macports.org Mon Sep 1 05:55:10 2008 From: jochen at macports.org (jochen at macports.org) Date: Mon, 1 Sep 2008 05:55:10 -0700 (PDT) Subject: [39724] trunk/dports/textproc/aspell/Portfile Message-ID: <20080901125510.B42082E4AE4@beta.macosforge.org> Revision: 39724 http://trac.macosforge.org/projects/macports/changeset/39724 Author: jochen at macports.org Date: 2008-09-01 05:55:09 -0700 (Mon, 01 Sep 2008) Log Message: ----------- only access ${prefix}/share/dir in post-activate -- closes #16434 Modified Paths: -------------- trunk/dports/textproc/aspell/Portfile Modified: trunk/dports/textproc/aspell/Portfile =================================================================== --- trunk/dports/textproc/aspell/Portfile 2008-09-01 12:53:23 UTC (rev 39723) +++ trunk/dports/textproc/aspell/Portfile 2008-09-01 12:55:09 UTC (rev 39724) @@ -38,10 +38,13 @@ post-destroot { file delete -force ${destroot}${prefix}/share/info/dir - system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell.info ${prefix}/share/info/dir" - system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell-dev.info ${prefix}/share/info/dir" } +post-activate { + system "${prefix}/bin/install-info ${prefix}/share/info/aspell.info ${prefix}/share/info/dir" + system "${prefix}/bin/install-info ${prefix}/share/info/aspell-dev.info ${prefix}/share/info/dir" +} + post-install { ui_msg "******************************************************************" ui_msg "You must install (at least) one of the language dictionaries after" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/b9ba3bcf/attachment.html From portindex at macports.org Mon Sep 1 12:56:58 2008 From: portindex at macports.org (portindex at macports.org) Date: Mon, 1 Sep 2008 12:56:58 -0700 (PDT) Subject: [39725] trunk/dports/PortIndex Message-ID: <20080901195659.A28522E5F55@beta.macosforge.org> Revision: 39725 http://trac.macosforge.org/projects/macports/changeset/39725 Author: portindex at macports.org Date: 2008-09-01 12:56:58 -0700 (Mon, 01 Sep 2008) Log Message: ----------- Total number of ports parsed: 5015 Ports successfully parsed: 5015 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-01 12:55:09 UTC (rev 39724) +++ trunk/dports/PortIndex 2008-09-01 19:56:58 UTC (rev 39725) @@ -731,11 +731,11 @@ sqlite2 629 variants universal portdir databases/sqlite2 description {an embedded SQL database engine} homepage http://www.sqlite.org/ epoch 0 platforms darwin name sqlite2 depends_lib port:readline maintainers nomaintainer long_description {SQLite is an SQL database engine in a C library. Programs that link the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library.} version 2.8.17 categories databases revision 0 sqlite3 761 -variants {universal loadable_extensions} depends_build {port:gawk port:gmake} variant_desc {loadable_extensions {Enables experimental loadable extensions}} portdir databases/sqlite3 description {an embedded SQL database engine} homepage http://www.sqlite.org/ epoch 0 platforms darwin depends_lib port:readline name sqlite3 maintainers mww long_description {SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.} categories databases version 3.6.1 revision 0 +variants {universal loadable_extensions} depends_build {port:gawk port:gmake} variant_desc {loadable_extensions {Enables experimental loadable extensions}} portdir databases/sqlite3 description {an embedded SQL database engine} homepage http://www.sqlite.org/ epoch 0 platforms darwin depends_lib port:readline name sqlite3 maintainers mww long_description {SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.} categories databases version 3.6.2 revision 0 sqliteman 487 variants universal depends_build port:cmake portdir databases/sqliteman description {GUI tool for Sqlite3} homepage http://www.sqliteman.com/ epoch 0 platforms darwin depends_lib {port:sqlite3 port:qt4-mac} name sqliteman long_description {The best developer's and/or admin's GUI tool for Sqlite3 in the world. No joking here (or just a bit only) - it contains the most complete feature set of all tools available.} maintainers nomaintainer version 1.0.1 categories databases revision 0 tcl-sqlite3 714 -variants universal depends_build {port:gawk port:gmake} portdir databases/tcl-sqlite3 description {Tcl bindings for SQLite3} homepage http://www.sqlite.org/ epoch 0 platforms darwin depends_lib {port:readline port:sqlite3 port:tcl} name tcl-sqlite3 maintainers mww long_description {{Tcl bindings for SQLite3.} SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.} version 3.6.1 categories databases revision 0 +variants universal depends_build {port:gawk port:gmake} portdir databases/tcl-sqlite3 description {Tcl bindings for SQLite3} homepage http://www.sqlite.org/ epoch 0 platforms darwin depends_lib {port:readline port:sqlite3 port:tcl} name tcl-sqlite3 maintainers mww long_description {{Tcl bindings for SQLite3.} SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.} version 3.6.2 categories databases revision 0 tdb 504 variants {universal darwin} description {TDB is a Trivial Database} portdir databases/tdb homepage http://sourceforge.net/projects/tdb/ epoch 0 platforms darwin name tdb long_description {TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small.} maintainers {simon openmaintainer} categories databases version 1.0.6 revision 0 tinycdb 391 @@ -1446,8 +1446,8 @@ variants universal description {Real-time data compression library} portdir devel/lzo homepage http://www.oberhumer.com/opensource/lzo/ epoch 0 platforms darwin name lzo long_description {LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and very fast decompression. Decompression requires no memory. In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed. LZO is distributed under the GNU General Public License.} maintainers blb at macports.org categories {devel compression} version 1.08 revision 0 m4 651 variants {universal with_default_names} description {GNU macro processor} portdir devel/m4 homepage http://www.gnu.org/software/m4/ epoch 0 platforms darwin name m4 long_description {GNU `m4' is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible, although it has some extensions (for example, handling more than 9 positional parameters to macros). `m4' also has built-in functions for including files, running shell commands, doing arithmetic, etc. Autoconf needs GNU `m4' for generating `configure' scripts, but not for running them.} maintainers {blair openmaintainer} categories devel version 1.4.11 revision 0 -macstl 420 -variants universal description {C++ header library} portdir devel/macstl homepage http://www.pixelglow.com/macstl/ epoch 0 platforms macosx name macstl long_description {The C++ header library designed to bring the Macintosh into the world of modern generic programming, and deliver the surprising speed of SIMD in an intuitive cross-platform package.} maintainers nomaintainer version 0.3.1 categories devel revision 0 +macstl 431 +variants {universal darwin_7} description {C++ header library} portdir devel/macstl homepage http://www.pixelglow.com/macstl/ epoch 0 platforms macosx name macstl long_description {The C++ header library designed to bring the Macintosh into the world of modern generic programming, and deliver the surprising speed of SIMD in an intuitive cross-platform package.} maintainers nomaintainer version 0.3.1 categories devel revision 0 mcpp 789 variants {universal mcpplib} description {Alternative C/C++ preprocessor} portdir devel/mcpp homepage http://mcpp.sourceforge.net/ epoch 0 platforms darwin name mcpp long_description {C/C++ preprocessor defines and expands macros and processes '#if', '#include' and some other directives. MCPP is an alternative C/C++ preprocessor with the highest conformance. It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98. MCPP is especially useful for debugging a source program which uses complicated macros and also useful for checking portability of a source. Though mcpp could be built as a replacement of GCC's resident proprocessor, this port installs a program which behaves independent from GCC.} maintainers t3.rim.or.jp:kmatsui categories devel version 2.7.1 revision 0 mercurial 1087 @@ -4098,8 +4098,8 @@ variants {universal darwin_8} description {renders ASCII art from mathematical expressions} portdir math/aamath homepage http://fuse.superglue.se/aamath/ epoch 0 platforms darwin name aamath long_description {Aamath is a program that reads mathematical expressions in infix notation and renders them as ASCII art. It may be useful to send mathematics through text-only media, such as e-mail or newsgroups.} maintainers nomaintainer categories {math textproc} version 0.3 revision 0 acl2 986 variants {universal openmcl certify regression nonstd} portdir math/acl2 description {Applicative Common Lisp / A Computational Logic} homepage http://www.cs.utexas.edu/users/moore/acl2/v3-2 epoch 0 depends_run port:sbcl platforms darwin name acl2 maintainers gwright at macports.org long_description {ACL2 (Applicative Common Lisp / A Computational Logic) is the successor to nqthm, the Boyer-Moore theorem prover. ACL2 can be used to automatically or semi-automatically prove theorems and has been used extensively in real applications (e.g., proving the correctness of certain calculations in the floating point unit of the AMD K5 microprocessor. ACL2 is a very large, multipurpose system. You can use it as a programming language, a specification language, a modeling language, a formal mathematical logic, or a semi-automatic theorem prover. Because the meta-language is the same as the language (a subset of Common Lisp), it is very flexible.} version 3.2 categories math revision 0 -add 398 -variants universal description {Fixed-point, full screen calculator.} portdir math/add homepage http://dickey.his.com/add/ epoch 0 platforms darwin name add long_description {add is a fixed-point calculator that operates as a full-screen editor. It is designed for use as a checkbook or expense-account balancing tool.} maintainers {jmpp openmaintainer} categories math version 20021229 revision 0 +add 423 +variants universal portdir math/add description {Fixed-point, full screen calculator.} homepage http://dickey.his.com/add/ epoch 0 platforms darwin name add depends_lib port:ncurses maintainers {jmpp openmaintainer} long_description {add is a fixed-point calculator that operates as a full-screen editor. It is designed for use as a checkbook or expense-account balancing tool.} version 20070214 categories math revision 0 algae 337 variants universal portdir math/algae description {A programming language for numerical analysis} homepage http://algae.sourceforge.net/ epoch 0 platforms darwin name algae depends_lib port:gcc34 maintainers nomaintainer long_description {Algae is a programming language for numerical analysis.} version 4.3.6 categories math revision 0 arpack 578 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/aa7b9570/attachment.html From ram at macports.org Mon Sep 1 13:04:53 2008 From: ram at macports.org (ram at macports.org) Date: Mon, 1 Sep 2008 13:04:53 -0700 (PDT) Subject: [39726] trunk/dports/devel Message-ID: <20080901200453.E85A82E6041@beta.macosforge.org> Revision: 39726 http://trac.macosforge.org/projects/macports/changeset/39726 Author: ram at macports.org Date: 2008-09-01 13:04:52 -0700 (Mon, 01 Sep 2008) Log Message: ----------- devel/bzr-svn: new port Added Paths: ----------- trunk/dports/devel/bzr-svn/ trunk/dports/devel/bzr-svn/Portfile Added: trunk/dports/devel/bzr-svn/Portfile =================================================================== --- trunk/dports/devel/bzr-svn/Portfile (rev 0) +++ trunk/dports/devel/bzr-svn/Portfile 2008-09-01 20:04:52 UTC (rev 39726) @@ -0,0 +1,31 @@ +# $Id$ + +PortSystem 1.0 +PortGroup python25 1.0 + +name bzr-svn +version 0.4.12 +categories devel python +platforms darwin +maintainers ram openmaintainer + +description Plugin that allows direct access to Subversion repositories +long_descriptions A bzr plugin that allows most bzr commands to work \ + directly against Subversion repositories, as if you were using bzr \ + with a native bzr repository. The plugin can at the moment be used to \ + commit to, pull from, merge from, push to and view logs of Subversion \ + branches from Bazaar. + +homepage http://bazaar-vcs.org/BzrForeignBranches/Subversion +master_sites http://samba.org/~jelmer/bzr + +checksums md5 25e26b5c400bbab760791882155ea535 \ + sha1 fd785e2f87f326dc8f37a50ec13582583df08b3f \ + rmd160 9b697ed178928e447c7ba04d33d5e49462fd52f3 + +depends_lib-append port:bzr \ + port:bzr-rebase \ + port:subversion \ + port:py25-sqlite3 + +universal_variant no Property changes on: trunk/dports/devel/bzr-svn/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/87196f4c/attachment.html From noreply at macports.org Mon Sep 1 13:16:56 2008 From: noreply at macports.org (MacPorts) Date: Mon, 01 Sep 2008 20:16:56 -0000 Subject: [MacPorts] ram modified Message-ID: <20080901201656.35C1C2808C@relay14.apple.com> Changed page "ram" by ram at macports.org from 67.53.238.179* Page URL: Diff URL: Revision 25 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: ram ========================================================================= --- ram (version: 24) +++ ram (version: 25) @@ -14,6 +14,7 @@ * [source:trunk/dports/devel/bzr devel/bzr] * [source:trunk/dports/devel/bzr-gtk devel/bzr-gtk] * [source:trunk/dports/devel/bzr-rebase devel/bzr-rebase] + * [source:trunk/dports/devel/bzr-svn devel/bzr-svn] * [source:trunk/dports/devel/bzrtools devel/bzrtools] * [source:trunk/dports/devel/gc-utils devel/gc-utils] * [source:trunk/dports/graphics/plotutils graphics/plotutils] -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user or the server is behind a proxy. -- MacPorts Ports system for Mac OS This is an automated message. Someone at http://www.macports.org/ added your email address to be notified of changes on ram. If it was not you, please report to . From ram at macports.org Mon Sep 1 13:20:56 2008 From: ram at macports.org (ram at macports.org) Date: Mon, 1 Sep 2008 13:20:56 -0700 (PDT) Subject: [39727] trunk/dports/devel/bzr-svn/Portfile Message-ID: <20080901202057.4E1F52E6100@beta.macosforge.org> Revision: 39727 http://trac.macosforge.org/projects/macports/changeset/39727 Author: ram at macports.org Date: 2008-09-01 13:20:56 -0700 (Mon, 01 Sep 2008) Log Message: ----------- devel/bzr-svn: fix typo Modified Paths: -------------- trunk/dports/devel/bzr-svn/Portfile Modified: trunk/dports/devel/bzr-svn/Portfile =================================================================== --- trunk/dports/devel/bzr-svn/Portfile 2008-09-01 20:04:52 UTC (rev 39726) +++ trunk/dports/devel/bzr-svn/Portfile 2008-09-01 20:20:56 UTC (rev 39727) @@ -10,7 +10,7 @@ maintainers ram openmaintainer description Plugin that allows direct access to Subversion repositories -long_descriptions A bzr plugin that allows most bzr commands to work \ +long_description A bzr plugin that allows most bzr commands to work \ directly against Subversion repositories, as if you were using bzr \ with a native bzr repository. The plugin can at the moment be used to \ commit to, pull from, merge from, push to and view logs of Subversion \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/24908604/attachment.html From ryandesign at macports.org Mon Sep 1 13:41:31 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 13:41:31 -0700 Subject: propchange - r39654 svn:log Message-ID: <20080901204132.0AA652808C@relay14.apple.com> Author: ryandesign at macports.org (original author: erickt at macports.org) Revision: 39654 Property Name: svn:log @@ -1 +1,3 @@ Version bump for mercurial to 1.0.2 (see #16308). + +Changes to python30 and py30-hashlib were not intentional and were reverted in r39662. From ryandesign at macports.org Mon Sep 1 13:41:51 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 13:41:51 -0700 Subject: propchange - r39662 svn:log Message-ID: <20080901204151.1B76628085@relay13.apple.com> Author: ryandesign at macports.org (original author: erickt at macports.org) Revision: 39662 Property Name: svn:log @@ -1 +1 @@ -Revert python30 and py30-hashlib back to 3.0b3 +Revert python30 and py30-hashlib back to 3.0b3 (undoing inadvertend changes made in r39654) From ryandesign at macports.org Mon Sep 1 13:54:59 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 13:54:59 -0700 Subject: propchange - r39662 svn:log Message-ID: <20080901205459.5832F28084@relay11.apple.com> Author: ryandesign at macports.org (original author: erickt at macports.org) Revision: 39662 Property Name: svn:log @@ -1 +1 @@ -Revert python30 and py30-hashlib back to 3.0b3 (undoing inadvertend changes made in r39654) +Revert python30 and py30-hashlib back to 3.0b3 (undoing inadvertent changes made in r39654) From ryandesign at macports.org Mon Sep 1 14:25:55 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 14:25:55 -0700 (PDT) Subject: [39728] trunk/dports/net Message-ID: <20080901212555.5A7682E6732@beta.macosforge.org> Revision: 39728 http://trac.macosforge.org/projects/macports/changeset/39728 Author: ryandesign at macports.org Date: 2008-09-01 14:25:54 -0700 (Mon, 01 Sep 2008) Log Message: ----------- curl, curl-ca-bundle: update to 7.19.0 Modified Paths: -------------- trunk/dports/net/curl/Portfile trunk/dports/net/curl-ca-bundle/Portfile Modified: trunk/dports/net/curl/Portfile =================================================================== --- trunk/dports/net/curl/Portfile 2008-09-01 20:20:56 UTC (rev 39727) +++ trunk/dports/net/curl/Portfile 2008-09-01 21:25:54 UTC (rev 39728) @@ -4,7 +4,7 @@ name curl # keep the version in sync with the curl-ca-bundle port -version 7.18.2 +version 7.19.0 categories net www maintainers ryandesign homepage http://curl.haxx.se/ @@ -31,9 +31,9 @@ http://www.execve.net/curl/ checksums \ - md5 c389be5b0525276e58865956b7465562 \ - sha1 0a4d6878d6be22bb2d701a6cf9bf665f66fc8b87 \ - rmd160 d82bcdcdbc18d44a833f8824555ded09b03cd859 + md5 c299c5e0f20f633791b4c4f7ced4effe \ + sha1 fffb34be2e3c66e58a5d3daaf8aa38cae33b284f \ + rmd160 2849e82496eb19bd75792d64f42eaa196e1ebac3 configure.args \ --disable-ipv6 \ Modified: trunk/dports/net/curl-ca-bundle/Portfile =================================================================== --- trunk/dports/net/curl-ca-bundle/Portfile 2008-09-01 20:20:56 UTC (rev 39727) +++ trunk/dports/net/curl-ca-bundle/Portfile 2008-09-01 21:25:54 UTC (rev 39728) @@ -4,8 +4,7 @@ name curl-ca-bundle # keep the version in sync with the curl port -version 7.18.2 -revision 1 +version 7.19.0 set curl_name curl categories net maintainers ryandesign @@ -52,9 +51,9 @@ checksums \ ${curl_source} \ - md5 c389be5b0525276e58865956b7465562 \ - sha1 0a4d6878d6be22bb2d701a6cf9bf665f66fc8b87 \ - rmd160 d82bcdcdbc18d44a833f8824555ded09b03cd859 \ + md5 c299c5e0f20f633791b4c4f7ced4effe \ + sha1 fffb34be2e3c66e58a5d3daaf8aa38cae33b284f \ + rmd160 2849e82496eb19bd75792d64f42eaa196e1ebac3 \ ${certdata_distfile} \ md5 e3fe9f08888c395266ba26adef3928a2 \ sha1 5193599927939deb2217e9b7f34329def8cd2735 \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/c40b8aa4/attachment.html From ryandesign at macports.org Mon Sep 1 15:14:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 15:14:56 -0700 (PDT) Subject: [39729] trunk/dports/sysutils Message-ID: <20080901221456.9FC022E780A@beta.macosforge.org> Revision: 39729 http://trac.macosforge.org/projects/macports/changeset/39729 Author: ryandesign at macports.org Date: 2008-09-01 15:14:55 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdargs: new port, version 1.35; from #16420 Added Paths: ----------- trunk/dports/sysutils/cdargs/ trunk/dports/sysutils/cdargs/Portfile Added: trunk/dports/sysutils/cdargs/Portfile =================================================================== --- trunk/dports/sysutils/cdargs/Portfile (rev 0) +++ trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:14:55 UTC (rev 39729) @@ -0,0 +1,40 @@ +# $Id$ + +PortSystem 1.0 + +name cdargs +version 1.35 +categories sysutils +maintainers reg.macports at entropy.ch +description Bookmarks for the shell +long_description \ + CDargs heavily enhances the navigation of the common unix \ + file-system inside the shell. It plugs into the shell built-in \ + cd-command (via a shell function or an alias) and thus adds \ + bookmarks and a browser to it. It enables you to move to a very \ + distant place in the file-system with just a few keystrokes. \ + This is the kind of thing that power shell users invent when even \ + the almighty and wonderful TAB-completion is too much typing. \ + \ + Note that you should source the ${prefix}/etc/profile.d/cdargs-bash.sh \ + file in your shell's startup script file. + +homepage http://www.skamphausen.de/cgi-bin/ska/CDargs + +platforms darwin + +master_sites http://www.skamphausen.de/downloads/cdargs/ + +checksums md5 50be618d67f0b9f2439526193c69c567 \ + sha1 20017d09d3259fcd1385754554a3e17a1c975f9b \ + rmd160 44cbe35281ab29fa48149792c34afa61d117e33d + +configure.args --prefix=${prefix} \ + --mandir=${prefix}/share/man + +post-destroot { + # Install helper files not installed by the Makefile + file mkdir ${destroot}${prefix}/etc/profile.d + file copy ${worksrcpath}/contrib/cdargs-bash.sh ${destroot}${prefix}/etc/profile.d + file copy ${worksrcpath}/contrib/cdargs-tcsh.csh ${destroot}${prefix}/etc/profile.d +} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/f48ce257/attachment.html From simon at macports.org Mon Sep 1 15:21:31 2008 From: simon at macports.org (simon at macports.org) Date: Mon, 1 Sep 2008 15:21:31 -0700 (PDT) Subject: [39730] trunk/dports/net/finch/Portfile Message-ID: <20080901222131.BBDC92E78C1@beta.macosforge.org> Revision: 39730 http://trac.macosforge.org/projects/macports/changeset/39730 Author: simon at macports.org Date: 2008-09-01 15:21:30 -0700 (Mon, 01 Sep 2008) Log Message: ----------- net/finch: Updated to 2.5.1. Modified Paths: -------------- trunk/dports/net/finch/Portfile Modified: trunk/dports/net/finch/Portfile =================================================================== --- trunk/dports/net/finch/Portfile 2008-09-01 22:14:55 UTC (rev 39729) +++ trunk/dports/net/finch/Portfile 2008-09-01 22:21:30 UTC (rev 39730) @@ -3,7 +3,7 @@ PortSystem 1.0 name finch -version 2.5.0 +version 2.5.1 categories net platforms darwin maintainers simon openmaintainer @@ -18,9 +18,9 @@ homepage http://www.pidgin.im/ master_sites sourceforge:pidgin -checksums md5 71df6633794de30e57827848cfb61996 \ - sha1 5e05c9e795fde0055c99eb288e63f9ad0e1973c4 \ - rmd160 a600c16c6b7037ba2568ea956fd730c3b9cb8479 +checksums md5 f76c269c02fafee9b45cc2a50b43b1f3 \ + sha1 8b7be1be4d549d9c0e34c820c8a285aab5e116d7 \ + rmd160 d9f927db55ecc55a2e66b064612774575b82b062 distname pidgin-${version} use_bzip2 yes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/fc285bf8/attachment.html From ryandesign at macports.org Mon Sep 1 15:21:36 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 15:21:36 -0700 (PDT) Subject: [39731] trunk/dports/sysutils/cdargs/Portfile Message-ID: <20080901222136.DFE492E7933@beta.macosforge.org> Revision: 39731 http://trac.macosforge.org/projects/macports/changeset/39731 Author: ryandesign at macports.org Date: 2008-09-01 15:21:35 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdargs: fix livecheck Modified Paths: -------------- trunk/dports/sysutils/cdargs/Portfile Modified: trunk/dports/sysutils/cdargs/Portfile =================================================================== --- trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:21:30 UTC (rev 39730) +++ trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:21:35 UTC (rev 39731) @@ -38,3 +38,6 @@ file copy ${worksrcpath}/contrib/cdargs-bash.sh ${destroot}${prefix}/etc/profile.d file copy ${worksrcpath}/contrib/cdargs-tcsh.csh ${destroot}${prefix}/etc/profile.d } + +livecheck.url [lindex ${master_sites} 0]?N=D +livecheck.regex ${name}-(\[0-9.\]+)\\.tar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/c601bf7f/attachment.html From simon at macports.org Mon Sep 1 15:22:21 2008 From: simon at macports.org (simon at macports.org) Date: Mon, 1 Sep 2008 15:22:21 -0700 (PDT) Subject: [39732] trunk/dports/net/pidgin/Portfile Message-ID: <20080901222221.E20192E79FC@beta.macosforge.org> Revision: 39732 http://trac.macosforge.org/projects/macports/changeset/39732 Author: simon at macports.org Date: 2008-09-01 15:22:21 -0700 (Mon, 01 Sep 2008) Log Message: ----------- net/pidgin: Updated to 2.5.1. Modified Paths: -------------- trunk/dports/net/pidgin/Portfile Modified: trunk/dports/net/pidgin/Portfile =================================================================== --- trunk/dports/net/pidgin/Portfile 2008-09-01 22:21:35 UTC (rev 39731) +++ trunk/dports/net/pidgin/Portfile 2008-09-01 22:22:21 UTC (rev 39732) @@ -3,7 +3,7 @@ PortSystem 1.0 name pidgin -version 2.5.0 +version 2.5.1 categories net platforms darwin maintainers simon openmaintainer @@ -18,9 +18,9 @@ homepage http://www.pidgin.im/ master_sites sourceforge -checksums md5 71df6633794de30e57827848cfb61996 \ - sha1 5e05c9e795fde0055c99eb288e63f9ad0e1973c4 \ - rmd160 a600c16c6b7037ba2568ea956fd730c3b9cb8479 +checksums md5 f76c269c02fafee9b45cc2a50b43b1f3 \ + sha1 8b7be1be4d549d9c0e34c820c8a285aab5e116d7 \ + rmd160 d9f927db55ecc55a2e66b064612774575b82b062 use_bzip2 yes depends_lib port:audiofile \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/1481d06f/attachment.html From ryandesign at macports.org Mon Sep 1 15:28:23 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 15:28:23 -0700 (PDT) Subject: [39733] trunk/dports/sysutils/cdargs/Portfile Message-ID: <20080901222823.8CB852E7A8A@beta.macosforge.org> Revision: 39733 http://trac.macosforge.org/projects/macports/changeset/39733 Author: ryandesign at macports.org Date: 2008-09-01 15:28:22 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdargs: simplify destroot a little (use xinstall instead of file) Modified Paths: -------------- trunk/dports/sysutils/cdargs/Portfile Modified: trunk/dports/sysutils/cdargs/Portfile =================================================================== --- trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:22:21 UTC (rev 39732) +++ trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:28:22 UTC (rev 39733) @@ -34,9 +34,11 @@ post-destroot { # Install helper files not installed by the Makefile - file mkdir ${destroot}${prefix}/etc/profile.d - file copy ${worksrcpath}/contrib/cdargs-bash.sh ${destroot}${prefix}/etc/profile.d - file copy ${worksrcpath}/contrib/cdargs-tcsh.csh ${destroot}${prefix}/etc/profile.d + xinstall -d ${destroot}${prefix}/etc/profile.d + xinstall -m 644 -W ${worksrcpath}/contrib \ + cdargs-bash.sh \ + cdargs-tcsh.csh \ + ${destroot}${prefix}/etc/profile.d } livecheck.url [lindex ${master_sites} 0]?N=D -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/34a000e3/attachment.html From ryandesign at macports.org Mon Sep 1 15:33:09 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 15:33:09 -0700 (PDT) Subject: [39734] trunk/dports/sysutils/cdargs/Portfile Message-ID: <20080901223309.9FE0C2E7B21@beta.macosforge.org> Revision: 39734 http://trac.macosforge.org/projects/macports/changeset/39734 Author: ryandesign at macports.org Date: 2008-09-01 15:33:08 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdargs: remove --prefix=${prefix} from configure.args because MacPorts already puts that into configure.pre_args for you Modified Paths: -------------- trunk/dports/sysutils/cdargs/Portfile Modified: trunk/dports/sysutils/cdargs/Portfile =================================================================== --- trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:28:22 UTC (rev 39733) +++ trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:33:08 UTC (rev 39734) @@ -29,8 +29,7 @@ sha1 20017d09d3259fcd1385754554a3e17a1c975f9b \ rmd160 44cbe35281ab29fa48149792c34afa61d117e33d -configure.args --prefix=${prefix} \ - --mandir=${prefix}/share/man +configure.args --mandir=${prefix}/share/man post-destroot { # Install helper files not installed by the Makefile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/f16c5708/attachment-0001.html From armahg at macports.org Mon Sep 1 17:36:04 2008 From: armahg at macports.org (armahg at macports.org) Date: Mon, 1 Sep 2008 17:36:04 -0700 (PDT) Subject: [39735] branches/gsoc08-framework/MacPorts_Framework_Release Message-ID: <20080902003604.84EC72E81C4@beta.macosforge.org> Revision: 39735 http://trac.macosforge.org/projects/macports/changeset/39735 Author: armahg at macports.org Date: 2008-09-01 17:36:03 -0700 (Mon, 01 Sep 2008) Log Message: ----------- Reformated input for simplelog Tcl command. This will make it easier for MPNotifications to parse it and post approrpiate notification. Added notion of authorization modes (-setAuthorizationMode: and -authorizationMode methods) to MPMacPorts instance. This way, users can require port operations to either be run with authorization or not. Added a parentMacPortsSharedInstance ivar to MPPort. Future iterations might have a cleaner implementation but for now, it serves as the way for an MPPort instance to access its parent MPMacPorts instance Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperNotificationsProtocol.h branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.h branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj branches/gsoc08-framework/MacPorts_Framework_Release/interpInit.tcl Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperNotificationsProtocol.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperNotificationsProtocol.h 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperNotificationsProtocol.h 2008-09-02 00:36:03 UTC (rev 39735) @@ -178,5 +178,6 @@ // the details about how I achieve this. #define kServerSocketPath "/var/tmp/macports/org.macports.framework.ipc.socket" +#define MPSEPARATOR @"_&MP&_" #endif Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -812,52 +812,71 @@ { int returnCode = TCL_ERROR; - //int err; - //assert(logClient != NULL); + NSMutableString * data; -// ConnectionRef iConn; -// initIPC(iConn); - - //if(!globalConnInitialized){ -// initIPC(globalConn); -// globalConnInitialized = YES; -// } - - ++objv, --objc; if (objc) { + int tclCount; + int tclResult; + const char **tclElements; - const char * log = Tcl_GetString(*objv); - NSString * data = [NSString stringWithUTF8String:log]; - [ASLLogger logString:data]; - if (notifier != nil && [notifier connected]) { - if([notifier doShout:data]) - [ASLLogger logString:@"DoShout successful"]; - else - [ASLLogger logString:@"DoShout unsuccessful"]; - + + tclResult = Tcl_SplitList(interpreter, Tcl_GetString(*objv), &tclCount, &tclElements); + + + if (tclResult == TCL_OK) { + if (tclCount > 0) { + data = [NSMutableString stringWithUTF8String:tclElements[0]]; + [data appendString:MPSEPARATOR]; + + if(tclCount > 1 && tclElements[1]) { + [data appendString:[NSString stringWithUTF8String:tclElements[1]]]; + [data appendString:MPSEPARATOR]; + } + else { + [data appendString:@"None"]; + [data appendString:MPSEPARATOR]; + } + + if(tclCount > 2 && tclElements[2]) { + [data appendString:[NSString stringWithUTF8String:tclElements[2]]]; + [data appendString:MPSEPARATOR]; + } + else { + [data appendString:@"None"]; + [data appendString:MPSEPARATOR]; + } + } + else { + data = [NSMutableString stringWithFormat:@"None%@None%@None%@", MPSEPARATOR, MPSEPARATOR, MPSEPARATOR ]; + } } - else - [ASLLogger logString:[NSString stringWithFormat:@"notifier didn't connect has value %@", notifier]]; + } - //DoShout(iConn, log); + //Now get the actual message + ++objv; --objc; + if (objc) { + [data appendString:[NSString stringWithUTF8String:Tcl_GetString(*objv)]]; + } + else { + [data appendString:@"None"]; + } - //err = asl_NSLog(logClient , logMsg, ASL_LEVEL_INFO, @"MPHelperTool: %@ " , data); -// if (globalConn != NULL) { -// //DoShout(globalConn, log); -// } -// else { -// [ASLLogger logString:[NSString stringWithFormat:@"globalConn is NULL on message %@",log]]; -// } - //assert(err == 0); - returnCode = TCL_OK; - } + if (data != nil) { + //[ASLLogger logString:data]; + if (notifier != nil && [notifier connected]) { + if([notifier doShout:data]) { + returnCode = TCL_OK; + [ASLLogger logString:@"DoShout successful"]; + } + else + [ASLLogger logString:@"DoShout unsuccessful"]; + } + else + [ASLLogger logString:[NSString stringWithFormat:@"notifier didn't connect has value %@", notifier]]; + } - //ConnectionClose(iConn); - //DoQuit(iConn); - - //asl_close(logClient); return returnCode; } Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -17,9 +17,21 @@ } -(BOOL) installUninstallManipulation:(NSString *)portName; +-(BOOL) selfUpdate; @end @implementation PortManipulator +-(BOOL) selfUpdate { + NSError *err = nil; + [[MPMacPorts sharedInstance] selfUpdate:&err]; + + if( err != nil) { + NSLog(@"%@", [err description]); + return NO; + } + return YES; +} + -(BOOL) installUninstallManipulation:(NSString *)portName { BOOL ret = NO; @@ -92,8 +104,9 @@ @end int main(int argc, char const * argv[]) { - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + //NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + [[MPMacPorts sharedInstance] setAuthorizationMode:YES]; PortManipulator * pm = [[PortManipulator alloc] init]; @@ -104,12 +117,19 @@ NSLog(@"pngcrush INSTALLATION UNSUCCESSFUL"); } + if([pm selfUpdate]) { + NSLog(@"SELFUPDATE SUCCESSFUL"); + } + else { + NSLog(@"SELFUPDATE UNSUCCESSFUL"); + } + [pm release]; - [pool release]; + //[pool release]; return 0; } Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -80,7 +80,7 @@ if (tclResult == TCL_OK) { //I have sacrificed generality for simplicity in the code below - if (tclElements > 0) { + if (tclCount > 0) { [info setObject:[NSString stringWithUTF8String:tclElements[0]] forKey:MPCHANNEL]; if(tclElements[1]) @@ -116,7 +116,7 @@ //NSLog(@"Class type is %@", NSStringFromClass([[cmd objectAtIndex:0] class])); if( [[cmd objectAtIndex:0] isEqualToString:@"YES"]) { - [info setObject:[cmd objectAtIndex:1] forKey:@"Function"]; + [info setObject:[cmd objectAtIndex:1] forKey:MPMETHOD]; } } } Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h 2008-09-02 00:36:03 UTC (rev 39735) @@ -72,6 +72,7 @@ NSString *version; id macportsDelegate; + BOOL authorizationMode; } @@ -198,7 +199,25 @@ */ - (void)setDelegate:(id)delegate; +/*! + @brief Determines whether certain port operations require privileges before exection + @param mode A YES value will require privileges whereas a NO value will not require privileges. + @Discussion Use this method to indicate whether port operations should be + run with privilieges. The default behavior is to not run these port operations with + privileges. Operations affected by this setting include -sync, -selfUpdate, all variants + of the -exec method and all of MPPort's port manipulation methods. + */ +-(void) setAuthorizationMode:(BOOL)mode; +/*! Returns a BOOL that indicates whether or not port operations are to be run with privileges + @Discussion You can use this method in conjuction with -setAuthorizationMode: to set and unset + the authorization mode for this MPMacPorts object. A return value of YES means that the -sync, + -selfUpdate, all variants of the -exec method and all of MPPort's port manipulation methods + require privileges;a return value of NO indicates that they don't. + */ +-(BOOL) authorizationMode; + + //Notifications stuff for private use and testing purposes -(void)registerForLocalNotifications; -(void)respondToLocalNotification:(NSNotification *) notification; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -110,7 +110,10 @@ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_sync_Started" object:nil]; [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_sync"]; - result = [interpreter evaluateStringWithPossiblePrivileges:@"mportsync" error:sError]; + if ([self authorizationMode]) + result = [interpreter evaluateStringWithMPHelperTool:@"mportsync" error:sError]; + else + result = [interpreter evaluateStringWithPossiblePrivileges:@"mportsync" error:sError]; [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_sync_Finished" object:nil]; @@ -123,7 +126,10 @@ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_selfupdate_Started" object:nil]; [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_selfUpdate"]; - [interpreter evaluateStringWithPossiblePrivileges:@"macports::selfupdate" error:sError]; + if([self authorizationMode]) + [interpreter evaluateStringWithMPHelperTool:@"macports::selfupdate" error:sError]; + else + [interpreter evaluateStringWithPossiblePrivileges:@"macports::selfupdate" error:sError]; [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_selfupdate_Finished" object:nil]; @@ -230,6 +236,14 @@ return version; } +-(void) setAuthorizationMode:(BOOL)mode { + authorizationMode = mode; +} + +-(BOOL) authorizationMode { + return authorizationMode; +} + #pragma mark - #pragma mark Delegate Methods Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -810,7 +810,7 @@ CFIndex clientCount; CFIndex clientIndex; - fprintf(stderr, "%p: Shout \"%.*s\"\n", client, (int) sizeof(packet->fMessage), packet->fMessage); + //fprintf(stderr, "%p: Shout \"%.*s\"\n", client, (int) sizeof(packet->fMessage), packet->fMessage); NSString * shout = [NSString stringWithCString:packet->fMessage encoding:NSUTF8StringEncoding]; NSLog(@"CLIENT SHOUT BEING CALLED (YAAAY!!) : %@" , shout); @@ -913,7 +913,7 @@ //loop running. For now i'm not synchronizing variable access since the //worst that could happen is that the server is late in reading a chaged //value update - clientHasQuit = 1; + //clientHasQuit = 1; } return result; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.h 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.h 2008-09-02 00:36:03 UTC (rev 39735) @@ -48,6 +48,7 @@ + #define MPPortStateUnknown 0 #define MPPortStateLearnState 1 @@ -58,6 +59,9 @@ #define MPPortWillExecuteTarget @"org.macports.framework.port.willExecuteTarget" #define MPPortDidExecuteTarget @"org.macports.framework.port.didExecuteTarget" + + at class MPMacPorts; + /*! @class MPPort @abstract A representation of a port. @@ -67,6 +71,8 @@ //Maybe we should have a single MPInterpreter *interpreter and use that //throughout the code? Ask Randall whether or not it was intentional //to declare new variable for each method + + MPMacPorts * parentMacPortsInstance; } /*! Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m 2008-09-02 00:36:03 UTC (rev 39735) @@ -38,10 +38,20 @@ @implementation MPPort +// Each of the init methods sets the parent MPMacPorts object for this MPPort object +// if it hasn't already been set. We are assuming that this MPPort object and its +// parent MPMacPort object would have been created in the same thread. That might +// not have been the case. I should make a note of that in the release notes and +// also add some more sane changes later for a closer coupling of an MPMacPorts +// object and its associated MPPort objects. + - (id)init { self = [super initWithCapacity:15]; if (self != nil) { [self setState:MPPortStateUnknown]; + if (parentMacPortsInstance != nil) + parentMacPortsInstance = [MPMacPorts sharedInstance]; + } return self; } @@ -50,6 +60,8 @@ self = [super initWithCapacity:numItems]; if (self != nil) { [self setState:MPPortStateUnknown]; + if (parentMacPortsInstance != nil) + parentMacPortsInstance = [MPMacPorts sharedInstance]; } return self; } @@ -59,6 +71,8 @@ if (self != nil) { [self setState:MPPortStateUnknown]; [self setPortWithTclListAsString:string]; + if (parentMacPortsInstance != nil) + parentMacPortsInstance = [MPMacPorts sharedInstance]; } return self; } @@ -182,11 +196,21 @@ NSString * tclCmd = [@"YES_" stringByAppendingString:procedure]; [[MPNotifications sharedListener] setPerformingTclCommand:tclCmd]; - [interpreter evaluateStringWithPossiblePrivileges: - [NSString stringWithFormat: - @"%@ %@ %@ %@" , - procedure, [self name], v, opts] - error:execError]; + if ([parentMacPortsInstance authorizationMode]) { + [interpreter evaluateStringWithMPHelperTool: + [NSString stringWithFormat: + @"%@ %@ %@ %@" , + procedure, [self name], v, opts] + error:execError]; + + } + else { + [interpreter evaluateStringWithPossiblePrivileges: + [NSString stringWithFormat: + @"%@ %@ %@ %@" , + procedure, [self name], v, opts] + error:execError]; + } [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [self sendGlobalExecNotification:procedure withStatus:@"Finished"]; @@ -217,12 +241,23 @@ NSString * tclCmd = [@"YES_" stringByAppendingString:target]; [[MPNotifications sharedListener] setPerformingTclCommand:tclCmd]; - [interpreter evaluateStringWithPossiblePrivileges: - [NSString stringWithFormat: - @"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle", - [self valueForKey:@"porturl"], opts, vrnts, target] - error:execError]; + if ([parentMacPortsInstance authorizationMode]) { + [interpreter evaluateStringWithMPHelperTool: + [NSString stringWithFormat: + @"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle", + [self valueForKey:@"porturl"], opts, vrnts, target] + error:execError]; + } + else { + [interpreter evaluateStringWithPossiblePrivileges: + [NSString stringWithFormat: + @"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle", + [self valueForKey:@"porturl"], opts, vrnts, target] + error:execError]; + } + + [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [self sendGlobalExecNotification:target withStatus:@"Finished"]; @@ -253,9 +288,15 @@ } } + if( [parentMacPortsInstance authorizationMode] ) { + [interpreter evaluateStringWithMPHelperTool:[NSString stringWithFormat:@"[%@ %@]" , procedure, sparams] + error:execError]; + } + else { + [interpreter evaluateStringAsString:[NSString stringWithFormat:@"[%@ %@]" , procedure, sparams] + error:execError]; + } - [interpreter evaluateStringAsString:[NSString stringWithFormat:@"[%@ %@]" , procedure, sparams] - error:execError]; } Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-02 00:36:03 UTC (rev 39735) @@ -782,6 +782,7 @@ buildSettings = { ARCHS = "$(ONLY_ACTIVE_ARCH_PRE_XCODE_3_1)"; DEBUG_INFORMATION_FORMAT = stabs; + GCC_ENABLE_OBJC_GC = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH_PRE_XCODE_3_1 = "$(NATIVE_ARCH)"; @@ -796,6 +797,7 @@ buildSettings = { ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + GCC_ENABLE_OBJC_GC = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; @@ -930,9 +932,12 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "ppc i386 ppc64 x86_64"; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_ENABLE_OBJC_GC = required; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -946,6 +951,7 @@ ); PREBINDING = NO; PRODUCT_NAME = MPHelperToolIPCTester; + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; }; name = Debug; }; @@ -953,9 +959,12 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "ppc i386 ppc64 x86_64"; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_ENABLE_OBJC_GC = required; GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; @@ -968,6 +977,7 @@ ); PREBINDING = NO; PRODUCT_NAME = MPHelperToolIPCTester; + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; ZERO_LINK = NO; }; name = Release; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/interpInit.tcl =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/interpInit.tcl 2008-09-01 22:33:08 UTC (rev 39734) +++ branches/gsoc08-framework/MacPorts_Framework_Release/interpInit.tcl 2008-09-02 00:36:03 UTC (rev 39735) @@ -116,8 +116,7 @@ set nbchans [llength $channels] if {$nbchans == 0} { proc ::ui_$priority {str} [subst { - puts stdout "\$str" - simplelog "\$str" + simplelog "$nottype $chan $prefix" "\$str" }] } else { try { @@ -133,13 +132,13 @@ proc ::ui_$priority {str} [subst { puts $chan "$prefix\$str" - simplelog "$prefix\$str" + simplelog "$nottype $chan $prefix" "\$str" }] } else { proc ::ui_$priority {str} [subst { foreach chan \$channels { puts $chan "$prefix\$str" - simplelog "$prefix\$str" + simplelog "$nottype $chan $prefix" "\$str" } }] } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/9c4a3ead/attachment.html From ryandesign at macports.org Mon Sep 1 19:10:45 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 1 Sep 2008 19:10:45 -0700 (PDT) Subject: [39736] trunk/dports/sysutils/cdargs/Portfile Message-ID: <20080902021045.E07062E840A@beta.macosforge.org> Revision: 39736 http://trac.macosforge.org/projects/macports/changeset/39736 Author: ryandesign at macports.org Date: 2008-09-01 19:10:43 -0700 (Mon, 01 Sep 2008) Log Message: ----------- cdargs: print instructions for use in post-activate, not in long_description Modified Paths: -------------- trunk/dports/sysutils/cdargs/Portfile Modified: trunk/dports/sysutils/cdargs/Portfile =================================================================== --- trunk/dports/sysutils/cdargs/Portfile 2008-09-02 00:36:03 UTC (rev 39735) +++ trunk/dports/sysutils/cdargs/Portfile 2008-09-02 02:10:43 UTC (rev 39736) @@ -14,10 +14,7 @@ bookmarks and a browser to it. It enables you to move to a very \ distant place in the file-system with just a few keystrokes. \ This is the kind of thing that power shell users invent when even \ - the almighty and wonderful TAB-completion is too much typing. \ - \ - Note that you should source the ${prefix}/etc/profile.d/cdargs-bash.sh \ - file in your shell's startup script file. + the almighty and wonderful TAB-completion is too much typing. homepage http://www.skamphausen.de/cgi-bin/ska/CDargs @@ -40,5 +37,23 @@ ${destroot}${prefix}/etc/profile.d } +post-activate { + ui_msg " +To use ${name}, you need to source it from your shell's startup file. + +If you're using bash, add these lines to your bash startup file: + + if \[ -f ${prefix}/etc/profile.d/cdargs-bash.sh \]; then + source ${prefix}/etc/profile.d/cdargs-bash.sh + fi + +If you're using tcsh, add these lines to your tcsh startup file: + + if ( -f ${prefix}/etc/profile.d/cdargs-tcsh.csh ) then + source ${prefix}/etc/profile.d/cdargs-tcsh.csh + endif +" +} + livecheck.url [lindex ${master_sites} 0]?N=D livecheck.regex ${name}-(\[0-9.\]+)\\.tar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/88d5b81c/attachment-0001.html From ram at macports.org Mon Sep 1 20:00:09 2008 From: ram at macports.org (ram at macports.org) Date: Mon, 1 Sep 2008 20:00:09 -0700 (PDT) Subject: [39737] trunk/dports/python/py25-boto/Portfile Message-ID: <20080902030009.B1A192E857D@beta.macosforge.org> Revision: 39737 http://trac.macosforge.org/projects/macports/changeset/39737 Author: ram at macports.org Date: 2008-09-01 20:00:08 -0700 (Mon, 01 Sep 2008) Log Message: ----------- python/py25-boto: update to 1.4a Modified Paths: -------------- trunk/dports/python/py25-boto/Portfile Modified: trunk/dports/python/py25-boto/Portfile =================================================================== --- trunk/dports/python/py25-boto/Portfile 2008-09-02 02:10:43 UTC (rev 39736) +++ trunk/dports/python/py25-boto/Portfile 2008-09-02 03:00:08 UTC (rev 39737) @@ -4,7 +4,7 @@ PortGroup python25 1.0 name py25-boto -version 1.3a +version 1.4a categories python net platforms darwin maintainers ram openmaintainer @@ -17,8 +17,8 @@ master_sites http://boto.googlecode.com/files/ distname boto-${version} -checksums md5 97274d242ac1c68656ddf88f2346a661 \ - sha1 abd773a801fb68012b985f349f1c142cf64cca70 \ - rmd160 4215caaf4a4cfcb615086ae2834fea239eb373e4 +checksums md5 f349767aad47a73455e1e71c356f23be \ + sha1 73ddabb2197ed550cc71ec0654590dbb9a9f5e4b \ + rmd160 914ff17c449925484d6b0e49143fbab1a2f9375d universal_variant no -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/ee7deb2d/attachment.html From armahg at macports.org Mon Sep 1 23:42:19 2008 From: armahg at macports.org (armahg at macports.org) Date: Mon, 1 Sep 2008 23:42:19 -0700 (PDT) Subject: [39738] branches/gsoc08-framework/MacPorts_Framework_Release Message-ID: <20080902064219.970B62E8B77@beta.macosforge.org> Revision: 39738 http://trac.macosforge.org/projects/macports/changeset/39738 Author: armahg at macports.org Date: 2008-09-01 23:42:18 -0700 (Mon, 01 Sep 2008) Log Message: ----------- Adding Notification+ThreadAdditions categories to enable posting NSNotifications to main thread. Thanks to TH from CocoaDev for sample code Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj Added Paths: ----------- branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-02 03:00:08 UTC (rev 39737) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-02 06:42:18 UTC (rev 39738) @@ -40,6 +40,8 @@ 48E9939F0C82CEB000219DDF /* init.tcl in Resources */ = {isa = PBXBuildFile; fileRef = 48E9939E0C82CEB000219DDF /* init.tcl */; }; 6E270D090E158CED00BAE687 /* MPNotifications.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E270D070E158CED00BAE687 /* MPNotifications.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6E270D0A0E158CED00BAE687 /* MPNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E270D080E158CED00BAE687 /* MPNotifications.m */; }; + 6E31A02D0E6CFB51002804D0 /* Notification+ThreadAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */; }; + 6E31A02E0E6CFB51002804D0 /* Notification+ThreadAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */; }; 6E3345350E54AF14008A2F6C /* MPPortManipulationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E3345340E54AF14008A2F6C /* MPPortManipulationTest.m */; }; 6E44A00D0E2DAD66007DE8EC /* ToDo.txt in Resources */ = {isa = PBXBuildFile; fileRef = 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */; }; 6E49F37B0DFFAB0B0030C3AF /* MPInterpreterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 489DD92E0C94674B00595506 /* MPInterpreterTest.m */; }; @@ -143,6 +145,8 @@ 48F811BF0CE4638C009630DE /* MPRegistry.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPRegistry.m; sourceTree = ""; }; 6E270D070E158CED00BAE687 /* MPNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPNotifications.h; sourceTree = ""; }; 6E270D080E158CED00BAE687 /* MPNotifications.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPNotifications.m; sourceTree = ""; }; + 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Notification+ThreadAdditions.h"; sourceTree = ""; }; + 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Notification+ThreadAdditions.m"; sourceTree = ""; }; 6E3345330E54AF14008A2F6C /* MPPortManipulationTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPPortManipulationTest.h; sourceTree = ""; }; 6E3345340E54AF14008A2F6C /* MPPortManipulationTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPPortManipulationTest.m; sourceTree = ""; }; 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ToDo.txt; sourceTree = ""; }; @@ -371,6 +375,8 @@ 6E270D080E158CED00BAE687 /* MPNotifications.m */, 6EE6DDCC0E6276AA00FB2115 /* MPNotifications+IPCAdditions.h */, 6EE6DDCD0E6276AA00FB2115 /* MPNotifications+IPCAdditions.m */, + 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */, + 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */, ); name = "Tcl Notifications "; sourceTree = ""; @@ -428,6 +434,7 @@ 6E8563B90E5DDF7000C1D73C /* MPHelperNotificationsCommon.h in Headers */, 6E8563BA0E5DDF7000C1D73C /* MPHelperNotificationsProtocol.h in Headers */, 6EE6DDCE0E6276AA00FB2115 /* MPNotifications+IPCAdditions.h in Headers */, + 6E31A02D0E6CFB51002804D0 /* Notification+ThreadAdditions.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -681,6 +688,7 @@ 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */, 6E8563B80E5DDF7000C1D73C /* MPHelperNotificationsCommon.c in Sources */, 6EE6DDCF0E6276AA00FB2115 /* MPNotifications+IPCAdditions.m in Sources */, + 6E31A02E0E6CFB51002804D0 /* Notification+ThreadAdditions.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; Added: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h 2008-09-02 06:42:18 UTC (rev 39738) @@ -0,0 +1,27 @@ +// +// Notification+ThreadAdditions.h +// MacPorts.Framework +// +// Created by George Armah on 9/1/08. +// Copyright 2008 Lafayette College. All rights reserved. +// + +#import + + +// Using code from CococaDev to post Notifications to main thread +// http://www.cocoadev.com/index.pl?NotificationsAcrossThreads + + at interface NSNotificationCenter (NSNotificationCenterAdditions) +- (void) postNotificationOnMainThread:(NSNotification *) notification; +- (void) postNotificationOnMainThread:(NSNotification *) notification waitUntilDone:(BOOL) wait; + +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object; +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo; +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo waitUntilDone:(BOOL) wait; + at end + + at interface NSNotificationQueue (NSNotificationQueueAdditions) +- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle; +- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle coalesceMask:(unsigned) coalesceMask forModes:(NSArray *) modes; + at end \ No newline at end of file Property changes on: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m 2008-09-02 06:42:18 UTC (rev 39738) @@ -0,0 +1,86 @@ +// +// Notification+ThreadAdditions.m +// MacPorts.Framework +// +// Created by George Armah on 9/1/08. +// Copyright 2008 Lafayette College. All rights reserved. +// + +#import "Notification+ThreadAdditions.h" +#import + + + at implementation NSNotificationCenter (NSNotificationCenterAdditions) +- (void) postNotificationOnMainThread:(NSNotification *) notification { + if( pthread_main_np() ) return [self postNotification:notification]; + [self postNotificationOnMainThread:notification waitUntilDone:NO]; +} + +- (void) postNotificationOnMainThread:(NSNotification *) notification waitUntilDone:(BOOL) wait { + if( pthread_main_np() ) return [self postNotification:notification]; + [[self class] performSelectorOnMainThread:@selector( _postNotification: ) withObject:notification waitUntilDone:wait]; +} + ++ (void) _postNotification:(NSNotification *) notification { + [[self defaultCenter] postNotification:notification]; +} + +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object { + if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:nil]; + [self postNotificationOnMainThreadWithName:name object:object userInfo:nil waitUntilDone:NO]; +} + +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo { + if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:userInfo]; + [self postNotificationOnMainThreadWithName:name object:object userInfo:nil waitUntilDone:NO]; +} + +- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo waitUntilDone:(BOOL) wait { + if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:userInfo]; + + NSMutableDictionary *info = [[NSMutableDictionary allocWithZone:nil] init]; + [info setObject:name forKey:@"name"]; + if( object ) [info setObject:object forKey:@"object"]; + if( userInfo ) [info setObject:userInfo forKey:@"userInfo"]; + + [[self class] performSelectorOnMainThread:@selector( _postNotificationName: ) withObject:info waitUntilDone:wait]; + [info release]; +} + ++ (void) _postNotificationName:(NSDictionary *) info { + NSString *name = [info objectForKey:@"name"]; + id object = [info objectForKey:@"object"]; + NSDictionary *userInfo = [info objectForKey:@"userInfo"]; + + [[self defaultCenter] postNotificationName:name object:object userInfo:userInfo]; +} + at end + + at implementation NSNotificationQueue (NSNotificationQueueAdditions) +- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle { + if( pthread_main_np() ) return [self enqueueNotification:notification postingStyle:postingStyle coalesceMask:( NSNotificationCoalescingOnName | NSNotificationCoalescingOnSender ) forModes:nil]; + [self enqueueNotificationOnMainThread:notification postingStyle:postingStyle coalesceMask:( NSNotificationCoalescingOnName | NSNotificationCoalescingOnSender ) forModes:nil]; +} + +- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle coalesceMask:(unsigned) coalesceMask forModes:(NSArray *) modes { + if( pthread_main_np() ) return [self enqueueNotification:notification postingStyle:postingStyle coalesceMask:coalesceMask forModes:modes]; + + NSMutableDictionary *info = [[NSMutableDictionary allocWithZone:nil] init]; + [info setObject:notification forKey:@"notification"]; + [info setObject:[NSNumber numberWithUnsignedInt:postingStyle] forKey:@"postingStyle"]; + [info setObject:[NSNumber numberWithUnsignedInt:coalesceMask] forKey:@"coalesceMask"]; + if( modes ) [info setObject:modes forKey:@"modes"]; + + [[self class] performSelectorOnMainThread:@selector( _enqueueNotification: ) withObject:info waitUntilDone:NO]; + [info release]; +} + ++ (void) _enqueueNotification:(NSDictionary *) info { + NSNotification *notification = [info objectForKey:@"notification"]; + NSPostingStyle postingStyle = [[info objectForKey:@"postingStyle"] unsignedIntValue]; + unsigned coalesceMask = [[info objectForKey:@"coalesceMask"] unsignedIntValue]; + NSArray *modes = [info objectForKey:@"modes"]; + + [[self defaultQueue] enqueueNotification:notification postingStyle:postingStyle coalesceMask:coalesceMask forModes:modes]; +} + at end \ No newline at end of file Property changes on: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/f4e47b3e/attachment.html From portindex at macports.org Tue Sep 2 00:53:40 2008 From: portindex at macports.org (portindex at macports.org) Date: Tue, 2 Sep 2008 00:53:40 -0700 (PDT) Subject: [39739] trunk/dports/PortIndex Message-ID: <20080902075342.1A13C2EA83E@beta.macosforge.org> Revision: 39739 http://trac.macosforge.org/projects/macports/changeset/39739 Author: portindex at macports.org Date: 2008-09-02 00:53:39 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Total number of ports parsed: 5017 Ports successfully parsed: 5017 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-02 06:42:18 UTC (rev 39738) +++ trunk/dports/PortIndex 2008-09-02 07:53:39 UTC (rev 39739) @@ -860,6 +860,8 @@ description {Various GTK+ frontends for bzr} portdir devel/bzr-gtk homepage http://bazaar-vcs.org/bzr-gtk epoch 0 platforms darwin depends_lib {port:python25 port:bzr port:py25-gtk} name bzr-gtk maintainers {ram openmaintainer} long_description {A bzr plugin that contains various GTK+ frontends to different bzr commands.} categories {devel python} version 0.95.0 revision 0 bzr-rebase 600 description {Rebase plugin for bzr} portdir devel/bzr-rebase homepage http://bazaar-vcs.org/Rebase epoch 0 platforms darwin depends_lib {port:python25 port:bzr} name bzr-rebase maintainers {ram openmaintainer} long_description {Rebasing is the process of taking a branch and modifying the history so that it appears to start from a different point. This can be useful to clean up the history before submitting your changes. The tree at the end of the process will be the same as if you had merged the other branch, but the history will be different.} categories {devel python} version 0.4 revision 0 +bzr-svn 666 +description {Plugin that allows direct access to Subversion repositories} portdir devel/bzr-svn homepage http://bazaar-vcs.org/BzrForeignBranches/Subversion epoch 0 platforms darwin depends_lib {port:python25 port:bzr port:bzr-rebase port:subversion port:py25-sqlite3} name bzr-svn maintainers {ram openmaintainer} long_description {A bzr plugin that allows most bzr commands to work directly against Subversion repositories, as if you were using bzr with a native bzr repository. The plugin can at the moment be used to commit to, pull from, merge from, push to and view logs of Subversion branches from Bazaar.} categories {devel python} version 0.4.12 revision 0 bzrtools 634 description {A collection of plugins bzr.} portdir devel/bzrtools homepage http://bazaar-vcs.org/BzrTools epoch 0 platforms darwin depends_lib {port:python25 port:bzr port:graphviz} name bzrtools maintainers {ram openmaintainer} long_description {A collection of plugins for bzr. Including rspush for pushing to a remote server with rsync, baz-import for importing arch or baz branches into bzr, shelve/unshelve for a fine grained 'undo' facility, clean-tree for removing unknown files from the current tree, graph-ancestory for producing graphs of branch history, and many others.} categories {devel python} version 1.6.0 revision 0 c2hs 620 @@ -4561,9 +4563,9 @@ ctorrent 416 variants universal description {command line BitTorrent client} portdir net/ctorrent homepage http://sourceforge.net/projects/dtorrent/ epoch 0 platforms darwin name ctorrent maintainers {rene openmaintainer} long_description {Enhanced CTorrent is a BitTorrent client for unix-like environments. High performance with minimal system resources and dependencies is a priority.} categories net version 3.3.2 revision 0 curl 769 -variants {universal darwin_6 ssl ipv6 ares idn spnego gnutls gss openldap sftp_scp doc} depends_build port:pkgconfig variant_desc {ares {Add support for resolving names asynchronously} idn {Add support for internationalized domain names} spnego {Enable SPNEGO authentication support} sftp_scp {Add SFTP/SCP support via libssh2}} portdir net/curl description {Tool for transferring files with URL syntax} homepage http://curl.haxx.se/ epoch 0 platforms {darwin freebsd} depends_lib port:zlib name curl maintainers ryandesign long_description {curl is a client to get documents/files from servers, using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.} categories {net www} version 7.18.2 revision 0 +variants {universal darwin_6 ssl ipv6 ares idn spnego gnutls gss openldap sftp_scp doc} depends_build port:pkgconfig variant_desc {ares {Add support for resolving names asynchronously} idn {Add support for internationalized domain names} spnego {Enable SPNEGO authentication support} sftp_scp {Add SFTP/SCP support via libssh2}} portdir net/curl description {Tool for transferring files with URL syntax} homepage http://curl.haxx.se/ epoch 0 platforms {darwin freebsd} depends_lib port:zlib name curl maintainers ryandesign long_description {curl is a client to get documents/files from servers, using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.} categories {net www} version 7.19.0 revision 0 curl-ca-bundle 481 -depends_build {{path:\${prefix}/bin/perl:perl5.8} port:p5-mime-base64} description {CA certificate bundle for curl} portdir net/curl-ca-bundle homepage http://curl.haxx.se/ epoch 0 platforms {darwin freebsd} name curl-ca-bundle maintainers ryandesign long_description {Installs a bundle of certification authority certificates (CA certs) which curl (when linked with OpenSSL) uses to verify the authenticity of secure web and FTP servers.} version 7.18.2 categories net revision 1 +depends_build {{path:\${prefix}/bin/perl:perl5.8} port:p5-mime-base64} description {CA certificate bundle for curl} portdir net/curl-ca-bundle homepage http://curl.haxx.se/ epoch 0 platforms {darwin freebsd} name curl-ca-bundle maintainers ryandesign long_description {Installs a bundle of certification authority certificates (CA certs) which curl (when linked with OpenSSL) uses to verify the authenticity of secure web and FTP servers.} version 7.19.0 categories net revision 0 cvsup 274 variants universal description {General network file distribution system optimized for CVS} portdir net/cvsup homepage http://www.cvsup.org/ epoch 0 platforms darwin depends_lib bin:cm3:cm3 name cvsup maintainers nomaintainer categories {net devel} version 16.1h revision 1 cvsync 483 @@ -4641,7 +4643,7 @@ ffp 553 variants universal depends_build bin:ginstall:coreutils portdir net/ffp description {generates fuzzy fingerprints to facilitate MiM attacks} homepage http://thc.org/thc-ffp/ epoch 0 platforms darwin depends_lib port:openssl name ffp maintainers eridius at macports.org long_description {ffp is a tool that generates fuzzy fingerprints. Fuzzy fingerprinting is a technique that extends common man-in-the-middle attacks by generating fingerprints that closely resemble the target's public key fingerprint.} version 0.0.8 categories {net security} revision 1 finch 675 -variants universal portdir net/finch description {Multi-protocol Instant Messaging client} homepage http://www.pidgin.im/ epoch 0 platforms darwin name finch depends_lib {port:audiofile port:libao port:libxml2 port:nspr port:nss port:p5-xml-parser} maintainers {simon openmaintainer} long_description {Pidgin is an Open Source clone of America OnLine's Instant Messenger client that uses GTK+ version 2. It features multiple groups, group chat, user information fetching and registration, time stamping, and more. It also supports other IM protocols, including Yahoo!, MSN, ICQ, Jabber, Napster, IRC, and Zephyr via included plugins.} version 2.5.0 categories net revision 0 +variants universal portdir net/finch description {Multi-protocol Instant Messaging client} homepage http://www.pidgin.im/ epoch 0 platforms darwin name finch depends_lib {port:audiofile port:libao port:libxml2 port:nspr port:nss port:p5-xml-parser} maintainers {simon openmaintainer} long_description {Pidgin is an Open Source clone of America OnLine's Instant Messenger client that uses GTK+ version 2. It features multiple groups, group chat, user information fetching and registration, time stamping, and more. It also supports other IM protocols, including Yahoo!, MSN, ICQ, Jabber, Napster, IRC, and Zephyr via included plugins.} version 2.5.1 categories net revision 0 flow-tools 390 variants {universal mysql5} portdir net/flow-tools description {Suite of tools and library to work with netflow data} homepage http://www.splintered.net/sw/flow-tools/ epoch 0 platforms darwin name flow-tools depends_lib {port:openssl port:zlib} maintainers markd at macports.org long_description {{Suite of tools and library to work with netflow data}} version 0.68 categories net revision 0 flowd 320 @@ -4965,7 +4967,7 @@ pftp 403 variants universal portdir net/pftp description {ftp client with FXP, SSL, and TLS support} homepage http://pftp.sourceforge.net/ epoch 0 platforms darwin name pftp depends_lib {lib:readline:readline lib:libpftputil:libpftputil} maintainers nomaintainer long_description {PFTP is a portable FTP client, with many useful features, such as FXP, SSL, and TLS support} version 0.3 categories net revision 0 pidgin 810 -variants {universal no_x11 quartz} variant_desc {no_x11 {Build port without-x} quartz {Build port with gtk2 quartz}} portdir net/pidgin description {Multi-protocol Instant Messaging client} homepage http://www.pidgin.im/ epoch 0 platforms darwin name pidgin depends_lib {port:audiofile port:dbus port:dbus-glib port:gtk2 port:libao port:libxml2 port:nspr port:nss port:p5-xml-parser} maintainers {simon openmaintainer} long_description {Pidgin is an Open Source clone of America OnLine's Instant Messenger client that uses GTK+ version 2. It features multiple groups, group chat, user information fetching and registration, time stamping, and more. It also supports other IM protocols, including Yahoo!, MSN, ICQ, Jabber, Napster, IRC, and Zephyr via included plugins.} version 2.5.0 categories net revision 0 +variants {universal no_x11 quartz} variant_desc {no_x11 {Build port without-x} quartz {Build port with gtk2 quartz}} portdir net/pidgin description {Multi-protocol Instant Messaging client} homepage http://www.pidgin.im/ epoch 0 platforms darwin name pidgin depends_lib {port:audiofile port:dbus port:dbus-glib port:gtk2 port:libao port:libxml2 port:nspr port:nss port:p5-xml-parser} maintainers {simon openmaintainer} long_description {Pidgin is an Open Source clone of America OnLine's Instant Messenger client that uses GTK+ version 2. It features multiple groups, group chat, user information fetching and registration, time stamping, and more. It also supports other IM protocols, including Yahoo!, MSN, ICQ, Jabber, Napster, IRC, and Zephyr via included plugins.} version 2.5.1 categories net revision 0 pidgin-encryption 339 variants universal portdir net/pidgin-encryption description {Pidgin encryption plugin} homepage http://pidgin-encrypt.sourceforge.net/ epoch 0 platforms darwin name pidgin-encryption depends_lib {port:nss port:pidgin} maintainers rsync at reifferscheid.org long_description {{Pidgin encryption plugin}} version 3.0 categories net revision 0 pork 312 @@ -7251,7 +7253,7 @@ py25-biopython 530 variants universal portdir python/py25-biopython description {python tools for computational molecular biology} homepage http://www.biopython.org/ epoch 0 platforms darwin depends_lib {port:python25 port:py25-numeric port:py25-mx-base port:py25-reportlab} name py25-biopython maintainers mww long_description {python tools for computational molecular biology: parsers for various file formats, interfaces for programs, tools for performing common operations on sequences, etc.} categories {python science} version 1.44 revision 0 py25-boto 388 -description {python interface to Amazon Web Services} portdir python/py25-boto homepage http://code.google.com/p/boto/ epoch 0 platforms darwin depends_lib port:python25 name py25-boto maintainers {ram openmaintainer} long_description {An integrated interface to current and future infrastructural services offered by Amazon Web Services.} categories {python net} version 1.3a revision 0 +description {python interface to Amazon Web Services} portdir python/py25-boto homepage http://code.google.com/p/boto/ epoch 0 platforms darwin depends_lib port:python25 name py25-boto maintainers {ram openmaintainer} long_description {An integrated interface to current and future infrastructural services offered by Amazon Web Services.} categories {python net} version 1.4a revision 0 py25-bsddb 365 variants universal portdir python/py25-bsddb description {Python bindings to the db46 library} homepage http://www.python.org/doc/current/lib/module-dbm.html epoch 0 platforms darwin depends_lib {port:python25 port:db46} name py25-bsddb maintainers mww long_description {{Python bindings to the db46 library}} categories {python databases} version 2.5.2 revision 1 py25-bz2 328 @@ -8354,6 +8356,8 @@ variants universal description {CloneCD image to ISO image file converter} portdir sysutils/ccd2iso homepage http://sourceforge.net/projects/ccd2iso/ epoch 0 platforms darwin name ccd2iso long_description {Simple command line too to convert windows-only ccd files to burnable ISO images.} maintainers mikeal at osafoundation.org categories sysutils version 0.3 revision 0 ccrypt 1097 variants universal description {Encrypt and decrypt files and streams} portdir sysutils/ccrypt homepage http://ccrypt.sourceforge.net epoch 0 platforms darwin name ccrypt long_description {Utility for encrypting and decrypting files and streams. It was designed to replace the standard unix crypt utility, which is notorious for using a very weak encryption algorithm. ccrypt is based on the Rijndael cipher, which is the U.S. government's chosen candidate for the Advanced Encryption Standard (AES, see http://www.nist.gov/aes/). This cipher is believed to provide very strong security. Unlike unix crypt, the algorithm provided by ccrypt is not symmetric, i.e., one must specify whether to encrypt or decrypt. The most common way to invoke ccrypt is via the commands ccencrypt and ccdecrypt. There is also a ccat command for decrypting a file directly to the terminal, thus reducing the likelihood of leaving temporary plaintext files around. In addition, there is a compatibility mode f or decrypting legacy unix crypt files.} maintainers nomaintainer categories security version 1.7 revision 0 +cdargs 705 +variants universal description {Bookmarks for the shell} portdir sysutils/cdargs homepage http://www.skamphausen.de/cgi-bin/ska/CDargs epoch 0 platforms darwin name cdargs long_description {CDargs heavily enhances the navigation of the common unix file-system inside the shell. It plugs into the shell built-in cd-command (via a shell function or an alias) and thus adds bookmarks and a browser to it. It enables you to move to a very distant place in the file-system with just a few keystrokes. This is the kind of thing that power shell users invent when even the almighty and wonderful TAB-completion is too much typing.} maintainers reg.macports at entropy.ch categories sysutils version 1.35 revision 0 cdrdao 410 variants {universal lame} depends_build {port:pccts port:pkgconfig} description {Disk-At-Once Recording of Audio and Data CD-Rs/CD-RWs} portdir sysutils/cdrdao epoch 0 platforms darwin name cdrdao maintainers nomaintainer long_description {Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode based on a textual description of the CD contents (toc-file).} categories sysutils version 1.2.2 revision 1 cdrtools 440 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/35b38133/attachment-0001.html From dluke at macports.org Tue Sep 2 08:23:40 2008 From: dluke at macports.org (dluke at macports.org) Date: Tue, 2 Sep 2008 08:23:40 -0700 (PDT) Subject: [39740] trunk/dports/devel Message-ID: <20080902152340.C88282EC4B0@beta.macosforge.org> Revision: 39740 http://trac.macosforge.org/projects/macports/changeset/39740 Author: dluke at macports.org Date: 2008-09-02 08:23:40 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Version bump, subversion and bindings ports to 1.5.2 Modified Paths: -------------- trunk/dports/devel/subversion/Portfile trunk/dports/devel/subversion-javahlbindings/Portfile trunk/dports/devel/subversion-perlbindings/Portfile trunk/dports/devel/subversion-python25bindings/Portfile trunk/dports/devel/subversion-rubybindings/Portfile Modified: trunk/dports/devel/subversion/Portfile =================================================================== --- trunk/dports/devel/subversion/Portfile 2008-09-02 07:53:39 UTC (rev 39739) +++ trunk/dports/devel/subversion/Portfile 2008-09-02 15:23:40 UTC (rev 39740) @@ -3,7 +3,7 @@ PortSystem 1.0 name subversion -version 1.5.1 +version 1.5.2 categories devel platforms darwin maintainers dluke at geeklair.net @@ -16,9 +16,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}downloads/ use_bzip2 yes -checksums md5 8dbdaa625d6b18887702885df07fc87e \ - sha1 6487b6cdb5545bfeaa62de10ff386df90e977e5b \ - rmd160 031b2f39bf0f5b2c904c9c2d7b58e90440bb2b1a +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f depends_lib port:expat port:neon \ port:apr port:apr-util \ Modified: trunk/dports/devel/subversion-javahlbindings/Portfile =================================================================== --- trunk/dports/devel/subversion-javahlbindings/Portfile 2008-09-02 07:53:39 UTC (rev 39739) +++ trunk/dports/devel/subversion-javahlbindings/Portfile 2008-09-02 15:23:40 UTC (rev 39740) @@ -3,7 +3,7 @@ PortSystem 1.0 name subversion-javahlbindings -version 1.5.1 +version 1.5.2 categories devel java platforms darwin maintainers dluke at geeklair.net @@ -17,9 +17,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}/downloads/ use_bzip2 yes -checksums md5 8dbdaa625d6b18887702885df07fc87e \ - sha1 6487b6cdb5545bfeaa62de10ff386df90e977e5b \ - rmd160 031b2f39bf0f5b2c904c9c2d7b58e90440bb2b1a +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f distname subversion-${version} dist_subdir subversion Modified: trunk/dports/devel/subversion-perlbindings/Portfile =================================================================== --- trunk/dports/devel/subversion-perlbindings/Portfile 2008-09-02 07:53:39 UTC (rev 39739) +++ trunk/dports/devel/subversion-perlbindings/Portfile 2008-09-02 15:23:40 UTC (rev 39740) @@ -3,7 +3,7 @@ PortSystem 1.0 name subversion-perlbindings -version 1.5.1 +version 1.5.2 categories devel perl platforms darwin maintainers dluke at geeklair.net @@ -17,9 +17,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}/downloads/ use_bzip2 yes -checksums md5 8dbdaa625d6b18887702885df07fc87e \ - sha1 6487b6cdb5545bfeaa62de10ff386df90e977e5b \ - rmd160 031b2f39bf0f5b2c904c9c2d7b58e90440bb2b1a +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f distname subversion-${version} dist_subdir subversion Modified: trunk/dports/devel/subversion-python25bindings/Portfile =================================================================== --- trunk/dports/devel/subversion-python25bindings/Portfile 2008-09-02 07:53:39 UTC (rev 39739) +++ trunk/dports/devel/subversion-python25bindings/Portfile 2008-09-02 15:23:40 UTC (rev 39740) @@ -3,7 +3,7 @@ PortSystem 1.0 name subversion-python25bindings -version 1.5.1 +version 1.5.2 categories devel python platforms darwin maintainers dluke at geeklair.net @@ -17,9 +17,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}/downloads use_bzip2 yes -checksums md5 8dbdaa625d6b18887702885df07fc87e \ - sha1 6487b6cdb5545bfeaa62de10ff386df90e977e5b \ - rmd160 031b2f39bf0f5b2c904c9c2d7b58e90440bb2b1a +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f distname subversion-${version} dist_subdir subversion Modified: trunk/dports/devel/subversion-rubybindings/Portfile =================================================================== --- trunk/dports/devel/subversion-rubybindings/Portfile 2008-09-02 07:53:39 UTC (rev 39739) +++ trunk/dports/devel/subversion-rubybindings/Portfile 2008-09-02 15:23:40 UTC (rev 39740) @@ -3,7 +3,7 @@ PortSystem 1.0 name subversion-rubybindings -version 1.5.1 +version 1.5.2 categories devel ruby platforms darwin maintainers dluke at geeklair.net @@ -17,9 +17,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}/downloads/ use_bzip2 yes -checksums md5 8dbdaa625d6b18887702885df07fc87e \ - sha1 6487b6cdb5545bfeaa62de10ff386df90e977e5b \ - rmd160 031b2f39bf0f5b2c904c9c2d7b58e90440bb2b1a +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f distname subversion-${version} dist_subdir subversion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/23feb259/attachment.html From gwright at macports.org Tue Sep 2 08:34:14 2008 From: gwright at macports.org (gwright at macports.org) Date: Tue, 2 Sep 2008 08:34:14 -0700 (PDT) Subject: [39741] trunk/dports/lang/sbcl/Portfile Message-ID: <20080902153414.B46DA2EC7BB@beta.macosforge.org> Revision: 39741 http://trac.macosforge.org/projects/macports/changeset/39741 Author: gwright at macports.org Date: 2008-09-02 08:34:13 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Version bump to 1.0.20. Modified Paths: -------------- trunk/dports/lang/sbcl/Portfile Modified: trunk/dports/lang/sbcl/Portfile =================================================================== --- trunk/dports/lang/sbcl/Portfile 2008-09-02 15:23:40 UTC (rev 39740) +++ trunk/dports/lang/sbcl/Portfile 2008-09-02 15:34:13 UTC (rev 39741) @@ -3,7 +3,7 @@ PortSystem 1.0 name sbcl -version 1.0.18 +version 1.0.20 set bootversion 1.0.12 categories lang maintainers gwright at macports.org waqar at macports.org @@ -49,10 +49,11 @@ worksrcdir ${name}-${version} checksums ${name}-${version}-source${extract.suffix} \ - md5 6ae3ff8c676afd582388daa2b7259314 \ - sha1 341f1a2af0b29b415b3c36e45cecf41f58d34be4 \ - rmd160 5a8974c381693bd9fb26789ef232f54637434a30 \ + md5 b1101a7d64f66b943c3e6a7991de68f4 \ + sha1 c90806484eba13d58b768db187b7c8e9aa4078dc \ + rmd160 54093189b755ddbbf3e9af1202aa0d547f055cb7 + post-patch { reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \ ${worksrcpath}/src/runtime/runtime.c -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/16b26950/attachment.html From dluke at macports.org Tue Sep 2 08:36:34 2008 From: dluke at macports.org (dluke at macports.org) Date: Tue, 2 Sep 2008 08:36:34 -0700 (PDT) Subject: [39742] trunk/dports/www/neon/Portfile Message-ID: <20080902153634.CACC02EC856@beta.macosforge.org> Revision: 39742 http://trac.macosforge.org/projects/macports/changeset/39742 Author: dluke at macports.org Date: 2008-09-02 08:36:34 -0700 (Tue, 02 Sep 2008) Log Message: ----------- version bump, neon to 0.28.3 Modified Paths: -------------- trunk/dports/www/neon/Portfile Modified: trunk/dports/www/neon/Portfile =================================================================== --- trunk/dports/www/neon/Portfile 2008-09-02 15:34:13 UTC (rev 39741) +++ trunk/dports/www/neon/Portfile 2008-09-02 15:36:34 UTC (rev 39742) @@ -3,7 +3,7 @@ PortSystem 1.0 name neon -version 0.28.2 +version 0.28.3 categories www maintainers dluke at geeklair.net description An HTTP and WebDAV client library with a C interface @@ -24,9 +24,9 @@ port:openssl \ port:zlib -checksums md5 b99b3f44e8507ae2d17362f1b34aaf02 \ - sha1 3e9e5640d9d6a5f626edea53fcd88f1c7e9988eb \ - rmd160 f7679f4ec668c38ee96cc25963692b60d3ab6c8d +checksums md5 47599a328862ce64ac3c52726d6daa12 \ + sha1 544a92dbfba144ec600506cadbda92ae0b0eb9b0 \ + rmd160 de6666a3f0e006e208b38a8133b43f647e35ddf8 use_parallel_build yes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/df090680/attachment.html From dluke at macports.org Tue Sep 2 08:55:37 2008 From: dluke at macports.org (dluke at macports.org) Date: Tue, 2 Sep 2008 08:55:37 -0700 (PDT) Subject: [39743] trunk/dports/sysutils/clamav/Portfile Message-ID: <20080902155537.6EA1E2ECA25@beta.macosforge.org> Revision: 39743 http://trac.macosforge.org/projects/macports/changeset/39743 Author: dluke at macports.org Date: 2008-09-02 08:55:36 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Version bump, clamav to 0.94 Modified Paths: -------------- trunk/dports/sysutils/clamav/Portfile Modified: trunk/dports/sysutils/clamav/Portfile =================================================================== --- trunk/dports/sysutils/clamav/Portfile 2008-09-02 15:36:34 UTC (rev 39742) +++ trunk/dports/sysutils/clamav/Portfile 2008-09-02 15:55:36 UTC (rev 39743) @@ -3,8 +3,7 @@ PortSystem 1.0 name clamav -version 0.93.3 -revision 1 +version 0.94 categories sysutils maintainers dluke at geeklair.net description clamav antivirus software @@ -15,9 +14,9 @@ homepage http://www.clamav.net master_sites sourceforge -checksums md5 06d87fbece062e5c0661ee07703208c9 \ - sha1 01240613b639144fa8fa655825f6587e044a1c1c \ - rmd160 8379148790cc545c801709d46b7db87634f43f67 +checksums md5 d3f6d5fff2db81950491749166ab0ffa \ + sha1 d69a0c462ac3ef55329384f8e136d9b7bc1b8ec5 \ + rmd160 598561b76b1e4ee14120388ba1bbdcac5ac7bfe5 platforms darwin configure.args --disable-clamav \ --mandir=${prefix}/share/man \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/40233aed/attachment.html From mww at macports.org Tue Sep 2 09:10:44 2008 From: mww at macports.org (mww at macports.org) Date: Tue, 2 Sep 2008 09:10:44 -0700 (PDT) Subject: [39744] trunk/dports/textproc/uni2ascii/Portfile Message-ID: <20080902161044.A39932ECBA6@beta.macosforge.org> Revision: 39744 http://trac.macosforge.org/projects/macports/changeset/39744 Author: mww at macports.org Date: 2008-09-02 09:10:43 -0700 (Tue, 02 Sep 2008) Log Message: ----------- version 4.10 Modified Paths: -------------- trunk/dports/textproc/uni2ascii/Portfile Modified: trunk/dports/textproc/uni2ascii/Portfile =================================================================== --- trunk/dports/textproc/uni2ascii/Portfile 2008-09-02 15:55:36 UTC (rev 39743) +++ trunk/dports/textproc/uni2ascii/Portfile 2008-09-02 16:10:43 UTC (rev 39744) @@ -3,7 +3,7 @@ PortSystem 1.0 name uni2ascii -version 4.9 +version 4.10 categories textproc platforms darwin maintainers mww @@ -19,7 +19,7 @@ homepage http://billposer.org/Software/uni2ascii.html master_sites http://billposer.org/Software/Downloads/ -checksums sha1 42307ba9928047eec901137c04e90a03f9803fc1 +checksums sha1 8d0fe7112a3c95058ea3b72f27c6732e7d2ab90e use_bzip2 yes depends_lib port:gettext -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/598faf92/attachment.html From portindex at macports.org Tue Sep 2 12:57:06 2008 From: portindex at macports.org (portindex at macports.org) Date: Tue, 2 Sep 2008 12:57:06 -0700 (PDT) Subject: [39745] trunk/dports/PortIndex Message-ID: <20080902195707.C4DF52EFA91@beta.macosforge.org> Revision: 39745 http://trac.macosforge.org/projects/macports/changeset/39745 Author: portindex at macports.org Date: 2008-09-02 12:57:06 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Total number of ports parsed: 5017 Ports successfully parsed: 5017 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-02 16:10:43 UTC (rev 39744) +++ trunk/dports/PortIndex 2008-09-02 19:57:06 UTC (rev 39745) @@ -1689,17 +1689,17 @@ strigi 676 variants universal depends_build port:cmake portdir devel/strigi description {Fastest and smallest desktop searching program} homepage http://strigi.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:clucene port:dbus} name strigi maintainers {clubjuggler at gmail.com openmaintainer} long_description {Strigi is a daemon which uses a very fast and efficient crawler that can index data on your harddrive. Indexing operations are performed without hammering your system, this makes Strigi the fastest and smallest desktop searching program. Strigi can index different file formats, including the contents of the archive files.} version 0.5.7 categories devel revision 0 subversion 1054 -variants {universal mod_dav_svn no_neon no_bdb mac_os_x_server_mod_dav_svn tools bash_completion darwin_7} variant_desc {mod_dav_svn {Install the subversion apache module (mod_dav_svn)} no_neon {Build without neon (http/https support)} no_bdb {Build without support for BerkeleyDB repositories} mac_os_x_server_mod_dav_svn {Unsupported - attempt to build the subversion apache module with apple supplied apache2} tools {Install some optional extra subversion tools} bash_completion {Install subversion bash-completion file}} portdir devel/subversion description {A cvs like version control system, but without the suck} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1).} version 1.5.1 categories devel revision 0 +variants {universal mod_dav_svn no_neon no_bdb mac_os_x_server_mod_dav_svn tools bash_completion darwin_7} variant_desc {mod_dav_svn {Install the subversion apache module (mod_dav_svn)} no_neon {Build without neon (http/https support)} no_bdb {Build without support for BerkeleyDB repositories} mac_os_x_server_mod_dav_svn {Unsupported - attempt to build the subversion apache module with apple supplied apache2} tools {Install some optional extra subversion tools} bash_completion {Install subversion bash-completion file}} portdir devel/subversion description {A cvs like version control system, but without the suck} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1).} version 1.5.2 categories devel revision 0 subversion-javahlbindings 834 -variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-javahlbindings description {Java (javahl) bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-javahlbindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:junit port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The java bindings provide access to subversion API from java.} version 1.5.1 categories {devel java} revision 0 +variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-javahlbindings description {Java (javahl) bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-javahlbindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:junit port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The java bindings provide access to subversion API from java.} version 1.5.2 categories {devel java} revision 0 subversion-perlbindings 846 -variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https) support)}} portdir devel/subversion-perlbindings description {Perl bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-perlbindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion {path:\${prefix}/bin/perl:perl5.8} port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The perl bindings provide access to subversion API from perl.} version 1.5.1 categories {devel perl} revision 0 +variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https) support)}} portdir devel/subversion-perlbindings description {Perl bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-perlbindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion {path:\${prefix}/bin/perl:perl5.8} port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The perl bindings provide access to subversion API from perl.} version 1.5.2 categories {devel perl} revision 0 subversion-python24bindings 841 variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python24bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python24bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python24 port:py-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers blair long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.0 categories {devel python} revision 1 subversion-python25bindings 856 -variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python25bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python25bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python25 port:py25-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.1 categories {devel python} revision 0 +variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python25bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python25bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python25 port:py25-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.2 categories {devel python} revision 0 subversion-rubybindings 820 -variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-rubybindings description {Ruby bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-rubybindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:ruby port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The ruby bindings provide access to subversion API from ruby.} version 1.5.1 categories {devel ruby} revision 0 +variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-rubybindings description {Ruby bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-rubybindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:ruby port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The ruby bindings provide access to subversion API from ruby.} version 1.5.2 categories {devel ruby} revision 0 svk 1121 variants universal portdir devel/svk description {A distributed version control system.} homepage http://svk.elixus.org/ epoch 0 platforms darwin name svk depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-data-hierarchy port:p5-algorithm-diff port:p5-algorithm-annotate port:p5-perlio-via-dynamic port:p5-uri port:p5-perlio-eol port:p5-io-digest port:p5-file-type port:subversion-perlbindings port:p5-perlio-via-symlink port:p5-svn-mirror port:p5-pod-escapes port:p5-pod-simple port:p5-timedate port:p5-compress-zlib port:p5-freezethaw port:p5-locale-maketext-lexicon port:p5-locale-maketext-simple port:p5-class-autouse port:p5-io-pager port:p5-class-accessor port:p5-pathtools port:p5-version port:p5-yaml-syck port:p5-app-cli port:p5-list-moreutils port:p5-class-data-inheritable port:p5-path-class port:p5-universal-require port:p5-log-log4perl port:p5-file-temp-svkonly} maintainers dluke at geeklair.net long_description {svk is a decentralized version control system written in P erl. It uses the Subversion filesystem but provides additional, powerful features} version 2.0.2 categories {devel perl} revision 0 swig 1132 @@ -3811,7 +3811,7 @@ ruby19 901 variants {universal c_api_docs tk mactk} variant_desc {c_api_docs {Generate documentation for Ruby C API} tk {Build using MacPorts Tk} mactk {Build using MacOS X Tk Framework}} portdir lang/ruby19 description {Powerful and clean object-oriented scripting language} homepage http://www.ruby-lang.org/ epoch 0 platforms darwin name ruby19 depends_lib {port:libiconv port:readline port:openssl port:zlib port:ncurses} maintainers {febeling openmaintainer} long_description {Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable. Version 1.9 contains a new VM called YARV, is faster and slightly incompatible from version 1.8. This has not yet been released as stable.} version 1.9.0-3 categories {lang ruby} revision 1 sbcl 657 -variants {universal powerpc i386 test threads} variant_desc {test {enable test suite} threads {enable threaded runtime}} portdir lang/sbcl description {The Steel Bank Common Lisp system} homepage http://www.sbcl.org epoch 0 platforms darwin name sbcl maintainers {gwright at macports.org waqar at macports.org} long_description {Steel Bank Common Lisp (SBCL) is a Open Source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. (And it, and its generated code, can also play nicely with Unix when running noninteractively.)} version 1.0.18 categories lang revision 0 +variants {universal powerpc i386 test threads} variant_desc {test {enable test suite} threads {enable threaded runtime}} portdir lang/sbcl description {The Steel Bank Common Lisp system} homepage http://www.sbcl.org epoch 0 platforms darwin name sbcl maintainers {gwright at macports.org waqar at macports.org} long_description {Steel Bank Common Lisp (SBCL) is a Open Source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. (And it, and its generated code, can also play nicely with Unix when running noninteractively.)} version 1.0.20 categories lang revision 0 scala 537 variants universal description {The Scala Programming Language} portdir lang/scala homepage http://www.scala-lang.org/ epoch 0 platforms darwin name scala long_description {Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. It runs inside a Java Virtual Machine and is fully interoperable with Java.} maintainers blair categories {lang java} version 2.7.1 revision 1 scheme48 468 @@ -8372,8 +8372,8 @@ variants universal portdir sysutils/chsuf description {tool to change suffix of files} homepage http://chsuf.sourceforge.net/ epoch 0 platforms darwin name chsuf depends_lib bin:perl:perl5.8 maintainers mww long_description {{tool to change suffix of files}} version 0.9 categories sysutils revision 0 cksfv 377 portdir sysutils/cksfv variants universal description {simple file verification utility} name cksfv version 1.3.12 categories sysutils homepage http://zakalwe.fi/~shd/foss/cksfv/ revision 0 epoch 0 maintainers cedric.luthi at gmail.com long_description {cksfv (Check SFV) creates simple file verification (.sfv) listings and tests existing sfv files. It uses the crc32 checksum.} -clamav 549 -variants {universal darwin_i386 darwin_7 clamav_milter} variant_desc {clamav_milter {build with libmilter support}} portdir sysutils/clamav description {clamav antivirus software} homepage http://www.clamav.net epoch 0 platforms darwin name clamav depends_lib {port:gmp port:libiconv port:zlib port:bzip2} maintainers dluke at geeklair.net long_description {Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning).} version 0.93.3 categories sysutils revision 1 +clamav 547 +variants {universal darwin_i386 darwin_7 clamav_milter} variant_desc {clamav_milter {build with libmilter support}} portdir sysutils/clamav description {clamav antivirus software} homepage http://www.clamav.net epoch 0 platforms darwin name clamav depends_lib {port:gmp port:libiconv port:zlib port:bzip2} maintainers dluke at geeklair.net long_description {Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning).} version 0.94 categories sysutils revision 0 clex 559 variants universal portdir sysutils/clex description {file manager with curses interface} homepage http://www.clex.sk/ epoch 0 platforms darwin name clex depends_lib port:ncurses maintainers {ryandesign openmaintainer} long_description {CLEX is a file manager with a full-screen user interface. It displays directory contents including the file status details and provides features like command history, filename insertion, or name completion in order to help users to create commands to be executed by the shell.} version 3.18 categories sysutils revision 0 clpbar 603 @@ -9172,8 +9172,8 @@ variants universal description {Converts flat ASCII text to man page format} portdir textproc/txt2man homepage http://mvertes.free.fr/ epoch 0 platforms darwin name txt2man long_description {Txt2man converts flat ASCII text into the man page format. This allows man pages to be authored without knowledge of nroff macros. It is a shell script that uses GNU awk, and it should run on any Unix-like system.} maintainers ecronin categories textproc version 1.5.5 revision 0 txt2tags 539 variants universal portdir textproc/txt2tags description {A document generator: ONE source, MULTI targets} homepage http://txt2tags.sourceforge.net/ epoch 0 platforms darwin name txt2tags depends_lib bin:python:python24 maintainers {milosh openmaintainer} long_description {Txt2tags is a document generator. It reads a text file with minimal markup as **bold** and //italic// and converts it to the following formats: HTML, XHTML, SGML, LaTeX, Lout, Man page, MoinMoin, MagicPoint, PageMaker...} version 2.5 categories textproc revision 0 -uni2ascii 810 -variants universal portdir textproc/uni2ascii description {converts between UTF-8 Unicode and 7-bit ASCII equivalents} homepage http://billposer.org/Software/uni2ascii.html epoch 0 platforms darwin name uni2ascii depends_lib port:gettext maintainers mww long_description {uni2ascii and ascii2uni convert between UTF-8 Unicode and more than a dozen 7-bit ASCII equivalents including: hexadecimal and decimal HTML numeric character references, u-escapes, standard hexadecimal, raw hexadecimal, and RFC2396 URI format. Such ASCII equivalents are encountered in a variety of circumstances, such as when Unicode text is included in program source, when entering text into Web programs that can handle the Unicode character set but are not 8-bit safe, and when debugging.} version 4.9 categories textproc revision 0 +uni2ascii 811 +variants universal portdir textproc/uni2ascii description {converts between UTF-8 Unicode and 7-bit ASCII equivalents} homepage http://billposer.org/Software/uni2ascii.html epoch 0 platforms darwin name uni2ascii depends_lib port:gettext maintainers mww long_description {uni2ascii and ascii2uni convert between UTF-8 Unicode and more than a dozen 7-bit ASCII equivalents including: hexadecimal and decimal HTML numeric character references, u-escapes, standard hexadecimal, raw hexadecimal, and RFC2396 URI format. Such ASCII equivalents are encountered in a variety of circumstances, such as when Unicode text is included in program source, when entering text into Web programs that can handle the Unicode character set but are not 8-bit safe, and when debugging.} version 4.10 categories textproc revision 0 uni2html 579 variants universal portdir textproc/uni2html description {converts UTF-8 to corresponding HTML hexadecimal entities} homepage http://www.cis.upenn.edu/~wjposer/uni2html.html epoch 0 depends_run bin:python:python24 platforms darwin name uni2html maintainers nomaintainer long_description {uni2html is a program that reads UTF-8 Unicode from standard input and displays the result of a conversion in which every Unicode character above the 7-bit ASCII range is converted into the corresponding HTML hexadecimal numeric character entity.} version 1.1 categories textproc revision 0 unix2dos 252 @@ -9371,7 +9371,7 @@ mozilla-devel 404 variants {universal nomail calendar no_crypto gtk1 aqua darwin_8} depends_build {bin:zip:zip bin:gmake:gmake bin:libIDL-config-2:libidl} portdir www/mozilla-devel description {Mozilla browser.} homepage http://www.mozilla.org/ epoch 0 platforms darwin depends_lib lib:libgtk.2:gtk2 name mozilla-devel long_description {{Mozilla browser.}} maintainers nomaintainer version 1.8b1 categories www revision 0 neon 581 -variants universal portdir www/neon description {An HTTP and WebDAV client library with a C interface} homepage http://www.webdav.org/neon/ epoch 0 platforms {darwin freebsd} name neon depends_lib {port:expat port:gettext port:libiconv port:openssl port:zlib} maintainers dluke at geeklair.net long_description {neon is an HTTP and WebDAV client library with a C language API. It provides a high-level interface to HTTP and WebDAV methods and a low-level interface to HTTP request handling, easily allowing the implementation of new methods.} version 0.28.2 categories www revision 0 +variants universal portdir www/neon description {An HTTP and WebDAV client library with a C interface} homepage http://www.webdav.org/neon/ epoch 0 platforms {darwin freebsd} name neon depends_lib {port:expat port:gettext port:libiconv port:openssl port:zlib} maintainers dluke at geeklair.net long_description {neon is an HTTP and WebDAV client library with a C language API. It provides a high-level interface to HTTP and WebDAV methods and a low-level interface to HTTP request handling, easily allowing the implementation of new methods.} version 0.28.3 categories www revision 0 netrik 328 variants universal portdir www/netrik description {netrik is a fast text mode web browser} homepage http://netrik.sourceforge.net/ epoch 0 platforms darwin name netrik depends_lib lib:readline:readline maintainers nomaintainer long_description {{netrik is a fast text mode web browser}} version 1.15.3 categories www revision 0 nginx 1152 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/e5167a5e/attachment-0001.html From ryandesign at macports.org Tue Sep 2 20:01:29 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Tue, 2 Sep 2008 20:01:29 -0700 (PDT) Subject: [39746] trunk/dports/devel Message-ID: <20080903030129.3BC0D2F81E8@beta.macosforge.org> Revision: 39746 http://trac.macosforge.org/projects/macports/changeset/39746 Author: ryandesign at macports.org Date: 2008-09-02 20:01:28 -0700 (Tue, 02 Sep 2008) Log Message: ----------- svndumptool: new port, version 0.5.0; closes #16448 Added Paths: ----------- trunk/dports/devel/svndumptool/ trunk/dports/devel/svndumptool/Portfile Added: trunk/dports/devel/svndumptool/Portfile =================================================================== --- trunk/dports/devel/svndumptool/Portfile (rev 0) +++ trunk/dports/devel/svndumptool/Portfile 2008-09-03 03:01:28 UTC (rev 39746) @@ -0,0 +1,34 @@ +# $Id$ + +PortSystem 1.0 +PortGroup python25 1.0 + +name svndumptool +version 0.5.0 +categories devel +platforms darwin +maintainers ryandesign +homepage http://svn.borg.ch/svndumptool/ +master_sites ${homepage}${version} + +description \ + tool for processing Subversion dumpfiles + +long_description \ + With svndumptool you can check dumpfiles for correctness\; fix some \ + broken dumpfiles including those made by cvs2svn\; show differences \ + between dumpfiles\; edit files inside dumpfiles including replacing \ + their contents or fixing their end-of-line style\; export files from \ + dumpfiles\; split and join dumpfiles\; merge dumpfiles interleaved so \ + that revisions remain in chronological order\; show logs\; list files \ + of given revisions\; and transform revision and node properties with \ + regular expressions + +checksums \ + md5 e596e382f92fc7f683a4d6db37d9894d \ + sha1 54ecbb4d4c870a082141ffb1104fd4dfade2add9 \ + rmd160 6b32ba863719ac63d22eb6f401b42869055f569b + +livecheck.check regex +livecheck.url ${homepage} +livecheck.regex ${name}-(\[0-9.\]+)\\.tar Property changes on: trunk/dports/devel/svndumptool/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/b916b5f2/attachment.html From armahg at macports.org Tue Sep 2 23:35:55 2008 From: armahg at macports.org (armahg at macports.org) Date: Tue, 2 Sep 2008 23:35:55 -0700 (PDT) Subject: [39747] branches/gsoc08-framework/MacPorts_Framework_Release Message-ID: <20080903063556.996272F935D@beta.macosforge.org> Revision: 39747 http://trac.macosforge.org/projects/macports/changeset/39747 Author: armahg at macports.org Date: 2008-09-02 23:35:55 -0700 (Tue, 02 Sep 2008) Log Message: ----------- Completed implementation of IPC notifications. The currently executing command is now stored in the current thread's dictionary with the key currentMethod. This is the cleanest option so far for storing and passing that information Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.h branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.h branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.m branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -18,9 +18,68 @@ } -(BOOL) installUninstallManipulation:(NSString *)portName; -(BOOL) selfUpdate; +-(void) registerForLocalNotifications; + @end @implementation PortManipulator + +-(id) init { + self = [super init]; + if (self != nil) { + //[self registerForLocalNotifications]; + } + return self; +} + +-(void) registerForLocalNotifications { + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPINFO + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPMSG + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPERROR + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPWARN + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPDEBUG + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPDEFAULT + object:nil]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:@"testMacPortsNotification" + object:nil]; +} + +-(void) respondToLocalNotification:(NSNotification *)notification { + id sentDict = [notification userInfo]; + + //Just NSLog it for now + if(sentDict == nil) + NSLog(@"MPMacPorts received notification with empty userInfo Dictionary"); + else + NSLog(@"MPMacPorts received notification with userInfo %@" , [sentDict description]); +} + + -(BOOL) selfUpdate { NSError *err = nil; [[MPMacPorts sharedInstance] selfUpdate:&err]; @@ -108,27 +167,27 @@ [[MPMacPorts sharedInstance] setAuthorizationMode:YES]; - PortManipulator * pm = [[PortManipulator alloc] init]; +// PortManipulator * pm = [[PortManipulator alloc] init]; +// +// if([pm installUninstallManipulation:@"pngcrush"]) { +// NSLog(@"pngcrush INSTALLATION SUCCESSFUL"); +// } +// else { +// NSLog(@"pngcrush INSTALLATION UNSUCCESSFUL"); +// } +// +// if([pm selfUpdate]) { +// NSLog(@"SELFUPDATE SUCCESSFUL"); +// } +// else { +// NSLog(@"SELFUPDATE UNSUCCESSFUL"); +// } +// +// +// [pm release]; - if([pm installUninstallManipulation:@"pngcrush"]) { - NSLog(@"pngcrush INSTALLATION SUCCESSFUL"); - } - else { - NSLog(@"pngcrush INSTALLATION UNSUCCESSFUL"); - } - if([pm selfUpdate]) { - NSLog(@"SELFUPDATE SUCCESSFUL"); - } - else { - NSLog(@"SELFUPDATE UNSUCCESSFUL"); - } - - [pm release]; - - - //[pool release]; return 0; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPInterpreter.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -108,17 +108,7 @@ //Get the Tcl function that called this method if (! [[mln performingTclCommand] isEqualToString:@""]) { - NSArray * cmd = [[mln performingTclCommand] componentsSeparatedByString:@"_"]; - - //if code is working right, this value should always be YES - //when we are in this part of the code - if([cmd count] > 0) { - //NSLog(@"Class type is %@", NSStringFromClass([[cmd objectAtIndex:0] class])); - - if( [[cmd objectAtIndex:0] isEqualToString:@"YES"]) { - [info setObject:[cmd objectAtIndex:1] forKey:MPMETHOD]; - } - } + [info setObject:[mln performingTclCommand] forKey:MPMETHOD]; } if (global != 0) { [[NSDistributedNotificationCenter defaultCenter] postNotificationName:name object:nil userInfo:info]; @@ -420,16 +410,23 @@ //if ([notificationObject respondsToSelector:@selector(startServerThread)]) { NSThread * cThread = [NSThread currentThread]; NSLog(@"STARTING SERVER THREAD with previous thread %@", [cThread threadDictionary]); + + //This is important to note ... the tcl command being executed is saved in the + //current thread's thread dictionary in the upper tier method that calls this one. + // This means we are only going to guarantee + //thread saftey for Framework clients at the the level of MPMacPorts, MPPorts etc. and above + NSDictionary * serverInfo = [NSDictionary dictionaryWithObjectsAndKeys: + ipcFilePathCopy, @"ipcFilePath", + [[MPNotifications sharedListener] performingTclCommand], @"currentMethod", + nil]; + [NSThread detachNewThreadSelector:@selector(startIPCServerThread:) toTarget:notificationObject - withObject:ipcFilePathCopy]; + withObject:serverInfo]; //[notificationObject startIPCServerThread]; //} - - - //Retrieving the path for interpInit.tcl for our helper tool NSString * interpInitPath = [[NSBundle bundleForClass:[MPInterpreter class]] pathForResource:@"interpInit" ofType:@"tcl"]; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -108,7 +108,7 @@ // This needs to throw an exception if things don't go well [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_sync_Started" object:nil]; - [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_sync"]; + [[MPNotifications sharedListener] setPerformingTclCommand:@"sync"]; if ([self authorizationMode]) result = [interpreter evaluateStringWithMPHelperTool:@"mportsync" error:sError]; @@ -124,7 +124,7 @@ - (void)selfUpdate:(NSError**)sError { //Also needs to throw an exception if things don't go well [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_selfupdate_Started" object:nil]; - [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_selfUpdate"]; + [[MPNotifications sharedListener] setPerformingTclCommand:@"selfUpdate"]; if([self authorizationMode]) [interpreter evaluateStringWithMPHelperTool:@"macports::selfupdate" error:sError]; Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.h 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.h 2008-09-03 06:35:55 UTC (rev 39747) @@ -14,8 +14,8 @@ @interface MPNotifications (IPCAdditions) -(BOOL) terminateBackgroundThread; -(void) setTerminateBackgroundThread:(BOOL)newStatus; --(void) startIPCServerThread:(NSString *) socketFilePath; +-(void) startIPCServerThread:(NSDictionary *)serverInfo; -(void) prepareIPCServerThread; -(void) stopIPCServerThread; - +-(void) sendIPCNotification:(NSString *)message; @end Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications+IPCAdditions.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -813,8 +813,13 @@ //fprintf(stderr, "%p: Shout \"%.*s\"\n", client, (int) sizeof(packet->fMessage), packet->fMessage); NSString * shout = [NSString stringWithCString:packet->fMessage encoding:NSUTF8StringEncoding]; - NSLog(@"CLIENT SHOUT BEING CALLED (YAAAY!!) : %@" , shout); - + //NSLog(@"CLIENT SHOUT BEING CALLED (YAAAY!!) : %@" , shout); + [[MPNotifications sharedListener] sendIPCNotification:shout]; +// [[NSNotificationCenter defaultCenter] postNotificationName:MPINFO +// object:nil +// userInfo:[NSDictionary dictionaryWithObjectsAndKeys:shout, MPMESSAGE, nil]]; + + // We make a snapshot of the client list because clients might disappear // as we talk to them. That is, the act of talking to the client might // cause us to notice that the client is dead. @@ -913,7 +918,7 @@ //loop running. For now i'm not synchronizing variable access since the //worst that could happen is that the server is late in reading a chaged //value update - //clientHasQuit = 1; + clientHasQuit = 1; } return result; @@ -1344,11 +1349,14 @@ terminateBackgroundThread = newStatus; } --(void) startIPCServerThread:(NSString *)socketFilePath { +-(void) startIPCServerThread:(NSDictionary *)serverInfo { NSAutoreleasePool * sPool = [[NSAutoreleasePool alloc] init]; NSLog(@"INSIDE SERVER THREAD"); + [[MPNotifications sharedListener] + setPerformingTclCommand:[serverInfo objectForKey:@"currentMethod"]]; + //Configure runloop int err = 0; int listenerFD; @@ -1411,11 +1419,8 @@ } if (err == 0) { //err = SafeBindUnixDomainSocket(listenerFD, kServerSocketPath); - NSLog(@"Socket file path is %@", socketFilePath); - - char testPath [MAXPATHLEN]; - strcpy(testPath, [socketFilePath cStringUsingEncoding:NSUTF8StringEncoding]); - err = SafeBindUnixDomainSocket(listenerFD, [socketFilePath cStringUsingEncoding:NSUTF8StringEncoding]); + //NSLog(@"Socket file path is %@", socketFilePath); + err = SafeBindUnixDomainSocket(listenerFD, [[serverInfo objectForKey:@"ipcFilePath"] cStringUsingEncoding:NSUTF8StringEncoding]); didBind = (err == 0); NSLog(@"Binding Socket %i", err); } @@ -1481,6 +1486,7 @@ //check to ensure that that doesn't create problems CFRunLoopStop([currentLoop getCFRunLoop]); + [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [sPool release]; } @@ -1492,5 +1498,24 @@ terminateBackgroundThread == YES; } - +-(void) sendIPCNotification:(NSString *)message { + NSArray * array = [message componentsSeparatedByString:MPSEPARATOR]; + + //Strip off "--->" from message + NSMutableString * msg = [NSMutableString stringWithString:[array objectAtIndex:3]]; + [msg setString:[[msg componentsSeparatedByString:@"--->"] componentsJoinedByString:@""]]; + + // Array is of the form + // Notification type, MPCHANNEL, MPPREFIX, MPMESSAGE + // e.g. MPInfoNotification_&MP&_stdout_&MP&_None_&MP&_total size is 18781178 speedup is 57.00 + NSDictionary * userInfo = [NSDictionary dictionaryWithObjectsAndKeys: + [[MPNotifications sharedListener] performingTclCommand], MPMETHOD, + [array objectAtIndex:1], MPCHANNEL, + [array objectAtIndex:2], MPPREFIX, + msg, MPMESSAGE, nil]; + + [[NSNotificationCenter defaultCenter] postNotificationName:[array objectAtIndex:0] + object:nil + userInfo:userInfo]; +} @end Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.h 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.h 2008-09-03 06:35:55 UTC (rev 39747) @@ -72,8 +72,8 @@ #define MPDEBUG @"MPDebugNotification" #define MPALL @"MPAllNotification" +#import "MPInterpreter.h" - /*! @class MPNotifications @abstract A class to handle notifying Framework clients of port activity @@ -134,6 +134,7 @@ //These methods aren't for the public ... yet ... -(void)setPerformingTclCommand:(NSString *)string; -(NSString *)performingTclCommand; +-(BOOL) postNotificationOnMainThread:(NSString *) message; @end Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPNotifications.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -99,20 +99,6 @@ [super dealloc]; } - -- (void) setPerformingTclCommand:(NSString *)tclString { - - if(performingTclCommand != tclString){ - [performingTclCommand release]; - performingTclCommand = [tclString copy]; - } - -} - -- (NSString *) performingTclCommand { - return performingTclCommand; -} - //Should I raise an exception for invalid blockOptions that are //passed to this method? -(BOOL)checkIfNotificationBlocked:(NSString *)option { @@ -137,6 +123,38 @@ } } +#pragma mark - +#pragma mark Private Methods +-(BOOL) postNotificationOnMainThread:(NSString *) message { +// [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:MPINFO +// object:nil +// userInfo:[NSDictionary dictionaryWithObjectsAndKeys:message, MPMESSAGE, nil]]; + [[NSNotificationCenter defaultCenter] postNotificationName:MPINFO + object:nil + userInfo:[NSDictionary dictionaryWithObjectsAndKeys:message, MPMESSAGE, nil]]; + + return YES; +} + +- (void) setPerformingTclCommand:(NSString *)tclString { + + [[[NSThread currentThread] threadDictionary] setObject:tclString forKey:@"performingTclCommand"]; + +// if(performingTclCommand != tclString){ +// [performingTclCommand release]; +// performingTclCommand = [tclString copy]; +// } + +} + +- (NSString *) performingTclCommand { +// return performingTclCommand; + id tclCmd = [[[NSThread currentThread] threadDictionary] objectForKey:@"performingTclCommand"]; + if (tclCmd == nil) + return @""; + return tclCmd; +} + @end Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m 2008-09-03 03:01:28 UTC (rev 39746) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPPort.m 2008-09-03 06:35:55 UTC (rev 39747) @@ -193,8 +193,8 @@ //Send Global Notifications and update MPNotifications variable [self sendGlobalExecNotification:procedure withStatus:@"Started"]; - NSString * tclCmd = [@"YES_" stringByAppendingString:procedure]; - [[MPNotifications sharedListener] setPerformingTclCommand:tclCmd]; + //NSString * tclCmd = [@"YES_" stringByAppendingString:procedure]; + [[MPNotifications sharedListener] setPerformingTclCommand:procedure]; if ([parentMacPortsInstance authorizationMode]) { [interpreter evaluateStringWithMPHelperTool: @@ -238,8 +238,8 @@ //Send Global Notifications and update MPNotifications variable [self sendGlobalExecNotification:target withStatus:@"Started"]; - NSString * tclCmd = [@"YES_" stringByAppendingString:target]; - [[MPNotifications sharedListener] setPerformingTclCommand:tclCmd]; + //NSString * tclCmd = [@"YES_" stringByAppendingString:target]; + [[MPNotifications sharedListener] setPerformingTclCommand:target]; if ([parentMacPortsInstance authorizationMode]) { [interpreter evaluateStringWithMPHelperTool: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/fb426f84/attachment.html From mww at macports.org Tue Sep 2 23:44:07 2008 From: mww at macports.org (mww at macports.org) Date: Tue, 2 Sep 2008 23:44:07 -0700 (PDT) Subject: [39748] trunk/dports/archivers/gzip Message-ID: <20080903064408.D6C812F9499@beta.macosforge.org> Revision: 39748 http://trac.macosforge.org/projects/macports/changeset/39748 Author: mww at macports.org Date: 2008-09-02 23:44:06 -0700 (Tue, 02 Sep 2008) Log Message: ----------- add variant for 'rsyncable' support; thanks to macports at justinlove.name (#16446) Modified Paths: -------------- trunk/dports/archivers/gzip/Portfile Added Paths: ----------- trunk/dports/archivers/gzip/files/ trunk/dports/archivers/gzip/files/patch-gzip-rsyncable.diff Modified: trunk/dports/archivers/gzip/Portfile =================================================================== --- trunk/dports/archivers/gzip/Portfile 2008-09-03 06:35:55 UTC (rev 39747) +++ trunk/dports/archivers/gzip/Portfile 2008-09-03 06:44:06 UTC (rev 39748) @@ -26,3 +26,7 @@ test.target check destroot.destdir prefix=${destroot}${prefix} + +variant rsyncable description {support the --rsyncable flag} { + patchfiles-append patch-gzip-rsyncable.diff +} Added: trunk/dports/archivers/gzip/files/patch-gzip-rsyncable.diff =================================================================== --- trunk/dports/archivers/gzip/files/patch-gzip-rsyncable.diff (rev 0) +++ trunk/dports/archivers/gzip/files/patch-gzip-rsyncable.diff 2008-09-03 06:44:06 UTC (rev 39748) @@ -0,0 +1,279 @@ +diff -u -r ../gzip-1.3.12.orig/deflate.c ./deflate.c +--- ../gzip-1.3.12.orig/deflate.c 2006-12-07 17:53:00.000000000 -0600 ++++ ./deflate.c 2008-09-01 20:49:37.000000000 -0500 +@@ -135,6 +135,14 @@ + #endif + /* Matches of length 3 are discarded if their distance exceeds TOO_FAR */ + ++#ifndef RSYNC_WIN ++# define RSYNC_WIN 4096 ++#endif ++/* Size of rsync window, must be < MAX_DIST */ ++ ++#define RSYNC_SUM_MATCH(sum) ((sum) % RSYNC_WIN == 0) ++/* Whether window sum matches magic value */ ++ + /* =========================================================================== + * Local data used by the "longest match" routines. + */ +@@ -216,6 +224,8 @@ + unsigned near good_match; + /* Use a faster search when the previous match is longer than this */ + ++local ulg rsync_sum; /* rolling sum of rsync window */ ++local ulg rsync_chunk_end; /* next rsync sequence point */ + + /* Values for max_lazy_match, good_match and max_chain_length, depending on + * the desired pack level (0..9). The values given below have been tuned to +@@ -314,6 +324,10 @@ + #endif + /* prev will be initialized on the fly */ + ++ /* rsync params */ ++ rsync_chunk_end = 0xFFFFFFFFUL; ++ rsync_sum = 0; ++ + /* Set the default configuration parameters: + */ + max_lazy_match = configuration_table[pack_level].max_lazy; +@@ -550,6 +564,8 @@ + memcpy((char*)window, (char*)window+WSIZE, (unsigned)WSIZE); + match_start -= WSIZE; + strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */ ++ if (rsync_chunk_end != 0xFFFFFFFFUL) ++ rsync_chunk_end -= WSIZE; + + block_start -= (long) WSIZE; + +@@ -577,13 +593,46 @@ + } + } + ++local void rsync_roll(start, num) ++ unsigned start; ++ unsigned num; ++{ ++ unsigned i; ++ ++ if (start < RSYNC_WIN) { ++ /* before window fills. */ ++ for (i = start; i < RSYNC_WIN; i++) { ++ if (i == start + num) return; ++ rsync_sum += (ulg)window[i]; ++ } ++ num -= (RSYNC_WIN - start); ++ start = RSYNC_WIN; ++ } ++ ++ /* buffer after window full */ ++ for (i = start; i < start+num; i++) { ++ /* New character in */ ++ rsync_sum += (ulg)window[i]; ++ /* Old character out */ ++ rsync_sum -= (ulg)window[i - RSYNC_WIN]; ++ if (rsync_chunk_end == 0xFFFFFFFFUL && RSYNC_SUM_MATCH(rsync_sum)) ++ rsync_chunk_end = i; ++ } ++} ++ ++/* =========================================================================== ++ * Set rsync_chunk_end if window sum matches magic value. ++ */ ++#define RSYNC_ROLL(s, n) \ ++ do { if (rsync) rsync_roll((s), (n)); } while(0) ++ + /* =========================================================================== + * Flush the current block, with given end-of-file flag. + * IN assertion: strstart is set to the end of the current match. + */ + #define FLUSH_BLOCK(eof) \ + flush_block(block_start >= 0L ? (char*)&window[(unsigned)block_start] : \ +- (char*)NULL, (long)strstart - block_start, (eof)) ++ (char*)NULL, (long)strstart - block_start, flush-1, (eof)) + + /* =========================================================================== + * Processes a new input file and return its compressed length. This +@@ -594,7 +643,7 @@ + local off_t deflate_fast() + { + IPos hash_head; /* head of the hash chain */ +- int flush; /* set if current block must be flushed */ ++ int flush; /* set if current block must be flushed, 2=>and padded */ + unsigned match_length = 0; /* length of best match */ + + prev_length = MIN_MATCH-1; +@@ -624,6 +673,7 @@ + + lookahead -= match_length; + ++ RSYNC_ROLL(strstart, match_length); + /* Insert new strings in the hash table only if the match length + * is not too large. This saves time but degrades compression. + */ +@@ -652,9 +702,14 @@ + /* No match, output a literal byte */ + Tracevv((stderr,"%c",window[strstart])); + flush = ct_tally (0, window[strstart]); ++ RSYNC_ROLL(strstart, 1); + lookahead--; + strstart++; + } ++ if (rsync && strstart > rsync_chunk_end) { ++ rsync_chunk_end = 0xFFFFFFFFUL; ++ flush = 2; ++ } + if (flush) FLUSH_BLOCK(0), block_start = strstart; + + /* Make sure that we always have enough lookahead, except +@@ -728,6 +783,7 @@ + */ + lookahead -= prev_length-1; + prev_length -= 2; ++ RSYNC_ROLL(strstart, prev_length+1); + do { + strstart++; + INSERT_STRING(strstart, hash_head); +@@ -740,24 +796,39 @@ + match_available = 0; + match_length = MIN_MATCH-1; + strstart++; +- if (flush) FLUSH_BLOCK(0), block_start = strstart; + ++ if (rsync && strstart > rsync_chunk_end) { ++ rsync_chunk_end = 0xFFFFFFFFUL; ++ flush = 2; ++ } ++ if (flush) FLUSH_BLOCK(0), block_start = strstart; + } else if (match_available) { + /* If there was no match at the previous position, output a + * single literal. If there was a match but the current match + * is longer, truncate the previous match to a single literal. + */ + Tracevv((stderr,"%c",window[strstart-1])); +- if (ct_tally (0, window[strstart-1])) { +- FLUSH_BLOCK(0), block_start = strstart; +- } ++ flush = ct_tally (0, window[strstart-1]); ++ if (rsync && strstart > rsync_chunk_end) { ++ rsync_chunk_end = 0xFFFFFFFFUL; ++ flush = 2; ++ } ++ if (flush) FLUSH_BLOCK(0), block_start = strstart; ++ RSYNC_ROLL(strstart, 1); + strstart++; + lookahead--; + } else { + /* There is no previous match to compare with, wait for + * the next step to decide. + */ ++ if (rsync && strstart > rsync_chunk_end) { ++ /* Reset huffman tree */ ++ rsync_chunk_end = 0xFFFFFFFFUL; ++ flush = 2; ++ FLUSH_BLOCK(0), block_start = strstart; ++ } + match_available = 1; ++ RSYNC_ROLL(strstart, 1); + strstart++; + lookahead--; + } +diff -u -r ../gzip-1.3.12.orig/doc/gzip.texi ./doc/gzip.texi +--- ../gzip-1.3.12.orig/doc/gzip.texi 2007-02-05 17:29:04.000000000 -0600 ++++ ./doc/gzip.texi 2008-09-01 20:55:58.000000000 -0500 +@@ -350,6 +350,14 @@ + into the directory and compress all the files it finds there (or + decompress them in the case of @command{gunzip}). + ++ at item --rsyncable ++While compressing, synchronize the output occasionally based on the ++input. This reduces compression by about 1 percent most cases, but ++means that the @command{rsync} program can take advantage of similarities ++in the uncompressed input when syncronizing two files compressed with ++this flag. @command{gunzip} cannot tell the difference between a ++compressed file created with this option, and one created without it. ++ + @item --suffix @var{suf} + @itemx -S @var{suf} + Use suffix @var{suf} instead of @samp{.gz}. Any suffix can be +diff -u -r ../gzip-1.3.12.orig/gzip.c ./gzip.c +--- ../gzip-1.3.12.orig/gzip.c 2007-03-20 00:09:51.000000000 -0500 ++++ ./gzip.c 2008-09-01 20:45:28.000000000 -0500 +@@ -231,6 +231,7 @@ + unsigned insize; /* valid bytes in inbuf */ + unsigned inptr; /* index of next byte to be processed in inbuf */ + unsigned outcnt; /* bytes in output buffer */ ++int rsync = 0; /* make ryncable chunks */ + + struct option longopts[] = + { +@@ -260,6 +261,7 @@ + {"best", 0, 0, '9'}, /* compress better */ + {"lzw", 0, 0, 'Z'}, /* make output compatible with old compress */ + {"bits", 1, 0, 'b'}, /* max number of bits per code (implies -Z) */ ++ {"rsyncable", 0, 0, 'R'}, /* make rsync-friendly archive */ + { 0, 0, 0, 0 } + }; + +@@ -341,6 +343,7 @@ + " -Z, --lzw produce output compatible with old compress", + " -b, --bits=BITS max number of bits per code (implies -Z)", + #endif ++ " --rsyncable Make rsync-friendly archive", + "", + "With no FILE, or when FILE is -, read standard input.", + "", +@@ -469,6 +472,8 @@ + recursive = 1; + #endif + break; ++ case 'R': ++ rsync = 1; break; + case 'S': + #ifdef NO_MULTIPLE_DOTS + if (*optarg == '.') optarg++; +diff -u -r ../gzip-1.3.12.orig/gzip.h ./gzip.h +--- ../gzip-1.3.12.orig/gzip.h 2007-03-20 00:09:51.000000000 -0500 ++++ ./gzip.h 2008-09-01 20:43:35.000000000 -0500 +@@ -158,6 +158,7 @@ + extern unsigned insize; /* valid bytes in inbuf */ + extern unsigned inptr; /* index of next byte to be processed in inbuf */ + extern unsigned outcnt; /* bytes in output buffer */ ++extern int rsync; /* deflate into rsyncable chunks */ + + extern off_t bytes_in; /* number of input bytes */ + extern off_t bytes_out; /* number of output bytes */ +@@ -306,7 +307,7 @@ + /* in trees.c */ + void ct_init OF((ush *attr, int *method)); + int ct_tally OF((int dist, int lc)); +-off_t flush_block OF((char *buf, ulg stored_len, int eof)); ++off_t flush_block OF((char *buf, ulg stored_len, int pad, int eof)); + + /* in bits.c */ + void bi_init OF((file_t zipfile)); +diff -u -r ../gzip-1.3.12.orig/trees.c ./trees.c +--- ../gzip-1.3.12.orig/trees.c 2006-11-20 02:40:33.000000000 -0600 ++++ ./trees.c 2008-09-01 20:53:37.000000000 -0500 +@@ -860,9 +860,10 @@ + * trees or store, and output the encoded block to the zip file. This function + * returns the total compressed length for the file so far. + */ +-off_t flush_block(buf, stored_len, eof) ++off_t flush_block(buf, stored_len, pad, eof) + char *buf; /* input block, or NULL if too old */ + ulg stored_len; /* length of input block */ ++ int pad; /* pad output to byte boundary */ + int eof; /* true if this is the last block for a file */ + { + ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */ +@@ -955,6 +956,10 @@ + Assert (input_len == bytes_in, "bad input size"); + bi_windup(); + compressed_len += 7; /* align on byte boundary */ ++ } else if (pad && (compressed_len % 8) != 0) { ++ send_bits((STORED_BLOCK<<1)+eof, 3); /* send block type */ ++ compressed_len = (compressed_len + 3 + 7) & ~7L; ++ copy_block(buf, 0, 1); /* with header */ + } + + return compressed_len >> 3; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080902/773c01f6/attachment-0001.html From mww at macports.org Wed Sep 3 00:26:26 2008 From: mww at macports.org (mww at macports.org) Date: Wed, 3 Sep 2008 00:26:26 -0700 (PDT) Subject: [39749] trunk/dports/emulators/scummvm/Portfile Message-ID: <20080903072628.D89862F9916@beta.macosforge.org> Revision: 39749 http://trac.macosforge.org/projects/macports/changeset/39749 Author: mww at macports.org Date: 2008-09-03 00:26:18 -0700 (Wed, 03 Sep 2008) Log Message: ----------- version 0.12.0 Modified Paths: -------------- trunk/dports/emulators/scummvm/Portfile Modified: trunk/dports/emulators/scummvm/Portfile =================================================================== --- trunk/dports/emulators/scummvm/Portfile 2008-09-03 06:44:06 UTC (rev 39748) +++ trunk/dports/emulators/scummvm/Portfile 2008-09-03 07:26:18 UTC (rev 39749) @@ -3,7 +3,7 @@ PortSystem 1.0 name scummvm -version 0.11.1 +version 0.12.0 platforms darwin categories emulators games maintainers mww openmaintainer @@ -17,7 +17,7 @@ homepage http://scummvm.org/ master_sites sourceforge use_bzip2 yes -checksums sha1 a254d7382aa6c3f769591999f83ca9dfad939028 +checksums sha1 b2ef8bcf656f778ba8e87a6a341198384291394b depends_lib port:libsdl \ port:libmad \ port:libogg \ @@ -33,3 +33,5 @@ --with-sdl-prefix=${prefix} #build.target bundle build.args OSXOPT=${prefix} + +destroot.args INSTALL=/usr/bin/install -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/fd1e92c9/attachment.html From mww at macports.org Wed Sep 3 00:32:40 2008 From: mww at macports.org (mww at macports.org) Date: Wed, 3 Sep 2008 00:32:40 -0700 (PDT) Subject: [39750] trunk/dports/mail/libetpan/Portfile Message-ID: <20080903073241.1E61A2F99F0@beta.macosforge.org> Revision: 39750 http://trac.macosforge.org/projects/macports/changeset/39750 Author: mww at macports.org Date: 2008-09-03 00:32:40 -0700 (Wed, 03 Sep 2008) Log Message: ----------- version 0.56 Modified Paths: -------------- trunk/dports/mail/libetpan/Portfile Modified: trunk/dports/mail/libetpan/Portfile =================================================================== --- trunk/dports/mail/libetpan/Portfile 2008-09-03 07:26:18 UTC (rev 39749) +++ trunk/dports/mail/libetpan/Portfile 2008-09-03 07:32:40 UTC (rev 39750) @@ -3,7 +3,7 @@ PortSystem 1.0 name libetpan -version 0.55 +version 0.56 categories mail devel platforms darwin maintainers mww @@ -16,7 +16,7 @@ homepage http://libetpan.sourceforge.net/ master_sites sourceforge -checksums sha1 41ce15ddb92bb226964f7b980a01e26bacfbe6cd +checksums sha1 b75a493f6f6a82bd19acb41e459f76dc6c27e2c8 patchfiles patch-config.h.in.diff depends_lib port:openssl port:cyrus-sasl2 port:curl port:zlib port:expat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/955ac9af/attachment.html From jmr at macports.org Wed Sep 3 00:53:07 2008 From: jmr at macports.org (jmr at macports.org) Date: Wed, 3 Sep 2008 00:53:07 -0700 (PDT) Subject: [39751] trunk/dports/archivers/paq8/Portfile Message-ID: <20080903075310.8CA8F2F9BED@beta.macosforge.org> Revision: 39751 http://trac.macosforge.org/projects/macports/changeset/39751 Author: jmr at macports.org Date: 2008-09-03 00:53:02 -0700 (Wed, 03 Sep 2008) Log Message: ----------- paq8: update to version 8p, install readme file Modified Paths: -------------- trunk/dports/archivers/paq8/Portfile Modified: trunk/dports/archivers/paq8/Portfile =================================================================== --- trunk/dports/archivers/paq8/Portfile 2008-09-03 07:32:40 UTC (rev 39750) +++ trunk/dports/archivers/paq8/Portfile 2008-09-03 07:53:02 UTC (rev 39751) @@ -4,7 +4,7 @@ PortSystem 1.0 name paq8 -version 8o10t +version 8p categories archivers platforms darwin maintainers jmr openmaintainer @@ -19,9 +19,9 @@ master_sites ${homepage} use_zip yes distname paq${version} -checksums md5 12d82b90340f4bc7867d84e99991e800 \ - sha1 3e26c1d7012b0b87cc2bea891b88b05980eb9098 \ - rmd160 b03086002b420e0be7e4ed7814a9d61b2eea540d +checksums md5 52fe1592966cd497975e87ebf926845a \ + sha1 60dc8f7cb02e0eb580efb96ab3da4f75b77673fe \ + rmd160 baa15a608a993883c919a6b699635a2e6b39e9bf worksrcdir . use_configure no @@ -34,6 +34,11 @@ destroot.target paq8 destroot.destdir ${destroot}${prefix}/bin +post-destroot { + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + xinstall -m 644 ${worksrcpath}/readme.txt ${destroot}${prefix}/share/doc/${name} +} + variant universal description {Build for multiple architectures} { build.args-append ${configure.universal_cflags} } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/daa5f735/attachment.html From portindex at macports.org Wed Sep 3 00:53:40 2008 From: portindex at macports.org (portindex at macports.org) Date: Wed, 3 Sep 2008 00:53:40 -0700 (PDT) Subject: [39752] trunk/dports/PortIndex Message-ID: <20080903075345.AEC582F9C25@beta.macosforge.org> Revision: 39752 http://trac.macosforge.org/projects/macports/changeset/39752 Author: portindex at macports.org Date: 2008-09-03 00:53:38 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Total number of ports parsed: 5018 Ports successfully parsed: 5018 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-03 07:53:02 UTC (rev 39751) +++ trunk/dports/PortIndex 2008-09-03 07:53:38 UTC (rev 39752) @@ -186,8 +186,8 @@ variants universal portdir archivers/fastjar description {fast implementation of Sun's jar utility in C} homepage http://fastjar.sourceforge.net/ epoch 0 platforms darwin name fastjar depends_lib port:zlib maintainers nomaintainer long_description {Fastjar is an implementation of Sun's jar utility that comes with the JDK, written entirely in C, and runs in a fraction of the time while being 100% feature compatible.} version 0.94 categories {archivers java} revision 0 gnutar 509 variants {universal darwin_9} portdir archivers/gnutar description {tar version of the GNU project} homepage http://www.gnu.org/software/tar/ epoch 0 platforms darwin name gnutar depends_lib {port:gettext port:libiconv} maintainers mww long_description {the gnutar program creates, adds files to, or extracts files from an archive file in gnutar format, called a tarfile. A tarfile is often a magnetic tape, but can be a floppy diskette or any regular disk file.} version 1.20 categories archivers revision 0 -gzip 438 -variants universal description {gnu replacement utility for unix compress} portdir archivers/gzip homepage http://www.gzip.org/ epoch 0 platforms {darwin freebsd} name gzip long_description {gzip (GNU zip) is a compression utility designed to be a replacement for compress. Its main advantages over compress are much better compression and freedom from patented algorithms.} maintainers mww categories archivers version 1.3.12 revision 0 +gzip 506 +variants {universal rsyncable} variant_desc {rsyncable {support the --rsyncable flag}} portdir archivers/gzip description {gnu replacement utility for unix compress} homepage http://www.gzip.org/ epoch 0 platforms {darwin freebsd} name gzip maintainers mww long_description {gzip (GNU zip) is a compression utility designed to be a replacement for compress. Its main advantages over compress are much better compression and freedom from patented algorithms.} version 1.3.12 categories archivers revision 0 gzrecover 445 variants universal portdir archivers/gzrecover description {attempts to extract bad gzip archives} homepage http://www.urbanophile.com/arenn/hacking/gzrt/ epoch 0 platforms darwin name gzrecover depends_lib port:zlib maintainers nomaintainer long_description {Gzrecover attempts to skip over bad data in a gzip archive. It will try to to skip over bad data and extract whatever files might be there.} version 0.5 categories archivers revision 0 ha 300 @@ -1702,6 +1702,8 @@ variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-rubybindings description {Ruby bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-rubybindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:ruby port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The ruby bindings provide access to subversion API from ruby.} version 1.5.2 categories {devel ruby} revision 0 svk 1121 variants universal portdir devel/svk description {A distributed version control system.} homepage http://svk.elixus.org/ epoch 0 platforms darwin name svk depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-data-hierarchy port:p5-algorithm-diff port:p5-algorithm-annotate port:p5-perlio-via-dynamic port:p5-uri port:p5-perlio-eol port:p5-io-digest port:p5-file-type port:subversion-perlbindings port:p5-perlio-via-symlink port:p5-svn-mirror port:p5-pod-escapes port:p5-pod-simple port:p5-timedate port:p5-compress-zlib port:p5-freezethaw port:p5-locale-maketext-lexicon port:p5-locale-maketext-simple port:p5-class-autouse port:p5-io-pager port:p5-class-accessor port:p5-pathtools port:p5-version port:p5-yaml-syck port:p5-app-cli port:p5-list-moreutils port:p5-class-data-inheritable port:p5-path-class port:p5-universal-require port:p5-log-log4perl port:p5-file-temp-svkonly} maintainers dluke at geeklair.net long_description {svk is a decentralized version control system written in P erl. It uses the Subversion filesystem but provides additional, powerful features} version 2.0.2 categories {devel perl} revision 0 +svndumptool 804 +variants universal portdir devel/svndumptool description {tool for processing Subversion dumpfiles} homepage http://svn.borg.ch/svndumptool/ epoch 0 platforms darwin depends_lib port:python25 name svndumptool maintainers ryandesign long_description {With svndumptool you can check dumpfiles for {correctness;} fix some broken dumpfiles including those made by {cvs2svn;} show differences between {dumpfiles;} edit files inside dumpfiles including replacing their contents or fixing their end-of-line {style;} export files from {dumpfiles;} split and join {dumpfiles;} merge dumpfiles interleaved so that revisions remain in chronological {order;} show {logs;} list files of given {revisions;} and transform revision and node properties with regular expressions} categories devel version 0.5.0 revision 0 swig 1132 variants {universal doc python perl gcj guile mzscheme ruby php5 ocaml pike lua chicken allegro clisp r} depends_build {port:bison port:gsed port:python25 port:perl5.8 port:ruby port:php5} variant_desc {doc {Install extra documentation}} portdir devel/swig description {Tool to wrap C/C++ libraries in high-level languages.} homepage http://www.swig.org/ depends_run {port:python25 port:perl5.8 port:ruby port:php5} epoch 0 platforms darwin name swig maintainers {kevin jwa} long_description {SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is primarily used with common scripting languages such as Perl, Python, Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages also includes non-scripting languages such as Java and OCAML. SWIG is most commonly used to create high-level interpreted programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG may be freely used, distributed, and modified for commercial and noncommercial use.} categories devel version 1.3.36 revision 1 t1lib 633 @@ -1901,7 +1903,7 @@ qemu-usermode 521 variants {universal darwin_8} description {x86 and PowerPC Emulator} portdir emulators/qemu-usermode homepage http://fabrice.bellard.free.fr/ epoch 0 platforms darwin name qemu-usermode long_description {QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. It can emulate a Full PC System and has basic support for PowerMac Emulation. This port has no GUI and only supports user mode emulation (darwin/i386 and ppc).} maintainers mww categories emulators version 0.9.0 revision 0 scummvm 615 -variants universal portdir emulators/scummvm description {cross-platform interpreter for several adventure engines} homepage http://scummvm.org/ epoch 0 platforms darwin name scummvm depends_lib {port:libsdl port:libmad port:libogg port:libvorbis port:libmpeg2 port:flac} maintainers {mww openmaintainer} long_description {ScummVM is a cross-platform interpreter for several point-and-click adventure engines. This includes all SCUMM-based adventures by LucasArts, Simon the Sorcerer by AdventureSoft, and Beneath a Steel Sky and Broken Sword 2 by Revolution} version 0.11.1 categories {emulators games} revision 0 +variants universal portdir emulators/scummvm description {cross-platform interpreter for several adventure engines} homepage http://scummvm.org/ epoch 0 platforms darwin name scummvm depends_lib {port:libsdl port:libmad port:libogg port:libvorbis port:libmpeg2 port:flac} maintainers {mww openmaintainer} long_description {ScummVM is a cross-platform interpreter for several point-and-click adventure engines. This includes all SCUMM-based adventures by LucasArts, Simon the Sorcerer by AdventureSoft, and Beneath a Steel Sky and Broken Sword 2 by Revolution} version 0.12.0 categories {emulators games} revision 0 sheepshaver 679 variants {universal no_x11} depends_build {port:autoconf port:automake} portdir emulators/sheepshaver description {PowerPC Mac OS run-time environment} homepage http://sheepshaver.cebix.net/ epoch 0 platforms darwin depends_lib {port:libsdl port:gtk2} name sheepshaver maintainers opendarwin.nospam at vercruesse.de long_description {SheepShaver is an Open Source PowerPC Mac OS run-time environment. That is, it enables you to run PowerPC Classic Mac OS software on your computer, even if you are using a different operating system. However, you still need a copy of Mac OS and a Power Macintosh ROM image to use this program.} version 2.3-20060318 categories emulators revision 0 simh 678 @@ -3971,7 +3973,7 @@ libesmtp 858 variants universal description {ESMTP library} portdir mail/libesmtp homepage http://www.stafford.uklinux.net/libesmtp/ epoch 0 platforms darwin name libesmtp long_description {libESMTP is a library to manage posting (or submission of) electronic mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may be used as part of a Mail User Agent (MUA) or another program that must be able to post electronic mail but where mail functionality is not that program's primary purpose. libESMTP is not intended to be used as part of a program that implements a Mail Transport Agent. It is hoped that the availability of a lightweight library implementing an SMTP client will both ease the task of coding for software authors and improve the quality of the resulting code.} maintainers noses at noses.com categories mail version 1.0.4 revision 0 libetpan 538 -variants universal portdir mail/libetpan description {mail purpose library} homepage http://libetpan.sourceforge.net/ epoch 0 platforms darwin name libetpan depends_lib {port:openssl port:cyrus-sasl2 port:curl port:zlib port:expat} maintainers mww long_description {libEtPan is a mail purpose library. It will be used for low-level mail handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir), message/MIME parser} version 0.55 categories {mail devel} revision 0 +variants universal portdir mail/libetpan description {mail purpose library} homepage http://libetpan.sourceforge.net/ epoch 0 platforms darwin name libetpan depends_lib {port:openssl port:cyrus-sasl2 port:curl port:zlib port:expat} maintainers mww long_description {libEtPan is a mail purpose library. It will be used for low-level mail handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir), message/MIME parser} version 0.56 categories {mail devel} revision 0 libidn 809 variants universal portdir mail/libidn description {international domain name library} homepage http://www.gnu.org/software/libidn/ epoch 0 platforms darwin name libidn depends_lib {port:libiconv port:gettext} long_description {Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group, used for internationalized domain names. The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibitation of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA are supported.} maintainers olaf at foellinger.de version 1.9 categories mail revision 0 libmilter 669 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/d4a03332/attachment.html From febeling at macports.org Wed Sep 3 01:16:44 2008 From: febeling at macports.org (febeling at macports.org) Date: Wed, 3 Sep 2008 01:16:44 -0700 (PDT) Subject: [39753] trunk/dports/erlang/eunit/Portfile Message-ID: <20080903081644.E1F3F2F9E39@beta.macosforge.org> Revision: 39753 http://trac.macosforge.org/projects/macports/changeset/39753 Author: febeling at macports.org Date: 2008-09-03 01:16:43 -0700 (Wed, 03 Sep 2008) Log Message: ----------- upgrade to a new upstream revision (r250); place object files more appropriately into erlang code path Modified Paths: -------------- trunk/dports/erlang/eunit/Portfile Modified: trunk/dports/erlang/eunit/Portfile =================================================================== --- trunk/dports/erlang/eunit/Portfile 2008-09-03 07:53:38 UTC (rev 39752) +++ trunk/dports/erlang/eunit/Portfile 2008-09-03 08:16:43 UTC (rev 39753) @@ -3,6 +3,7 @@ name eunit # the released version 1.1 is too old to be interesting version 2.0b1 +revision 1 categories erlang devel maintainers febeling openmaintainer description Erlang Unit Testing Framework @@ -13,15 +14,17 @@ depends_lib port:erlang fetch.type svn svn.url http://svn.process-one.net/contribs/trunk/eunit -svn.tag 249 +svn.tag 250 worksrcdir ${name} build.target all docs destroot { - set hdrdir ${destroot}${prefix}/lib/${name}/include + set libdir ${destroot}${prefix}/lib/erlang/lib/${name}-${version} + + set hdrdir ${libdir}/include xinstall -d -m 0755 ${hdrdir} eval xinstall -m 0644 [glob ${worksrcpath}/include/*.hrl] ${hdrdir} - set ebindir ${destroot}${prefix}/lib/${name}/ebin + set ebindir ${libdir}/ebin xinstall -d -m 0755 ${ebindir} eval xinstall -m 0644 [glob ${worksrcpath}/ebin/*.beam] ${ebindir} @@ -36,7 +39,7 @@ AUTHORS CHANGELOG COPYING NOTES README \ ${docdir} - set examplesdir ${destroot}${prefix}/lib/${name}/examples + set examplesdir ${libdir}/examples xinstall -d -m 0755 ${examplesdir} eval xinstall -m 0644 [glob ${worksrcpath}/examples/*.erl] ${examplesdir} eval xinstall -m 0644 [glob ${worksrcpath}/examples/*.txt] ${examplesdir} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/1b25dae0/attachment-0001.html From febeling at macports.org Wed Sep 3 01:21:04 2008 From: febeling at macports.org (febeling at macports.org) Date: Wed, 3 Sep 2008 01:21:04 -0700 (PDT) Subject: [39754] trunk/dports/erlang/eunit/Portfile Message-ID: <20080903082105.956472F9F14@beta.macosforge.org> Revision: 39754 http://trac.macosforge.org/projects/macports/changeset/39754 Author: febeling at macports.org Date: 2008-09-03 01:21:03 -0700 (Wed, 03 Sep 2008) Log Message: ----------- make lint (more) happy with 2 newlines Modified Paths: -------------- trunk/dports/erlang/eunit/Portfile Modified: trunk/dports/erlang/eunit/Portfile =================================================================== --- trunk/dports/erlang/eunit/Portfile 2008-09-03 08:16:43 UTC (rev 39753) +++ trunk/dports/erlang/eunit/Portfile 2008-09-03 08:21:03 UTC (rev 39754) @@ -1,5 +1,7 @@ # $Id $ + PortSystem 1.0 + name eunit # the released version 1.1 is too old to be interesting version 2.0b1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/84906046/attachment.html From ryandesign at macports.org Wed Sep 3 02:35:28 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Wed, 3 Sep 2008 02:35:28 -0700 (PDT) Subject: [39755] trunk/dports/graphics/keyjnote/ Message-ID: <20080903093528.A25F72FA392@beta.macosforge.org> Revision: 39755 http://trac.macosforge.org/projects/macports/changeset/39755 Author: ryandesign at macports.org Date: 2008-09-03 02:35:25 -0700 (Wed, 03 Sep 2008) Log Message: ----------- keyjnote: removing port; cease and desist order from Apple; see #16038 Removed Paths: ------------- trunk/dports/graphics/keyjnote/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/df106ef7/attachment.html From gwright at macports.org Wed Sep 3 08:28:00 2008 From: gwright at macports.org (gwright at macports.org) Date: Wed, 3 Sep 2008 08:28:00 -0700 (PDT) Subject: [39756] trunk/dports/cad/gtkwave/Portfile Message-ID: <20080903152801.AF71C2FBA80@beta.macosforge.org> Revision: 39756 http://trac.macosforge.org/projects/macports/changeset/39756 Author: gwright at macports.org Date: 2008-09-03 08:27:58 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Version bump to 3.1.13. Modified Paths: -------------- trunk/dports/cad/gtkwave/Portfile Modified: trunk/dports/cad/gtkwave/Portfile =================================================================== --- trunk/dports/cad/gtkwave/Portfile 2008-09-03 09:35:25 UTC (rev 39755) +++ trunk/dports/cad/gtkwave/Portfile 2008-09-03 15:27:58 UTC (rev 39756) @@ -3,7 +3,7 @@ PortSystem 1.0 name gtkwave -version 3.1.12 +version 3.1.13 categories cad platforms darwin maintainers gwright at macports.org @@ -15,9 +15,9 @@ homepage http://home.nc.rr.com/gtkwave master_sites ${homepage}/ -checksums md5 a9e8a399b9127a0d31066ac06ac39faa \ - sha1 ea13294c4e371d47d066d227745a7bb86c9d67b9 \ - rmd160 0193420aab5eebe121c6f03a624120210ec4f7cf +checksums md5 b79a78514fed8e0cd25b05409daeb799 \ + sha1 b4e882b3ce96bd5ebf9f007221cd088ff41465a4 \ + rmd160 8889d446f6711182b5712491886ba303ff31ae53 depends_lib port:gtk2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/b7680b6e/attachment.html From narf_tm at macports.org Wed Sep 3 08:44:12 2008 From: narf_tm at macports.org (narf_tm at macports.org) Date: Wed, 3 Sep 2008 08:44:12 -0700 (PDT) Subject: [39757] trunk/dports/perl/p5-io-compress-zlib/Portfile Message-ID: <20080903154412.BA0E42FBBAE@beta.macosforge.org> Revision: 39757 http://trac.macosforge.org/projects/macports/changeset/39757 Author: narf_tm at macports.org Date: 2008-09-03 08:44:11 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Updated to 2.014. Modified Paths: -------------- trunk/dports/perl/p5-io-compress-zlib/Portfile Modified: trunk/dports/perl/p5-io-compress-zlib/Portfile =================================================================== --- trunk/dports/perl/p5-io-compress-zlib/Portfile 2008-09-03 15:27:58 UTC (rev 39756) +++ trunk/dports/perl/p5-io-compress-zlib/Portfile 2008-09-03 15:44:11 UTC (rev 39757) @@ -3,7 +3,7 @@ PortSystem 1.0 PortGroup perl5 1.0 -perl5.setup IO-Compress-Zlib 2.012 +perl5.setup IO-Compress-Zlib 2.014 maintainers narf_tm openmaintainer description This module provides a Perl interface to allow reading \ and writing of RFC 1950, 1951, 1952 (i.e. gzip) and \ @@ -12,9 +12,9 @@ platforms darwin -checksums md5 05f847de950b5767cac6e38f0e41e11c \ - sha1 d46babbf41a352c4462b5d09e786c1386293d746 \ - rmd160 0d3f9c78ae55f653532056a7e45de081cb712a80 +checksums md5 56e7551d94f12b2a18f2dd415d62846b \ + sha1 63571e5a6e9a14d974c333e6ae955729f24a67db \ + rmd160 af8eec292d92a24b22e9557a4ca09868f992124f depends_lib-append port:p5-compress-raw-zlib \ port:p5-io-compress-base -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/ceee9226/attachment.html From blair at macports.org Wed Sep 3 10:00:37 2008 From: blair at macports.org (blair at macports.org) Date: Wed, 3 Sep 2008 10:00:37 -0700 (PDT) Subject: [39758] trunk/dports/python/py-bsddb/Portfile Message-ID: <20080903170037.CD3092FC039@beta.macosforge.org> Revision: 39758 http://trac.macosforge.org/projects/macports/changeset/39758 Author: blair at macports.org Date: 2008-09-03 10:00:37 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Vertical whitespace fix. Modified Paths: -------------- trunk/dports/python/py-bsddb/Portfile Modified: trunk/dports/python/py-bsddb/Portfile =================================================================== --- trunk/dports/python/py-bsddb/Portfile 2008-09-03 15:44:11 UTC (rev 39757) +++ trunk/dports/python/py-bsddb/Portfile 2008-09-03 17:00:37 UTC (rev 39758) @@ -47,4 +47,3 @@ livecheck.check regex livecheck.url http://www.python.org/download/releases/ livecheck.regex Python (2.4.\[0-9\]+) - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/fb818514/attachment.html From blair at macports.org Wed Sep 3 10:05:06 2008 From: blair at macports.org (blair at macports.org) Date: Wed, 3 Sep 2008 10:05:06 -0700 (PDT) Subject: [39759] trunk/dports/python/py-bsddb/Portfile Message-ID: <20080903170506.470E52FC122@beta.macosforge.org> Revision: 39759 http://trac.macosforge.org/projects/macports/changeset/39759 Author: blair at macports.org Date: 2008-09-03 10:05:05 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Fixes #15649; maintainer timeout. Just use Python 2.5.2's bsddb module which works with Berkeley DB 4.6. The module compiles and passes using: $ /opt/local/bin/python2.4 Lib/test/test_bsddb.py Modified Paths: -------------- trunk/dports/python/py-bsddb/Portfile Modified: trunk/dports/python/py-bsddb/Portfile =================================================================== --- trunk/dports/python/py-bsddb/Portfile 2008-09-03 17:00:37 UTC (rev 39758) +++ trunk/dports/python/py-bsddb/Portfile 2008-09-03 17:05:05 UTC (rev 39759) @@ -4,8 +4,7 @@ PortGroup python24 1.0 name py-bsddb -version 2.4.5 -revision 1 +version 2.5.2 categories python databases platforms darwin maintainers mww @@ -16,7 +15,7 @@ master_sites http://www.python.org/ftp/python/${version}/ distname Python-${version} dist_subdir python24 -checksums sha1 6e9e1ac2b70cc10c36063a25ab5a5ddb53177107 +checksums sha1 4755d212f50af704c20224a6966e23acc5aea60f use_bzip2 yes worksrcdir ${worksrcdir}/Modules -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/6daeb7c8/attachment.html From blair at macports.org Wed Sep 3 10:07:13 2008 From: blair at macports.org (blair at macports.org) Date: Wed, 3 Sep 2008 10:07:13 -0700 (PDT) Subject: [39760] trunk/dports/devel/subversion-python24bindings/Portfile Message-ID: <20080903170713.BE0022FC1CE@beta.macosforge.org> Revision: 39760 http://trac.macosforge.org/projects/macports/changeset/39760 Author: blair at macports.org Date: 2008-09-03 10:07:12 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Bump subversion-python24bindings to use Subversion 1.5.2. Modified Paths: -------------- trunk/dports/devel/subversion-python24bindings/Portfile Modified: trunk/dports/devel/subversion-python24bindings/Portfile =================================================================== --- trunk/dports/devel/subversion-python24bindings/Portfile 2008-09-03 17:05:05 UTC (rev 39759) +++ trunk/dports/devel/subversion-python24bindings/Portfile 2008-09-03 17:07:12 UTC (rev 39760) @@ -3,8 +3,7 @@ PortSystem 1.0 name subversion-python24bindings -version 1.5.0 -revision 1 +version 1.5.2 categories devel python platforms darwin maintainers blair @@ -18,9 +17,9 @@ homepage http://subversion.tigris.org/ master_sites ${homepage}/downloads use_bzip2 yes -checksums md5 004b57643406dd10957ec87955702189 \ - sha1 1236a32521b4d8c02261cdc567f6a33d9623f51f \ - rmd160 ccbe67ebd473c7fed13253e02f4de88d1b7c89c8 +checksums md5 8321d0e1964846090f0174cb6bb18838 \ + sha1 b44862309d433e93ce0e422137047ca4a2b52403 \ + rmd160 09cf131f059edc313738d754c7b58e4e6f1cec2f distname subversion-${version} dist_subdir subversion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/ff063e18/attachment.html From blair at macports.org Wed Sep 3 11:40:40 2008 From: blair at macports.org (blair at macports.org) Date: Wed, 3 Sep 2008 11:40:40 -0700 (PDT) Subject: [39761] trunk/dports/devel/protobuf-cpp/Portfile Message-ID: <20080903184041.40A212FC92D@beta.macosforge.org> Revision: 39761 http://trac.macosforge.org/projects/macports/changeset/39761 Author: blair at macports.org Date: 2008-09-03 11:40:40 -0700 (Wed, 03 Sep 2008) Log Message: ----------- New upstream 2.0.1 release of Google Protocol Buffers. Modified Paths: -------------- trunk/dports/devel/protobuf-cpp/Portfile Modified: trunk/dports/devel/protobuf-cpp/Portfile =================================================================== --- trunk/dports/devel/protobuf-cpp/Portfile 2008-09-03 17:07:12 UTC (rev 39760) +++ trunk/dports/devel/protobuf-cpp/Portfile 2008-09-03 18:40:40 UTC (rev 39761) @@ -3,7 +3,7 @@ PortSystem 1.0 name protobuf-cpp -version 0.2.0.0.1 +version 2.0.1 categories devel maintainers blair description Encode data in an efficient yet extensible format. @@ -28,11 +28,11 @@ homepage http://code.google.com/p/protobuf/ master_sites googlecode:protobuf -distname protobuf-2.0.0beta +distname protobuf-${version} use_bzip2 yes -checksums md5 79a8072490f863139f32488c3ff84d39 \ - sha1 eaf63f778aad90c00cbd9ec982e7502659b58d3c \ - rmd160 533d977dd2cb35f56d0ee1d593fb670c393e9d23 +checksums md5 add533032c5abffa378306fb580a18a4 \ + sha1 59338ff41fea179e34aa8e30355f23ac87c628f4 \ + rmd160 dbc4b14d9a2d2ec6f3e5bdcfe7fe84014a7089d5 platforms darwin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/ebbc9c6b/attachment.html From macsforever2000 at macports.org Wed Sep 3 12:08:49 2008 From: macsforever2000 at macports.org (macsforever2000 at macports.org) Date: Wed, 3 Sep 2008 12:08:49 -0700 (PDT) Subject: [39762] trunk/dports/aqua/Growl/Portfile Message-ID: <20080903190850.C76D42FCBA3@beta.macosforge.org> Revision: 39762 http://trac.macosforge.org/projects/macports/changeset/39762 Author: macsforever2000 at macports.org Date: 2008-09-03 12:08:48 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Updated to 1.1.4. Satisfies ticket #15044. Modified Paths: -------------- trunk/dports/aqua/Growl/Portfile Modified: trunk/dports/aqua/Growl/Portfile =================================================================== --- trunk/dports/aqua/Growl/Portfile 2008-09-03 18:40:40 UTC (rev 39761) +++ trunk/dports/aqua/Growl/Portfile 2008-09-03 19:08:48 UTC (rev 39762) @@ -3,7 +3,7 @@ PortSystem 1.0 name Growl -set base_version 1.1 +set base_version 1.1.4 version ${base_version} categories aqua platforms darwin @@ -19,11 +19,10 @@ # back to a tarball once a working one is available. master_sites ${homepage}files/source/ -checksums md5 97a239744bb00aa80cd5a15d178ef620 \ - sha1 15e880ea4621079447bbd7e493856b810c57c6c0 \ - rmd160 fe96add9e757ca941d48c002f5bed6b9a66771dd +checksums md5 f497b5485f644e767482764da1813116 \ + sha1 33bf8a3b122072a6713657e577a84b7f0ef8f839 \ + rmd160 0052da5775ee1e8e4fe11316810ed6b87aa204ef use_bzip2 yes -worksrcdir ${distname}-source distname ${distname}-src #fetch.type svn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/b7dfa67a/attachment-0001.html From portindex at macports.org Wed Sep 3 12:53:36 2008 From: portindex at macports.org (portindex at macports.org) Date: Wed, 3 Sep 2008 12:53:36 -0700 (PDT) Subject: [39763] trunk/dports/PortIndex Message-ID: <20080903195337.C5E032FCF41@beta.macosforge.org> Revision: 39763 http://trac.macosforge.org/projects/macports/changeset/39763 Author: portindex at macports.org Date: 2008-09-03 12:53:34 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Total number of ports parsed: 5017 Ports successfully parsed: 5017 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-09-03 19:08:48 UTC (rev 39762) +++ trunk/dports/PortIndex 2008-09-03 19:53:34 UTC (rev 39763) @@ -36,8 +36,8 @@ variants universal description {classic solitaire game} portdir aqua/Freecell homepage http://randomoracle.com/freecell/ epoch 0 platforms darwin name Freecell long_description {The imaginatively-titled ?Freecell? is a Mac OS X version of the classic solitaire game.} maintainers nomaintainer version 2.1 categories {aqua games} revision 0 GPGAppKit 499 variants universal portdir aqua/GPGAppKit description {A framework that provides GPG-type panels} homepage http://macgpg.sourceforge.net epoch 0 platforms macosx name GPGAppKit depends_lib port:gpgme-objc maintainers waqar at macports.org long_description {A framework that provides GPG-type panels for key selection (single or multiple) and passphrase entry. All panels can be used as modal windows, relative windows (pseudo-sheets), or sheets.} version A1 categories {aqua devel security} revision 2 -Growl 409 -variants universal description {global notification system for Mac OS X} portdir aqua/Growl homepage http://growl.info/ epoch 0 platforms darwin name Growl long_description {Growl is a global notification system for Mac OS X. Any application can send a notification to Growl, which will display an attractive message on your screen.} maintainers {boeyms openmaintainer} categories aqua version 1.1 revision 0 +Growl 411 +variants universal description {global notification system for Mac OS X} portdir aqua/Growl homepage http://growl.info/ epoch 0 platforms darwin name Growl long_description {Growl is a global notification system for Mac OS X. Any application can send a notification to Growl, which will display an attractive message on your screen.} maintainers {boeyms openmaintainer} categories aqua version 1.1.4 revision 0 HandBrake 621 variants universal depends_build bin:jam:jam portdir aqua/HandBrake description {DVD to MPEG4 converter} homepage http://handbrake.m0k.org epoch 0 platforms darwin name HandBrake maintainers nomaintainer long_description {HandBrake is a GPL'd multi-platform, heavily multithreaded DVD to MPEG-4 converter. - Can encode directly from DVDs (even encrypted ones) - Outputs MP4, AVI or OGM files - Outputs AAC, MP3 or Vorbis audio - Supports 2-pass encoding - Supports encoding of two audio tracks - Includes a bitrate calculator - Supports picture cropping and scaling} version 0.7.1 categories {aqua multimedia} revision 1 IcyJuice 348 @@ -220,8 +220,8 @@ variants universal description {7-Zip implementation} portdir archivers/p7zip homepage http://p7zip.sourceforge.net/ epoch 0 platforms darwin name p7zip long_description {p7zip is a port of 7-Zip, a file archiver with highest compression ratio.} maintainers {simon openmaintainer} categories archivers version 4.58 revision 0 packddir 365 variants universal description {creates and unpacks PackdDir archives} portdir archivers/packddir homepage http://www.nongnu.org/packddir/ epoch 0 platforms darwin name packddir long_description {packddir creates and unpacks PackdDir archives, which are used in Quake (I and II) and others.} maintainers nomaintainer categories archivers version 0.0.6-1 revision 0 -paq8 502 -variants universal description {PAQ8, a tight but slow compressor} portdir archivers/paq8 homepage http://cs.fit.edu/~mmahoney/compression/ epoch 0 platforms darwin name paq8 long_description {PAQ is a series of open source data compression archivers that have evolved through collaborative development to top rankings on several benchmarks measuring compression ratio (although at the expense of speed and memory usage).} maintainers {jmr openmaintainer} categories archivers version 8o10t revision 0 +paq8 499 +variants universal description {PAQ8, a tight but slow compressor} portdir archivers/paq8 homepage http://cs.fit.edu/~mmahoney/compression/ epoch 0 platforms darwin name paq8 long_description {PAQ is a series of open source data compression archivers that have evolved through collaborative development to top rankings on several benchmarks measuring compression ratio (although at the expense of speed and memory usage).} maintainers {jmr openmaintainer} categories archivers version 8p revision 0 par2 589 variants {universal darwin_8 darwin_9} description {Parchive: Parity Archive Volume Set for data recovery} portdir archivers/par2 homepage http://parchive.sourceforge.net/ epoch 0 platforms darwin name par2 maintainers julian at jabber.org long_description {Parchive takes .par files and can regenerate missing data based upon a Reed-Soloman Code. This is useful for restoring missing pieces of a multi-part archive like the kinds used on Usenet. Version 2 does not require like-sized pieces, so it is useful for many more kinds of data recovery.} categories archivers version 0.4 revision 2 pbzip2 418 @@ -483,7 +483,7 @@ gerbv 533 variants universal portdir cad/gerbv description {Gerber Viewer (gerbv) is a viewer for Gerber files} homepage http://gerbv.sourceforge.net/ epoch 0 platforms darwin name gerbv depends_lib {lib:libgtk2:gtk2 lib:libpng:libpng} maintainers darwinports at zonque.org long_description {Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are generated from PCB CAD system and sent to PCB manufacturers as basis for the manufacturing process. The standard supported by gerbv is RS-274X.} version 1.0.1 categories cad revision 0 gtkwave 477 -variants universal portdir cad/gtkwave description {A viewer for common electronic CAD waveform files.} homepage http://home.nc.rr.com/gtkwave epoch 0 platforms darwin name gtkwave depends_lib port:gtk2 maintainers gwright at macports.org long_description {GTKWave is a fully featured GTK+ based wave viewer for Unix and Win32 which reads LXT, LXT2, VZT, and GHW files as well as standard Verilog VCD/EVCD files and allows their viewing.} version 3.1.12 categories cad revision 0 +variants universal portdir cad/gtkwave description {A viewer for common electronic CAD waveform files.} homepage http://home.nc.rr.com/gtkwave epoch 0 platforms darwin name gtkwave depends_lib port:gtk2 maintainers gwright at macports.org long_description {GTKWave is a fully featured GTK+ based wave viewer for Unix and Win32 which reads LXT, LXT2, VZT, and GHW files as well as standard Verilog VCD/EVCD files and allows their viewing.} version 3.1.13 categories cad revision 0 dgpsip 1614 variants universal description {Differential GPS over IP communication device} portdir comms/dgpsip homepage http://www.wsrcc.com/wolfgang/gps/dgps-ip.html epoch 0 platforms {darwin freebsd} name dgpsip long_description {On a stationary GPS without a differential correction signal, you should see a 20 m average radius {drunken walk} pattern. On the same receiver with DGPS corrections and a good view of the sky, the error the same receiver with DGPS corrections and a good view of the sky, the error should be reduced to approximately 2 m average radius. If you've always wanted to know exactly where your house is located without that annoying GPS wander, but didn't want to spend the money for a DGPS radio, here is your big chance! I'd like to announce a fun DGPS hack. I've written a small Un*x server and client for redistributing DGPS correction signals over the Net. Basically the server grabs the serial byte stream from my DGPS radio and sends it off over a TCP connection. The client does the same thing but in reverse. The result is that you can receive the local DGPS corrections from absolutely anywhere by using the Internet as the world's largest extension cord. You'll still need to be within 1000 miles or so of San Francisco, California, USA for best results. However chances are better error will still be reduced if you are 2000 to 3000 miles away. Several respondents from 2000 miles away have noted that the remote differential signals have diminished the SA-induced position and velocity errors by approximately 3 times.} maintainers nomaintainer categories comms version 1.32 revision 0 gnokii 650 @@ -1606,8 +1606,8 @@ variants universal description {Project Revision Control System} portdir devel/prcs homepage http://prcs.sourceforge.net/ epoch 0 platforms darwin name prcs long_description {PRCS, the Project Revision Control System, is the front end to a set of tools that (like CVS) provide a way to deal with sets of files and directories as an entity, preserving coherent versions of the entire set.} maintainers nomaintainer categories devel version 1.3.3 revision 0 premake 436 variants universal description {Premake is a build script generator.} portdir devel/premake homepage http://premake.sourceforge.net/ epoch 0 platforms darwin name premake long_description {Premake is a build script generator. Describe your project using the full-featured Lua scripting language and use premake to create input files for various IDEs and GnuMake} maintainers wyuenho at macports.org categories devel version 3.5 revision 0 -protobuf-cpp 1019 -variants universal description {Encode data in an efficient yet extensible format.} portdir devel/protobuf-cpp homepage http://code.google.com/p/protobuf/ epoch 0 platforms darwin name protobuf-cpp long_description {Google Protocol Buffers are a flexible, efficient, automated mechanism for serializing structured data -- think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the old format. You specify how you want the information you're serializing to be structured by defining protocol buffer message types in .proto files. Each protocol buffer message is a small logical record of information, containing a series of name-value pairs.} maintainers blair categories devel version 0.2.0.0.1 revision 0 +protobuf-cpp 1015 +variants universal description {Encode data in an efficient yet extensible format.} portdir devel/protobuf-cpp homepage http://code.google.com/p/protobuf/ epoch 0 platforms darwin name protobuf-cpp long_description {Google Protocol Buffers are a flexible, efficient, automated mechanism for serializing structured data -- think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the old format. You specify how you want the information you're serializing to be structured by defining protocol buffer message types in .proto files. Each protocol buffer message is a small logical record of information, containing a series of name-value pairs.} maintainers blair categories devel version 2.0.1 revision 0 pth 616 variants universal description {GNU Portable Threads} portdir devel/pth homepage http://www.gnu.org/software/pth/ epoch 0 platforms darwin name pth long_description {Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (\"multithreading\") inside server applications. All threads run in the same address space of the server application, but each thread has it's own individual program-counter, run-time stack, signal mask and errno variable.} maintainers nomaintainer categories devel version 2.0.7 revision 0 qca 469 @@ -1695,7 +1695,7 @@ subversion-perlbindings 846 variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https) support)}} portdir devel/subversion-perlbindings description {Perl bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-perlbindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion {path:\${prefix}/bin/perl:perl5.8} port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The perl bindings provide access to subversion API from perl.} version 1.5.2 categories {devel perl} revision 0 subversion-python24bindings 841 -variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python24bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python24bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python24 port:py-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers blair long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.0 categories {devel python} revision 1 +variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python24bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python24bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python24 port:py-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers blair long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.2 categories {devel python} revision 0 subversion-python25bindings 856 variants {universal no_bdb no_neon darwin_7} variant_desc {no_bdb {Build without support for BerkeleyDB repositories} no_neon {Build without neon (http/https support)}} portdir devel/subversion-python25bindings description {Python bindings for the subversion version control system.} homepage http://subversion.tigris.org/ epoch 0 platforms darwin name subversion-python25bindings depends_lib {port:expat port:neon port:apr port:apr-util port:db46 port:subversion port:python25 port:py25-bsddb port:gettext port:libiconv port:serf port:cyrus-sasl2} maintainers dluke at geeklair.net long_description {Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1). The python bindings provide access to subversion API from python.} version 1.5.2 categories {devel python} revision 0 subversion-rubybindings 820 @@ -1915,7 +1915,7 @@ erlsom 579 variants universal depends_build {port:autoconf port:erlang} portdir erlang/erlsom description {An Erlang libary for XML parsing.} homepage http://erlsom.sourceforge.net/ epoch 0 platforms darwin depends_lib port:libtool name erlsom maintainers pguyot at kallisys.net long_description {An Erlang libary for XML parsing. It supports various modes of operation: as an efficient SAX parser, as a simple DOM-like parser, or as a 'data mapper'. The data mapper transforms the XML document to Erlang records, based on an XML Schema.} version 1.2.1 categories {erlang textproc} revision 1 eunit 367 -variants universal portdir erlang/eunit description {Erlang Unit Testing Framework} homepage https://support.process-one.net/doc/display/CONTRIBS/EUnit epoch 0 platforms darwin name eunit depends_lib port:erlang maintainers {febeling openmaintainer} long_description {The Erlang version of an xUnit test frameworks} version 2.0b1 categories {erlang devel} revision 0 +variants universal portdir erlang/eunit description {Erlang Unit Testing Framework} homepage https://support.process-one.net/doc/display/CONTRIBS/EUnit epoch 0 platforms darwin name eunit depends_lib port:erlang maintainers {febeling openmaintainer} long_description {The Erlang version of an xUnit test frameworks} version 2.0b1 categories {erlang devel} revision 1 curlftpfs 711 variants universal depends_build port:pkgconfig portdir fuse/curlftpfs description {CurlFtpFS is a filesystem for acessing FTP hosts based on FUSE and libcurl.} homepage http://curlftpfs.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:curl port:macfuse port:glib2 port:gettext port:libiconv port:zlib} name curlftpfs maintainers darenzana at gmail.com long_description {CurlFtpFS diferentiates itself from other FTP filesystems because it features SSLv3 and TLSv1 support, connecting through tunneling HTTP proxies, automatically reconnection if the server times out, transform absolute symlinks to point back into the ftp file system, and additional options.} version 0.9.1 categories fuse revision 0 encfs 657 @@ -2790,8 +2790,6 @@ variants universal description {Utility to convert JPEG to PostScript fileS} portdir graphics/jpeg2ps homepage http://www.pdflib.com/download/free-software/jpeg2ps/ epoch 0 platforms darwin name jpeg2ps long_description {jpeg2ps is a utility for converting JPEG images to compressed PostScript Level 2 or 3 files (without uncompressing the images). The JPEG data is simply wrapped with PostScript which yields considerably to smaller PS files.} maintainers nomaintainer categories graphics version 1.9 revision 0 jpegpixi 605 variants universal portdir graphics/jpegpixi description {JPEG Pixel Interpolator} homepage http://www.zero-based.org/software/jpegpixi/ epoch 0 platforms darwin name jpegpixi depends_lib lib:jpeg:jpeg maintainers nomaintainer long_description {Jpegpixi is short for JPEG Pixel Interpolator. The intent of the program is to interpolate pixels (single pixels, dots, stripes) in JPEG images. This is useful to correct images from a digital camera with CCD defects. For example, if one pixel is always bright green, this pixel can be interpolated with jpegpixi.} version 1.1.0 categories graphics revision 0 -keyjnote 978 -variants {universal no_xpdf no_ghostscript no_pdftk} variant_desc {no_xpdf {Removes dependencies on xpdf (Not recommended)} no_ghostscript {Removes dependencies on ghostscript} no_pdftk {Removes dependencies on pdftk (not recommended)}} portdir graphics/keyjnote description {KeyJnote is a program that displays presentation slides.} homepage http://keyjnote.sourceforge.net epoch 0 platforms darwin name keyjnote depends_lib {port:py25-opengl port:py25-game port:xpdf port:ghostscript port:pdftk} maintainers hitzemann.org:simon long_description {KeyJnote is a program that displays presentation slides. But unlike OpenOffice.org Impress or other similar applications, it does so with style. Smooth alpha-blended slide transitions are provided for the sake of eye candy, but in addition to this, KeyJnote offers some unique tools that are really useful for presentations. Read below if you want to know more about these features.} version 0.10.2 categories graphics revision 0 lablgl 526 variants universal portdir graphics/lablgl description {Objective Caml interface to OpenGL} homepage http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html epoch 0 platforms darwin name lablgl depends_lib {bin:camlp4:ocaml lib:libgtk.1:gtk1 lib:libglut.3:glut} maintainers anil at recoil.org long_description {LablGL is is an Objective Caml interface to OpenGL. Support is included for use with both Glut (standalone) and LablTk. LablGTK also includes specific support for LablGL.} version 1.00 categories graphics revision 0 lcms 671 @@ -5809,7 +5807,7 @@ p5-io-compress-bzip2 590 variants universal portdir perl/p5-io-compress-bzip2 description {Perl interface to read/write bzip2 files/buffers} homepage http://search.cpan.org/dist/IO-Compress-Bzip2/ epoch 0 platforms darwin name p5-io-compress-bzip2 depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-compress-raw-bzip2} maintainers vincent-opdarw at vinc17.org long_description {These modules IO::Compress::Bzip2 and IO::Uncompress::Bunzip2 provide a Perl interface that allows the writing of bzip2 compressed data to files/buffers and the reading of bzip2 files/buffers.} version 2.012 categories perl revision 0 p5-io-compress-zlib 622 -variants universal portdir perl/p5-io-compress-zlib description {This module provides a Perl interface to allow reading and writing of RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.} homepage http://search.cpan.org/dist/IO-Compress-Zlib/ epoch 0 platforms darwin name p5-io-compress-zlib depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-compress-raw-zlib port:p5-io-compress-base} maintainers {narf_tm openmaintainer} long_description {{This module provides a Perl interface to allow reading and writing of RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.}} version 2.012 categories perl revision 0 +variants universal portdir perl/p5-io-compress-zlib description {This module provides a Perl interface to allow reading and writing of RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.} homepage http://search.cpan.org/dist/IO-Compress-Zlib/ epoch 0 platforms darwin name p5-io-compress-zlib depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-compress-raw-zlib port:p5-io-compress-base} maintainers {narf_tm openmaintainer} long_description {{This module provides a Perl interface to allow reading and writing of RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.}} version 2.014 categories perl revision 0 p5-io-digest 496 variants universal portdir perl/p5-io-digest description {This is a Perl extension for calculating digests while reading or writing (used by svk).} homepage http://search.cpan.org/dist/IO-Digest/ epoch 0 platforms darwin name p5-io-digest depends_lib {{path:\${prefix}/bin/perl:perl5.8} port:p5-perlio-via-dynamic} maintainers dluke at geeklair.net long_description {{This is a Perl extension for calculating digests while reading or writing (used by svk).}} version 0.10 categories perl revision 0 p5-io-kqueue 366 @@ -6545,7 +6543,7 @@ py-boto 376 description {python interface to Amazon Web Services} portdir python/py-boto homepage http://code.google.com/p/boto/ epoch 0 platforms darwin depends_lib port:python24 name py-boto maintainers nomaintainer long_description {An integrated interface to current and future infrastructural services offered by Amazon Web Services.} categories {python net} version 1.3a revision 0 py-bsddb 381 -variants {universal db3} portdir python/py-bsddb description {Python bindings to the db4 and db3 library} homepage http://www.python.org/doc/current/lib/module-dbm.html epoch 0 platforms darwin depends_lib {port:python24 port:db46} name py-bsddb maintainers mww long_description {{Python bindings to the db4 and db3 library}} categories {python databases} version 2.4.5 revision 1 +variants {universal db3} portdir python/py-bsddb description {Python bindings to the db4 and db3 library} homepage http://www.python.org/doc/current/lib/module-dbm.html epoch 0 platforms darwin depends_lib {port:python24 port:db46} name py-bsddb maintainers mww long_description {{Python bindings to the db4 and db3 library}} categories {python databases} version 2.5.2 revision 0 py-bzip2 381 variants universal portdir python/py-bzip2 description {python interface to bzip2 library} homepage http://python-bz2.sourceforge.net/ epoch 0 platforms {darwin freebsd} depends_lib {port:python24 lib:bzip2:bzip2} name py-bzip2 maintainers nomaintainer long_description {python interface to the bz2 (bzip2) compression library} categories {python archivers} version 1.1 revision 1 py-cairo 458 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/4f982ac6/attachment.html From toby at macports.org Wed Sep 3 17:39:16 2008 From: toby at macports.org (toby at macports.org) Date: Wed, 3 Sep 2008 17:39:16 -0700 (PDT) Subject: [39764] trunk/dports/net/c-ares Message-ID: <20080904003916.5932930228F@beta.macosforge.org> Revision: 39764 http://trac.macosforge.org/projects/macports/changeset/39764 Author: toby at macports.org Date: 2008-09-03 17:39:15 -0700 (Wed, 03 Sep 2008) Log Message: ----------- c-ares 1.5.3 Modified Paths: -------------- trunk/dports/net/c-ares/Portfile Removed Paths: ------------- trunk/dports/net/c-ares/files/ Modified: trunk/dports/net/c-ares/Portfile =================================================================== --- trunk/dports/net/c-ares/Portfile 2008-09-03 19:53:34 UTC (rev 39763) +++ trunk/dports/net/c-ares/Portfile 2008-09-04 00:39:15 UTC (rev 39764) @@ -3,20 +3,19 @@ PortSystem 1.0 name c-ares -version 1.5.2 +version 1.5.3 categories net maintainers toby description asynchronous DNS library long_description \ - c-ares is a C library that resolves names asynchronously. \ - c-ares is a fork of the library named 'ares', written by \ - Greg Hudson at MIT. The fork was made on ares 1.1.1. + c-ares is a C library that performs DNS requests and \ + name resolves asynchronously. c-ares is a fork of the \ + library named 'ares', written by Greg Hudson at MIT. homepage http://daniel.haxx.se/projects/c-ares/ platforms darwin master_sites ${homepage} -checksums md5 23adb3729e09879cd2147b31ea5a986e \ - sha1 67a64ca1eab60dabfd462b833216ada3a0de7ffa \ - rmd160 3a34e4ed59fbc6931e4c40ef1de277c140b1a42d -patchfiles patch-adig.c +checksums md5 ec202543a8cb86647f52e1ed4b5c0b37 \ + sha1 885fa291d7ae7d825c732b38ae147d5f83cc1904 \ + rmd160 8f886748783d8d4ef97b494544cebd924730b695 configure.args --mandir=${prefix}/share/man \ --enable-shared -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/09082b81/attachment-0001.html From armahg at macports.org Wed Sep 3 18:45:01 2008 From: armahg at macports.org (armahg at macports.org) Date: Wed, 3 Sep 2008 18:45:01 -0700 (PDT) Subject: [39765] branches/gsoc08-framework/MacPorts_Framework_Release Message-ID: <20080904014502.360FA302757@beta.macosforge.org> Revision: 39765 http://trac.macosforge.org/projects/macports/changeset/39765 Author: armahg at macports.org Date: 2008-09-03 18:45:00 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Code clean up: Removed unneeded files Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj Removed Paths: ------------- branches/gsoc08-framework/MacPorts_Framework_Release/HelperToolServerFile.txt branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m branches/gsoc08-framework/MacPorts_Framework_Release/dummycommit.test Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-04 00:39:15 UTC (rev 39764) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperToolIPCTester.m 2008-09-04 01:45:00 UTC (rev 39765) @@ -163,33 +163,27 @@ @end int main(int argc, char const * argv[]) { - //NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; [[MPMacPorts sharedInstance] setAuthorizationMode:YES]; -// PortManipulator * pm = [[PortManipulator alloc] init]; -// -// if([pm installUninstallManipulation:@"pngcrush"]) { -// NSLog(@"pngcrush INSTALLATION SUCCESSFUL"); -// } -// else { -// NSLog(@"pngcrush INSTALLATION UNSUCCESSFUL"); -// } -// -// if([pm selfUpdate]) { -// NSLog(@"SELFUPDATE SUCCESSFUL"); -// } -// else { -// NSLog(@"SELFUPDATE UNSUCCESSFUL"); -// } -// -// -// [pm release]; + PortManipulator * pm = [[PortManipulator alloc] init]; + if([pm installUninstallManipulation:@"pngcrush"]) { + NSLog(@"pngcrush INSTALLATION SUCCESSFUL"); + } + else { + NSLog(@"pngcrush INSTALLATION UNSUCCESSFUL"); + } - //[pool release]; + if([pm selfUpdate]) { + NSLog(@"SELFUPDATE SUCCESSFUL"); + } + else { + NSLog(@"SELFUPDATE UNSUCCESSFUL"); + } + return 0; } Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-04 00:39:15 UTC (rev 39764) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-04 01:45:00 UTC (rev 39765) @@ -40,8 +40,6 @@ 48E9939F0C82CEB000219DDF /* init.tcl in Resources */ = {isa = PBXBuildFile; fileRef = 48E9939E0C82CEB000219DDF /* init.tcl */; }; 6E270D090E158CED00BAE687 /* MPNotifications.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E270D070E158CED00BAE687 /* MPNotifications.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6E270D0A0E158CED00BAE687 /* MPNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E270D080E158CED00BAE687 /* MPNotifications.m */; }; - 6E31A02D0E6CFB51002804D0 /* Notification+ThreadAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */; }; - 6E31A02E0E6CFB51002804D0 /* Notification+ThreadAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */; }; 6E3345350E54AF14008A2F6C /* MPPortManipulationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E3345340E54AF14008A2F6C /* MPPortManipulationTest.m */; }; 6E44A00D0E2DAD66007DE8EC /* ToDo.txt in Resources */ = {isa = PBXBuildFile; fileRef = 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */; }; 6E49F37B0DFFAB0B0030C3AF /* MPInterpreterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 489DD92E0C94674B00595506 /* MPInterpreterTest.m */; }; @@ -71,7 +69,6 @@ 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; 6ED12A560E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */; }; - 6ED1AC750E4BA162000353B6 /* HelperToolServerFile.txt in Resources */ = {isa = PBXBuildFile; fileRef = 6ED1AC740E4BA162000353B6 /* HelperToolServerFile.txt */; }; 6EE6DDA40E626D4A00FB2115 /* MacPorts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* MacPorts.framework */; }; 6EE6DDA70E626D5A00FB2115 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EB6FC900E45DEA80057962C /* Foundation.framework */; }; 6EE6DDAB0E626DC900FB2115 /* MPHelperToolIPCTester.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EE6DDAA0E626DC900FB2115 /* MPHelperToolIPCTester.m */; }; @@ -145,8 +142,6 @@ 48F811BF0CE4638C009630DE /* MPRegistry.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPRegistry.m; sourceTree = ""; }; 6E270D070E158CED00BAE687 /* MPNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPNotifications.h; sourceTree = ""; }; 6E270D080E158CED00BAE687 /* MPNotifications.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPNotifications.m; sourceTree = ""; }; - 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Notification+ThreadAdditions.h"; sourceTree = ""; }; - 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Notification+ThreadAdditions.m"; sourceTree = ""; }; 6E3345330E54AF14008A2F6C /* MPPortManipulationTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPPortManipulationTest.h; sourceTree = ""; }; 6E3345340E54AF14008A2F6C /* MPPortManipulationTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPPortManipulationTest.m; sourceTree = ""; }; 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ToDo.txt; sourceTree = ""; }; @@ -156,7 +151,6 @@ 6E88D1CA0DF4B90B00684E9F /* MPMacPortsTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPMacPortsTest.h; sourceTree = ""; }; 6E88D1CB0DF4B90B00684E9F /* MPMacPortsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPMacPortsTest.m; sourceTree = ""; }; 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Tcl.framework; path = System/Library/Frameworks/Tcl.framework; sourceTree = SDKROOT; }; - 6EAFD8B70DEC614E00E97270 /* dummycommit.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dummycommit.test; sourceTree = ""; }; 6EB6FC900E45DEA80057962C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = BetterAuthorizationSampleLib.c; sourceTree = ""; }; 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BetterAuthorizationSampleLib.h; sourceTree = ""; }; @@ -172,7 +166,6 @@ 6ED12A4A0E3E552F0026773D /* MPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; 6ED12A540E3E55DF0026773D /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = ""; }; 6ED12AA60E3E7E900026773D /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 6ED1AC740E4BA162000353B6 /* HelperToolServerFile.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HelperToolServerFile.txt; sourceTree = ""; }; 6EE6DD9E0E626D2800FB2115 /* MPHelperToolIPCTester */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperToolIPCTester; sourceTree = BUILT_PRODUCTS_DIR; }; 6EE6DDAA0E626DC900FB2115 /* MPHelperToolIPCTester.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperToolIPCTester.m; sourceTree = ""; }; 6EE6DDCC0E6276AA00FB2115 /* MPNotifications+IPCAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MPNotifications+IPCAdditions.h"; sourceTree = ""; }; @@ -284,10 +277,8 @@ 8DC2EF5A0486A6940098B216 /* Info.plist */, 089C1666FE841158C02AAC07 /* InfoPlist.strings */, 489DD8F50C94365F00595506 /* Test-Info.plist */, - 6EAFD8B70DEC614E00E97270 /* dummycommit.test */, 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */, 6EE93E660E493AC600AECE9E /* interpInit.tcl */, - 6ED1AC740E4BA162000353B6 /* HelperToolServerFile.txt */, ); name = Resources; sourceTree = ""; @@ -375,8 +366,6 @@ 6E270D080E158CED00BAE687 /* MPNotifications.m */, 6EE6DDCC0E6276AA00FB2115 /* MPNotifications+IPCAdditions.h */, 6EE6DDCD0E6276AA00FB2115 /* MPNotifications+IPCAdditions.m */, - 6E31A02B0E6CFB51002804D0 /* Notification+ThreadAdditions.h */, - 6E31A02C0E6CFB51002804D0 /* Notification+ThreadAdditions.m */, ); name = "Tcl Notifications "; sourceTree = ""; @@ -434,7 +423,6 @@ 6E8563B90E5DDF7000C1D73C /* MPHelperNotificationsCommon.h in Headers */, 6E8563BA0E5DDF7000C1D73C /* MPHelperNotificationsProtocol.h in Headers */, 6EE6DDCE0E6276AA00FB2115 /* MPNotifications+IPCAdditions.h in Headers */, - 6E31A02D0E6CFB51002804D0 /* Notification+ThreadAdditions.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -584,7 +572,6 @@ 48E9939F0C82CEB000219DDF /* init.tcl in Resources */, 6E44A00D0E2DAD66007DE8EC /* ToDo.txt in Resources */, 6EE93E670E493AC600AECE9E /* interpInit.tcl in Resources */, - 6ED1AC750E4BA162000353B6 /* HelperToolServerFile.txt in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -688,7 +675,6 @@ 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */, 6E8563B80E5DDF7000C1D73C /* MPHelperNotificationsCommon.c in Sources */, 6EE6DDCF0E6276AA00FB2115 /* MPNotifications+IPCAdditions.m in Sources */, - 6E31A02E0E6CFB51002804D0 /* Notification+ThreadAdditions.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; Deleted: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h 2008-09-04 00:39:15 UTC (rev 39764) +++ branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.h 2008-09-04 01:45:00 UTC (rev 39765) @@ -1,27 +0,0 @@ -// -// Notification+ThreadAdditions.h -// MacPorts.Framework -// -// Created by George Armah on 9/1/08. -// Copyright 2008 Lafayette College. All rights reserved. -// - -#import - - -// Using code from CococaDev to post Notifications to main thread -// http://www.cocoadev.com/index.pl?NotificationsAcrossThreads - - at interface NSNotificationCenter (NSNotificationCenterAdditions) -- (void) postNotificationOnMainThread:(NSNotification *) notification; -- (void) postNotificationOnMainThread:(NSNotification *) notification waitUntilDone:(BOOL) wait; - -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object; -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo; -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo waitUntilDone:(BOOL) wait; - at end - - at interface NSNotificationQueue (NSNotificationQueueAdditions) -- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle; -- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle coalesceMask:(unsigned) coalesceMask forModes:(NSArray *) modes; - at end \ No newline at end of file Deleted: branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m 2008-09-04 00:39:15 UTC (rev 39764) +++ branches/gsoc08-framework/MacPorts_Framework_Release/Notification+ThreadAdditions.m 2008-09-04 01:45:00 UTC (rev 39765) @@ -1,86 +0,0 @@ -// -// Notification+ThreadAdditions.m -// MacPorts.Framework -// -// Created by George Armah on 9/1/08. -// Copyright 2008 Lafayette College. All rights reserved. -// - -#import "Notification+ThreadAdditions.h" -#import - - - at implementation NSNotificationCenter (NSNotificationCenterAdditions) -- (void) postNotificationOnMainThread:(NSNotification *) notification { - if( pthread_main_np() ) return [self postNotification:notification]; - [self postNotificationOnMainThread:notification waitUntilDone:NO]; -} - -- (void) postNotificationOnMainThread:(NSNotification *) notification waitUntilDone:(BOOL) wait { - if( pthread_main_np() ) return [self postNotification:notification]; - [[self class] performSelectorOnMainThread:@selector( _postNotification: ) withObject:notification waitUntilDone:wait]; -} - -+ (void) _postNotification:(NSNotification *) notification { - [[self defaultCenter] postNotification:notification]; -} - -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object { - if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:nil]; - [self postNotificationOnMainThreadWithName:name object:object userInfo:nil waitUntilDone:NO]; -} - -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo { - if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:userInfo]; - [self postNotificationOnMainThreadWithName:name object:object userInfo:nil waitUntilDone:NO]; -} - -- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo waitUntilDone:(BOOL) wait { - if( pthread_main_np() ) return [self postNotificationName:name object:object userInfo:userInfo]; - - NSMutableDictionary *info = [[NSMutableDictionary allocWithZone:nil] init]; - [info setObject:name forKey:@"name"]; - if( object ) [info setObject:object forKey:@"object"]; - if( userInfo ) [info setObject:userInfo forKey:@"userInfo"]; - - [[self class] performSelectorOnMainThread:@selector( _postNotificationName: ) withObject:info waitUntilDone:wait]; - [info release]; -} - -+ (void) _postNotificationName:(NSDictionary *) info { - NSString *name = [info objectForKey:@"name"]; - id object = [info objectForKey:@"object"]; - NSDictionary *userInfo = [info objectForKey:@"userInfo"]; - - [[self defaultCenter] postNotificationName:name object:object userInfo:userInfo]; -} - at end - - at implementation NSNotificationQueue (NSNotificationQueueAdditions) -- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle { - if( pthread_main_np() ) return [self enqueueNotification:notification postingStyle:postingStyle coalesceMask:( NSNotificationCoalescingOnName | NSNotificationCoalescingOnSender ) forModes:nil]; - [self enqueueNotificationOnMainThread:notification postingStyle:postingStyle coalesceMask:( NSNotificationCoalescingOnName | NSNotificationCoalescingOnSender ) forModes:nil]; -} - -- (void) enqueueNotificationOnMainThread:(NSNotification *) notification postingStyle:(NSPostingStyle) postingStyle coalesceMask:(unsigned) coalesceMask forModes:(NSArray *) modes { - if( pthread_main_np() ) return [self enqueueNotification:notification postingStyle:postingStyle coalesceMask:coalesceMask forModes:modes]; - - NSMutableDictionary *info = [[NSMutableDictionary allocWithZone:nil] init]; - [info setObject:notification forKey:@"notification"]; - [info setObject:[NSNumber numberWithUnsignedInt:postingStyle] forKey:@"postingStyle"]; - [info setObject:[NSNumber numberWithUnsignedInt:coalesceMask] forKey:@"coalesceMask"]; - if( modes ) [info setObject:modes forKey:@"modes"]; - - [[self class] performSelectorOnMainThread:@selector( _enqueueNotification: ) withObject:info waitUntilDone:NO]; - [info release]; -} - -+ (void) _enqueueNotification:(NSDictionary *) info { - NSNotification *notification = [info objectForKey:@"notification"]; - NSPostingStyle postingStyle = [[info objectForKey:@"postingStyle"] unsignedIntValue]; - unsigned coalesceMask = [[info objectForKey:@"coalesceMask"] unsignedIntValue]; - NSArray *modes = [info objectForKey:@"modes"]; - - [[self defaultQueue] enqueueNotification:notification postingStyle:postingStyle coalesceMask:coalesceMask forModes:modes]; -} - at end \ No newline at end of file -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/e44deb3c/attachment.html From armahg at macports.org Wed Sep 3 20:34:13 2008 From: armahg at macports.org (armahg at macports.org) Date: Wed, 3 Sep 2008 20:34:13 -0700 (PDT) Subject: [39766] branches/gsoc08-framework/MacPorts_Framework_Release Message-ID: <20080904033414.29AF2302DD6@beta.macosforge.org> Revision: 39766 http://trac.macports.org/changeset/39766 Author: armahg at macports.org Date: 2008-09-03 20:34:12 -0700 (Wed, 03 Sep 2008) Log Message: ----------- More Code clean up Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework_Release/BetterAuthorizationSampleLib.h branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj Modified: branches/gsoc08-framework/MacPorts_Framework_Release/BetterAuthorizationSampleLib.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/BetterAuthorizationSampleLib.h 2008-09-04 01:45:00 UTC (rev 39765) +++ branches/gsoc08-framework/MacPorts_Framework_Release/BetterAuthorizationSampleLib.h 2008-09-04 03:34:12 UTC (rev 39766) @@ -588,7 +588,7 @@ CFStringRef bundleID ); -/*! +/* @function BASFixFailure @abstract Installs, or reinstalls, the privileged helper tool. Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m 2008-09-04 01:45:00 UTC (rev 39765) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPHelperTool.m 2008-09-04 03:34:12 UTC (rev 39766) @@ -182,78 +182,8 @@ return err; } -static int ConnectionOpen2(ConnectionRef *connPtr, const char * sockPath) -// Opens a connection to the server. -// -// On entry, connPtr must not be NULL -// On entry, *connPtr must be NULL -// Returns an errno-style error code -// On success, *connPtr will not be NULL -// On error, *connPtr will be NULL -{ - int err; - ConnectionRef conn; - Boolean sayGoodbye; - - assert( connPtr != NULL); - assert(*connPtr == NULL); - - sayGoodbye = false; - - // Allocate a ConnectionState structure and fill out some basic fields. - - err = 0; - conn = (ConnectionRef) calloc(1, sizeof(*conn)); - if (conn == NULL) { - err = ENOMEM; - } - if (err == 0) { - conn->fMagic = kConnectionStateMagic; - - // For clean up to work properly, we must make sure that, if - // the connection record is allocated successfully, we always - // set fSockFD to -1. So, while the following line is redundant - // in the current code, it's present to press home this point. - - conn->fSockFD = -1; - } - - // Create a UNIX domain socket and connect to the server. - - if (err == 0) { - conn->fSockFD = socket(AF_UNIX, SOCK_STREAM, 0); - err = MoreUNIXErrno(conn->fSockFD); - } - if (err == 0) { - struct sockaddr_un connReq; - - connReq.sun_len = sizeof(connReq); - connReq.sun_family = AF_UNIX; - //strcpy(connReq.sun_path, kServerSocketPath); - strcpy(connReq.sun_path, sockPath); - - err = connect(conn->fSockFD, (struct sockaddr *) &connReq, SUN_LEN(&connReq)); - err = MoreUNIXErrno(err); - - sayGoodbye = (err == 0); - } - - // Clean up. - - if (err != 0) { - ConnectionCloseInternal(conn, sayGoodbye); - conn = NULL; - } - *connPtr = conn; - - assert( (err == 0) == (*connPtr != NULL) ); - - return err; -} - - static int ConnectionOpen(ConnectionRef *connPtr) // Opens a connection to the server. // Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h 2008-09-04 01:45:00 UTC (rev 39765) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.h 2008-09-04 03:34:12 UTC (rev 39766) @@ -193,11 +193,11 @@ /*! @brief Sets the delegate for this MPMacPorts object - @param mpDelegate The object to be set as the delegate + @param aDelegate The object to be set as the delegate @Discussion Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . See (add link here to class discussion section) for more details. */ -- (void)setDelegate:(id)delegate; +- (void)setDelegate:(id)aDelegate; /*! @brief Determines whether certain port operations require privileges before exection Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-04 01:45:00 UTC (rev 39765) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MPMacPorts.m 2008-09-04 03:34:12 UTC (rev 39766) @@ -48,7 +48,7 @@ - (id) initWithPkgPath:(NSString *)path { if (self = [super init]) { interpreter = [MPInterpreter sharedInterpreterWithPkgPath:path]; - [self registerForLocalNotifications]; + //[self registerForLocalNotifications]; } return self; } @@ -251,10 +251,10 @@ return macportsDelegate; } --(void) setDelegate:(id)delegate { - [delegate retain]; +-(void) setDelegate:(id)aDelegate { + [aDelegate retain]; [macportsDelegate release]; - macportsDelegate = delegate; + macportsDelegate = aDelegate; } //Internal Method for setting our Authorization Reference @@ -264,10 +264,6 @@ AuthorizationRef clientRef = (AuthorizationRef) [[self delegate] performSelector:@selector(getAuthorizationRef)]; [interpreter setAuthorizationRef:clientRef]; } - //else { //I think i'll iniitalizeAuthorization lazily .. i.e. right - //before using helper tool -// [interpreter initializeAuthorization]; -// } } #pragma mark - Modified: branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-04 01:45:00 UTC (rev 39765) +++ branches/gsoc08-framework/MacPorts_Framework_Release/MacPorts.Framework.xcodeproj/project.pbxproj 2008-09-04 03:34:12 UTC (rev 39766) @@ -88,6 +88,13 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = MacPorts; }; + 6E31A2890E6F7910002804D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DFE353650CFB8F0C003BACFC; + remoteInfo = Docs; + }; 6EC2608B0E4270110013BC48 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; @@ -514,6 +521,7 @@ dependencies = ( 6ED12A530E3E55A50026773D /* PBXTargetDependency */, 6EC2608C0E4270110013BC48 /* PBXTargetDependency */, + 6E31A28A0E6F7910002804D0 /* PBXTargetDependency */, ); name = MacPorts; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -686,6 +694,11 @@ target = 8DC2EF4F0486A6940098B216 /* MacPorts */; targetProxy = 6E1AE8460E232D0700F6D7BC /* PBXContainerItemProxy */; }; + 6E31A28A0E6F7910002804D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DFE353650CFB8F0C003BACFC /* Docs */; + targetProxy = 6E31A2890E6F7910002804D0 /* PBXContainerItemProxy */; + }; 6EC2608C0E4270110013BC48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 6EC260860E426FF10013BC48 /* MPHelperInstallTool */; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/58ce5a49/attachment-0001.html From armahg at macports.org Wed Sep 3 20:49:44 2008 From: armahg at macports.org (armahg at macports.org) Date: Wed, 3 Sep 2008 20:49:44 -0700 (PDT) Subject: [39767] branches/gsoc08-framework/MacPorts_Framework_Documentation/ Message-ID: <20080904034945.1B514302EAF@beta.macosforge.org> Revision: 39767 http://trac.macports.org/changeset/39767 Author: armahg at macports.org Date: 2008-09-03 20:49:44 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Creating directory for MacPort.Framework's headerdoc documentation. Will move to contrib later Added Paths: ----------- branches/gsoc08-framework/MacPorts_Framework_Documentation/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/fb92ef7a/attachment.html From armahg at macports.org Wed Sep 3 20:56:08 2008 From: armahg at macports.org (armahg at macports.org) Date: Wed, 3 Sep 2008 20:56:08 -0700 (PDT) Subject: [39768] branches/gsoc08-framework/MacPorts_Framework_Documentation Message-ID: <20080904035610.9F5343031B7@beta.macosforge.org> Revision: 39768 http://trac.macports.org/changeset/39768 Author: armahg at macports.org Date: 2008-09-03 20:56:07 -0700 (Wed, 03 Sep 2008) Log Message: ----------- Adding documentation folder (HTML) along with its zipped version (HTML.zip) to directory Added Paths: ----------- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/BetterAuthorizationSampleLib.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/DataTypes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/DataTypes/DataTypes.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Enums/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Enums/Enums.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Functions/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Functions/Functions.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/PDefines/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/PDefines/PDefines.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Structs/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Structs/Structs.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/MPIndex.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/MPIndex.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/MPInterpreter.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/MPInterpreter.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/MPMacPorts.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/MPMacPorts.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/MPMutableDictionary.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/MPMutableDictionary.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/MPNotifications.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/MPNotifications.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/MPPort.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/MPPort.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/MPReceipt.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/MPReceipt.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/MPRegistry.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/Methods/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/Methods/Methods.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/MPRegistry.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/CompositePage.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/MacPorts_Frameworkdoc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/toc.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/index.html branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML.zip Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/BetterAuthorizationSampleLib.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/BetterAuthorizationSampleLib.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/BetterAuthorizationSampleLib.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,104 @@ + + + +API Documentation + + + + + +

BetterAuthorizationSampleLib

+

+
+

+

+Reusable library for creating helper tools that perform privileged +operations on behalf of your application. +
Includes: <CoreFoundation/CoreFoundation.h>, +<Security/Security.h>, +<asl.h>

+

+
+

+
+

+BetterAuthorizationSampleLib allows you to perform privileged operations +in a helper tool. In this model, your application runs with standard +privileges and, when it needs to do a privileged operation, it makes a +request to the helper tool. The helper tool uses Authorization Services +to ensure that the user is authorized to perform that operation. +

+BetterAuthorizationSampleLib takes care of all of the mechanics of +installing the helper tool and communicating with it. Specifically, it +has routines that your application can call to: +

+
    +
  1. send requests to a helper tool (BASExecuteRequestInHelperTool) +

    +
  2. +
  3. install the helper tool if it's not installed, or fix an installation if +it's broken (BASDiagnoseFailure and BASFixFailure) +
  4. +
+

+BetterAuthorizationSampleLib also helps you implement the helper tool. +Specifically, you call the routine BASHelperToolMain in the main entry +point for your helper tool, passing it an array of command callbacks (of +type BASCommandProc). BASHelperToolMain will take care of all the details +of communication with the application and only call your callback to +execute the actual command. +

+A command consists of request and response CFDictionaries (or, equivalently, +NSDictionaries). BetterAuthorizationSampleLib defines three special keys for +these dictionaries: +

+
    +
  1. kBASCommandKey -- In the request dictionary, this is the name of the +command. Its value is a string that uniquely identifies the command within +your program. +

    +
  2. +
  3. kBASErrorKey -- In the response dictionary, this is the error result for +the request. Its value is an OSStatus-style error code. +

    +
  4. +
  5. kBASDescriptorArrayKey -- In the response dictionary, if present, this is +an array of file descriptors being returned from the helper tool. +
  6. +
+

+You can use any other key to represent addition parameters (or return values) +for the command. The only constraints that BetterAuthorizationSampleLib applies +to these extra parameters is that they must be serialisable as a CFPropertyList. +

+BetterAuthorizationSampleLib requires that you tell it about the list of commands +that you support. Each command is represented by a command specification +(BASCommandSpec). The command specification includes the following information: +

+
    +
  1. The name of the command. This is the same as the kBASCommandKey value in +the request dictionary. +

    +
  2. +
  3. The authorization right associated with the command. BetterAuthorizationSampleLib +uses this to ensure that the user is authorized to use the command before +it calls your command callback in the privileged helper tool. +

    +
  4. +
  5. Information to create the command's authorization right specification in the +policy database. The is used by the BASSetDefaultRules function. +
  6. +
+

+Finally, BetterAuthorizationSampleLib includes a number of utilities routines to help +wrangle error codes (BASErrnoToOSStatus, BASOSStatusToErrno, and BASGetErrorFromResponse) +and file descriptors (BASCloseDescriptorArray). + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,797 @@ + + + +BetterAuthorizationSampleLib <br><br> + + + + + + +
+
+

BetterAuthorizationSampleLib

+
+
+

Reusable library for creating helper tools that perform privileged +operations on behalf of your application.

+

+
+Includes: <CoreFoundation/CoreFoundation.h>, +<Security/Security.h>, +<asl.h>
+
+
+Discussion +
+

BetterAuthorizationSampleLib allows you to perform privileged operations +in a helper tool. In this model, your application runs with standard +privileges and, when it needs to do a privileged operation, it makes a +request to the helper tool. The helper tool uses Authorization Services +to ensure that the user is authorized to perform that operation. +

+BetterAuthorizationSampleLib takes care of all of the mechanics of +installing the helper tool and communicating with it. Specifically, it +has routines that your application can call to: +

+
    +
  1. send requests to a helper tool (BASExecuteRequestInHelperTool) +

    +
  2. +
  3. install the helper tool if it's not installed, or fix an installation if +it's broken (BASDiagnoseFailure and BASFixFailure) +
  4. +
+

+BetterAuthorizationSampleLib also helps you implement the helper tool. +Specifically, you call the routine BASHelperToolMain in the main entry +point for your helper tool, passing it an array of command callbacks (of +type BASCommandProc). BASHelperToolMain will take care of all the details +of communication with the application and only call your callback to +execute the actual command. +

+A command consists of request and response CFDictionaries (or, equivalently, +NSDictionaries). BetterAuthorizationSampleLib defines three special keys for +these dictionaries: +

+
    +
  1. kBASCommandKey -- In the request dictionary, this is the name of the +command. Its value is a string that uniquely identifies the command within +your program. +

    +
  2. +
  3. kBASErrorKey -- In the response dictionary, this is the error result for +the request. Its value is an OSStatus-style error code. +

    +
  4. +
  5. kBASDescriptorArrayKey -- In the response dictionary, if present, this is +an array of file descriptors being returned from the helper tool. +
  6. +
+

+You can use any other key to represent addition parameters (or return values) +for the command. The only constraints that BetterAuthorizationSampleLib applies +to these extra parameters is that they must be serialisable as a CFPropertyList. +

+BetterAuthorizationSampleLib requires that you tell it about the list of commands +that you support. Each command is represented by a command specification +(BASCommandSpec). The command specification includes the following information: +

+
    +
  1. The name of the command. This is the same as the kBASCommandKey value in +the request dictionary. +

    +
  2. +
  3. The authorization right associated with the command. BetterAuthorizationSampleLib +uses this to ensure that the user is authorized to use the command before +it calls your command callback in the privileged helper tool. +

    +
  4. +
  5. Information to create the command's authorization right specification in the +policy database. The is used by the BASSetDefaultRules function. +
  6. +
+

+Finally, BetterAuthorizationSampleLib includes a number of utilities routines to help +wrangle error codes (BASErrnoToOSStatus, BASOSStatusToErrno, and BASGetErrorFromResponse) +and file descriptors (BASCloseDescriptorArray). +

+

+
+

Functions

+
+
BASHelperToolMain
+
Entry point for a privileged helper tool.
+
BASSetDefaultRules
+
Creates default right specifications in the policy database.
+
BASExecuteRequestInHelperTool
+
Executes a request in the privileged helper tool, returning the response.
+
BASDiagnoseFailure
+
Determines the cause of a failed request.
+
BASErrnoToOSStatus
+
Convert an errno value to an OSStatus value.
+
BASOSStatusToErrno
+
Convert an OSStatus value to an errno value.
+
BASGetErrorFromResponse
+
Extracts the error status from a helper tool response.
+
BASCloseDescriptorArray
+
Closes all of the file descriptors referenced by a CFArray.
+
+
+
+

BASHelperToolMain

+
+
+

Entry point for a privileged helper tool.

+

+
extern int BASHelperToolMain( 
+    const BASCommandSpec commands[], 
+    const BASCommandProc commandProcs[] );  
+
Parameters
+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. The array is terminated by a command with a NULL name. There must be +at least one valid command. +

+
+
commandProcs
+
An array of callback routines that are called when a valid request arrives. The +array is expected to perform the operation associated with the corresponding +command and set up the response values, if any. The array is terminated by a +NULL pointer. +

+IMPORTANT: The array must have exactly the same number of entries as the +commands array. +

+
+
+
Return Value
+

An integer representing EXIT_SUCCESS or EXIT_FAILURE. + +

+
+Discussion +
+

You should call this function from the main function of your helper tool. It takes +care of all of the details of receiving and processing commands. It will call you +back (via one of the commandProcs callbacks) when a valid request arrives. +

+This function assumes acts like a replacement for main. Thus, it assumes that +it owns various process-wide resources (like SIGALRM and the disposition of +SIGPIPE). You should not use those resources, either in your main function or +in your callback function. Also, you should not call this function on a thread, +or start any other threads in the process. Finally, this function has a habit of +exiting the entire process if something goes wrong. You should not expect the +function to always return. +

+This function does not clean up after itself. When this function returns, you +are expected to exit. If the function result is noErr, the command processing +loop quit in an expected manner (typically because of an idle timeout). Otherwise +it quit because of an error. +

+

+
+
+

BASSetDefaultRules

+
+
+

Creates default right specifications in the policy database.

+

+
extern void BASSetDefaultRules( 
+    AuthorizationRef auth, 
+    const BASCommandSpec commands[], 
+    CFStringRef bundleID, 
+    CFStringRef descriptionStringTableName );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. There must be at least one valid command. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
descriptionStringTableName
+
The name of the .strings file from which to fetch the localised custom +prompts for the rights in the commands array (if any). A NULL value is +equivalent to passing "Localizable" (that is, it gets the prompts from +"Localizable.strings"). +

+For example, imagine you have a command for which you require a custom prompt. +You should put the custom prompt in a .strings file, let's call it +"AuthPrompts.strings". You should then pass "AuthPrompts" to this parameter +and put the key that gets the prompt into the rightDescriptionKey of the command.
+
+
+Discussion +
+

This routine ensures that the policy database (currently +"/etc/authorization") contains right specifications for all of the rights +that you use (as specified by the commands array). This has two important +consequences: +

+
    +
  1. It makes the rights that you use visible to the system administrator. +All they have to do is run your program once and they can see your default +right specifications in the policy database. +

    +
  2. +
  3. It means that, when the privileged helper tool tries to acquire the right, +it will use your specification of the right (as modified by the system +administrator) rather than the default right specification. +
  4. +
+

+You must call this function before calling BASExecuteRequestInHelperTool. +Typically you would call it at application startup time, or lazily, immediately +before calling BASExecuteRequestInHelperTool. +

+

+
+
+

BASExecuteRequestInHelperTool

+
+
+

Executes a request in the privileged helper tool, returning the response.

+

+
extern OSStatus BASExecuteRequestInHelperTool( 
+    AuthorizationRef auth, 
+    const BASCommandSpec commands[], 
+    CFStringRef bundleID, 
+    CFDictionaryRef request, 
+    CFDictionaryRef *response );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. There must be at least one valid command. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
request
+
A dictionary describing the requested operation. This must, at least, contain +a string value for the kBASCommandKey. Furthermore, this string must match +one of the commands in the array. +

+The dictionary may also contain other values. These are passed to the helper +tool unintepreted. All values must be serialisable using the CFPropertyList +API. +

+This must not be NULL. +

+
+
response
+
This must not be NULL. On entry, *response must be NULL. On success, *response +will not be NULL. On error, *response will be NULL. +

+On success, you are responsible for disposing of *response. You are also +responsible for closing any descriptors returned in the response. +

+
+
+
Return Value
+

An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). + +

+
+Discussion +
+

This routine synchronously executes a request in the privileged helper tool and +returns the response. +

+If the function returns an error, the IPC between your application and the helper tool +failed. Unfortunately it's not possible to tell whether this failure occurred while +sending the request or receiving the response, thus it's not possible to know whether +the privileged operation was done or not. +

+If the functions returns no error, the IPC between your application and the helper tool +was successful. However, the command may still have failed. You must get the error +value from the response (typically using BASGetErrorFromResponse) to see if the +command succeeded or not. +

+On success the response dictionary may contain a value for the kBASDescriptorArrayKey key. +If so, that will be a non-empty CFArray of CFNumbers, each of which can be accessed as an int. +Each value is a descriptor that is being returned to you from the helper tool. You are +responsible for closing these descriptors when you're done with them. +

+

+
+
+

BASDiagnoseFailure

+
+
+

Determines the cause of a failed request.

+

+
extern BASFailCode BASDiagnoseFailure( 
+    AuthorizationRef auth, 
+    CFStringRef bundleID );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
+
Return Value
+

A BASFailCode value indicating the cause of the failure. This will never be +kBASFailNeedsUpdate. + +

+
+Discussion +
+

If BASExecuteRequestInHelperTool fails with an error (indicating an +IPC failure), you can call this routine to determine what went wrong. +It returns a BASFailCode value indicating the cause of the failure. +You should use this value to tell the user what's going on and what +you intend to do about it. Once you get the user's consent, you can +call BASFixFailure to fix the problem. +

+For example, if this function result is kBASFailDisabled, you could put up the +dialog saying: +

+My privileged helper tool is disabled. Would you like to enable it? +This operation may require you to authorize as an admin user. +[Cancel] [[Enable]] +

+On the other hand, if this function result is kBASFailNotInstalled, the dialog might be: +

+My privileged helper tool is not installed. Would you like to install it? +This operation may require you to authorize as an admin user. +[Cancel] [[Install]] +

+BASDiagnoseFailure will never return kBASFailNeedsUpdate. It's your responsibility +to detect version conflicts (a good way to do this is by sending a "get version" request +to the helper tool). However, once you've detected a version conflict, you can pass +kBASFailNeedsUpdate to BASFixFailure to get it to install the latest version of your +helper tool. +

+If you call this routine when everything is working properly, you're likely to get +a result of kBASFailUnknown. +

+

+
+
+

BASErrnoToOSStatus

+
+
+

Convert an errno value to an OSStatus value.

+

+
extern OSStatus BASErrnoToOSStatus(
+    int errNum);  
+
Parameters
+
+
errNum
+
The errno value to convert. +

+
+
+
Return Value
+

An OSStatus code representing the errno equivalent. + +

+
+Discussion +
+

All errno values have accepted alternatives in the errSecErrnoBase +OSStatus range, and this routine does the conversion. For example, +ENOENT becomes errSecErrnoBase + ENOENT. Any value that's not +recognised just gets passed through unmodified. +

+A value of 0 becomes noErr. +

+For more information about errSecErrnoBase, see DTS Q&A 1499 +<>. +

+

+
+
+

BASOSStatusToErrno

+
+
+

Convert an OSStatus value to an errno value.

+

+
extern int BASOSStatusToErrno(
+    OSStatus errNum);  
+
Parameters
+
+
errNum
+
The OSStatus value to convert. +

+
+
+
Return Value
+

An integer code representing the OSStatus equivalent. + +

+
+Discussion +
+

This function converts some specific OSStatus values (Open Transport and +errSecErrnoBase ranges) to their corresponding errno values. It more-or-less +undoes the conversion done by BASErrnoToOSStatus, including a pass +through for unrecognised values. +

+It's worth noting that there are many more defined OSStatus error codes +than errno error codes, so you're more likely to encounter a passed +through value when going in this direction. +

+A value of noErr becomes 0. +

+For more information about errSecErrnoBase, see DTS Q&A 1499 +<>. +

+

+
+
+

BASGetErrorFromResponse

+
+
+

Extracts the error status from a helper tool response.

+

+
extern OSStatus BASGetErrorFromResponse(
+    CFDictionaryRef response);  
+
Parameters
+
+
response
+
A helper tool response, typically acquired by calling BASExecuteRequestInHelperTool. +

+This must not be NULL +

+
+
+
Return Value
+

An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). + +

+
+Discussion +
+

This function extracts the error status from a helper tool response. +Specifically, its uses the kBASErrorKey key to get a CFNumber and +it gets the resulting value from that number. +

+

+
+
+

BASCloseDescriptorArray

+
+
+

Closes all of the file descriptors referenced by a CFArray.

+

+
extern void BASCloseDescriptorArray( 
+    CFArrayRef descArray );  
+
Parameters
+
+
descArray
+
The array containing the descriptors to close. +

+This may be NULL, in which case the routine does nothing.
+
+
+Discussion +
+

Given a CFArray of CFNumbers, treat each number as a file descriptor +and close it. +

+The most common reason to use this routine is that you've executed, +using BASExecuteRequestInHelperTool, a request that returns a response +with embedded file descriptors, and you want to close those descriptors. +In that case, you typically call this as: +

+BASCloseDescriptorArray( CFDictionaryGetValue(response, CFSTR(kBASDescriptorArrayKey)) ); +

+

+

Typedefs

+
+
+

BASCommandProc

+
+
+

Command processing callback.

+

+
typedef OSStatus ( *BASCommandProc)( 
+    AuthorizationRef auth, 
+    const void *userData, 
+    CFDictionaryRef request, 
+    CFMutableDictionaryRef response, 
+    aslclient asl, 
+    aslmsg aslMsg );  
+
Parameters
+
+
+
auth
+
This is a reference to the authorization instance associated with the original +application that made the request. +

+This will never be NULL. +

+
+
userData
+
This is the value from the userData field of the corresponding entry in the +BASCommandSpec array that you passed to BASHelperToolMain. +

+
+
request
+
This dictionary contains the request. It will have, at a bare minimum, a +kBASCommandKey item whose value matches one of the commands in the +BASCommandSpec array you passed to BASHelperToolMain. It may also have +other, command-specific parameters. +

+This will never be NULL. +

+
+
response
+
This is a dictionary into which you can place the response. It will start out +empty, and you can add any results you please to it. +

+If you need to return file descriptors, place them in an array and place that +array in the response using the kBASDescriptorArrayKey key. +

+There's no need to set the error result in the response. BASHelperToolMain will +do that for you. However, if you do set a value for the kBASErrorKey key, +that value will take precedence; in this case, the function result is ignored. +

+This will never be NULL. +

+
+
asl
+
A reference to the ASL client handle for logging. +

+This may be NULL. However, ASL handles a NULL input, so you don't need to +conditionalise your code. +

+
+
aslMsg
+
A reference to a ASL message template for logging. +

+This may be NULL. However, ASL handles a NULL input, so you don't need to +conditionalise your code.
+
+
+
+Discussion +
+

When your helper tool calls BASHelperToolMain, it passes in a pointer to an +array of callback functions of this type. When BASHelperToolMain receives a +valid command, it calls one of these function so that your program-specific +code can process the request. BAS guarantees that the effective, save and +real user IDs (EUID, SUID, RUID) will all be zero at this point (that is, +you're "running as root"). +

+By the time this callback is called, BASHelperToolMain has already verified that +this is a known command. It also acquires the authorization right associated +with the command, if any. However, it does nothing to validate the other +parameters in the request. These parameters come from a non-privileged source +and you should verify them carefully. +

+Your implementation should get any input parameters from the request and place +any output parameters in the response. It can also put an array of file +descriptors into the response using the kBASDescriptorArrayKey key. +

+If an error occurs, you should just return an appropriate error code. +BASHelperToolMain will ensure that this gets placed in the response. +

+You should attempt to fail before adding any file descriptors to the response, +or remove them once you know that you're going to fail. If you put file +descriptors into the response and then return an error, those descriptors will +still be passed back to the client. It's likely the client isn't expecting this. +

+Calls to this function will be serialised; that is, once your callback is +running, BASHelperToolMain won't call you again until you return. Your callback +should avoid blocking for long periods of time. If you block for too long, the +BAS watchdog will kill the entire helper tool process. +

+This callback runs in a daemon context; you must avoid doing things that require the +user's context. For example, launching a GUI application would be bad. See +Technote 2083 "Daemons and Agents" for more information about execution contexts. +

+

+

Structs and Unions

+
+
+

BASCommandSpec

+
+
+

Describes a privileged operation to BetterAuthorizationSampleLib.

+

+
struct BASCommandSpec { 
+    const char *commandName; 
+    const char *rightName; 
+    const char *rightDefaultRule; 
+    const char *rightDescriptionKey; 
+    const void *userData; 
+};  
+
Fields
+
+
+
commandName
+
A identifier for this command. This can be any string that is unique within +the context of your programs. A NULL value in this field terminates the array. +

+The length of the command name must not be greater than 1024 UTF-16 values. +

+
+
rightName
+
This is the name of the authorization right associated with the +command. This can be NULL if you don't want any right associated with the +command. If it's not NULL, BetterAuthorizationSampleLib will acquire that right +before allowing the command to execute. +

+
+
rightDefaultRule
+
This is the name of an authorization rule that should be used in +the default right specification for the right. To see a full list of these rules, +look at the "rules" dictionary within the policy database (currently +"/etc/authorization"). Common values include "default" (which requires that the user +hold credentials that authenticate them as an admin user) and "allow" (which will let +anyone acquire the right). +

+This must be NULL if (and only if) rightName is NULL. +

+
+
rightDescriptionKey
+
This is a key used to form a custom prompt for the right. The value of this +string should be a key into a .strings file whose name you supply to +BASSetDefaultRules. When BetterAuthorizationSampleLib creates the right specification, +it uses this key to get all of the localised prompt strings for the right. +

+This must be NULL if rightName is NULL. Otherwise, this may be NULL if you +don't want a custom prompt for your right. +

+
+
userData
+
This field is is for the benefit of the client; BetterAuthorizationSampleLib +does not use it in any way.
+
+
+
+Discussion +
+

Both the application and the tool must tell BetterAuthorizationSampleLib about +the operations (that is, commands) that they support. They do this by passing +in an array of BASCommandSpec structures. Each element describes one command. +The array is terminated by a command whose commandName field is NULL. +

+In general the application and tool should use the same array definition. +However, there are cases where these might be out of sync. For example, if you +have an older version of the application talking to a newer version of the tool, +the tool might know about more commands than the application (and thus provide a +longer array), and that's OK. +

+

+

Enumerations

+
+
+

BASFailCode

+
+
+

Indicates why a request failed.

+

+
enum { 
+    kBASFailUnknown, 
+    kBASFailDisabled, 
+    kBASFailPartiallyInstalled, 
+    kBASFailNotInstalled, 
+    kBASFailNeedsUpdate 
+};  
+
Constants
+
+
+
kBASFailUnknown
+
Indicates that BASDiagnoseFailure could not accurately determine the cause of the +failure. +

+
+
kBASFailDisabled
+
The request failed because the helper tool is installed but disabled. +

+
+
kBASFailPartiallyInstalled
+
The request failed because the helper tool is only partially installed. +

+
+
kBASFailNotInstalled
+
The request failed because the helper tool is not installed at all. +

+
+
kBASFailNeedsUpdate
+
The request failed because the helper tool is installed but out of date. +BASDiagnoseFailure will never return this value. However, if you detect that +the helper tool is out of date (typically by sending it a "get version" request) +you can pass this value to BASFixFailure to force it to update the tool.
+
+
+
+Discussion +
+

If BASExecuteRequestInHelperTool fails with an error (indicating +an IPC failure), you can call BASDiagnoseFailure to determine what +went wrong. BASDiagnoseFailure will return the value of this +type that best describes the failure. +

+

+

#defines

+
+
+

kBASCommandKey

+
+
+

Key for the command string within the request dictionary.

+

+
#define kBASCommandKey "com.apple.dts.BetterAuthorizationSample.command" // CFString  
+
+Discussion +
+

Within a request, this key must reference a string that is the name of the +command to execute. This must match one of the commands in the +BASCommandSpec array. +

+The length of a command name must not be greater than 1024 UTF-16 values.

+

+
+
+

kBASErrorKey

+
+
+

Key for the error result within the response dictionary.

+

+
#define kBASErrorKey "com.apple.dts.BetterAuthorizationSample.error" 
 // CFNumber  
+
+Discussion +
+

Within a response, this key must reference a number that is the error result +for the response, interpreted as an OSStatus.

+

+
+
+

kBASDescriptorArrayKey

+
+
+

Key for a file descriptor array within the response dictionary.

+

+
#define kBASDescriptorArrayKey "com.apple.dts.BetterAuthorizationSample.descriptors" // CFArray of CFNumber  
+
+Discussion +
+

Within a response, this key, if present, must reference an array +of numbers, which are the file descriptors being returned with +the response. The numbers are interpreted as ints.

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/DataTypes/DataTypes.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/DataTypes/DataTypes.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/DataTypes/DataTypes.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,117 @@ + + + +Defined Types + + + + + +
+
+

BASCommandProc

+
+
+

Command processing callback.

+

+
typedef OSStatus ( *BASCommandProc)( 
+    AuthorizationRef auth, 
+    const void *userData, 
+    CFDictionaryRef request, 
+    CFMutableDictionaryRef response, 
+    aslclient asl, 
+    aslmsg aslMsg );  
+
Parameters
+
+
+
auth
+
This is a reference to the authorization instance associated with the original +application that made the request. +

+This will never be NULL. +

+
+
userData
+
This is the value from the userData field of the corresponding entry in the +BASCommandSpec array that you passed to BASHelperToolMain. +

+
+
request
+
This dictionary contains the request. It will have, at a bare minimum, a +kBASCommandKey item whose value matches one of the commands in the +BASCommandSpec array you passed to BASHelperToolMain. It may also have +other, command-specific parameters. +

+This will never be NULL. +

+
+
response
+
This is a dictionary into which you can place the response. It will start out +empty, and you can add any results you please to it. +

+If you need to return file descriptors, place them in an array and place that +array in the response using the kBASDescriptorArrayKey key. +

+There's no need to set the error result in the response. BASHelperToolMain will +do that for you. However, if you do set a value for the kBASErrorKey key, +that value will take precedence; in this case, the function result is ignored. +

+This will never be NULL. +

+
+
asl
+
A reference to the ASL client handle for logging. +

+This may be NULL. However, ASL handles a NULL input, so you don't need to +conditionalise your code. +

+
+
aslMsg
+
A reference to a ASL message template for logging. +

+This may be NULL. However, ASL handles a NULL input, so you don't need to +conditionalise your code.
+
+
+
+Discussion +
+

When your helper tool calls BASHelperToolMain, it passes in a pointer to an +array of callback functions of this type. When BASHelperToolMain receives a +valid command, it calls one of these function so that your program-specific +code can process the request. BAS guarantees that the effective, save and +real user IDs (EUID, SUID, RUID) will all be zero at this point (that is, +you're "running as root"). +

+By the time this callback is called, BASHelperToolMain has already verified that +this is a known command. It also acquires the authorization right associated +with the command, if any. However, it does nothing to validate the other +parameters in the request. These parameters come from a non-privileged source +and you should verify them carefully. +

+Your implementation should get any input parameters from the request and place +any output parameters in the response. It can also put an array of file +descriptors into the response using the kBASDescriptorArrayKey key. +

+If an error occurs, you should just return an appropriate error code. +BASHelperToolMain will ensure that this gets placed in the response. +

+You should attempt to fail before adding any file descriptors to the response, +or remove them once you know that you're going to fail. If you put file +descriptors into the response and then return an error, those descriptors will +still be passed back to the client. It's likely the client isn't expecting this. +

+Calls to this function will be serialised; that is, once your callback is +running, BASHelperToolMain won't call you again until you return. Your callback +should avoid blocking for long periods of time. If you block for too long, the +BAS watchdog will kill the entire helper tool process. +

+This callback runs in a daemon context; you must avoid doing things that require the +user's context. For example, launching a GUI application would be bad. See +Technote 2083 "Daemons and Agents" for more information about execution contexts. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Enums/Enums.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Enums/Enums.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Enums/Enums.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,63 @@ + + + +Enumerations + + + + + +
+
+

BASFailCode

+
+
+

Indicates why a request failed.

+

+
enum { 
+    kBASFailUnknown, 
+    kBASFailDisabled, 
+    kBASFailPartiallyInstalled, 
+    kBASFailNotInstalled, 
+    kBASFailNeedsUpdate 
+};  
+
Constants
+
+
+
kBASFailUnknown
+
Indicates that BASDiagnoseFailure could not accurately determine the cause of the +failure. +

+
+
kBASFailDisabled
+
The request failed because the helper tool is installed but disabled. +

+
+
kBASFailPartiallyInstalled
+
The request failed because the helper tool is only partially installed. +

+
+
kBASFailNotInstalled
+
The request failed because the helper tool is not installed at all. +

+
+
kBASFailNeedsUpdate
+
The request failed because the helper tool is installed but out of date. +BASDiagnoseFailure will never return this value. However, if you detect that +the helper tool is out of date (typically by sending it a "get version" request) +you can pass this value to BASFixFailure to force it to update the tool.
+
+
+
+Discussion +
+

If BASExecuteRequestInHelperTool fails with an error (indicating +an IPC failure), you can call BASDiagnoseFailure to determine what +went wrong. BASDiagnoseFailure will return the value of this +type that best describes the failure. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Functions/Functions.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Functions/Functions.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Functions/Functions.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,429 @@ + + + +Functions + + + + + +
+
BASHelperToolMain
+
Entry point for a privileged helper tool.
+
BASSetDefaultRules
+
Creates default right specifications in the policy database.
+
BASExecuteRequestInHelperTool
+
Executes a request in the privileged helper tool, returning the response.
+
BASDiagnoseFailure
+
Determines the cause of a failed request.
+
BASErrnoToOSStatus
+
Convert an errno value to an OSStatus value.
+
BASOSStatusToErrno
+
Convert an OSStatus value to an errno value.
+
BASGetErrorFromResponse
+
Extracts the error status from a helper tool response.
+
BASCloseDescriptorArray
+
Closes all of the file descriptors referenced by a CFArray.
+
+
+
+

BASHelperToolMain

+
+
+

Entry point for a privileged helper tool.

+

+
extern int BASHelperToolMain( 
+    const BASCommandSpec commands[], 
+    const BASCommandProc commandProcs[] );  
+
Parameters
+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. The array is terminated by a command with a NULL name. There must be +at least one valid command. +

+
+
commandProcs
+
An array of callback routines that are called when a valid request arrives. The +array is expected to perform the operation associated with the corresponding +command and set up the response values, if any. The array is terminated by a +NULL pointer. +

+IMPORTANT: The array must have exactly the same number of entries as the +commands array. +

+
+
+
Return Value
+

An integer representing EXIT_SUCCESS or EXIT_FAILURE. + +

+
+Discussion +
+

You should call this function from the main function of your helper tool. It takes +care of all of the details of receiving and processing commands. It will call you +back (via one of the commandProcs callbacks) when a valid request arrives. +

+This function assumes acts like a replacement for main. Thus, it assumes that +it owns various process-wide resources (like SIGALRM and the disposition of +SIGPIPE). You should not use those resources, either in your main function or +in your callback function. Also, you should not call this function on a thread, +or start any other threads in the process. Finally, this function has a habit of +exiting the entire process if something goes wrong. You should not expect the +function to always return. +

+This function does not clean up after itself. When this function returns, you +are expected to exit. If the function result is noErr, the command processing +loop quit in an expected manner (typically because of an idle timeout). Otherwise +it quit because of an error. +

+

+
+
+

BASSetDefaultRules

+
+
+

Creates default right specifications in the policy database.

+

+
extern void BASSetDefaultRules( 
+    AuthorizationRef auth, 
+    const BASCommandSpec commands[], 
+    CFStringRef bundleID, 
+    CFStringRef descriptionStringTableName );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. There must be at least one valid command. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
descriptionStringTableName
+
The name of the .strings file from which to fetch the localised custom +prompts for the rights in the commands array (if any). A NULL value is +equivalent to passing "Localizable" (that is, it gets the prompts from +"Localizable.strings"). +

+For example, imagine you have a command for which you require a custom prompt. +You should put the custom prompt in a .strings file, let's call it +"AuthPrompts.strings". You should then pass "AuthPrompts" to this parameter +and put the key that gets the prompt into the rightDescriptionKey of the command.
+
+
+Discussion +
+

This routine ensures that the policy database (currently +"/etc/authorization") contains right specifications for all of the rights +that you use (as specified by the commands array). This has two important +consequences: +

+
    +
  1. It makes the rights that you use visible to the system administrator. +All they have to do is run your program once and they can see your default +right specifications in the policy database. +

    +
  2. +
  3. It means that, when the privileged helper tool tries to acquire the right, +it will use your specification of the right (as modified by the system +administrator) rather than the default right specification. +
  4. +
+

+You must call this function before calling BASExecuteRequestInHelperTool. +Typically you would call it at application startup time, or lazily, immediately +before calling BASExecuteRequestInHelperTool. +

+

+
+
+

BASExecuteRequestInHelperTool

+
+
+

Executes a request in the privileged helper tool, returning the response.

+

+
extern OSStatus BASExecuteRequestInHelperTool( 
+    AuthorizationRef auth, 
+    const BASCommandSpec commands[], 
+    CFStringRef bundleID, 
+    CFDictionaryRef request, 
+    CFDictionaryRef *response );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
commands
+
An array that describes the commands that you implement, and their associated +rights. There must be at least one valid command. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
request
+
A dictionary describing the requested operation. This must, at least, contain +a string value for the kBASCommandKey. Furthermore, this string must match +one of the commands in the array. +

+The dictionary may also contain other values. These are passed to the helper +tool unintepreted. All values must be serialisable using the CFPropertyList +API. +

+This must not be NULL. +

+
+
response
+
This must not be NULL. On entry, *response must be NULL. On success, *response +will not be NULL. On error, *response will be NULL. +

+On success, you are responsible for disposing of *response. You are also +responsible for closing any descriptors returned in the response. +

+
+
+
Return Value
+

An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). + +

+
+Discussion +
+

This routine synchronously executes a request in the privileged helper tool and +returns the response. +

+If the function returns an error, the IPC between your application and the helper tool +failed. Unfortunately it's not possible to tell whether this failure occurred while +sending the request or receiving the response, thus it's not possible to know whether +the privileged operation was done or not. +

+If the functions returns no error, the IPC between your application and the helper tool +was successful. However, the command may still have failed. You must get the error +value from the response (typically using BASGetErrorFromResponse) to see if the +command succeeded or not. +

+On success the response dictionary may contain a value for the kBASDescriptorArrayKey key. +If so, that will be a non-empty CFArray of CFNumbers, each of which can be accessed as an int. +Each value is a descriptor that is being returned to you from the helper tool. You are +responsible for closing these descriptors when you're done with them. +

+

+
+
+

BASDiagnoseFailure

+
+
+

Determines the cause of a failed request.

+

+
extern BASFailCode BASDiagnoseFailure( 
+    AuthorizationRef auth, 
+    CFStringRef bundleID );  
+
Parameters
+
+
auth
+
A reference to your program's authorization instance; you typically get this +by calling AuthorizationCreate. +

+This must not be NULL. +

+
+
bundleID
+
The bundle identifier for your program. +

+This must not be NULL. +

+
+
+
Return Value
+

A BASFailCode value indicating the cause of the failure. This will never be +kBASFailNeedsUpdate. + +

+
+Discussion +
+

If BASExecuteRequestInHelperTool fails with an error (indicating an +IPC failure), you can call this routine to determine what went wrong. +It returns a BASFailCode value indicating the cause of the failure. +You should use this value to tell the user what's going on and what +you intend to do about it. Once you get the user's consent, you can +call BASFixFailure to fix the problem. +

+For example, if this function result is kBASFailDisabled, you could put up the +dialog saying: +

+My privileged helper tool is disabled. Would you like to enable it? +This operation may require you to authorize as an admin user. +[Cancel] [[Enable]] +

+On the other hand, if this function result is kBASFailNotInstalled, the dialog might be: +

+My privileged helper tool is not installed. Would you like to install it? +This operation may require you to authorize as an admin user. +[Cancel] [[Install]] +

+BASDiagnoseFailure will never return kBASFailNeedsUpdate. It's your responsibility +to detect version conflicts (a good way to do this is by sending a "get version" request +to the helper tool). However, once you've detected a version conflict, you can pass +kBASFailNeedsUpdate to BASFixFailure to get it to install the latest version of your +helper tool. +

+If you call this routine when everything is working properly, you're likely to get +a result of kBASFailUnknown. +

+

+
+
+

BASErrnoToOSStatus

+
+
+

Convert an errno value to an OSStatus value.

+

+
extern OSStatus BASErrnoToOSStatus(
+    int errNum);  
+
Parameters
+
+
errNum
+
The errno value to convert. +

+
+
+
Return Value
+

An OSStatus code representing the errno equivalent. + +

+
+Discussion +
+

All errno values have accepted alternatives in the errSecErrnoBase +OSStatus range, and this routine does the conversion. For example, +ENOENT becomes errSecErrnoBase + ENOENT. Any value that's not +recognised just gets passed through unmodified. +

+A value of 0 becomes noErr. +

+For more information about errSecErrnoBase, see DTS Q&A 1499 +<>. +

+

+
+
+

BASOSStatusToErrno

+
+
+

Convert an OSStatus value to an errno value.

+

+
extern int BASOSStatusToErrno(
+    OSStatus errNum);  
+
Parameters
+
+
errNum
+
The OSStatus value to convert. +

+
+
+
Return Value
+

An integer code representing the OSStatus equivalent. + +

+
+Discussion +
+

This function converts some specific OSStatus values (Open Transport and +errSecErrnoBase ranges) to their corresponding errno values. It more-or-less +undoes the conversion done by BASErrnoToOSStatus, including a pass +through for unrecognised values. +

+It's worth noting that there are many more defined OSStatus error codes +than errno error codes, so you're more likely to encounter a passed +through value when going in this direction. +

+A value of noErr becomes 0. +

+For more information about errSecErrnoBase, see DTS Q&A 1499 +<>. +

+

+
+
+

BASGetErrorFromResponse

+
+
+

Extracts the error status from a helper tool response.

+

+
extern OSStatus BASGetErrorFromResponse(
+    CFDictionaryRef response);  
+
Parameters
+
+
response
+
A helper tool response, typically acquired by calling BASExecuteRequestInHelperTool. +

+This must not be NULL +

+
+
+
Return Value
+

An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). + +

+
+Discussion +
+

This function extracts the error status from a helper tool response. +Specifically, its uses the kBASErrorKey key to get a CFNumber and +it gets the resulting value from that number. +

+

+
+
+

BASCloseDescriptorArray

+
+
+

Closes all of the file descriptors referenced by a CFArray.

+

+
extern void BASCloseDescriptorArray( 
+    CFArrayRef descArray );  
+
Parameters
+
+
descArray
+
The array containing the descriptors to close. +

+This may be NULL, in which case the routine does nothing.
+
+
+Discussion +
+

Given a CFArray of CFNumbers, treat each number as a file descriptor +and close it. +

+The most common reason to use this routine is that you've executed, +using BASExecuteRequestInHelperTool, a request that returns a response +with embedded file descriptors, and you want to close those descriptors. +In that case, you typically call this as: +

+BASCloseDescriptorArray( CFDictionaryGetValue(response, CFSTR(kBASDescriptorArrayKey)) ); +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/PDefines/PDefines.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/PDefines/PDefines.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/PDefines/PDefines.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,59 @@ + + + +#defines + + + + + +
+
+

kBASCommandKey

+
+
+

Key for the command string within the request dictionary.

+

+
#define kBASCommandKey "com.apple.dts.BetterAuthorizationSample.command" // CFString  
+
+Discussion +
+

Within a request, this key must reference a string that is the name of the +command to execute. This must match one of the commands in the +BASCommandSpec array. +

+The length of a command name must not be greater than 1024 UTF-16 values.

+

+
+
+

kBASErrorKey

+
+
+

Key for the error result within the response dictionary.

+

+
#define kBASErrorKey "com.apple.dts.BetterAuthorizationSample.error" // CFNumber  
+
+Discussion +
+

Within a response, this key must reference a number that is the error result +for the response, interpreted as an OSStatus.

+

+
+
+

kBASDescriptorArrayKey

+
+
+

Key for a file descriptor array within the response dictionary.

+

+
#define kBASDescriptorArrayKey "com.apple.dts.BetterAuthorizationSample.descriptors" // CFArray of CFNumber  
+
+Discussion +
+

Within a response, this key, if present, must reference an array +of numbers, which are the file descriptors being returned with +the response. The numbers are interpreted as ints.

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Structs/Structs.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Structs/Structs.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/Structs/Structs.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,85 @@ + + + +Structs + + + + + +
+
+

BASCommandSpec

+
+
+

Describes a privileged operation to BetterAuthorizationSampleLib.

+

+
struct BASCommandSpec { 
+    const char *commandName; 
+    const char *rightName; 
+    const char *rightDefaultRule; 
+    const char *rightDescriptionKey; 
+    const void *userData; 
+};  
+
Fields
+
+
+
commandName
+
A identifier for this command. This can be any string that is unique within +the context of your programs. A NULL value in this field terminates the array. +

+The length of the command name must not be greater than 1024 UTF-16 values. +

+
+
rightName
+
This is the name of the authorization right associated with the +command. This can be NULL if you don't want any right associated with the +command. If it's not NULL, BetterAuthorizationSampleLib will acquire that right +before allowing the command to execute. +

+
+
rightDefaultRule
+
This is the name of an authorization rule that should be used in +the default right specification for the right. To see a full list of these rules, +look at the "rules" dictionary within the policy database (currently +"/etc/authorization"). Common values include "default" (which requires that the user +hold credentials that authenticate them as an admin user) and "allow" (which will let +anyone acquire the right). +

+This must be NULL if (and only if) rightName is NULL. +

+
+
rightDescriptionKey
+
This is a key used to form a custom prompt for the right. The value of this +string should be a key into a .strings file whose name you supply to +BASSetDefaultRules. When BetterAuthorizationSampleLib creates the right specification, +it uses this key to get all of the localised prompt strings for the right. +

+This must be NULL if rightName is NULL. Otherwise, this may be NULL if you +don't want a custom prompt for your right. +

+
+
userData
+
This field is is for the benefit of the client; BetterAuthorizationSampleLib +does not use it in any way.
+
+
+
+Discussion +
+

Both the application and the tool must tell BetterAuthorizationSampleLib about +the operations (that is, commands) that they support. They do this by passing +in an array of BASCommandSpec structures. Each element describes one command. +The array is terminated by a command whose commandName field is NULL. +

+In general the application and tool should use the same array definition. +However, there are cases where these might be out of sync. For example, if you +have an older version of the application talking to a newer version of the tool, +the tool might know about more commands than the application (and thus provide a +longer array), and that's OK. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for BetterAuthorizationSampleLib <br><br> (BetterAuthorizationSampleLib.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/BetterAuthorizationSampleLib/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,52 @@ + + + + +Documentation for BetterAuthorizationSampleLib <br><br> (BetterAuthorizationSampleLib.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  BetterAuthorizationSampleLib

+

+
Introduction +

+

Functions

+  Helper Tool Routines:
      BASHelperToolMain
+  Application Routines:
      BASSetDefaultRules
      BASExecuteRequestInHelperTool
      BASDiagnoseFailure
+  Utilities:
      BASErrnoToOSStatus
      BASOSStatusToErrno
      BASGetErrorFromResponse
      BASCloseDescriptorArray

Defined Types +

+ +      BASCommandProc

Structs and Unions +

+ +      BASCommandSpec

Enumerations +

+ +      BASFailCode

#defines +

+ +      kBASCommandKey
      kBASErrorKey
      kBASDescriptorArrayKey


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,147 @@ + + + +MPIndex + + + + + +
+
+

MPIndex

+
+
+

Index of all ports +

+

Superclass: MPMutableDictionary
Declared In: MPIndex.h

+
+Discussion +
+

Maintains an in-memory cache of all available ports and their +install status. The MPIndex class is analogous to the PortIndex files for every +port collection (most users have just one collection listed in +/opt/local/etc/macports/sources.conf). +

+

+
+

Methods

+
+
-initWithCapacity:
+
Initialize a newly allocated index with enough memory for numItems ports
+
-ports
+
Returns a new array conaining of all available ports
+
-portNames
+
Returns a new array of all port names
+
-setIndex
+
Loads all ports into the index from the MacPorts backend
+
-port:
+
Returns the port with the given name
+
-portEnumerator
+
Returns an enumerator of all ports
+
-removePort:
+
Removes the port with the given name from the index
+
-setPort:
+
Adds the port to the index
+
+
+
+

initWithCapacity:

+
+
+

Initialize a newly allocated index with enough memory for numItems ports

+

+
- (id)initWithCapacity:(unsigned)numItems;
+
Parameters
+
+
numItems
+
The number of ports that the index will initially have capacity for
+
+

+
+
+

ports

+
+
+

Returns a new array conaining of all available ports

+

+
- (NSArray *)ports; 
+

+
+
+

portNames

+
+
+

Returns a new array of all port names

+

+
- (NSArray *)portNames; 
+

+
+
+

setIndex

+
+
+

Loads all ports into the index from the MacPorts backend

+

+
- (void)setIndex; 
+

+
+
+

port:

+
+
+

Returns the port with the given name

+

+
- (MPPort *)port:(NSString *)name; 
+
Parameters
+
+
name
+
The name of the port
+
+

+
+
+

portEnumerator

+
+
+

Returns an enumerator of all ports

+

+
- (NSEnumerator *)portEnumerator; 
+

+
+
+

removePort:

+
+
+

Removes the port with the given name from the index

+

+
- (void)removePort:(NSString *)name; 
+
Parameters
+
+
name
+
The name of the port
+
+

+
+
+

setPort:

+
+
+

Adds the port to the index

+

+
- (void)setPort:(MPPort *)port; 
+
Parameters
+
+
port
+
The port
+
+
+Discussion +
+

The default state for the port is "not installed" +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/MPIndex.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/MPIndex.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/MPIndex.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +API Documentation + + + + + +

MPIndex

+
+

+ Index of all ports + +

+

Superclass: MPMutableDictionary
Declared In: MPIndex.h

+
+

+
+

+ Maintains an in-memory cache of all available ports and their +install status. The MPIndex class is analogous to the PortIndex files for every +port collection (most users have just one collection listed in +/opt/local/etc/macports/sources.conf). + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,128 @@ + + + +Methods + + + + + +
+
-initWithCapacity:
+
Initialize a newly allocated index with enough memory for numItems ports
+
-ports
+
Returns a new array conaining of all available ports
+
-portNames
+
Returns a new array of all port names
+
-setIndex
+
Loads all ports into the index from the MacPorts backend
+
-port:
+
Returns the port with the given name
+
-portEnumerator
+
Returns an enumerator of all ports
+
-removePort:
+
Removes the port with the given name from the index
+
-setPort:
+
Adds the port to the index
+
+
+
+

initWithCapacity:

+
+
+

Initialize a newly allocated index with enough memory for numItems ports

+

+
- (id)initWithCapacity:(unsigned)numItems;
+
Parameters
+
+
numItems
+
The number of ports that the index will initially have capacity for
+
+

+
+
+

ports

+
+
+

Returns a new array conaining of all available ports

+

+
- (NSArray *)ports; 
+

+
+
+

portNames

+
+
+

Returns a new array of all port names

+

+
- (NSArray *)portNames; 
+

+
+
+

setIndex

+
+
+

Loads all ports into the index from the MacPorts backend

+

+
- (void)setIndex; 
+

+
+
+

port:

+
+
+

Returns the port with the given name

+

+
- (MPPort *)port:(NSString *)name; 
+
Parameters
+
+
name
+
The name of the port
+
+

+
+
+

portEnumerator

+
+
+

Returns an enumerator of all ports

+

+
- (NSEnumerator *)portEnumerator; 
+

+
+
+

removePort:

+
+
+

Removes the port with the given name from the index

+

+
- (void)removePort:(NSString *)name; 
+
Parameters
+
+
name
+
The name of the port
+
+

+
+
+

setPort:

+
+
+

Adds the port to the index

+

+
- (void)setPort:(MPPort *)port; 
+
Parameters
+
+
port
+
The port
+
+
+Discussion +
+

The default state for the port is "not installed" +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPIndex (MPIndex.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/Classes/MPIndex_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,41 @@ + + + + +Documentation for MPIndex (MPIndex.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPIndex
+

+
Introduction +

+

Methods

+
Instance Methods
+      -initWithCapacity:
      -port:
      -portNames
      -removePort:
      -ports
      -portEnumerator
      -setIndex
      -setPort:

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,34 @@ + + + +MPIndex.h + + + + + +
+
+

MPIndex.h

+
+
+

+
+Discussion +
+

The MPIndex maintains an in-memory cache of all available ports and their +install status. +

+

+
+

Classes

+
+
MPIndex
+
Index of all ports +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/MPIndex.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/MPIndex.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/MPIndex.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,27 @@ + + + +API Documentation + + + + + +

MPIndex.h

+
+

+
+

+
+

+The MPIndex maintains an in-memory cache of all available ports and their +install status. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPIndex.h (MPIndex.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPIndex/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPIndex.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPIndex.h
+

+
Introduction +

+

Classes

+      MPIndex


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,212 @@ + + + +MPInterpreter + + + + + +
+
+

MPInterpreter

+
+
+

Tcl interpreter object +

+

Superclass: NSObject
Declared In: MPInterpreter.h

+
+Discussion +
+

Contains a shared per-thread instance of a Tcl interpreter. The MPInterpreter class +is where the Objective-C API meets the Tcl command line. It is a per-thread interpreter to allow +users of the API to multi-thread their programs with relative ease. +

+

+
+

Methods

+
+
+sharedInterpreter
+
Return singleton shared MPInterpreter instance
+
+sharedInterpreterWithPkgPath:
+
Return singleton shared MPInterpreter instance for specified macports tcl package path
+
-evaluateStringAsString:error:
+
Returns the NSString result of evaluating a Tcl expression
+
-evaluateStringWithPossiblePrivileges:error:
+
Returns the NSString result of evaluating a Tcl expression executed as root if necessary
+
-arrayFromTclListAsString:
+
Returns an NSArray whose elements are the the elements of a Tcl list in the form of an NSString
+
-dictionaryFromTclListAsString:
+
Returns an NSDictionary whose elements are the the elements of a Tcl list in the form of an NSString
+
-mutableDictionaryFromTclListAsString:
+
Same as dictionaryFromTclListAsString method. Returns an NSMutableDictionary
+
-getVariableAsArray:
+
Returns an NSArray whose elements are the contents of a Tcl variable
+
-getVariableAsString:
+
Returns an NSString representation of a Tcl variable
+
+
+
+

sharedInterpreter

+
+
+

Return singleton shared MPInterpreter instance

+

+
+ (MPInterpreter *)sharedInterpreter; 
+

+
+
+

sharedInterpreterWithPkgPath:

+
+
+

Return singleton shared MPInterpreter instance for specified macports tcl package path

+

+
+ (MPInterpreter *)sharedInterpreterWithPkgPath:(<
 span class="type">NSString *)path; 
+
Parameters
+
+
path
+
An NSString specifying the absolute path for the macports tcl package
+
+

+
+
+

evaluateStringAsString:error:

+
+
+

Returns the NSString result of evaluating a Tcl expression

+

+
- (NSString *)evaluateStringAsString:(NSString *)statement 
+        error:(NSError **)mportError; 
+
Parameters
+
+
statement
+
An NSString containing the Tcl expression
+
mportError
+
A reference pointer to the NSError object which will be used for error handling; should not be nil.
+
+
+Discussion +
+

Using the macports::getindex {source} procedure as an example we +have the following Objective-C form for calling the macports::getindex procedure: +

+[SomeMPInterpreterObject evaluateStringAsString: +[NSString stringWithString:@"return [macports::getindex SomeValidMacPortsSourcePath]"]]; +

+

+
+
+

evaluateStringWithPossiblePrivileges:error:

+
+
+

Returns the NSString result of evaluating a Tcl expression executed as root if necessary

+

+
- (NSString *)evaluateStringWithPossiblePrivileges:(NSString *)statement 
+        error:(NSError **)mportError; 
+
Parameters
+
+
statement
+
An NSString containing the Tcl expression
+
mportError
+
A reference pointer to the NSError object which will be used for error handling; should not be nil.
+
+
+Discussion +
+

This method is almost identical to -evaluateStringAsString. The only difference is that +it re-evaluates the Tcl expression with root privileges if the first attempt at evaluation +returns an error due to insufficient privileges. The -sync, -selfupdate and port exec methods +use this method for their operations. +

+[SomeMPInterpreterObject evaluateStringAsString: +[NSString stringWithString:@"return [macports::mportselfupdate]"]]; +

+

+
+
+

arrayFromTclListAsString:

+
+
+

Returns an NSArray whose elements are the the elements of a Tcl list in the form of an NSString

+

+
- (NSArray *)arrayFromTclListAsString:(NSString *)list; 
+
Parameters
+
+
list
+
A Tcl list in the form of an NSString
+
+
+Discussion +
+

This method usually takes the result of a call to the evaluateStringAsString and +evaluateArrayAsString methods which is a Tcl list and parses it into an NSArray. +

+

+
+
+

dictionaryFromTclListAsString:

+
+
+

Returns an NSDictionary whose elements are the the elements of a Tcl list in the form of an NSString

+

+
- (NSDictionary *)dictionaryFromTclListAsString:(NSString *)list; 
+
Parameters
+
+
list
+
A Tcl list in the form of an NSString
+
+
+Discussion +
+

The returned NSDictionary is of the form {k1, v1, k2, v2, ...} with ki being the keys and vi +the values in the dictionary. These keys and values are obtained from an NSString Tcl list of the +form {k1 v1 k2 v2 ...} +

+

+
+
+

mutableDictionaryFromTclListAsString:

+
+
+

Same as dictionaryFromTclListAsString method. Returns an NSMutableDictionary

+

+
- (NSMutableDictionary *)
+        mutableDictionaryFromTclListAsString:(NSString *)list; 
+
+Discussion +
+

rather than NSDictionary. +

+

+
+
+

getVariableAsArray:

+
+
+

Returns an NSArray whose elements are the contents of a Tcl variable

+

+
- (NSArray *)getVariableAsArray:(NSString<
 /span> *)variable; 
+
Parameters
+
+
variable
+
An NSString representation of a Tcl variable
+
+

+
+
+

getVariableAsString:

+
+
+

Returns an NSString representation of a Tcl variable

+

+
- (NSString *)getVariableAsString:(NSString *)variable; 
+
Parameters
+
+
variable
+
An NSString representtion of a Tcl variable
+
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/MPInterpreter.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/MPInterpreter.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/MPInterpreter.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,32 @@ + + + +API Documentation + + + + + +

MPInterpreter

+
+

+ Tcl interpreter object + +

+

Superclass: NSObject
Declared In: MPInterpreter.h

+
+

+
+

+ Contains a shared per-thread instance of a Tcl interpreter. The MPInterpreter class +is where the Objective-C API meets the Tcl command line. It is a per-thread interpreter to allow +users of the API to multi-thread their programs with relative ease. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,194 @@ + + + +Methods + + + + + +
+
+sharedInterpreter
+
Return singleton shared MPInterpreter instance
+
+sharedInterpreterWithPkgPath:
+
Return singleton shared MPInterpreter instance for specified macports tcl package path
+
-evaluateStringAsString:error:
+
Returns the NSString result of evaluating a Tcl expression
+
-evaluateStringWithPossiblePrivileges:error:
+
Returns the NSString result of evaluating a Tcl expression executed as root if necessary
+
-arrayFromTclListAsString:
+
Returns an NSArray whose elements are the the elements of a Tcl list in the form of an NSString
+
-dictionaryFromTclListAsString:
+
Returns an NSDictionary whose elements are the the elements of a Tcl list in the form of an NSString
+
-mutableDictionaryFromTclListAsString:
+
Same as dictionaryFromTclListAsString method. Returns an NSMutableDictionary
+
-getVariableAsArray:
+
Returns an NSArray whose elements are the contents of a Tcl variable
+
-getVariableAsString:
+
Returns an NSString representation of a Tcl variable
+
+
+
+

sharedInterpreter

+
+
+

Return singleton shared MPInterpreter instance

+

+
+ (MPInterpreter *)sharedInterpreter; 
+

+
+
+

sharedInterpreterWithPkgPath:

+
+
+

Return singleton shared MPInterpreter instance for specified macports tcl package path

+

+
+ (MPInterpreter *)sharedInterpreterWithPkgPath:( *)path; 
+
Parameters
+
+
path
+
An NSString specifying the absolute path for the macports tcl package
+
+

+
+
+

evaluateStringAsString:error:

+
+
+

Returns the NSString result of evaluating a Tcl expression

+

+
- (NSString *)evaluateStringAsString:(NSString *)statement 
+        error:(NSError **)mportError; 
+
Parameters
+
+
statement
+
An NSString containing the Tcl expression
+
mportError
+
A reference pointer to the NSError object which will be used for error handling; should not be nil.
+
+
+Discussion +
+

Using the macports::getindex {source} procedure as an example we +have the following Objective-C form for calling the macports::getindex procedure: +

+[SomeMPInterpreterObject evaluateStringAsString: +[NSString stringWithString:@"return [macports::getindex SomeValidMacPortsSourcePath]"]]; +

+

+
+
+

evaluateStringWithPossiblePrivileges:error:

+
+
+

Returns the NSString result of evaluating a Tcl expression executed as root if necessary

+

+
- (NSString *)evaluateStringWithPossiblePrivileges:(NSString *)statement 
+        error:(NSError **)mportError; 
+
Parameters
+
+
statement
+
An NSString containing the Tcl expression
+
mportError
+
A reference pointer to the NSError object which will be used for error handling; should not be nil.
+
+
+Discussion +
+

This method is almost identical to -evaluateStringAsString. The only difference is that +it re-evaluates the Tcl expression with root privileges if the first attempt at evaluation +returns an error due to insufficient privileges. The -sync, -selfupdate and port exec methods +use this method for their operations. +

+[SomeMPInterpreterObject evaluateStringAsString: +[NSString stringWithString:@"return [macports::mportselfupdate]"]]; +

+

+
+
+

arrayFromTclListAsString:

+
+
+

Returns an NSArray whose elements are the the elements of a Tcl list in the form of an NSString

+

+
- (NSArray *)arrayFromTclListAsString:(NSString *)list; 
+
Parameters
+
+
list
+
A Tcl list in the form of an NSString
+
+
+Discussion +
+

This method usually takes the result of a call to the evaluateStringAsString and +evaluateArrayAsString methods which is a Tcl list and parses it into an NSArray. +

+

+
+
+

dictionaryFromTclListAsString:

+
+
+

Returns an NSDictionary whose elements are the the elements of a Tcl list in the form of an NSString

+

+
- (NSDictionary *)dictionaryFromTclListAsString:(NSString *)list; 
+
Parameters
+
+
list
+
A Tcl list in the form of an NSString
+
+
+Discussion +
+

The returned NSDictionary is of the form {k1, v1, k2, v2, ...} with ki being the keys and vi +the values in the dictionary. These keys and values are obtained from an NSString Tcl list of the +form {k1 v1 k2 v2 ...} +

+

+
+
+

mutableDictionaryFromTclListAsString:

+
+
+

Same as dictionaryFromTclListAsString method. Returns an NSMutableDictionary

+

+
- (NSMutableDictionary *)
+        mutableDictionaryFromTclListAsString:(NSString *)list; 
+
+Discussion +
+

rather than NSDictionary. +

+

+
+
+

getVariableAsArray:

+
+
+

Returns an NSArray whose elements are the contents of a Tcl variable

+

+
- (NSArray *)getVariableAsArray:(NSString<
 /span> *)variable; 
+
Parameters
+
+
variable
+
An NSString representation of a Tcl variable
+
+

+
+
+

getVariableAsString:

+
+
+

Returns an NSString representation of a Tcl variable

+

+
- (NSString *)getVariableAsString:(NSString *)variable; 
+
Parameters
+
+
variable
+
An NSString representtion of a Tcl variable
+
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPInterpreter (MPInterpreter.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/Classes/MPInterpreter_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,42 @@ + + + + +Documentation for MPInterpreter (MPInterpreter.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPInterpreter
+

+
Introduction +

+

Methods

+
Class Methods
+      +sharedInterpreter
      +sharedInterpreterWithPkgPath:
Instance Methods
+      -mutableDictionaryFromTclListAsString:‍
      -arrayFromTclListAsString:
      -getVariableAsString:
      -evaluateStringAsString:error:
      -getVariableAsArray:
      -dictionaryFromTclListAsString:‍
      -evaluateStringWithPossiblePrivileges:‍error:‍

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,39 @@ + + + +MPInterpreter.h + + + + + +
+
+

MPInterpreter.h

+
+
+

+
+Includes: <tcl.h>
+
+
+Discussion +
+

The MPInterpreter class allows access to a shared per-thread Tcl interpreter for +execution of MacPorts commands from upper levels in the API. This class is intended +for internal use. Framework users should not have to interact with it directly in +order to perform port operations. +

+

+
+

Classes

+
+
MPInterpreter
+
Tcl interpreter object +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/MPInterpreter.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/MPInterpreter.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/MPInterpreter.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,31 @@ + + + +API Documentation + + + + + +

MPInterpreter.h

+
+

+Includes:

<tcl.h>

+

+
+

+
+

+The MPInterpreter class allows access to a shared per-thread Tcl interpreter for +execution of MacPorts commands from upper levels in the API. This class is intended +for internal use. Framework users should not have to interact with it directly in +order to perform port operations. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPInterpreter.h (MPInterpreter.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPInterpreter/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPInterpreter.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPInterpreter.h
+

+
Introduction +

+

Classes

+      MPInterpreter


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,388 @@ + + + +MPMacPorts + + + + + +
+
+

MPMacPorts

+
+
+

Object representation of the MacPorts system +

+

Superclass: NSObject
Declared In: MPMacPorts.h

+
+Discussion +
+

This class represents a single instance of the MacPorts installation system on a user's machine. +There is usually only one instance of this per machine, even though there might be more than one in some +cases. +

+Available Delegate methods: +Delegates of this class may choose to implement one of the following method +- (AuthorizationRef) getAuthorizationRef; +getAuthorizationRef should return an AuthorizationRef structure which will be used for +performing privileged MacPorts operations. Framework clients should do all necessary preauthorization +before returning the AuthorizationRef structure, in addition, Framework clients are +responsible for freeing the memory associated with the passed AuthorizationRef structure. +

+

+
+

Methods

+
+
+sharedInstance
+
Returns an MPMacPorts object that represents the MacPorts system on user's machine.
+
-sync:
+
Synchronizes the ports tree without checking for upgrades to the MacPorts base.
+
-selfUpdate:
+
Synchronizes the ports tree and checks for upgrades to MacPorts base.
+
-search:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensiitve:YES].
+
-search:caseSensitive:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:@"regex"].
+
-search:caseSensitive:matchStyle:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:style field:@"name"].
+
-search:caseSensitive:matchStyle:field:
+
Returns an NSDictionary of ports
+
-depends:
+
Returns an NSArray of NSString port names that a port depends on
+
-exec:withTarget:options:variants:error:
+
Executes specific target of given MPPort
+
-prefix
+
Returns the NSString path to the directory where ports are installed.
+
-sources:
+
Returns an NSArray of NSStrings for the paths to MacPorts sources or port trees
+
-sources
+
Returns an NSArray of NSStrings of paths to various port trees enabled on User's system
+
-pathToPortIndex:
+
Returns the NSURL of the portIndex file on this MacPorts system for a given ports tree
+
-version
+
Returns an NSString indicating the version of the currently running MacPorts system
+
-delegate
+
Returns the delegate for this MPMacPorts object
+
-setDelegate:
+
Sets the delegate for this MPMacPorts object
+
-setAuthorizationMode:
+
Determines whether certain port operations require privileges before exection
+
-authorizationMode
+
+
+
+
+

sharedInstance

+
+
+

Returns an MPMacPorts object that represents the MacPorts system on user's machine.

+

+
+ (MPMacPorts *)sharedInstance; 
+

+
+
+

sync:

+
+
+

Synchronizes the ports tree without checking for upgrades to the MacPorts base.

+

+
- (id)sync:(NSError **)sError; 
+

+
+
+

selfUpdate:

+
+
+

Synchronizes the ports tree and checks for upgrades to MacPorts base.

+

+
- (void)selfUpdate:(NSError **)sError; 
+
+Discussion +
+

The selfupdate port command is available only on Mac OS X systems. +

+

+
+
+

search:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensiitve:YES].

+

+
- (NSDictionary *)search:(NSString *)quer
 y; 
+
Parameters
+
+
query
+
An NSString containing name or partial name of port being searched.
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:@"regex"].

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:matchStyle:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:style field:@"name"].

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity 
+        matchStyle:(NSString *)style; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
style
+
Search style for query
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:matchStyle:field:

+
+
+

Returns an NSDictionary of ports

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity 
+        matchStyle:(NSString *)style field:(NSString *)fieldName; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
style
+
Search style for query
+
fieldName
+
Field for port query
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

depends:

+
+
+

Returns an NSArray of NSString port names that a port depends on

+

+
- (NSArray *)depends:(MPPort *)port; 
+
Parameters
+
+
port
+
The MPPort whose dependecies is being sought
+
+

+
+
+

exec:withTarget:options:variants:error:

+
+
+

Executes specific target of given MPPort

+

+
- (void)exec:(MPPort *)port withTarget:(NSString *)target 
+        options:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError **)execError; 
+
Parameters
+
+
port
+
The MPPort whose target will be executed
+
target
+
The NSString representing a given target
+
options
+
An NSArray of NSStrings of options for executing this target
+
variants
+
An NSArray of NSStrings of variants for executing this target
+
+
+Discussion +
+

See -exec: withOptions: withVariants: in MPPort for discussion +of this method. +

+

+
+
+

prefix

+
+
+

Returns the NSString path to the directory where ports are installed.

+

+
- (NSString *)prefix; 
+

+
+
+

sources:

+
+
+

Returns an NSArray of NSStrings for the paths to MacPorts sources or port trees

+

+
- (NSArray *)sources:(BOOL)refresh; 
+
Parameters
+
+
refresh
+
A boolean indicating whether or not to refresh the NSArray of port trees
+
+
+Discussion +
+

A refresh value of YES will refresh the ports tree whilst a value of NO will not refresh +the tree. +

+

+
+
+

sources

+
+
+

Returns an NSArray of NSStrings of paths to various port trees enabled on User's system

+

+
- (NSArray *)sources; 
+
+Discussion +
+

These file paths are listed in opt/local/etc/macports/sources.conf. Each port tree +contains the different files for each port. +

+

+
+
+

pathToPortIndex:

+
+
+

Returns the NSURL of the portIndex file on this MacPorts system for a given ports tree

+

+
- (NSURL *)pathToPortIndex:(NSString *)source; 
+
Parameters
+
+
source
+
An NSString containing the file path to the ports tree
+
+
+Discussion +
+

The PortIndex is a list of serialized Tcl key-value lists, one list +per line. This is where ports are searched for. +

+

+
+
+

version

+
+
+

Returns an NSString indicating the version of the currently running MacPorts system

+

+
- (NSString *)version; 
+

+
+
+

delegate

+
+
+

Returns the delegate for this MPMacPorts object

+

+
- (id)delegate; 
+
+Discussion +
+

Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . +See (add link here to class discussion section) for more details. +

+

+
+
+

setDelegate:

+
+
+

Sets the delegate for this MPMacPorts object

+

+
- (void)setDelegate:(id)aDelegate; 
+
Parameters
+
+
aDelegate
+
The object to be set as the delegate
+
+
+Discussion +
+

Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . +See (add link here to class discussion section) for more details. +

+

+
+
+

setAuthorizationMode:

+
+
+

Determines whether certain port operations require privileges before exection

+

+
-(void) setAuthorizationMode:(BOOL)mode; 
+
Parameters
+
+
mode
+
A YES value will require privileges whereas a NO value will not require privileges.
+
+
+Discussion +
+

Use this method to indicate whether port operations should be +run with privilieges. The default behavior is to not run these port operations with +privileges. Operations affected by this setting include -sync, -selfUpdate, all variants +of the -exec method and all of MPPort's port manipulation methods. +

+

+
+
+

authorizationMode

+
+
+

+
-(BOOL) authorizationMode; 
+
+Discussion +
+

Returns a BOOL that indicates whether or not port operations are to be run with privileges +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/MPMacPorts.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/MPMacPorts.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/MPMacPorts.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,40 @@ + + + +API Documentation + + + + + +

MPMacPorts

+
+

+ Object representation of the MacPorts system + +

+

Superclass: NSObject
Declared In: MPMacPorts.h

+
+

+
+

+ This class represents a single instance of the MacPorts installation system on a user's machine. +There is usually only one instance of this per machine, even though there might be more than one in some +cases. +

+Available Delegate methods: +Delegates of this class may choose to implement one of the following method +- (AuthorizationRef) getAuthorizationRef; +getAuthorizationRef should return an AuthorizationRef structure which will be used for +performing privileged MacPorts operations. Framework clients should do all necessary preauthorization +before returning the AuthorizationRef structure, in addition, Framework clients are +responsible for freeing the memory associated with the passed AuthorizationRef structure. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,362 @@ + + + +Methods + + + + + +
+
+sharedInstance
+
Returns an MPMacPorts object that represents the MacPorts system on user's machine.
+
-sync:
+
Synchronizes the ports tree without checking for upgrades to the MacPorts base.
+
-selfUpdate:
+
Synchronizes the ports tree and checks for upgrades to MacPorts base.
+
-search:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensiitve:YES].
+
-search:caseSensitive:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:@"regex"].
+
-search:caseSensitive:matchStyle:
+
Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:style field:@"name"].
+
-search:caseSensitive:matchStyle:field:
+
Returns an NSDictionary of ports
+
-depends:
+
Returns an NSArray of NSString port names that a port depends on
+
-exec:withTarget:options:variants:error:
+
Executes specific target of given MPPort
+
-prefix
+
Returns the NSString path to the directory where ports are installed.
+
-sources:
+
Returns an NSArray of NSStrings for the paths to MacPorts sources or port trees
+
-sources
+
Returns an NSArray of NSStrings of paths to various port trees enabled on User's system
+
-pathToPortIndex:
+
Returns the NSURL of the portIndex file on this MacPorts system for a given ports tree
+
-version
+
Returns an NSString indicating the version of the currently running MacPorts system
+
-delegate
+
Returns the delegate for this MPMacPorts object
+
-setDelegate:
+
Sets the delegate for this MPMacPorts object
+
-setAuthorizationMode:
+
Determines whether certain port operations require privileges before exection
+
-authorizationMode
+
+
+
+
+

sharedInstance

+
+
+

Returns an MPMacPorts object that represents the MacPorts system on user's machine.

+

+
+ (MPMacPorts *)sharedInstance; 
+

+
+
+

sync:

+
+
+

Synchronizes the ports tree without checking for upgrades to the MacPorts base.

+

+
- (id)sync:(NSError **)sError; 
+

+
+
+

selfUpdate:

+
+
+

Synchronizes the ports tree and checks for upgrades to MacPorts base.

+

+
- (void)selfUpdate:(NSError **)sError; 
+
+Discussion +
+

The selfupdate port command is available only on Mac OS X systems. +

+

+
+
+

search:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensiitve:YES].

+

+
- (NSDictionary *)search:(NSString *)quer
 y; 
+
Parameters
+
+
query
+
An NSString containing name or partial name of port being searched.
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:@"regex"].

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:matchStyle:

+
+
+

Returns an NSDictionary of ports. Calls [self search:query caseSensitive:sensitivity matchStyle:style field:@"name"].

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity 
+        matchStyle:(NSString *)style; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
style
+
Search style for query
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

search:caseSensitive:matchStyle:field:

+
+
+

Returns an NSDictionary of ports

+

+
- (NSDictionary *)search:(NSString *)qu
 ery caseSensitive:(BOOL)sensitivity 
+        matchStyle:(NSString *)style field:(NSString *)fieldName; 
+
Parameters
+
+
query
+
An NSString containing name (full or parital) of port being searched.
+
sensitivity
+
A Boolean value indicating whether or not the search should be case sensitive
+
style
+
Search style for query
+
fieldName
+
Field for port query
+
+
+Discussion +
+

The keys are NSString names of the ports whilst the values are the respective MPPort objects. +Possible search style options are are regexp, exact and glob. +

+

+
+
+

depends:

+
+
+

Returns an NSArray of NSString port names that a port depends on

+

+
- (NSArray *)depends:(MPPort *)port; 
+
Parameters
+
+
port
+
The MPPort whose dependecies is being sought
+
+

+
+
+

exec:withTarget:options:variants:error:

+
+
+

Executes specific target of given MPPort

+

+
- (void)exec:(MPPort *)port withTarget:(NSString *)target 
+        options:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError **)execError; 
+
Parameters
+
+
port
+
The MPPort whose target will be executed
+
target
+
The NSString representing a given target
+
options
+
An NSArray of NSStrings of options for executing this target
+
variants
+
An NSArray of NSStrings of variants for executing this target
+
+
+Discussion +
+

See -exec: withOptions: withVariants: in MPPort for discussion +of this method. +

+

+
+
+

prefix

+
+
+

Returns the NSString path to the directory where ports are installed.

+

+
- (NSString *)prefix; 
+

+
+
+

sources:

+
+
+

Returns an NSArray of NSStrings for the paths to MacPorts sources or port trees

+

+
- (NSArray *)sources:(BOOL)refresh; 
+
Parameters
+
+
refresh
+
A boolean indicating whether or not to refresh the NSArray of port trees
+
+
+Discussion +
+

A refresh value of YES will refresh the ports tree whilst a value of NO will not refresh +the tree. +

+

+
+
+

sources

+
+
+

Returns an NSArray of NSStrings of paths to various port trees enabled on User's system

+

+
- (NSArray *)sources; 
+
+Discussion +
+

These file paths are listed in opt/local/etc/macports/sources.conf. Each port tree +contains the different files for each port. +

+

+
+
+

pathToPortIndex:

+
+
+

Returns the NSURL of the portIndex file on this MacPorts system for a given ports tree

+

+
- (NSURL *)pathToPortIndex:(NSString *)source; 
+
Parameters
+
+
source
+
An NSString containing the file path to the ports tree
+
+
+Discussion +
+

The PortIndex is a list of serialized Tcl key-value lists, one list +per line. This is where ports are searched for. +

+

+
+
+

version

+
+
+

Returns an NSString indicating the version of the currently running MacPorts system

+

+
- (NSString *)version; 
+

+
+
+

delegate

+
+
+

Returns the delegate for this MPMacPorts object

+

+
- (id)delegate; 
+
+Discussion +
+

Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . +See (add link here to class discussion section) for more details. +

+

+
+
+

setDelegate:

+
+
+

Sets the delegate for this MPMacPorts object

+

+
- (void)setDelegate:(id)aDelegate; 
+
Parameters
+
+
aDelegate
+
The object to be set as the delegate
+
+
+Discussion +
+

Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . +See (add link here to class discussion section) for more details. +

+

+
+
+

setAuthorizationMode:

+
+
+

Determines whether certain port operations require privileges before exection

+

+
-(void) setAuthorizationMode:(BOOL)mode; 
+
Parameters
+
+
mode
+
A YES value will require privileges whereas a NO value will not require privileges.
+
+
+Discussion +
+

Use this method to indicate whether port operations should be +run with privilieges. The default behavior is to not run these port operations with +privileges. Operations affected by this setting include -sync, -selfUpdate, all variants +of the -exec method and all of MPPort's port manipulation methods. +

+

+
+
+

authorizationMode

+
+
+

+
-(BOOL) authorizationMode; 
+
+Discussion +
+

Returns a BOOL that indicates whether or not port operations are to be run with privileges +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPMacPorts (MPMacPorts.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/Classes/MPMacPorts_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,42 @@ + + + + +Documentation for MPMacPorts (MPMacPorts.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPMacPorts
+

+
Introduction +

+

Methods

+
Class Methods
+      +sharedInstance
Instance Methods
+      -sync:
      -selfUpdate:
      -search:
      -search:caseSensitive:
      -search:‍caseSensitive:‍matchStyle:‍
  &nbs p;   -search:‍caseSensitive:‍matchStyle:‍field:‍
      -depends:
      -exec:‍withTarget:‍options:‍variants:‍error:‍
      -prefix
      -sources:
      -sources
      -pathToPortIndex:
      -version
      -delegate
      -setDelegate:
      -setAuthorizationMode:
      -authorizationMode

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,34 @@ + + + +MPMacPorts.h + + + + + +
+
+

MPMacPorts.h

+
+
+

+
+Discussion +
+

MPMacPorts represents an installation of MacPorts on a user's system. A user can have +multiple MacPorts installations in different locations. +

+

+
+

Classes

+
+
MPMacPorts
+
Object representation of the MacPorts system +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/MPMacPorts.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/MPMacPorts.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/MPMacPorts.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,27 @@ + + + +API Documentation + + + + + +

MPMacPorts.h

+
+

+
+

+
+

+MPMacPorts represents an installation of MacPorts on a user's system. A user can have +multiple MacPorts installations in different locations. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPMacPorts.h (MPMacPorts.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMacPorts/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPMacPorts.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPMacPorts.h
+

+
Introduction +

+

Classes

+      MPMacPorts


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,170 @@ + + + +MPMutableDictionary + + + + + +
+
+

MPMutableDictionary

+
+
+

A subclass of NSMutableDictionary that is the base of most MacPort API objects +

+

Superclass: NSMutableDictionary
Declared In: MPMutableDictionary.h

+
+Discussion +
+

The dictionary data structure is appropriate for representing various aspects +of the MacPorts system such as port objects, receipt objects etc. Clients of this framework +can treat subclasses of MPMutableDictionary objects as NSMutableDictionaries which can +be useful for some GUI programming tasks like displaying information in a table. In order +to properly subclass an NSMutableDictionary, this class also contains an internal NSMutableDictionary +object. See http://www.smackie.org/Notes/2007/07/11/subclassing-nsmutabledictionary/ for some more +information on subclassing NSMutableDictionary. +

+

+
+

Methods

+
+
-init
+
Calls [initWithCapacity:15]
+
-initWithCapacity:
+
Initializes this object with a specified number of key, value pairs.
+
-count
+
Returns the size of this mutable dictionary
+
-keyEnumerator
+
Returns an NSEnumerator object for accessing keys in the mutable dictionary
+
-objectForKey:
+
Returns the object associated with a given key
+
-removeObjectForKey:
+
Removes a given key and its associated object from the mutable dictionary
+
-setObject:forKey:
+
Adds a given key and its associated object to the mutable dictionary.
+
-setDictionary:
+
Sets the contents of the mutable dictionary to entries in a given dictionary
+
-description
+
Returns an NSString representation of the contents of this mubtable dictioanry, formatted as a property list.
+
+
+
+

init

+
+
+

Calls [initWithCapacity:15]

+

+
- (id)init; 
+

+
+
+

initWithCapacity:

+
+
+

Initializes this object with a specified number of key, value pairs.

+

+
- (id)initWithCapacity:(unsigned)numItems; 
+
Parameters
+
+
numItems
+
The initial size of this MPMutableDictionary object.
+
+

+
+
+

count

+
+
+

Returns the size of this mutable dictionary

+

+
- (unsigned)count; 
+

+
+
+

keyEnumerator

+
+
+

Returns an NSEnumerator object for accessing keys in the mutable dictionary

+

+
- (NSEnumerator *)keyEnumerator; 
+

+
+
+

objectForKey:

+
+
+

Returns the object associated with a given key

+

+
- (id)objectForKey:(id)aKey; 
+
Parameters
+
+
aKey
+
The key for which to return the corresponding object
+
+

+
+
+

removeObjectForKey:

+
+
+

Removes a given key and its associated object from the mutable dictionary

+

+
- (void)removeObjectForKey:(id)aKey; 
+
Parameters
+
+
aKey
+
The key to be removed
+
+

+
+
+

setObject:forKey:

+
+
+

Adds a given key and its associated object to the mutable dictionary.

+

+
- (void)setObject:(id)anObject forKey:(id)aKey; 
+
Parameters
+
+
anObject
+
The value for the key to be added.
+
aKey
+
The key for the value to be added.
+
+
+Discussion +
+

This class uses an embedded NSMutableDictionary for implementing these +primitive methods. Hence restrictions to setObject: forKey: for NSMutableDictionary +apply here also; for example, anObject cannot be nil. +

+

+
+
+

setDictionary:

+
+
+

Sets the contents of the mutable dictionary to entries in a given dictionary

+

+
- (void)setDictionary:(NSDictionary *)o
 therDictionary; 
+
Parameters
+
+
otherDictionary
+
A dictionary containing the new entries
+
+

+
+
+

description

+
+
+

Returns an NSString representation of the contents of this mubtable dictioanry, formatted as a property list.

+

+
- (NSString *)description; 
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/MPMutableDictionary.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/MPMutableDictionary.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/MPMutableDictionary.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,36 @@ + + + +API Documentation + + + + + +

MPMutableDictionary

+
+

+ A subclass of NSMutableDictionary that is the base of most MacPort API objects + +

+

Superclass: NSMutableDictionary
Declared In: MPMutableDictionary.h

+
+

+
+

+ The dictionary data structure is appropriate for representing various aspects +of the MacPorts system such as port objects, receipt objects etc. Clients of this framework +can treat subclasses of MPMutableDictionary objects as NSMutableDictionaries which can +be useful for some GUI programming tasks like displaying information in a table. In order +to properly subclass an NSMutableDictionary, this class also contains an internal NSMutableDictionary +object. See http://www.smackie.org/Notes/2007/07/11/subclassing-nsmutabledictionary/ for some more +information on subclassing NSMutableDictionary. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,148 @@ + + + +Methods + + + + + +
+
-init
+
Calls [initWithCapacity:15]
+
-initWithCapacity:
+
Initializes this object with a specified number of key, value pairs.
+
-count
+
Returns the size of this mutable dictionary
+
-keyEnumerator
+
Returns an NSEnumerator object for accessing keys in the mutable dictionary
+
-objectForKey:
+
Returns the object associated with a given key
+
-removeObjectForKey:
+
Removes a given key and its associated object from the mutable dictionary
+
-setObject:forKey:
+
Adds a given key and its associated object to the mutable dictionary.
+
-setDictionary:
+
Sets the contents of the mutable dictionary to entries in a given dictionary
+
-description
+
Returns an NSString representation of the contents of this mubtable dictioanry, formatted as a property list.
+
+
+
+

init

+
+
+

Calls [initWithCapacity:15]

+

+
- (id)init; 
+

+
+
+

initWithCapacity:

+
+
+

Initializes this object with a specified number of key, value pairs.

+

+
- (id)initWithCapacity:(unsigned)numItems; 
+
Parameters
+
+
numItems
+
The initial size of this MPMutableDictionary object.
+
+

+
+
+

count

+
+
+

Returns the size of this mutable dictionary

+

+
- (unsigned)count; 
+

+
+
+

keyEnumerator

+
+
+

Returns an NSEnumerator object for accessing keys in the mutable dictionary

+

+
- (NSEnumerator *)keyEnumerator; 
+

+
+
+

objectForKey:

+
+
+

Returns the object associated with a given key

+

+
- (id)objectForKey:(id)aKey; 
+
Parameters
+
+
aKey
+
The key for which to return the corresponding object
+
+

+
+
+

removeObjectForKey:

+
+
+

Removes a given key and its associated object from the mutable dictionary

+

+
- (void)removeObjectForKey:(id)aKey; 
+
Parameters
+
+
aKey
+
The key to be removed
+
+

+
+
+

setObject:forKey:

+
+
+

Adds a given key and its associated object to the mutable dictionary.

+

+
- (void)setObject:(id)anObject forKey:(id)aKey; 
+
Parameters
+
+
anObject
+
The value for the key to be added.
+
aKey
+
The key for the value to be added.
+
+
+Discussion +
+

This class uses an embedded NSMutableDictionary for implementing these +primitive methods. Hence restrictions to setObject: forKey: for NSMutableDictionary +apply here also; for example, anObject cannot be nil. +

+

+
+
+

setDictionary:

+
+
+

Sets the contents of the mutable dictionary to entries in a given dictionary

+

+
- (void)setDictionary:(NSDictionary *)o
 therDictionary; 
+
Parameters
+
+
otherDictionary
+
A dictionary containing the new entries
+
+

+
+
+

description

+
+
+

Returns an NSString representation of the contents of this mubtable dictioanry, formatted as a property list.

+

+
- (NSString *)description; 
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPMutableDictionary (MPMutableDictionary.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/Classes/MPMutableDictionary_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,41 @@ + + + + +Documentation for MPMutableDictionary (MPMutableDictionary.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPMutableDictionary
+

+
Introduction +

+

Methods

+
Instance Methods
+      -init
      -setObject:forKey:
      -objectForKey:
      -description
      -count
      -setDictionary:
      -removeObjectForKey:
      -initWithCapacity:
      -keyEnumerator

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,34 @@ + + + +MPMutableDictionary.h + + + + + +
+
+

MPMutableDictionary.h

+
+
+

+
+Discussion +
+

MPMutableDictionary is a customized NSMutableDictionary object that +serves as the base of most MacPort Framework objects. +

+

+
+

Classes

+
+
MPMutableDictionary
+
A subclass of NSMutableDictionary that is the base of most MacPort API objects +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/MPMutableDictionary.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/MPMutableDictionary.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/MPMutableDictionary.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,27 @@ + + + +API Documentation + + + + + +

MPMutableDictionary.h

+
+

+
+

+
+

+MPMutableDictionary is a customized NSMutableDictionary object that +serves as the base of most MacPort Framework objects. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPMutableDictionary.h (MPMutableDictionary.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPMutableDictionary/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPMutableDictionary.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPMutableDictionary.h
+

+
Introduction +

+

Classes

+      MPMutableDictionary


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,121 @@ + + + +MPNotifications + + + + + +
+
+

MPNotifications

+
+
+

A class to handle notifying Framework clients of port activity +

+

Superclass: NSObject
Declared In: MPNotifications.h

+
+Discussion +
+

This class aids in sending NSNotifications to Framework clients for various messages +that would usually be logged to stdout. It also allows for filtering of messages based on +message priority. +

+

+
+

Methods

+
+
+sharedListener
+
Return singleton shared MPNotifications instance
+
-checkIfNotificationBlocked:
+
Returns YES if notification has been blocked and NO if it has not.
+
-blockNotification:
+
Blocks notifications having priority corresponding to option from being sent
+
-unblockNotification:
+
Unblocks notifications having priority corresponding to option parameter.
+
+
+
+

sharedListener

+
+
+

Return singleton shared MPNotifications instance

+

+
+ (MPNotifications *)sharedListener; 
+
+Discussion +
+

Should I make this per thread as Randall did with MPInterpreter +and MPMacPorts? +

+

+
+
+

checkIfNotificationBlocked:

+
+
+

Returns YES if notification has been blocked and NO if it has not.

+

+
-(BOOL)checkIfNotificationBlocked:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the checked notification. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

The above constants for option correspond to msg, info, warn, error, debug +and all console messages respectively. If calling this function with MPALL +returns true then all notifications will be blocked. +

+SHOULD I ALLOW FOR CUSTOM PRIOTIRITIES? +

+

+
+
+

blockNotification:

+
+
+

Blocks notifications having priority corresponding to option from being sent

+

+
-(void)blockNotification:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the notification to be blocked. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

This method does nothing if notification has already been blocked. +

+SHOULD I RETURN SOME SORT OF VALUE FOR A SUCCESSFUL BLOCKING ... OR OTHERWISE? +

+

+
+
+

unblockNotification:

+
+
+

Unblocks notifications having priority corresponding to option parameter.

+

+
-(void)unblockNotification:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the notification to be unblocked. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

This method does nothing if notification has not been already blocked. +

+SHOULD I RETURN SOME SORT OF VALUE FOR A SUCCESSFUL BLOCKING ... OR OTHERWISE? +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/MPNotifications.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/MPNotifications.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/MPNotifications.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,32 @@ + + + +API Documentation + + + + + +

MPNotifications

+
+

+ A class to handle notifying Framework clients of port activity + +

+

Superclass: NSObject
Declared In: MPNotifications.h

+
+

+
+

+ This class aids in sending NSNotifications to Framework clients for various messages +that would usually be logged to stdout. It also allows for filtering of messages based on +message priority. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,103 @@ + + + +Methods + + + + + +
+
+sharedListener
+
Return singleton shared MPNotifications instance
+
-checkIfNotificationBlocked:
+
Returns YES if notification has been blocked and NO if it has not.
+
-blockNotification:
+
Blocks notifications having priority corresponding to option from being sent
+
-unblockNotification:
+
Unblocks notifications having priority corresponding to option parameter.
+
+
+
+

sharedListener

+
+
+

Return singleton shared MPNotifications instance

+

+
+ (MPNotifications *)sharedListener; 
+
+Discussion +
+

Should I make this per thread as Randall did with MPInterpreter +and MPMacPorts? +

+

+
+
+

checkIfNotificationBlocked:

+
+
+

Returns YES if notification has been blocked and NO if it has not.

+

+
-(BOOL)checkIfNotificationBlocked:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the checked notification. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

The above constants for option correspond to msg, info, warn, error, debug +and all console messages respectively. If calling this function with MPALL +returns true then all notifications will be blocked. +

+SHOULD I ALLOW FOR CUSTOM PRIOTIRITIES? +

+

+
+
+

blockNotification:

+
+
+

Blocks notifications having priority corresponding to option from being sent

+

+
-(void)blockNotification:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the notification to be blocked. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

This method does nothing if notification has already been blocked. +

+SHOULD I RETURN SOME SORT OF VALUE FOR A SUCCESSFUL BLOCKING ... OR OTHERWISE? +

+

+
+
+

unblockNotification:

+
+
+

Unblocks notifications having priority corresponding to option parameter.

+

+
-(void)unblockNotification:(NSString *)option; 
+
Parameters
+
+
option
+
The priority level of the notification to be unblocked. Can be one of MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG OR MPALL.
+
+
+Discussion +
+

This method does nothing if notification has not been already blocked. +

+SHOULD I RETURN SOME SORT OF VALUE FOR A SUCCESSFUL BLOCKING ... OR OTHERWISE? +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPNotifications (MPNotifications.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/Classes/MPNotifications_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,42 @@ + + + + +Documentation for MPNotifications (MPNotifications.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPNotifications
+

+
Introduction +

+

Methods

+
Class Methods
+      +sharedListener
Instance Methods
+      -blockNotification:
      -checkIfNotificationBlocked:
      -unblockNotification:

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,56 @@ + + + +MPNotifications.h + + + + + +
+
+

MPNotifications.h

+
+
+

+
+Discussion +
+

The MPNotifications class aids in handling notifications of port activity that are to be +sent to Framework clients. The following constants MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG +define the names of notifications that Framework clients can register for. +

+The posted notificaion's userInfo dictionary contains the following keys and values +MPNOTIFICATION_NAME - The name of the notification e.g. MPWARN, MPDEBUG etc. +MPCHANNEL - The channel to which the message was logged eg. stdout, stderr +MPPREFIX - The prefix string for this message e.g. DEBUG: +MPMETHOD - The method whose execution led to this notification eg. sync, selfupdate +MPMESSAGE - The output message logged to channel +



+THERE IS A REASON I'M NOT INCLUDING MPALL AS ONE OF THE POSSIBLE NOTIFICATIONS TO REGISTER FOR. +HOW IS THE FRAMEWORK SUPPOSE TO KNOW THAT SOMEONE HAS REGISTERED FOR ALL NOTIFICATIONS? THE ONLY +WAY TO DO THAT THAT I CAN SEE IS FORCING CLIENTS TO USE A CUSTOM METHOD (THAT UPDATES SOME +INTERNAL VARIABLE) OTHER THAN THE COCOA NSNOTIFICATION METHODS FOR REGISTERING ... I DON'T +WANT TO DO THAT. +

+SO CLIENTS CAN BOTH REGISTER FOR AND BLOCK CERTAIN NOTIFICATIONS FROM BEING SENT ... IS THIS +TOO MUCH FLEXIBILITY? WILL THIS GET CONFUSING? IF I WAS A FRAMEWORK USER I WOULD JUST +REGISTER FOR THE NOTIFICATIONS I'M INTERESTED IN AND NOT CARE ABOUT THE REST. BUT ON THE +FRAMEWORK SIDE I DON'T WANT TO GO THROUGH OVERHEAD OF SENDING A NOTIFICATION OF THE CLIENT +IS DEFINITELY NOT GOING TO USE IT .... +

+OK DISCUSS WITH RANDALL. +

+

+
+

Classes

+
+
MPNotifications
+
A class to handle notifying Framework clients of port activity +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/MPNotifications.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/MPNotifications.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/MPNotifications.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,49 @@ + + + +API Documentation + + + + + +

MPNotifications.h

+
+

+
+

+
+

+The MPNotifications class aids in handling notifications of port activity that are to be +sent to Framework clients. The following constants MPMSG, MPINFO, MPWARN, MPERROR, MPDEBUG +define the names of notifications that Framework clients can register for. +

+The posted notificaion's userInfo dictionary contains the following keys and values +MPNOTIFICATION_NAME - The name of the notification e.g. MPWARN, MPDEBUG etc. +MPCHANNEL - The channel to which the message was logged eg. stdout, stderr +MPPREFIX - The prefix string for this message e.g. DEBUG: +MPMETHOD - The method whose execution led to this notification eg. sync, selfupdate +MPMESSAGE - The output message logged to channel +



+THERE IS A REASON I'M NOT INCLUDING MPALL AS ONE OF THE POSSIBLE NOTIFICATIONS TO REGISTER FOR. +HOW IS THE FRAMEWORK SUPPOSE TO KNOW THAT SOMEONE HAS REGISTERED FOR ALL NOTIFICATIONS? THE ONLY +WAY TO DO THAT THAT I CAN SEE IS FORCING CLIENTS TO USE A CUSTOM METHOD (THAT UPDATES SOME +INTERNAL VARIABLE) OTHER THAN THE COCOA NSNOTIFICATION METHODS FOR REGISTERING ... I DON'T +WANT TO DO THAT. +

+SO CLIENTS CAN BOTH REGISTER FOR AND BLOCK CERTAIN NOTIFICATIONS FROM BEING SENT ... IS THIS +TOO MUCH FLEXIBILITY? WILL THIS GET CONFUSING? IF I WAS A FRAMEWORK USER I WOULD JUST +REGISTER FOR THE NOTIFICATIONS I'M INTERESTED IN AND NOT CARE ABOUT THE REST. BUT ON THE +FRAMEWORK SIDE I DON'T WANT TO GO THROUGH OVERHEAD OF SENDING A NOTIFICATION OF THE CLIENT +IS DEFINITELY NOT GOING TO USE IT .... +

+OK DISCUSS WITH RANDALL. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPNotifications.h (MPNotifications.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPNotifications/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPNotifications.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPNotifications.h
+

+
Introduction +

+

Classes

+      MPNotifications


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,581 @@ + + + +MPPort + + + + + +
+
+

MPPort

+
+
+

A representation of a port. +

+

Superclass: MPMutableDictionary
Declared In: MPPort.h

+

+
+

Methods

+
+
-init
+
Initializes this port with a MPPortStateUnkown state
+
-initWithCapacity:
+
Initializes this port with a MPPortStateUnkown state
+
-initWithTclListAsString:
+
Initializes this port with an NSString derived from a Tcl list
+
-name
+
Returns the name of this port
+
-version
+
Returns the version of this port
+
-depends
+
Returns an array of NSString port names of dependencies of this port
+
-uninstallWithVersion:error:
+
Deactivates and uninstalls this MPPort from the MacPorts system
+
-activateWithVersion:error:
+
Activates an installed MPPort.
+
-deactivateWithVersion:error:
+
Deactivates an installed MPPort.
+
-exec:withOptions:variants:error:
+
Executes the specified target for this MPPort
+
-configureWithOptions:variants:error:
+
Runs a configure process for this port.
+
-buildWithOptions:variants:error:
+
Builds this port.
+
-testWithOptions:variants:error:
+
Tests this port.
+
-destrootWithOptions:variants:error:
+
Installs this port to a temporary directory
+
-installWithOptions:variants:error:
+
Installs this port.
+
-archiveWithOptions:variants:error:
+
Archives port for later unarchving.
+
-createDmgWithOptions:variants:error:
+
Creates an internet-enabled disk image containing OS X package of this
+
-createMdmgWithOptions:variants:error:
+
Create an internet-enabled disk image containing an OS X metapackage of this
+
-createPkgWithOptions:variants:error:
+
Creates an OS X installer package of this port
+
-createMpkgWithOptions:variants:error:
+
Creates an OS X installer metapackage of this this port and
+
-createRpmWithOptions:variants:error:
+
Creates and RPM binary package of this port. This is similar to a
+
-createDpkgWithOptions:variants:error:
+
Creates a DEB binary package of this port.
+
-createSrpmWithOptions:variants:error:
+
Creates an SRPM source package of this port, similar to a xar "portpkg".
+
-setPortWithTclListAsString:
+
Sets the attributes of this MPPort using the given string
+
-addDependencyAsPortName:
+
Adds the name of an MPPort to the list of this MPPort's dependencies
+
-setState:
+
Sets the state of this MPPort object
+
-setStateFromReceipts:
+
Sets the state of this MPPort object from its receipts
+
+
+
+

init

+
+
+

Initializes this port with a MPPortStateUnkown state

+

+
- (id)init; 
+
+Discussion +
+

Calls [self initWithCapacity:15] +

+

+
+
+

initWithCapacity:

+
+
+

Initializes this port with a MPPortStateUnkown state

+

+
- (id)initWithCapacity:(unsigned)numItems; 
+
Parameters
+
+
numItems
+
The number of items to be stored with this port
+
+

+
+
+

initWithTclListAsString:

+
+
+

Initializes this port with an NSString derived from a Tcl list

+

+
- (id)initWithTclListAsString:(NSString *)string; 
+
Parameters
+
+
string
+
The NSString object used to initialize this MPPort object
+
+
+Discussion +
+

The Tcl list is usually obtained from doing a search query for some +particular port. +

+IS THIS METHOD JUST FOR INTERNAL USE? IT LOOKS LIKE IT ... ASK RANDALL ABOUT THAT +

+

+
+
+

name

+
+
+

Returns the name of this port

+

+
- (NSString *)name; 
+

+
+
+

version

+
+
+

Returns the version of this port

+

+
- (NSString *)version; 
+

+
+
+

depends

+
+
+

Returns an array of NSString port names of dependencies of this port

+

+
- (NSArray *)depends; 
+
+Discussion +
+

The MPPort object has internal dictionary lists of MPPort names for +the following dependency types: depend_libs, depend_run and depend_build. The +NSArray returned contains all of these dependencies in a single Array. +

+ISN'T INFORMATION LOST BY JUST CREATING A SINGLE ARRAY WITH ALL OF THESE DEPENDENCIES? +PERHAPS A DIFFERENT DATA STRUCTURE CAN BE USED THAT LETS US REMEMBER WHAT TYPE OF +DEPENDENCY EACH DEPENDENCY IS? +

+

+
+
+

uninstallWithVersion:error:

+
+
+

Deactivates and uninstalls this MPPort from the MacPorts system

+

+
- (void)uninstallWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to uninstall
+
+
+Discussion +
+

version should NOT be nil +

+

+
+
+

activateWithVersion:error:

+
+
+

Activates an installed MPPort.

+

+
- (void)activateWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to activate
+
+
+Discussion +
+

version should NOT be nil. The activated port should have been +already installed. This happens automatically during a default installation +of a port. This means activation of a port should occur only if the port +had been previously deactivated after a default installation. +

+

+
+
+

deactivateWithVersion:error:

+
+
+

Deactivates an installed MPPort.

+

+
- (void)deactivateWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to deactivate
+
+
+Discussion +
+

version should NOT be nil. Only installed and active ports +should be deactivated +

+

+
+
+

exec:withOptions:variants:error:

+
+
+

Executes the specified target for this MPPort

+

+
-(void)exec:(NSString *)target withOptions:(NSArray *)options 
+        variants:(NSArray *)variants error:(NSError **)execError; 
+
Parameters
+
+
target
+
NSString target to be executed for this MPPort
+
options
+
An NSArray of NSStrings for the various options for this target
+
variants
+
An NSArray of NSStrings for the various variants for this target
+
+
+Discussion +
+

The various options for target are: configure, build, +test, destroot, install, archive, dmg, mdmg, pkg, mpkg, rpm, dpkg, srpm. +Users of -exec are responsible for ensuring that execution happens in +an authorized environment for various targets. +

+ADD SOMETHING HERE ABOUT VARIANTS AND OPTIONS +

+

+
+
+

configureWithOptions:variants:error:

+
+
+

Runs a configure process for this port.

+

+
-(void)configureWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

buildWithOptions:variants:error:

+
+
+

Builds this port.

+

+
-(void)buildWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

testWithOptions:variants:error:

+
+
+

Tests this port.

+

+
-(void)testWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

destrootWithOptions:variants:error:

+
+
+

Installs this port to a temporary directory

+

+
-(void)destrootWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

installWithOptions:variants:error:

+
+
+

Installs this port.

+

+
-(void)installWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

Installing a port automatically activates it. +

+

+
+
+

archiveWithOptions:variants:error:

+
+
+

Archives port for later unarchving.

+

+
-(void)archiveWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
+Discussion +
+

Archive mode must be enabled for this command to work. +This is done by setting portarchivemode to yes in the macports.conf file +located in ${prefix}/etc/macports/macports.conf. With archive mode enabled, +binary archives are created automatically whenever an install is performed. +

+

+
+
+

createDmgWithOptions:variants:error:

+
+
+

Creates an internet-enabled disk image containing OS X package of this

+

+
-(void)createDmgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

port +

+

+
+
+

createMdmgWithOptions:variants:error:

+
+
+

Create an internet-enabled disk image containing an OS X metapackage of this

+

+
-(void)createMdmgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

port +

+

+
+
+

createPkgWithOptions:variants:error:

+
+
+

Creates an OS X installer package of this port

+

+
-(void)createPkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

createMpkgWithOptions:variants:error:

+
+
+

Creates an OS X installer metapackage of this this port and

+

+
-(void)createMpkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

its dependencies +

+

+
+
+

createRpmWithOptions:variants:error:

+
+
+

Creates and RPM binary package of this port. This is similar to a

+

+
-(void)createRpmWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

tgz "archive". +

+

+
+
+

createDpkgWithOptions:variants:error:

+
+
+

Creates a DEB binary package of this port.

+

+
-(void)createDpkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

createSrpmWithOptions:variants:error:

+
+
+

Creates an SRPM source package of this port, similar to a xar "portpkg".

+

+
-(void)createSrpmWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

setPortWithTclListAsString:

+
+
+

Sets the attributes of this MPPort using the given string

+

+
- (void) setPortWithTclListAsString:(NSString *)string; 
+
Parameters
+
+
string
+
An NSString object derived from a Tcl list containing this port's attributes
+
+
+Discussion +
+

The Tcl list is obtained from the PortIndex which contains a list of serialized +Tcl key-value lists, one list per line. This list is then broken up into a dictionary of attributes +for the MPPort. +

+

+
+
+

addDependencyAsPortName:

+
+
+

Adds the name of an MPPort to the list of this MPPort's dependencies

+

+
- (void) addDependencyAsPortName:(NSString
  *)dependency; 
+
Parameters
+
+
dependency
+
The NSString name of the MPPort to be added
+
+
+Discussion +
+

This MPPort object contains an internal list of port names for MPPorts which +it depends on. This list is returned by the depends method and is populated by this method. +

+

+
+
+

setState:

+
+
+

Sets the state of this MPPort object

+

+
- (void)setState:(int)state; 
+
+Discussion +
+

Possible values are MPPortStateUnknown, MPPortStateLearnState, MPPortStateActive, MPPortStateInstalled, +MPPortStateOutdated, MPPortStateNotInstalled. +

+

+
+
+

setStateFromReceipts:

+
+
+

Sets the state of this MPPort object from its receipts

+

+
- (void)setStateFromReceipts:(NSArray *)receipts; 
+
Parameters
+
+
receipts
+
An NSArray of receipts for this port
+
+
+Discussion +
+

It is possible for an installed port to have more than one +receipt if the MacPorts system uses hardlinks to activate the port. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/MPPort.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/MPPort.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/MPPort.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,26 @@ + + + +API Documentation + + + + + +

MPPort

+
+

+ A representation of a port. + +

+

Superclass: MPMutableDictionary
Declared In: MPPort.h

+
+

+
+


+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,570 @@ + + + +Methods + + + + + +
+
-init
+
Initializes this port with a MPPortStateUnkown state
+
-initWithCapacity:
+
Initializes this port with a MPPortStateUnkown state
+
-initWithTclListAsString:
+
Initializes this port with an NSString derived from a Tcl list
+
-name
+
Returns the name of this port
+
-version
+
Returns the version of this port
+
-depends
+
Returns an array of NSString port names of dependencies of this port
+
-uninstallWithVersion:error:
+
Deactivates and uninstalls this MPPort from the MacPorts system
+
-activateWithVersion:error:
+
Activates an installed MPPort.
+
-deactivateWithVersion:error:
+
Deactivates an installed MPPort.
+
-exec:withOptions:variants:error:
+
Executes the specified target for this MPPort
+
-configureWithOptions:variants:error:
+
Runs a configure process for this port.
+
-buildWithOptions:variants:error:
+
Builds this port.
+
-testWithOptions:variants:error:
+
Tests this port.
+
-destrootWithOptions:variants:error:
+
Installs this port to a temporary directory
+
-installWithOptions:variants:error:
+
Installs this port.
+
-archiveWithOptions:variants:error:
+
Archives port for later unarchving.
+
-createDmgWithOptions:variants:error:
+
Creates an internet-enabled disk image containing OS X package of this
+
-createMdmgWithOptions:variants:error:
+
Create an internet-enabled disk image containing an OS X metapackage of this
+
-createPkgWithOptions:variants:error:
+
Creates an OS X installer package of this port
+
-createMpkgWithOptions:variants:error:
+
Creates an OS X installer metapackage of this this port and
+
-createRpmWithOptions:variants:error:
+
Creates and RPM binary package of this port. This is similar to a
+
-createDpkgWithOptions:variants:error:
+
Creates a DEB binary package of this port.
+
-createSrpmWithOptions:variants:error:
+
Creates an SRPM source package of this port, similar to a xar "portpkg".
+
-setPortWithTclListAsString:
+
Sets the attributes of this MPPort using the given string
+
-addDependencyAsPortName:
+
Adds the name of an MPPort to the list of this MPPort's dependencies
+
-setState:
+
Sets the state of this MPPort object
+
-setStateFromReceipts:
+
Sets the state of this MPPort object from its receipts
+
+
+
+

init

+
+
+

Initializes this port with a MPPortStateUnkown state

+

+
- (id)init; 
+
+Discussion +
+

Calls [self initWithCapacity:15] +

+

+
+
+

initWithCapacity:

+
+
+

Initializes this port with a MPPortStateUnkown state

+

+
- (id)initWithCapacity:(unsigned)numItems; 
+
Parameters
+
+
numItems
+
The number of items to be stored with this port
+
+

+
+
+

initWithTclListAsString:

+
+
+

Initializes this port with an NSString derived from a Tcl list

+

+
- (id)initWithTclListAsString:(NSString *)string; 
+
Parameters
+
+
string
+
The NSString object used to initialize this MPPort object
+
+
+Discussion +
+

The Tcl list is usually obtained from doing a search query for some +particular port. +

+IS THIS METHOD JUST FOR INTERNAL USE? IT LOOKS LIKE IT ... ASK RANDALL ABOUT THAT +

+

+
+
+

name

+
+
+

Returns the name of this port

+

+
- (NSString *)name; 
+

+
+
+

version

+
+
+

Returns the version of this port

+

+
- (NSString *)version; 
+

+
+
+

depends

+
+
+

Returns an array of NSString port names of dependencies of this port

+

+
- (NSArray *)depends; 
+
+Discussion +
+

The MPPort object has internal dictionary lists of MPPort names for +the following dependency types: depend_libs, depend_run and depend_build. The +NSArray returned contains all of these dependencies in a single Array. +

+ISN'T INFORMATION LOST BY JUST CREATING A SINGLE ARRAY WITH ALL OF THESE DEPENDENCIES? +PERHAPS A DIFFERENT DATA STRUCTURE CAN BE USED THAT LETS US REMEMBER WHAT TYPE OF +DEPENDENCY EACH DEPENDENCY IS? +

+

+
+
+

uninstallWithVersion:error:

+
+
+

Deactivates and uninstalls this MPPort from the MacPorts system

+

+
- (void)uninstallWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to uninstall
+
+
+Discussion +
+

version should NOT be nil +

+

+
+
+

activateWithVersion:error:

+
+
+

Activates an installed MPPort.

+

+
- (void)activateWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to activate
+
+
+Discussion +
+

version should NOT be nil. The activated port should have been +already installed. This happens automatically during a default installation +of a port. This means activation of a port should occur only if the port +had been previously deactivated after a default installation. +

+

+
+
+

deactivateWithVersion:error:

+
+
+

Deactivates an installed MPPort.

+

+
- (void)deactivateWithVersion:(NSString *)version error:(NSError**)mpError; 
+
Parameters
+
+
version
+
An NSString indicating which version of this port to deactivate
+
+
+Discussion +
+

version should NOT be nil. Only installed and active ports +should be deactivated +

+

+
+
+

exec:withOptions:variants:error:

+
+
+

Executes the specified target for this MPPort

+

+
-(void)exec:(NSString *)target withOptions:(NSArray *)options 
+        variants:(NSArray *)variants error:(NSError **)execError; 
+
Parameters
+
+
target
+
NSString target to be executed for this MPPort
+
options
+
An NSArray of NSStrings for the various options for this target
+
variants
+
An NSArray of NSStrings for the various variants for this target
+
+
+Discussion +
+

The various options for target are: configure, build, +test, destroot, install, archive, dmg, mdmg, pkg, mpkg, rpm, dpkg, srpm. +Users of -exec are responsible for ensuring that execution happens in +an authorized environment for various targets. +

+ADD SOMETHING HERE ABOUT VARIANTS AND OPTIONS +

+

+
+
+

configureWithOptions:variants:error:

+
+
+

Runs a configure process for this port.

+

+
-(void)configureWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

buildWithOptions:variants:error:

+
+
+

Builds this port.

+

+
-(void)buildWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

testWithOptions:variants:error:

+
+
+

Tests this port.

+

+
-(void)testWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

destrootWithOptions:variants:error:

+
+
+

Installs this port to a temporary directory

+

+
-(void)destrootWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

installWithOptions:variants:error:

+
+
+

Installs this port.

+

+
-(void)installWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

Installing a port automatically activates it. +

+

+
+
+

archiveWithOptions:variants:error:

+
+
+

Archives port for later unarchving.

+

+
-(void)archiveWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
+Discussion +
+

Archive mode must be enabled for this command to work. +This is done by setting portarchivemode to yes in the macports.conf file +located in ${prefix}/etc/macports/macports.conf. With archive mode enabled, +binary archives are created automatically whenever an install is performed. +

+

+
+
+

createDmgWithOptions:variants:error:

+
+
+

Creates an internet-enabled disk image containing OS X package of this

+

+
-(void)createDmgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

port +

+

+
+
+

createMdmgWithOptions:variants:error:

+
+
+

Create an internet-enabled disk image containing an OS X metapackage of this

+

+
-(void)createMdmgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

port +

+

+
+
+

createPkgWithOptions:variants:error:

+
+
+

Creates an OS X installer package of this port

+

+
-(void)createPkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

createMpkgWithOptions:variants:error:

+
+
+

Creates an OS X installer metapackage of this this port and

+

+
-(void)createMpkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

its dependencies +

+

+
+
+

createRpmWithOptions:variants:error:

+
+
+

Creates and RPM binary package of this port. This is similar to a

+

+
-(void)createRpmWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+
+Discussion +
+

tgz "archive". +

+

+
+
+

createDpkgWithOptions:variants:error:

+
+
+

Creates a DEB binary package of this port.

+

+
-(void)createDpkgWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

createSrpmWithOptions:variants:error:

+
+
+

Creates an SRPM source package of this port, similar to a xar "portpkg".

+

+
-(void)createSrpmWithOptions:(NSArray *)options variants:(NSArray *)variants 
+        error:(NSError**)mError; 
+
Parameters
+
+
options
+
An NSArray of NSStrings of the various options for this target
+
variants
+
An NSArray of NSStrings of the various variants for this target
+
+

+
+
+

setPortWithTclListAsString:

+
+
+

Sets the attributes of this MPPort using the given string

+

+
- (void) setPortWithTclListAsString:(NSString *)string; 
+
Parameters
+
+
string
+
An NSString object derived from a Tcl list containing this port's attributes
+
+
+Discussion +
+

The Tcl list is obtained from the PortIndex which contains a list of serialized +Tcl key-value lists, one list per line. This list is then broken up into a dictionary of attributes +for the MPPort. +

+

+
+
+

addDependencyAsPortName:

+
+
+

Adds the name of an MPPort to the list of this MPPort's dependencies

+

+
- (void) addDependencyAsPortName:(NSString
  *)dependency; 
+
Parameters
+
+
dependency
+
The NSString name of the MPPort to be added
+
+
+Discussion +
+

This MPPort object contains an internal list of port names for MPPorts which +it depends on. This list is returned by the depends method and is populated by this method. +

+

+
+
+

setState:

+
+
+

Sets the state of this MPPort object

+

+
- (void)setState:(int)state; 
+
+Discussion +
+

Possible values are MPPortStateUnknown, MPPortStateLearnState, MPPortStateActive, MPPortStateInstalled, +MPPortStateOutdated, MPPortStateNotInstalled. +

+

+
+
+

setStateFromReceipts:

+
+
+

Sets the state of this MPPort object from its receipts

+

+
- (void)setStateFromReceipts:(NSArray *)receipts; 
+
Parameters
+
+
receipts
+
An NSArray of receipts for this port
+
+
+Discussion +
+

It is possible for an installed port to have more than one +receipt if the MacPorts system uses hardlinks to activate the port. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPPort (MPPort.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/Classes/MPPort/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,41 @@ + + + + +Documentation for MPPort (MPPort.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPPort
+

+
Introduction +

+

Methods

+
Instance Methods
+      -init
      -initWithCapacity:
      -initWithTclListAsString:
      -name
      -version
      -depends
      -uninstallWithVersion:error:
      -activateWithVersion:error:
      -deactivateWithVersion:error:
      -exec:‍withOptions:‍variants:‍error:‍
      -configureWithOptions:‍variants:‍error:‍
      -buildWithOptions:‍variants:‍error:‍
      -testWithOptions:‍variants:‍error:‍
      -destrootWithOptions:‍variants:‍error:‍
      -installWithOptions:‍variants:‍error:‍
      -archiveWithOptions:‍variants:‍error:‍
      -createDmgWithOptions:‍variants:‍error:‍
      -createMdmgWithOptions:‍variants:‍error:‍
      -createPkgWithOptions:‍variants:‍error:‍
      -createMpkgWithOptions:‍variants:‍error:‍
      -createRpmWithOptions:‍variants:‍error:‍
      -createDpkgWithOptions:‍variants:‍error:‍
      -createSrpmWithOptions:‍variants:‍error:‍
      -setPortWithTclListAsString:
      -addDependencyAsPortName:
      -setState:
      -setStateFromReceipts:

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +MPPort.h + + + + + +
+
+

MPPort.h

+
+
+

+
+Discussion +
+

The MPPort class is an object representation of a port +

+

+
+

Classes

+
+
MPPort
+
A representation of a port. +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/MPPort.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/MPPort.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/MPPort.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,26 @@ + + + +API Documentation + + + + + +

MPPort.h

+
+

+
+

+
+

+The MPPort class is an object representation of a port + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPPort.h (MPPort.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPPort/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPPort.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPPort.h
+

+
Introduction +

+

Classes

+      MPPort


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,56 @@ + + + +MPReceipt + + + + + +
+
+

MPReceipt

+
+
+

Object representation of an port's receipt +

+

Superclass: MPMutableDictionary
Declared In: MPReceipt.h

+
+Discussion +
+

A receipt consists mainly of the port's name, version, revision number, variants, whether or not +it is an active port, and some other information on the port. All receipts on the user's MacPorts system are +kept in the port registry located in ${prefix}/var/macports/receipts/. +

+

+
+

Methods

+
+
-initWithContentsOfArray:
+
This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.
+
+
+
+

initWithContentsOfArray:

+
+
+

This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.

+

+
- (id)initWithContentsOfArray:(NSArray *)array;
+
Parameters
+
+
array
+
An NSArray object containing the values for initializing this MPReceipt.
+
+
+Discussion +
+

The MPReceipt object contains an internal dictionary whose keys are the following strings: name, version, revision, variants, +active, whatIsThis (the long description of the corresponding port). +The values for these keys are provided by the initializing array parameter. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/MPReceipt.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/MPReceipt.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/MPReceipt.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,32 @@ + + + +API Documentation + + + + + +

MPReceipt

+
+

+ Object representation of an port's receipt + +

+

Superclass: MPMutableDictionary
Declared In: MPReceipt.h

+
+

+
+

+ A receipt consists mainly of the port's name, version, revision number, variants, whether or not +it is an active port, and some other information on the port. All receipts on the user's MacPorts system are +kept in the port registry located in ${prefix}/var/macports/receipts/. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + +Methods + + + + + +
+
-initWithContentsOfArray:
+
This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.
+
+
+
+

initWithContentsOfArray:

+
+
+

This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.

+

+
- (id)initWithContentsOfArray:(NSArray *)array;
+
Parameters
+
+
array
+
An NSArray object containing the values for initializing this MPReceipt.
+
+
+Discussion +
+

The MPReceipt object contains an internal dictionary whose keys are the following strings: name, version, revision, variants, +active, whatIsThis (the long description of the corresponding port). +The values for these keys are provided by the initializing array parameter. +

+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPReceipt (MPReceipt.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/Classes/MPReceipt_/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,41 @@ + + + + +Documentation for MPReceipt (MPReceipt.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPReceipt
+

+
Introduction +

+

Methods

+
Instance Methods
+      -initWithContentsOfArray:

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +MPReceipt.h + + + + + +
+
+

MPReceipt.h

+
+
+

+
+Discussion +
+

MPReceipt provides a programatic interface to the receipt(s) for installed ports. +

+

+
+

Classes

+
+
MPReceipt
+
Object representation of an port's receipt +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/MPReceipt.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/MPReceipt.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/MPReceipt.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,26 @@ + + + +API Documentation + + + + + +

MPReceipt.h

+
+

+
+

+
+

+MPReceipt provides a programatic interface to the receipt(s) for installed ports. + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPReceipt.h (MPReceipt.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPReceipt/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPReceipt.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPReceipt.h
+

+
Introduction +

+

Classes

+      MPReceipt


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,66 @@ + + + +MPRegistry + + + + + +
+
+

MPRegistry

+
+
+

The registry of installed ports. +

+

Superclass: NSObject
Declared In: MPRegistry.h

+

+
+

Methods

+
+
-installed
+
Calls [self installed:@""]
+
-installedAsArray:withVersion:
+
Returns an array of installed port names
+
-filesForPort:
+
Returns an array of the files in the (installed and active) port
+
+
+
+

installed

+
+
+

Calls [self installed:@""]

+

+
- (NSDictionary *)installed; 
+

+
+
+

installedAsArray:withVersion:

+
+
+

Returns an array of installed port names

+

+
- (NSArray *)installedAsArray:(NSString 
 *)name withVersion:(NSString *)version; 
+
Parameters
+
+
name
+
Text to match the port name
+
version
+
Text to march the port version
+
+

+
+
+

filesForPort:

+
+
+

Returns an array of the files in the (installed and active) port

+

+
- (NSArray *)filesForPort:(NSString *)name; 
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/MPRegistry.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/MPRegistry.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/MPRegistry.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,26 @@ + + + +API Documentation + + + + + +

MPRegistry

+
+

+ The registry of installed ports. + +

+

Superclass: NSObject
Declared In: MPRegistry.h

+
+

+
+


+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/Methods/Methods.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/Methods/Methods.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/Methods/Methods.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,55 @@ + + + +Methods + + + + + +
+
-installed
+
Calls [self installed:@""]
+
-installedAsArray:withVersion:
+
Returns an array of installed port names
+
-filesForPort:
+
Returns an array of the files in the (installed and active) port
+
+
+
+

installed

+
+
+

Calls [self installed:@""]

+

+
- (NSDictionary *)installed; 
+

+
+
+

installedAsArray:withVersion:

+
+
+

Returns an array of installed port names

+

+
- (NSArray *)installedAsArray:(NSString 
 *)name withVersion:(NSString *)version; 
+
Parameters
+
+
name
+
Text to match the port name
+
version
+
Text to march the port version
+
+

+
+
+

filesForPort:

+
+
+

Returns an array of the files in the (installed and active) port

+

+
- (NSArray *)filesForPort:(NSString *)name; 
+

+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPRegistry (MPRegistry.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/Classes/MPRegistry/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,41 @@ + + + + +Documentation for MPRegistry (MPRegistry.h) + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Class:
  MPRegistry
+

+
Introduction +

+

Methods

+
Instance Methods
+      -installed
      -filesForPort:
      -installedAsArray:withVersion:

Other Reference

+
+      Header


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,35 @@ + + + +MPRegistry.h + + + + + +
+
+

MPRegistry.h

+
+
+

+
+Discussion +
+

MPRegistry provides a programatic interface to the registry of installed ports. +The MPRegistry class is a wrapper around the Tcl Registry API. For interacting +with all available ports, see the MPIndex . +

+

+
+

Classes

+
+
MPRegistry
+
The registry of installed ports. +
+
+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/MPRegistry.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/MPRegistry.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/MPRegistry.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,28 @@ + + + +API Documentation + + + + + +

MPRegistry.h

+
+

+
+

+
+

+MPRegistry provides a programatic interface to the registry of installed ports. +The MPRegistry class is a wrapper around the Tcl Registry API. For interacting +with all available ports, see the MPIndex . + +

+

+
+
Last Updated: Wednesday, September 03, 2008 +
HTML documentation generated by HeaderDoc +
+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/index.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/index.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/index.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +Documentation for MPRegistry.h (MPRegistry.h) + + + + + + + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/toc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/toc.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MPRegistry/toc.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,38 @@ + + + + +Documentation for MPRegistry.h + + + + + +[Top]
 
+
+ + + + + + + + + + + + + +
 Header:
  MPRegistry.h
+

+
Introduction +

+

Classes

+      MPRegistry


+[Printable HTML Page] +
+

 

+

+

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/CompositePage.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/CompositePage.html (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/CompositePage.html 2008-09-04 03:56:07 UTC (rev 39768) @@ -0,0 +1,33 @@ + + + +MacPorts Framework <br><br> + + + + + + +
+
+

MacPorts Framework

+
+
+

+Framework for the MacPorts API +

+

+
+Discussion +
+

+The MacPorts Framework contains classes and functions that allow Application developers to +leverage the MacPorts Tcl API. + +

+

+
+

Last Updated: Wednesday, September 03, 2008 +

+ + Added: branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/MacPorts_Frameworkdoc.html =================================================================== --- branches/gsoc08-framework/MacPorts_Framework_Documentation/HTML/MacPorts Framework/MacPorts_Frameworkdoc.html (rev 0) +++ b