From ryandesign at macports.org Fri Aug 1 00:02:36 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 00:02:36 -0700 (PDT) Subject: [38830] trunk/dports/news/PlopFolio/Portfile Message-ID: <20080801070236.CC3211A9237@beta.macosforge.org> Revision: 38830 http://trac.macosforge.org/projects/macports/changeset/38830 Author: ryandesign at macports.org Date: 2008-08-01 00:02:34 -0700 (Fri, 01 Aug 2008) Log Message: ----------- PlopFolio: * use xcode portgroup so the port builds at all with current Xcode, and so that it automatically uses ${applications_dir} instead of assuming /Applications/MacPorts * fix permissions for install if you're not root Modified Paths: -------------- trunk/dports/news/PlopFolio/Portfile Modified: trunk/dports/news/PlopFolio/Portfile =================================================================== --- trunk/dports/news/PlopFolio/Portfile 2008-08-01 06:25:22 UTC (rev 38829) +++ trunk/dports/news/PlopFolio/Portfile 2008-08-01 07:02:34 UTC (rev 38830) @@ -1,11 +1,11 @@ # $Id$ PortSystem 1.0 +PortGroup xcode 1.0 name PlopFolio version 0.1.0 categories news aqua -platforms darwin maintainers nomaintainer description PlopFolio is a free KlipFolio clone that supports Klips long_description PlopFolio is a free clone of Serences KlipFolio \ @@ -16,14 +16,12 @@ master_sites http://debian.uni-essen.de/misc/GNUstep/Apps/PlopFolio/ checksums md5 a1752b4ff0707701f993451da924a46d -use_configure no +worksrcdir ${name} -build.dir ${workpath}/${name} -build.type pbx -build.target - -destroot { - file mkdir ${destroot}/Applications/MacPorts - file copy ${build.dir}/build/${name}.app \ - ${destroot}/Applications/MacPorts +post-destroot { + fs-traverse dir ${destroot} { + if {[file isdirectory ${dir}]} { + file attributes ${dir} -permissions u+w + } + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/4c484ebd/attachment.html From portindex at macports.org Fri Aug 1 00:53:09 2008 From: portindex at macports.org (portindex at macports.org) Date: Fri, 1 Aug 2008 00:53:09 -0700 (PDT) Subject: [38831] trunk/dports/PortIndex Message-ID: <20080801075310.2D3361A9394@beta.macosforge.org> Revision: 38831 http://trac.macosforge.org/projects/macports/changeset/38831 Author: portindex at macports.org Date: 2008-08-01 00:53:07 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Total number of ports parsed: 4945 Ports successfully parsed: 4944 Ports failed: 1 Failed to parse file python/py25-matplotlib-basemap/Portfile: invalid command name "port:geos2" Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-01 07:02:34 UTC (rev 38830) +++ trunk/dports/PortIndex 2008-08-01 07:53:07 UTC (rev 38831) @@ -388,8 +388,8 @@ variants universal portdir audio/libtagedit description {C++ interface to music file tag editing} homepage http://www.diotavelli.net/tagedit.html epoch 0 platforms darwin name libtagedit depends_lib {port:pkgconfig port:libvorbis port:libogg port:flac} maintainers nomaintainer long_description {libtagedit provides a C++ interface to music file tag editing which should be as easy as possible. It has a plugin structure and is easily extendable. Currently, it includes plugins for MP3 (ID3v2 r/w and ID3v1 reading), OGG and FLAC files.} version 1.1.0 categories audio revision 0 libvorbis 509 variants universal depends_build port:pkgconfig portdir audio/libvorbis description {The Vorbis General Audio Compression Codec} homepage http://www.vorbis.com/ epoch 0 platforms darwin depends_lib port:libogg name libvorbis maintainers {nox openmaintainer} long_description {Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates from 16 to 128 kbps/channel.} version 1.2.0 categories audio revision 1 -lv2core 510 -depends_build port:gawk description {LV2 Audio Plugin Standard and Package} portdir audio/lv2core homepage http://lv2plug.in/spec/ epoch 0 platforms darwin name lv2core maintainers gmail.com:dbevans long_description {LV2 is a standard for plugins and matching host applications, mainly targeted at audio processing and generation. It is a a simple but extensible successor of LADSPA, intended to address the limitations of LADSPA which many applications have outgrown.} version 2.0 categories audio revision 0 +lv2core 486 +portdir audio/lv2core platforms darwin description {LV2 Audio Plugin Standard and Package} name lv2core version 2.0 categories audio homepage http://lv2plug.in/spec/ revision 0 epoch 0 maintainers gmail.com:dbevans long_description {LV2 is a standard for plugins and matching host applications, mainly targeted at audio processing and generation. It is a a simple but extensible successor of LADSPA, intended to address the limitations of LADSPA which many applications have outgrown.} madplay 640 variants {universal darwin_8_i386 darwin_9_i386} portdir audio/madplay description {MPEG Audio Decoder} homepage http://www.mars.org/home/rob/proj/mpeg/ epoch 0 platforms darwin name madplay depends_lib {lib:libid3tag:libid3tag lib:libesd:esound lib:libaudiofile:audiofile lib:libintl:gettext lib:libmad:libmad lib:libz:zlib} maintainers nomaintainer long_description {MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 as well as the MPEG-2 extension to Lower Sampling Frequencies. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.} version 0.15.2b categories audio revision 1 mikmod 404 @@ -724,6 +724,8 @@ variants universal description {standalone SQL database that stores data in ascii text files} portdir databases/shsql homepage http://quisp.sourceforge.net/sqlman/html/shsql_home.html epoch 0 platforms darwin name shsql long_description {SHSQL is a standalone SQL database that stores data in ascii text files. It has a small memory footprint and code size and can be embedded directly into applications - there is no server process. SHSQL is a pared-down SQL implementation but retains useful features such as timeout record locking and search engine comparison operators. A shsql database can be updated via SQL, or by editing data files with a text editor. Applications link to the supplied C language API. There is also a command-line SQL utility.} maintainers nomaintainer categories {databases textproc} version 1.24 revision 0 slony1 499 variants {universal postgresql82} variant_desc {postgresql82 {support for PostgreSQL 8.2 instead of 8.3}} portdir databases/slony1 description {A replication system for PostgreSQL} homepage http://main.slony.info/ epoch 0 platforms darwin name slony1 depends_lib port:postgresql83 maintainers {wreese at gmail.com jwa} long_description {Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck.} version 1.2.14 categories databases revision 0 +spatialite 546 +variants universal portdir databases/spatialite description {Spatial extensions for SQLite 3} homepage http://www.gaia-gis.it/spatialite-2.0/ epoch 0 platforms darwin name spatialite depends_lib {port:sqlite3 port:geos port:proj} maintainers {landonf openmaintainer} long_description {SpatiaLite is a library for geographic information systems (GIS) that implements the core OpenGIS specification. It provides SQLite with basic support for spatial data is intended for lightweight GIS projects.} version 2.0 categories {databases gis} revision 1 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 @@ -2368,8 +2370,8 @@ variants universal depends_build port:pkgconfig portdir gnome/goocanvas description {a Cairo Canvas Widget for GTK+} homepage http://sourceforge.net/projects/goocanvas epoch 0 platforms darwin depends_lib {port:atk port:cairo port:expat port:fontconfig port:freetype port:gettext {path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:gtk2 port:jpeg port:libiconv port:libpng {path:\${prefix}/lib/pkgconfig/pango.pc:pango} port:tiff port:zlib} name goocanvas long_description {GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.} maintainers nomaintainer version 0.9 categories gnome revision 0 gpdf 434 variants universal portdir gnome/gpdf description {gpdf is a viewer for Portable Document Format (PDF) files.} homepage http://www.gnome.org/ epoch 0 platforms darwin name gpdf depends_lib {bin:gs:ghostscript lib:libgail-gnome:libgail-gnome lib:libgnomeprintui-2:libgnomeprintui} long_description {gpdf is a viewer for Portable Document Format (PDF) files.} maintainers nomaintainer version 2.10.0 categories {gnome print} revision 0 -gramps 603 -variants universal portdir gnome/gramps description {GRAMPS is a genealogy program} homepage http://www.gramps-project.org/ epoch 0 platforms darwin name gramps depends_lib {bin:update-mime-database:shared-mime-info port:py25-gtk port:py25-gnome port:py25-bsddb port:py25-hashlib} maintainers rjt-gramps at thegrindstone.me.uk long_description {GRAMPS is a genealogy program to store, edit, and research genealogical data. It provides advanced capabilities for research, analysis, and correlation to potentially fill relationship gaps.} version 2.2.8 categories {gnome science python genealogy} revision 0 +gramps 1111 +variants universal portdir gnome/gramps description {GRAMPS is a genealogy program} homepage http://www.gramps-project.org/ epoch 0 platforms darwin name gramps depends_lib {bin:update-mime-database:shared-mime-info port:py25-gtk port:py25-gnome port:py25-bsddb port:py25-hashlib port:py25-zlib port:gtkspell2 port:aspell-dict-en port:gnome-python-extras} maintainers rjt-gramps at thegrindstone.me.uk long_description {GRAMPS is a genealogy program to store, edit, and research genealogical data. It provides advanced capabilities for research, analysis, and correlation to potentially fill relationship gaps. NOTE 1: Some users have experienced problems importing databases from Gramp version 2. It is advised that databases are exported from Gramps version 2 in Gramps XML format before updating to Gramps version 3. The Gramps XML export from version 2 can then be imported into gramps 3 if the automatic database upgrade does not work. NOTE 2: The WriteCD plugin is unavailable. This rel ies on GNOME and has not been made to work on OS X.} version 3.0.1 categories {gnome science python genealogy} revision 0 grisbi 725 variants {universal no_ofx} variant_desc {no_ofx {Don't include LibOFX support}} portdir gnome/grisbi description {Easy Personnal Finance Manager for All.} homepage http://www.grisbi.org epoch 0 platforms darwin name grisbi depends_lib {lib:libgtk.2:gtk2 lib:libxml2.2.6.16:libxml2 lib:libofx.0:libofx} long_description {Grisbi is a personnal accounting application. Grisbi can manage multiple accounts, currencies and users. It manages third party, expenditure and receipt categories, as well as budgetary lines, financial years, and other informations that makes it quite adapted for associations (except those that require double entry accounting).} maintainers gerald at grisbi.org version 0.5.9 categories gnome revision 0 gst-ffmpeg 376 @@ -2682,8 +2684,8 @@ variants {universal darwin_9} description {Library for FreeImage, a dependency-less graphics library} portdir graphics/freeimage homepage http://freeimage.sourceforge.net/ epoch 0 platforms macosx name freeimage long_description {FreeImage is a library for developers who would like to support most popular graphics image formats. Some highlights are: extremely simple in use, not limited to the local PC (unique FreeImageIO) and Plugin driven!} maintainers ryand-ruby at zenspider.com categories graphics version 3.10.0 revision 0 ftgl 438 variants universal depends_build bin:doxygen:doxygen portdir graphics/ftgl description {Freetype / OpenGL bridge} homepage http://ftgl.wiki.sourceforge.net/ epoch 0 platforms darwin name ftgl depends_lib lib:freetype:freetype maintainers krugazor at free.fr long_description {FTGL takes freetype fonts, decodes them, and generate an OpenGL object out of it. It supports a lot of rendering modes} version 2.1.2 categories graphics revision 0 -gd2 987 -variants {universal darwin_6 darwin no_x11} depends_build {port:autoconf port:gettext} variant_desc {no_x11 {Do not include X11 support}} portdir graphics/gd2 description {GD creates PNG and JPEG images, among other formats} homepage http://www.libgd.org/ epoch 0 platforms darwin depends_lib {port:zlib port:libpng port:jpeg port:freetype port:fontconfig port:libiconv port:expat lib:libX11.6:XFree86} name gd2 maintainers ryandesign long_description {gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a .PNG file. This is particularly useful in World Wide Web applications, where .PNG is the format used for inline images. gd is not a paint program. If you are looking for a paint program, you are looking in the wrong place. If you are not a programmer, you are looking in the wrong place.} categories graphics version 2.0.35 revision 1 +gd2 1014 +variants {universal darwin_6 darwin no_x11} depends_build {port:autoconf port:automake port:libtool port:gettext} variant_desc {no_x11 {Do not include X11 support}} portdir graphics/gd2 description {GD creates PNG and JPEG images, among other formats} homepage http://www.libgd.org/ epoch 0 platforms darwin depends_lib {port:zlib port:libpng port:jpeg port:freetype port:fontconfig port:libiconv port:expat lib:libX11.6:XFree86} name gd2 maintainers ryandesign long_description {gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a .PNG file. This is particularly useful in World Wide Web applications, where .PNG is the format used for inline images. gd is not a paint program. If you are looking for a paint program, you are looking in the wrong place. If you are not a programmer, you are looking in the wrong place.} categories graphics v ersion 2.0.35 revision 1 gdk-pixbuf 553 variants {universal darwin_6} depends_build {lib:libtiff.3:tiff lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libglib.1:glib1 lib:libgtk.1:gtk1} portdir graphics/gdk-pixbuf description {generic image handling library for Gtk+ programs} homepage http://www.gnome.org/ epoch 0 platforms darwin name gdk-pixbuf maintainers nomaintainer long_description {The GdkPixBuf library provides a number of features, such as image loading facilities, a cache interface, and rendering of a GdkPixBuf into various formats.} version 0.22.0 categories graphics revision 1 gdsreader 454 @@ -3625,7 +3627,7 @@ guile16 945 variants {universal darwin_6 darwin} portdir lang/guile16 description {GNU's Ubiquitous Intelligent Language for Extension (guile)} homepage http://www.gnu.org/software/guile/guile.html epoch 0 platforms darwin name guile16 depends_lib port:readline maintainers nomaintainer long_description {Guile is an interpreter for the Scheme programming language, packaged for use in a wide variety of environments. Guile implements Scheme as described in the Revised^5 Report on the Algorithmic Language Scheme (usually known as R5RS), providing clean and general data and control structures. Guile goes beyond the rather austere language presented in R5RS, extending it with a module system, full access to POSIX system calls, networking support, multiple threads, dynamic linking, a foreign function call interface, powerful string processing, and many other features needed for programming in the real world.} version 1.6.8 categories lang revision 3 gwydion-dylan 857 -variants {universal darwin_6 gtk mindy-bootstrap mindy-only} portdir lang/gwydion-dylan description {The Gwydion Dylan Compiler} homepage http://www.gwydiondylan.org/ epoch 0 platforms darwin name gwydion-dylan depends_lib lib:libgc:boehmgc maintainers tim at ccc.de long_description {Dylan is an advanced, object-oriented, dynamic language which supports the rapid development of programs. When needed, the programmer can later optimize (his or her) programs for more efficient execution by supplying type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, and many other advanced features} version 2.3.11 categories lang revision 0 +variants {universal darwin_6 gtk mindy_bootstrap mindy_only} portdir lang/gwydion-dylan description {The Gwydion Dylan Compiler} homepage http://www.gwydiondylan.org/ epoch 0 platforms darwin name gwydion-dylan depends_lib lib:libgc:boehmgc maintainers tim at ccc.de long_description {Dylan is an advanced, object-oriented, dynamic language which supports the rapid development of programs. When needed, the programmer can later optimize (his or her) programs for more efficient execution by supplying type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, and many other advanced features} version 2.3.11 categories lang revision 0 haskell-mode.el 623 variants {universal emacs_devel} portdir lang/haskell-mode.el description {An emacs major mode for editing haskell programs.} homepage //http://www-perso.iro.umontreal.ca/~monnier/elisp/ depends_run port:ghc epoch 0 platforms darwin name haskell-mode.el depends_lib port:emacs maintainers nomaintainer long_description {Haskell-mode is a major Emacs mode for editing Haskell source code. It provides syntax highlighting and automatic indentation and comes with inf-haskell which allows interaction with an inferior Haskell interactive loop such as the one of Hugs or GHCi.} version 2.4 categories {lang editors} revision 0 hugs98 478 @@ -3719,7 +3721,7 @@ parrot 612 variants {universal darwin_8} depends_build bin:perl:perl5.8 portdir lang/parrot description {Open source virtual machine (for Perl6 et al.)} homepage http://www.parrotcode.org/ epoch 0 platforms darwin depends_lib {port:gmp port:icu} name parrot maintainers {bfulgham coleda.com:will} long_description {Parrot is the new interpreter being designed from scratch to support the upcoming Perl 6 language. It is being designed as a standalone virtual machine that can be used to execute bytecode-compiled dynamic languages such as Perl 6, Perl 5, Python, Tcl, etc.} version 0.5.2 categories {lang devel} revision 0 pcc 579 -variants universal depends_build {port:flex port:m4 port:bison} portdir lang/pcc description {the portable C compiler} homepage http://pcc.ludd.ltu.se/ epoch 0 platforms darwin name pcc maintainers {mww openmaintainer} long_description {This compiler is based on the original Portable C Compiler by S. C. Johnson, written in the late 70's. Even though much of the compiler has been rewritten, some of the basics still remain. The intention is to write a C99 compiler while still keeping it small, simple, fast and understandable.} version 0.9.9.080616 categories lang revision 0 +variants universal depends_build {port:flex port:m4 port:bison} portdir lang/pcc description {the portable C compiler} homepage http://pcc.ludd.ltu.se/ epoch 0 platforms darwin name pcc maintainers {mww openmaintainer} long_description {This compiler is based on the original Portable C Compiler by S. C. Johnson, written in the late 70's. Even though much of the compiler has been rewritten, some of the basics still remain. The intention is to write a C99 compiler while still keeping it small, simple, fast and understandable.} version 0.9.9.080731 categories lang revision 0 perl5.10 536 variants {darwin threads shared darwin_8} description {Perl 5.10.x - Practical Extraction and Report Language} portdir lang/perl5.10 homepage http://www.perl.org/ epoch 0 platforms darwin name perl5.10 long_description {Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.} maintainers {afb at macports.org openmaintainer} categories lang version 5.10.0 revision 2 perl5.8 622 @@ -5113,7 +5115,7 @@ zsync 485 variants universal description {file transfer program} portdir net/zsync homepage http://zsync.moria.org.uk/ epoch 0 platforms darwin name zsync long_description {zsync is a file transfer program. It allows you to download a file from a remote web server, where you have a copy of an older version of the file on your computer already. zsync downloads only the new parts of the file. It uses the same algorithm as rsync.} maintainers nomaintainer categories net version 0.5 revision 0 PlopFolio 437 -variants universal description {PlopFolio is a free KlipFolio clone that supports Klips} portdir news/PlopFolio homepage http://www.collaboration-world.com/plopfolio/ epoch 0 platforms darwin name PlopFolio long_description {PlopFolio is a free clone of Serences KlipFolio application. PlopFolio supports Klips available from KlipFarm (http://www.klipfarm.com/).} maintainers nomaintainer categories {news aqua} version 0.1.0 revision 0 +variants universal description {PlopFolio is a free KlipFolio clone that supports Klips} portdir news/PlopFolio homepage http://www.collaboration-world.com/plopfolio/ epoch 0 platforms macosx name PlopFolio long_description {PlopFolio is a free clone of Serences KlipFolio application. PlopFolio supports Klips available from KlipFarm (http://www.klipfarm.com/).} maintainers nomaintainer version 0.1.0 categories {news aqua} revision 0 cleanscore 555 variants universal description {removes obsolete entries from slrn's score file} portdir news/cleanscore homepage http://www.slrn.org/cleanscore/ epoch 0 platforms darwin name cleanscore long_description {If you heavily use slrn's scoring capabilities, your scorefile will soon become large and confusing, so you will want to remove expired entries on a regular basis. This perl script can be used to purge expired entries automatically, e.g. by calling it from cron.daily.} maintainers olaf at foellinger.de categories {news net} version 0.9.8.1 revision 0 hellanzb 725 @@ -6746,8 +6748,8 @@ variants universal portdir python/py-mathdom description {DOM library for Content MathML written in Python} homepage http://py-mathdom.sourceforge.net/ depends_run port:py-parsing epoch 0 platforms darwin depends_lib port:python24 name py-mathdom maintainers nomaintainer long_description {{DOM library for Content MathML written in Python}} categories {python math} version 0.7 revision 0 py-matplotlib 961 variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:freetype port:libpng port:py-dateutil port:py-tz port:py-numpy port:py-tkinter} name py-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.2 revision 0 -py-matplotlib-basemap 464 -description {matplotlib toolkit for plotting data on map projections} portdir python/py-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:py-matplotlib port:geos} name py-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 0 +py-matplotlib-basemap 465 +description {matplotlib toolkit for plotting data on map projections} portdir python/py-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:py-matplotlib port:geos2} name py-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 1 py-mecab 340 variants universal portdir python/py-mecab description {a Python module for MeCab} homepage http://mecab.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python24 port:mecab} name py-mecab maintainers rsky0711 at gmail.com long_description {{a Python module for MeCab}} categories {python textproc japanese} version 0.96 revision 0 py-mechanize 426 @@ -7314,8 +7316,6 @@ variants universal portdir python/py25-mako description {A super-fast templating language that borrows the best ideas from the existing templating languages.} homepage http://www.makotemplates.org/ epoch 0 platforms darwin depends_lib port:python25 name py25-mako maintainers stechert at macports.org long_description {Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.} categories {python www} version 0.1.10 revision 0 py25-matplotlib 973 variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py25-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:freetype port:libpng port:py25-dateutil port:py25-tz port:py25-numpy port:py25-tkinter} name py25-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.2 revision 0 -py25-matplotlib-basemap 470 -description {matplotlib toolkit for plotting data on map projections} portdir python/py25-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:py25-matplotlib port:geos} name py25-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 0 py25-mecab 344 variants universal portdir python/py25-mecab description {a Python module for MeCab} homepage http://mecab.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:mecab} name py25-mecab maintainers rsky0711 at gmail.com long_description {{a Python module for MeCab}} categories {python textproc japanese} version 0.96 revision 0 py25-mechanize 432 @@ -7440,6 +7440,8 @@ variants universal portdir python/py25-serial description {Python Serial Port Extension} homepage http://pyserial.sourceforge.net/ epoch 0 platforms darwin depends_lib port:python25 name py25-serial maintainers opendarwin.nospam at vercruesse.de long_description {This module incapsulates the access for the serial port. It provides backends for standard Python running on Windows, Linux, BSD (possibly any POSIX compliant system) and Jython. The module named serial automatically selects the appropriate backend.} categories {python comms} version 2.2 revision 0 py25-setuptools 591 variants universal depends_build port:py25-hashlib portdir python/py25-setuptools description {distutils enhancement for build and distribution} homepage http://peak.telecommunity.com/DevCenter/setuptools epoch 0 platforms darwin depends_lib {port:python25 port:py25-zlib} name py25-setuptools maintainers stechert at macports.org long_description {setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.} categories {python devel} version 0.6c8 revision 0 +py25-shapely 614 +variants universal portdir python/py25-shapely description {Shapely is a Python package for manipulation and analysis of 2D geospatial geometries} homepage http://trac.gispython.org/projects/PCL/wiki/Shapely epoch 0 platforms darwin depends_lib {port:python25 port:geos} name py25-shapely maintainers {landonf openmaintainer} long_description {Shapely is a Python package for manipulation and analysis of 2D geospatial geometries. It is based on GEOS (http://geos.refractions.net). Shapely 1.0 is not concerned with data formats or coordinate reference systems.} categories {python devel} version 1.0.6 revision 1 py25-simplejson 390 variants universal portdir python/py25-simplejson description {simplejson is a JSON encoder and decoder.} homepage http://undefined.org/python/#simplejson epoch 0 platforms darwin depends_lib port:py25-setuptools name py25-simplejson maintainers {openmaintainer stechert akira} long_description {{simplejson is a JSON encoder and decoder.}} categories {python www} version 1.9.1 revision 0 py25-simpy 395 @@ -7876,8 +7878,10 @@ variants {universal python24 python25 geos hdf5 postgresql81 postgresql82 postgresql83 sqlite3 framework} portdir science/gdal description {GDAL - Geospatial Data Abstraction Library} homepage http://www.gdal.org/ epoch 0 platforms darwin name gdal depends_lib {port:zlib port:libpng port:tiff port:libgeotiff port:jpeg port:giflib port:proj} maintainers seanasy at gmail.com long_description {GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data.} version 1.5.1 categories science revision 0 geomview 955 variants {universal darwin_9 no_zlib no_opengl} depends_build {{path:\${prefix}/bin/tex:texlive} port:texinfo} variant_desc {no_zlib {do not use zlib} no_opengl {do not use OpenGL}} portdir science/geomview description {interactive 3D viewing program} homepage http://www.geomview.org/ epoch 0 platforms darwin name geomview depends_lib {port:openmotif port:zlib lib:libX11.6:XFree86} maintainers raphael at ira.uka.de long_description {Geomview is an interactive 3D viewing program for Unix. It lets you view and manipulate 3D objects: you use the mouse to rotate, translate, zoom in and out, etc. It can be used as a standalone viewer for static objects or as a display engine for other programs which produce dynamically changing geometry. It can display objects described in a variety of file formats. It comes with a wide selection of example objects, and you can create your own objects too.} categories {science graphics x11} version 1.9.4 revision 0 -geos 466 -variants {universal darwin_9} description {GEOS Geomety Engine - Open Source} portdir science/geos homepage http://geos.refractions.net/ epoch 0 platforms darwin name geos long_description {A C++ port of the Java Toplogy Suite, providing OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS topology functions. Used by PostGIS.} maintainers {opendarwin at gaige.net ram} categories science version 2.2.3 revision 0 +geos 457 +variants universal description {GEOS Geometry Engine - Open Source} portdir science/geos homepage http://geos.refractions.net/ epoch 0 platforms darwin name geos long_description {A C++ port of the Java Topology Suite, providing OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS topology functions. Used by PostGIS.} maintainers {opendarwin at gaige.net ram} categories science version 3.0.0 revision 0 +geos2 470 +variants {universal darwin_9} description {GEOS Geometry Engine - Open Source} portdir science/geos2 homepage http://geos.refractions.net/ epoch 0 platforms darwin name geos2 long_description {A C++ port of the Java Topology Suite, providing OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS topology functions. Used by PostGIS.} maintainers {opendarwin at gaige.net ram} categories science version 2.2.3 revision 0 gerris 439 variants universal portdir science/gerris description {The Gerris Flow Solver} homepage http://gfs.sourceforge.net/ epoch 0 platforms darwin name gerris depends_lib {{path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:gts} maintainers nomaintainer long_description {Gerris is an Open Source Free Software library for the solution of the partial differential equations describing fluid flow.} version 0.9.2 categories science revision 0 ghemical 921 @@ -8124,8 +8128,8 @@ variants universal description {port scan detection and active defense} portdir security/portsentry homepage http://sourceforge.net/projects/sentrytools epoch 0 platforms darwin name portsentry long_description {PortSentry is part of the Abacus Project suite of security tools. It is a program designed to detect and respond to port scans against a target host in real-time. There are other port scan detectors that perform similar detection of scans, but PortSentry has some unique features that may make it worth looking into.} maintainers julien.touche at touche.fr.st categories security version 1.1 revision 0 prelude-lml 693 variants universal portdir security/prelude-lml description {Prelude Network Intrusion Detection System Log Monitoring Lackey} homepage http://www.prelude-ids.org/ epoch 0 platforms darwin name prelude-lml depends_lib {port:pcre port:libprelude} maintainers {googlemail.com:usx303 openmaintainer} long_description {Prelude is an Hybrid IDS framework that relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard. It enables security sensors such as Snort, honeyd, Nessus Vulnerability Scanner, Samhain, over 30 types of system logs, and many others to verify an attack by performing automatic correlation between events.} version 0.9.12.2 categories security revision 0 -prelude-manager 714 -variants universal portdir security/prelude-manager description {Prelude Network Intrusion Detection System central logging point} homepage http://www.prelude-ids.org/ epoch 0 platforms darwin name prelude-manager depends_lib {port:libxml2 port:gnutls port:libprelude} maintainers {googlemail.com:usx303 openmaintainer} long_description {Prelude is an Hybrid IDS framework that relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard. It enables security sensors such as Snort, honeyd, Nessus Vulnerability Scanner, Samhain, over 30 types of system logs, and many others to verify an attack by performing automatic correlation between events.} version 0.9.13 categories security revision 0 +prelude-manager 815 +variants universal portdir security/prelude-manager description {Prelude Universal SIM - manager} homepage http://www.prelude-ids.org/ epoch 0 platforms darwin name prelude-manager depends_lib {port:libxml2 port:gnutls port:libprelude} maintainers {googlemail.com:usx303 openmaintainer} long_description {Prelude is a Universal {Security Information Management} (SIM) system. Prelude collects, normalizes, sorts, aggregates, correlates and reports all security-related events independently of the product brand or license giving rise to such events. Prelude-Manager is a high availability server that accepts secured connections from distributed sensors and/or other Managers and saves received events to a media specified by the user (database, log file, mail etc.).} version 0.9.14 categories security revision 0 putty 437 variants universal portdir security/putty description {a free implementation of Telnet and SSH, along with an xterm terminal emulator} homepage http://www.chiark.greenend.org.uk/~sgtatham/putty/ epoch 0 platforms darwin name putty depends_lib port:gtk1 maintainers nomaintainer long_description {PuTTY is {a free implementation of Telnet and SSH, along with an xterm terminal emulator}} version 0.60 categories {security net} revision 0 pwman 482 @@ -9201,7 +9205,7 @@ mod_python 686 variants universal depends_build port:flex portdir www/mod_python description {Apache2 module that embeds Python within the server.} homepage http://www.modpython.org/ epoch 0 platforms darwin depends_lib {port:apache2 port:python24} name mod_python maintainers mww long_description {Mod_python is an Apache 2 module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.} version 3.3.1 categories {www python} revision 1 mod_python25 696 -variants universal depends_build port:flex portdir www/mod_python25 description {Apache2 module that embeds Python within the server.} homepage http://www.modpython.org/ epoch 0 platforms darwin depends_lib {port:apache2 port:python25} name mod_python25 maintainers {mww jwa} long_description {Mod_python is an Apache 2 module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.} version 3.3.1 categories {www python} revision 0 +variants universal depends_build port:flex portdir www/mod_python25 description {Apache2 module that embeds Python within the server.} homepage http://www.modpython.org/ epoch 0 platforms darwin depends_lib {port:apache2 port:python25} name mod_python25 maintainers {mww jwa} long_description {Mod_python is an Apache 2 module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.} version 3.3.1 categories {www python} revision 1 mod_ruby 562 variants universal portdir www/mod_ruby description {apache2 module embedding the Ruby interpreter} homepage http://modruby.net/ epoch 0 platforms darwin name mod_ruby depends_lib {port:ruby port:apache2 port:apr} maintainers nomaintainer long_description {mod_ruby embeds the Ruby interpreter into the Apache web server, allowing Ruby CGI scripts to be executed natively. These scripts will start up much faster than without mod_ruby. You can also extend Apache by mod_ruby. mod_ruby provides Apache API to Ruby.} version 1.2.6 categories {www ruby} revision 0 mod_security 590 @@ -9394,8 +9398,8 @@ variants universal portdir x11/fxscintilla description {FOX wrapper for the Scintilla source code library} homepage http://www.nongnu.org/fxscintilla epoch 0 platforms darwin name fxscintilla depends_lib port:fox long_description {fxscintilla is a FOX wrapper for the Scintilla source code widget library.} maintainers lyle at lylejohnson.name version 1.71 categories x11 revision 1 gcin 511 variants universal portdir x11/gcin description {a Chinese input method server.} homepage http://cle.linux.org.tw/gcin/ epoch 0 platforms darwin name gcin depends_lib {lib:libglib.2:glib2 lib:libgtk.2:gtk2 lib:libpango:pango lib:libexpat:expat lib:libfontconfig:fontconfig lib:libpng:libpng bin:pkg-config:pkgconfig} maintainers candyz0416 at mac.com long_description {gcin is a Chinese input method server for traditional Chinese. It features a better GTK user interface.} version 1.2.1 categories x11 revision 0 -gecko-sharp 496 -variants {universal macosx-framework} portdir x11/gecko-sharp description {Gecko bindings for the Mono .NET Development Framework} homepage http://www.go-mono.org/ epoch 0 platforms darwin name gecko-sharp depends_lib {bin:mono:mono lib:mono:gtk-sharp} maintainers pat2man at comcast.net long_description {Mono is an effort to create an open source implementation of the .NET Development Framework including a C# compiler. This is the Gecko# toolkit for it.} version 0.5 categories devel revision 0 +gecko-sharp 551 +variants {universal macosx_framework} variant_desc {macosx_framework {Build as a framework}} portdir x11/gecko-sharp description {Gecko bindings for the Mono .NET Development Framework} homepage http://www.go-mono.org/ epoch 0 platforms darwin name gecko-sharp depends_lib {bin:mono:mono lib:mono:gtk-sharp} maintainers pat2man at comcast.net long_description {Mono is an effort to create an open source implementation of the .NET Development Framework including a C# compiler. This is the Gecko# toolkit for it.} version 0.5 categories devel revision 0 gfontsampler 321 variants universal description {Browse and compare all of your installed fonts.} portdir x11/gfontsampler epoch 0 platforms darwin depends_lib lib:libgnomeui-2:libgnomeui name gfontsampler maintainers nomaintainer long_description {{Browse and compare all of your installed fonts.}} categories x11 version 0.4 revision 0 gkrellm-gtodo 375 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/83b9f26a/attachment-0001.html From ryandesign at macports.org Fri Aug 1 01:03:00 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 01:03:00 -0700 (PDT) Subject: [38832] trunk/dports/python/py25-matplotlib-basemap/Portfile Message-ID: <20080801080300.E11981A94BB@beta.macosforge.org> Revision: 38832 http://trac.macosforge.org/projects/macports/changeset/38832 Author: ryandesign at macports.org Date: 2008-08-01 01:03:00 -0700 (Fri, 01 Aug 2008) Log Message: ----------- py25-matplotlib-basemap: fix syntax error in dependencies Modified Paths: -------------- trunk/dports/python/py25-matplotlib-basemap/Portfile Modified: trunk/dports/python/py25-matplotlib-basemap/Portfile =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/Portfile 2008-08-01 07:53:07 UTC (rev 38831) +++ trunk/dports/python/py25-matplotlib-basemap/Portfile 2008-08-01 08:03:00 UTC (rev 38832) @@ -22,7 +22,7 @@ sha1 1eb8cdeb605c59e2a7510ac4fae77633f15f0e1d \ rmd160 18d5cc303efef8b7d9d20b5c4c3ceba26778a791 -depends_lib-append port:py25-matplotlib +depends_lib-append port:py25-matplotlib \ port:geos2 universal_variant no -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/33b66ef9/attachment.html From ryandesign at macports.org Fri Aug 1 01:43:25 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 01:43:25 -0700 (PDT) Subject: [38833] trunk/dports/games/ltris Message-ID: <20080801084325.983131A971D@beta.macosforge.org> Revision: 38833 http://trac.macosforge.org/projects/macports/changeset/38833 Author: ryandesign at macports.org Date: 2008-08-01 01:43:24 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ltris: * update to 1.0.12 * rename ${worksrcpath}/src/sdl.h to sdl_.h to avoid confusion with ${prefix}/include/SDL.h on case-insensitive filesystems * add forgotten dependencies on gettext and libiconv * add necessary linker flags for gettext * avoid unsupported --mode argument to install * use ${applications_dir} and don't assume /Applications/MacPorts * create symlink using tcl ln command instead of using system * enable parallel build Modified Paths: -------------- trunk/dports/games/ltris/Portfile Added Paths: ----------- trunk/dports/games/ltris/files/ trunk/dports/games/ltris/files/patch-install-mode.diff trunk/dports/games/ltris/files/patch-libintl.diff trunk/dports/games/ltris/files/patch-sdl_.h.diff Modified: trunk/dports/games/ltris/Portfile =================================================================== --- trunk/dports/games/ltris/Portfile 2008-08-01 08:03:00 UTC (rev 38832) +++ trunk/dports/games/ltris/Portfile 2008-08-01 08:43:24 UTC (rev 38833) @@ -3,10 +3,11 @@ PortSystem 1.0 name ltris -version 1.0.9 +version 1.0.12 categories games platforms darwin maintainers nomaintainer +use_parallel_build yes description Tetris clone with multiplayer and AI support. long_description LTris as a tetris clone which means you have a bowl \ with blocks falling down. By rotating and moving the \ @@ -21,18 +22,34 @@ homepage http://lgames.sourceforge.net/index.php?project=LTris master_sites sourceforge:lgames -checksums md5 51f719df95636f42e00fe5a777610dd3 +checksums md5 53b00c17a05c438602a52009e65ebde2 \ + sha1 bc0b389b520053f97c6415b4d430f55784073c1b \ + rmd160 017791be9d4e2dfc5a6b497e816b3482d22141c3 -depends_lib port:libsdl port:libsdl_mixer +depends_lib port:libsdl port:libsdl_mixer \ + port:gettext \ + port:libiconv -configure.cflags-append "-I${prefix}/include" +post-extract { + move ${worksrcpath}/src/sdl.h ${worksrcpath}/src/sdl_.h +} + +patchfiles patch-sdl_.h.diff \ + patch-libintl.diff \ + patch-install-mode.diff + configure.args --with-highscore-path=${prefix}/var/lib/games/ \ --disable-sdltest +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/LTris.app/Contents/MacOS - system "ln -sf ${prefix}/bin/ltris \ - ${destroot}/Applications/MacPorts/LTris.app/Contents/MacOS/LTris" + xinstall -d ${destroot}${applications_dir}/LTris.app/Contents/MacOS + ln -s ${prefix}/bin/ltris \ + ${destroot}${applications_dir}/LTris.app/Contents/MacOS/LTris } } Added: trunk/dports/games/ltris/files/patch-install-mode.diff =================================================================== --- trunk/dports/games/ltris/files/patch-install-mode.diff (rev 0) +++ trunk/dports/games/ltris/files/patch-install-mode.diff 2008-08-01 08:43:24 UTC (rev 38833) @@ -0,0 +1,11 @@ +--- src/Makefile.in 2008-08-01 03:24:31.000000000 -0500 ++++ src/Makefile.in 2008-08-01 03:27:19.000000000 -0500 +@@ -611,7 +611,7 @@ + $(INSTALL_DATA) figures $(DESTDIR)$(inst_dir)/figures + $(mkinstalldirs) $(DESTDIR)$(hi_dir) + if ! test -f $(DESTDIR)$(hi_dir)/ltris.hscr; then \ +- $(INSTALL_DATA) --mode=666 empty.hscr $(DESTDIR)$(hi_dir)/ltris.hscr; \ ++ $(INSTALL_DATA) empty.hscr $(DESTDIR)$(hi_dir)/ltris.hscr; \ + fi; + + uninstall-local: Added: trunk/dports/games/ltris/files/patch-libintl.diff =================================================================== --- trunk/dports/games/ltris/files/patch-libintl.diff (rev 0) +++ trunk/dports/games/ltris/files/patch-libintl.diff 2008-08-01 08:43:24 UTC (rev 38833) @@ -0,0 +1,11 @@ +--- src/Makefile.in 2008-08-01 03:04:00.000000000 -0500 ++++ src/Makefile.in 2008-08-01 03:22:34.000000000 -0500 +@@ -225,7 +225,7 @@ + list.c tools.c config.c chart.c tetris.c bowl.c shrapnells.c cpu.c hint.c \ + parser.c + +-ltris_LDADD = @mixer_flag@ ++ltris_LDADD = $(LIBINTL) @mixer_flag@ + EXTRA_DIST = sdl.c menu.c item.c manager.c value.c main.c audio.c event.c \ + list.c tools.c config.c chart.c tetris.c bowl.c shrapnells.c cpu.c \ + sdl_.h menu.h item.h manager.h value.h audio.h event.h list.h tools.h \ Added: trunk/dports/games/ltris/files/patch-sdl_.h.diff =================================================================== --- trunk/dports/games/ltris/files/patch-sdl_.h.diff (rev 0) +++ trunk/dports/games/ltris/files/patch-sdl_.h.diff 2008-08-01 08:43:24 UTC (rev 38833) @@ -0,0 +1,53 @@ +--- src/Makefile.in 2008-03-29 07:17:48.000000000 -0500 ++++ src/Makefile.in 2008-08-01 02:40:06.000000000 -0500 +@@ -228,7 +228,7 @@ + ltris_LDADD = @mixer_flag@ + EXTRA_DIST = sdl.c menu.c item.c manager.c value.c main.c audio.c event.c \ + list.c tools.c config.c chart.c tetris.c bowl.c shrapnells.c cpu.c \ +-sdl.h menu.h item.h manager.h value.h audio.h event.h list.h tools.h \ ++sdl_.h menu.h item.h manager.h value.h audio.h event.h list.h tools.h \ + config.h chart.h tetris.h bowl.h shrapnells.h cpu.h ltris.h \ + hint.c hint.h gfx.S gfx.h parser.h gettext.h \ + empty.hscr figures +--- src/config.c 2005-10-04 16:25:36.000000000 -0500 ++++ src/config.c 2008-08-01 02:40:15.000000000 -0500 +@@ -23,7 +23,7 @@ + #include + #include + +-#include "sdl.h" ++#include "sdl_.h" + #include "config.h" + #include "parser.h" + +--- src/ltris.h 2005-10-04 13:24:02.000000000 -0500 ++++ src/ltris.h 2008-08-01 02:40:12.000000000 -0500 +@@ -32,7 +32,7 @@ + #include + #include "audio.h" + #endif +-#include "sdl.h" ++#include "sdl_.h" + #include "tools.h" + #include "config.h" + +--- src/sdl.c 2004-06-14 02:54:33.000000000 -0500 ++++ src/sdl.c 2008-08-01 02:39:59.000000000 -0500 +@@ -18,7 +18,7 @@ + #include + #include + #include +-#include "sdl.h" ++#include "sdl_.h" + + #ifdef USE_PNG + #include +--- src/sdl_.h 2003-06-06 03:59:05.000000000 -0500 ++++ src/sdl_.h 2008-08-01 02:39:55.000000000 -0500 +@@ -1,5 +1,5 @@ + /*************************************************************************** +- sdl.h - description ++ sdl_.h - description + ------------------- + begin : Thu Apr 20 2000 + copyright : (C) 2000 by Michael Speck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/0168794c/attachment.html From ryandesign at macports.org Fri Aug 1 01:45:34 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 01:45:34 -0700 (PDT) Subject: [38834] trunk/dports/games/ltris/Portfile Message-ID: <20080801084534.542041A97F9@beta.macosforge.org> Revision: 38834 http://trac.macosforge.org/projects/macports/changeset/38834 Author: ryandesign at macports.org Date: 2008-08-01 01:45:33 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ltris: whitespace changes only Modified Paths: -------------- trunk/dports/games/ltris/Portfile Modified: trunk/dports/games/ltris/Portfile =================================================================== --- trunk/dports/games/ltris/Portfile 2008-08-01 08:43:24 UTC (rev 38833) +++ trunk/dports/games/ltris/Portfile 2008-08-01 08:45:33 UTC (rev 38834) @@ -1,45 +1,48 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name ltris -version 1.0.12 -categories games -platforms darwin -maintainers nomaintainer -use_parallel_build yes -description Tetris clone with multiplayer and AI support. -long_description LTris as a tetris clone which means you have a bowl \ - with blocks falling down. By rotating and moving the \ - blocks you try to assemble whole lines which then \ - disappear. LTris has three modes for this: Classic is \ - the classical one where you play until the bowl \ - becomes filled, Figures resets the bowl contents to a \ - new figure for each level and adds suddenly appearing \ - tiles and lines later on and Multiplayer where up to \ - three players either controlled by human or CPU(!) \ - compete and send completed lines to each other. +name ltris +version 1.0.12 +categories games +platforms darwin +maintainers nomaintainer +use_parallel_build yes -homepage http://lgames.sourceforge.net/index.php?project=LTris -master_sites sourceforge:lgames -checksums md5 53b00c17a05c438602a52009e65ebde2 \ - sha1 bc0b389b520053f97c6415b4d430f55784073c1b \ - rmd160 017791be9d4e2dfc5a6b497e816b3482d22141c3 +description Tetris clone with multiplayer and AI support. +long_description LTris as a tetris clone which means you have a bowl \ + with blocks falling down. By rotating and moving the \ + blocks you try to assemble whole lines which then \ + disappear. LTris has three modes for this: Classic is \ + the classical one where you play until the bowl \ + becomes filled, Figures resets the bowl contents to a \ + new figure for each level and adds suddenly appearing \ + tiles and lines later on and Multiplayer where up to \ + three players either controlled by human or CPU(!) \ + compete and send completed lines to each other. -depends_lib port:libsdl port:libsdl_mixer \ - port:gettext \ - port:libiconv +homepage http://lgames.sourceforge.net/index.php?project=LTris +master_sites sourceforge:lgames +checksums md5 53b00c17a05c438602a52009e65ebde2 \ + sha1 bc0b389b520053f97c6415b4d430f55784073c1b \ + rmd160 017791be9d4e2dfc5a6b497e816b3482d22141c3 + +depends_lib port:libsdl \ + port:libsdl_mixer \ + port:gettext \ + port:libiconv + post-extract { - move ${worksrcpath}/src/sdl.h ${worksrcpath}/src/sdl_.h + move ${worksrcpath}/src/sdl.h ${worksrcpath}/src/sdl_.h } -patchfiles patch-sdl_.h.diff \ - patch-libintl.diff \ - patch-install-mode.diff +patchfiles patch-sdl_.h.diff \ + patch-libintl.diff \ + patch-install-mode.diff -configure.args --with-highscore-path=${prefix}/var/lib/games/ \ - --disable-sdltest +configure.args --with-highscore-path=${prefix}/var/lib/games/ \ + --disable-sdltest # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { @@ -47,9 +50,9 @@ } platform darwin { - post-destroot { - xinstall -d ${destroot}${applications_dir}/LTris.app/Contents/MacOS - ln -s ${prefix}/bin/ltris \ - ${destroot}${applications_dir}/LTris.app/Contents/MacOS/LTris - } + post-destroot { + xinstall -d ${destroot}${applications_dir}/LTris.app/Contents/MacOS + ln -s ${prefix}/bin/ltris \ + ${destroot}${applications_dir}/LTris.app/Contents/MacOS/LTris + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/de0c59c7/attachment.html From febeling at macports.org Fri Aug 1 01:47:58 2008 From: febeling at macports.org (febeling at macports.org) Date: Fri, 1 Aug 2008 01:47:58 -0700 (PDT) Subject: [38835] trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl Message-ID: <20080801084758.B269D1A98B1@beta.macosforge.org> Revision: 38835 http://trac.macosforge.org/projects/macports/changeset/38835 Author: febeling at macports.org Date: 2008-08-01 01:47:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- remove hard-coded mp prefix in test case setup Modified Paths: -------------- trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl Modified: trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl =================================================================== --- trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl 2008-08-01 08:45:33 UTC (rev 38834) +++ trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl 2008-08-01 08:47:58 UTC (rev 38835) @@ -1,8 +1,9 @@ #!/bin/sh +# This test needs macports to be installed to work # start as tcl \ exec tclsh "$0" "$@" -set prefix /opt/local +set prefix [file dirname [file dirname [exec which port]]] set os.platform i686-darwin # mock the commands the ruby group uses @@ -48,6 +49,7 @@ namespace eval tests { # Backwards compatible behaviour, assumes ruby1.8 proc test_rubysetup_ruby18_default {} { + global prefix global ruby.bin global ruby.version global ruby.module @@ -74,8 +76,8 @@ if {"9.9" ne ${version.found}} { error "port version set failed" } if {"port:ruby" ne ${depends_lib.found}} { error "depends_lib failed: ${depends_lib.found}" } - if {"/opt/local/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "ruby.lib failed: ${ruby.lib}" } - if {!(0 == [string first "/opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } + if {"${prefix}/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "ruby.lib failed: ${ruby.lib}" } + if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.8/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } } proc test_rubysetup_type_gem {} { @@ -85,6 +87,7 @@ } proc test_rubysetup_ruby19 {} { + global prefix global ruby.version global ruby.module global ruby.project @@ -113,8 +116,8 @@ if {![string equal "9.9" ${version.found}]} { error "port version set failed" } if {![string equal "port:ruby19" ${depends_lib.found}]} { error "depends_lib failed: ${depends_lib.found}" } - if {![string equal "/opt/local/lib/ruby/vendor_ruby/1.9.0" ${ruby.lib}]} { error "ruby.lib failed: ${ruby.lib}" } - if {!(0 == [string first "/opt/local/lib/ruby/vendor_ruby/1.9.0/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } + if {![string equal "${prefix}/lib/ruby/vendor_ruby/1.9.0" ${ruby.lib}]} { error "ruby.lib failed: ${ruby.lib}" } + if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.9.0/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } } proc test_setup_implementation_specifics {} { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/2cb1166e/attachment.html From ryandesign at macports.org Fri Aug 1 02:09:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:09:56 -0700 (PDT) Subject: [38836] trunk/dports/games/SDLInvaders/Portfile Message-ID: <20080801090957.8F4021A9AD5@beta.macosforge.org> Revision: 38836 http://trac.macosforge.org/projects/macports/changeset/38836 Author: ryandesign at macports.org Date: 2008-08-01 02:09:55 -0700 (Fri, 01 Aug 2008) Log Message: ----------- SDLInvaders: * use ${applications_dir} instead of assuming /Applications/MacPorts * remove unnecessary configure and build flags * create symlink using tcl ln command instead of using system * create directory using xinstall -d instead of file mkdir Modified Paths: -------------- trunk/dports/games/SDLInvaders/Portfile Modified: trunk/dports/games/SDLInvaders/Portfile =================================================================== --- trunk/dports/games/SDLInvaders/Portfile 2008-08-01 08:47:58 UTC (rev 38835) +++ trunk/dports/games/SDLInvaders/Portfile 2008-08-01 09:09:55 UTC (rev 38836) @@ -19,18 +19,20 @@ port:libsdl_image \ port:libsdl_mixer -configure.cflags-append "-I${prefix}/include" configure.args --disable-sdltest -build.env CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} platform darwin { post-destroot { file attributes \ ${destroot}${prefix}/share/SDLInvaders/highscores \ -permissions +w - file mkdir ${destroot}/Applications/MacPorts/${name}.app/Contents/MacOS - system "ln -s ${prefix}/bin/${name} \ - ${destroot}/Applications/MacPorts/${name}.app/Contents/MacOS" + xinstall -d ${destroot}${applications_dir}/${name}.app/Contents/MacOS + ln -s ${prefix}/bin/${name} \ + ${destroot}${applications_dir}/${name}.app/Contents/MacOS } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/fb674fac/attachment-0001.html From ryandesign at macports.org Fri Aug 1 02:18:30 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:18:30 -0700 (PDT) Subject: [38837] trunk/dports/games/lmarbles/Portfile Message-ID: <20080801091831.372E11A9BB8@beta.macosforge.org> Revision: 38837 http://trac.macosforge.org/projects/macports/changeset/38837 Author: ryandesign at macports.org Date: 2008-08-01 02:18:30 -0700 (Fri, 01 Aug 2008) Log Message: ----------- lmarbles: * change manpage installation location to fix mtree violation * use ${applications_dir} instead of assuming /Applications/MacPorts * create symlink using tcl ln command instead of using system * remove unnecessary configure flags Modified Paths: -------------- trunk/dports/games/lmarbles/Portfile Modified: trunk/dports/games/lmarbles/Portfile =================================================================== --- trunk/dports/games/lmarbles/Portfile 2008-08-01 09:09:55 UTC (rev 38836) +++ trunk/dports/games/lmarbles/Portfile 2008-08-01 09:18:30 UTC (rev 38837) @@ -26,15 +26,20 @@ depends_lib port:libsdl \ port:libsdl_mixer -configure.cflags-append "-I${prefix}/include" -configure.args --enable-ascii \ +configure.args --mandir=${prefix}/share/man \ + --enable-ascii \ --with-profile-path=${prefix}/var/lib/games/ \ --disable-sdltest +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { pre-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/LMarbles.app/Contents/MacOS - system "ln -s ${prefix}/bin/lmarbles \ - ${destroot}/Applications/MacPorts/LMarbles.app/Contents/MacOS/LMarbles" + xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS + ln -s ${prefix}/bin/lmarbles \ + ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cf0ffc1c/attachment.html From ryandesign at macports.org Fri Aug 1 02:19:49 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:19:49 -0700 (PDT) Subject: [38838] trunk/dports/games/lmarbles/Portfile Message-ID: <20080801091949.3C1221A9C21@beta.macosforge.org> Revision: 38838 http://trac.macosforge.org/projects/macports/changeset/38838 Author: ryandesign at macports.org Date: 2008-08-01 02:19:48 -0700 (Fri, 01 Aug 2008) Log Message: ----------- lmarbles: whitespace changes only Modified Paths: -------------- trunk/dports/games/lmarbles/Portfile Modified: trunk/dports/games/lmarbles/Portfile =================================================================== --- trunk/dports/games/lmarbles/Portfile 2008-08-01 09:18:30 UTC (rev 38837) +++ trunk/dports/games/lmarbles/Portfile 2008-08-01 09:19:48 UTC (rev 38838) @@ -1,45 +1,47 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name lmarbles -version 1.0.7 -categories games -platforms darwin -maintainers nomaintainer -description Atomix clone with slight change in concept. -long_description LMarbles is an Atomix clone with a slight change in \ - concept. Instead of assembling molecules you create \ - figures out of marbles. Nevertheless, the basic game \ - play is the same: If a marble starts to move it will \ - not stop until it hits a wall or another marble. To \ - make it more interesting there are obstacles like \ - one-way streets, crumbling walls and portals. \ - As Marbles is meant as a puzzle game you play against \ - a move limit and not a time limit. This way you have \ - as much time as you need to think. +name lmarbles +version 1.0.7 +categories games +platforms darwin +maintainers nomaintainer -homepage http://lgames.sourceforge.net/index.php?project=LMarbles -master_sites sourceforge:lgames -checksums md5 b29156bc5021877d080e5e268012f4ec +description Atomix clone with slight change in concept. +long_description LMarbles is an Atomix clone with a slight change in \ + concept. Instead of assembling molecules you create \ + figures out of marbles. Nevertheless, the basic game \ + play is the same: If a marble starts to move it will \ + not stop until it hits a wall or another marble. To \ + make it more interesting there are obstacles like \ + one-way streets, crumbling walls and portals. \ + As Marbles is meant as a puzzle game you play against \ + a move limit and not a time limit. This way you have \ + as much time as you need to think. -depends_lib port:libsdl \ - port:libsdl_mixer +homepage http://lgames.sourceforge.net/index.php?project=LMarbles +master_sites sourceforge:lgames -configure.args --mandir=${prefix}/share/man \ - --enable-ascii \ - --with-profile-path=${prefix}/var/lib/games/ \ - --disable-sdltest +checksums md5 b29156bc5021877d080e5e268012f4ec +depends_lib port:libsdl \ + port:libsdl_mixer + +configure.args --mandir=${prefix}/share/man \ + --enable-ascii \ + --with-profile-path=${prefix}/var/lib/games/ \ + --disable-sdltest + # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { set applications_dir /Applications/MacPorts } -platform darwin { - pre-destroot { - xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS - ln -s ${prefix}/bin/lmarbles \ - ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles - } +platform darwin { + pre-destroot { + xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS + ln -s ${prefix}/bin/lmarbles \ + ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/47c2327c/attachment.html From jmr at macports.org Fri Aug 1 02:20:41 2008 From: jmr at macports.org (jmr at macports.org) Date: Fri, 1 Aug 2008 02:20:41 -0700 (PDT) Subject: [38839] trunk/dports/aqua Message-ID: <20080801092041.C67031A9CBB@beta.macosforge.org> Revision: 38839 http://trac.macosforge.org/projects/macports/changeset/38839 Author: jmr at macports.org Date: 2008-08-01 02:20:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- dnsupdate, dnsupdate27: use ${applications_dir} instead of assuming /Applications/MacPorts Modified Paths: -------------- trunk/dports/aqua/dnsupdate/Portfile trunk/dports/aqua/dnsupdate27/Portfile Modified: trunk/dports/aqua/dnsupdate/Portfile =================================================================== --- trunk/dports/aqua/dnsupdate/Portfile 2008-08-01 09:19:48 UTC (rev 38838) +++ trunk/dports/aqua/dnsupdate/Portfile 2008-08-01 09:20:41 UTC (rev 38839) @@ -73,10 +73,15 @@ xcode.target All +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + destroot { # Install DNSUpdate application set appName DNSUpdate - set appPath ${destroot}/Applications/MacPorts + set appPath ${destroot}${applications_dir} xinstall -d -m 0755 ${appPath} file copy ${worksrcpath}/build/Deployment/${appName}.app ${appPath}/${appName}.app Modified: trunk/dports/aqua/dnsupdate27/Portfile =================================================================== --- trunk/dports/aqua/dnsupdate27/Portfile 2008-08-01 09:19:48 UTC (rev 38838) +++ trunk/dports/aqua/dnsupdate27/Portfile 2008-08-01 09:20:41 UTC (rev 38839) @@ -67,10 +67,15 @@ xcode.target All +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + destroot { # Install DNSUpdate application set appName DNSUpdate - set appPath ${destroot}/Applications/MacPorts + set appPath ${destroot}${applications_dir} xinstall -d -m 0755 ${appPath} file copy ${worksrcpath}/build/${appName}.app ${appPath}/${appName}.app -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/7dc57e07/attachment.html From ryandesign at macports.org Fri Aug 1 02:22:58 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:22:58 -0700 (PDT) Subject: [38840] trunk/dports/games/SDLInvaders/Portfile Message-ID: <20080801092259.1A0D41A9DA9@beta.macosforge.org> Revision: 38840 http://trac.macosforge.org/projects/macports/changeset/38840 Author: ryandesign at macports.org Date: 2008-08-01 02:22:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- SDLInvaders: whitespace changes only Modified Paths: -------------- trunk/dports/games/SDLInvaders/Portfile Modified: trunk/dports/games/SDLInvaders/Portfile =================================================================== --- trunk/dports/games/SDLInvaders/Portfile 2008-08-01 09:20:41 UTC (rev 38839) +++ trunk/dports/games/SDLInvaders/Portfile 2008-08-01 09:22:58 UTC (rev 38840) @@ -1,38 +1,40 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name SDLInvaders -version 0.8.0 -categories games -platforms darwin -maintainers nomaintainer -description simple clone of the famous Space Invaders game. -long_description ${description} +name SDLInvaders +version 0.8.0 +categories games +platforms darwin +maintainers nomaintainer +description simple clone of the famous Space Invaders game. +long_description ${description} + # no better homepage available, sf.net only has outdated versions -homepage http://sourceforge.net/projects/sdlinvaders -master_sites http://csnlinux.genesee.edu/opsys/downloads/software-lesson/ -checksums md5 f3fbca07eb05acfae23d2d554a0f1375 +homepage http://sourceforge.net/projects/sdlinvaders +master_sites http://csnlinux.genesee.edu/opsys/downloads/software-lesson/ -depends_lib port:libsdl \ - port:libsdl_image \ - port:libsdl_mixer +checksums md5 f3fbca07eb05acfae23d2d554a0f1375 -configure.args --disable-sdltest +depends_lib port:libsdl \ + port:libsdl_image \ + port:libsdl_mixer +configure.args --disable-sdltest + # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { set applications_dir /Applications/MacPorts } -platform darwin { - post-destroot { - file attributes \ - ${destroot}${prefix}/share/SDLInvaders/highscores \ - -permissions +w - xinstall -d ${destroot}${applications_dir}/${name}.app/Contents/MacOS - ln -s ${prefix}/bin/${name} \ - ${destroot}${applications_dir}/${name}.app/Contents/MacOS - } +platform darwin { + post-destroot { + file attributes \ + ${destroot}${prefix}/share/SDLInvaders/highscores \ + -permissions +w + xinstall -d ${destroot}${applications_dir}/${name}.app/Contents/MacOS + ln -s ${prefix}/bin/${name} \ + ${destroot}${applications_dir}/${name}.app/Contents/MacOS + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/23c7b9ad/attachment.html From ryandesign at macports.org Fri Aug 1 02:27:41 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:27:41 -0700 (PDT) Subject: [38841] trunk/dports/games/lbreakout2/Portfile Message-ID: <20080801092741.8B4241A9E47@beta.macosforge.org> Revision: 38841 http://trac.macosforge.org/projects/macports/changeset/38841 Author: ryandesign at macports.org Date: 2008-08-01 02:27:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- lbreakout2: whitespace changes only Modified Paths: -------------- trunk/dports/games/lbreakout2/Portfile Modified: trunk/dports/games/lbreakout2/Portfile =================================================================== --- trunk/dports/games/lbreakout2/Portfile 2008-08-01 09:22:58 UTC (rev 38840) +++ trunk/dports/games/lbreakout2/Portfile 2008-08-01 09:27:41 UTC (rev 38841) @@ -1,49 +1,51 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name lbreakout2 -version 2.6beta-7 -categories games -platforms darwin -maintainers nomaintainer -description Breakout clone, that won the No Starch Press SDL Game Contest. -long_description The successor to LBreakout offers you a new challenge \ - in more than 50 levels with loads of new bonuses \ - (goldshower, joker, explosive balls, bonus magnet \ - ...), maluses (chaos, darkness, weak balls, malus \ - magnet ...) and special bricks (growing bricks, \ - explosive bricks, regenerative bricks ...). If you \ - are still hungry for more after that you can create \ - your own levelsets with the integrated level editor. \ - This game won the No Starch Press SDL Game Contest. +name lbreakout2 +version 2.6beta-7 +categories games +platforms darwin +maintainers nomaintainer -homepage http://lgames.sourceforge.net/index.php?project=LBreakout2 -master_sites sourceforge:lgames -checksums md5 bccede972d2f73612c47ca6a5aa9770e \ - sha1 7d1c718bdcf3146c0992538c297e8f6fa4adb603 \ - rmd160 137735e838e7357506527f5c827e257302bba21f +description Breakout clone, that won the No Starch Press SDL Game Contest. +long_description The successor to LBreakout offers you a new challenge \ + in more than 50 levels with loads of new bonuses \ + (goldshower, joker, explosive balls, bonus magnet \ + ...), maluses (chaos, darkness, weak balls, malus \ + magnet ...) and special bricks (growing bricks, \ + explosive bricks, regenerative bricks ...). If you \ + are still hungry for more after that you can create \ + your own levelsets with the integrated level editor. \ + This game won the No Starch Press SDL Game Contest. -depends_lib port:libsdl \ - port:libsdl_mixer \ - port:libpng \ - port:libsdl_net \ - port:gettext +homepage http://lgames.sourceforge.net/index.php?project=LBreakout2 +master_sites sourceforge:lgames -patchfiles patch-client_Makefile.in.diff \ - patch-server_Makefile.in.diff +checksums md5 bccede972d2f73612c47ca6a5aa9770e \ + sha1 7d1c718bdcf3146c0992538c297e8f6fa4adb603 \ + rmd160 137735e838e7357506527f5c827e257302bba21f -configure.args --enable-warp \ - --disable-sdltest \ - --enable-sdl-net \ - --with-highscore-path=${prefix}/var/lib/games/ +depends_lib port:libsdl \ + port:libsdl_mixer \ + port:libpng \ + port:libsdl_net \ + port:gettext -destroot.destdir DESTDIR=${destroot} doc_dir=${prefix}/share/doc +patchfiles patch-client_Makefile.in.diff \ + patch-server_Makefile.in.diff -platform darwin { - post-destroot { - file mkdir ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS - system "ln -s ${prefix}/bin/lbreakout2 \ - ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS/LBreakout2" - } +configure.args --enable-warp \ + --disable-sdltest \ + --enable-sdl-net \ + --with-highscore-path=${prefix}/var/lib/games/ + +destroot.destdir DESTDIR=${destroot} doc_dir=${prefix}/share/doc + +platform darwin { + post-destroot { + file mkdir ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS + system "ln -s ${prefix}/bin/lbreakout2 \ + ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS/LBreakout2" + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/8545257e/attachment-0001.html From ryandesign at macports.org Fri Aug 1 02:31:48 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:31:48 -0700 (PDT) Subject: [38842] trunk/dports/games/lbreakout2/Portfile Message-ID: <20080801093148.753D71A9EF4@beta.macosforge.org> Revision: 38842 http://trac.macosforge.org/projects/macports/changeset/38842 Author: ryandesign at macports.org Date: 2008-08-01 02:31:48 -0700 (Fri, 01 Aug 2008) Log Message: ----------- lbreakout2: * use ${applications_dir}; don't assume /Applications/MacPorts * create directory using xinstall -d instead of file mkdir * create symlink using tcl ln command instead of system Modified Paths: -------------- trunk/dports/games/lbreakout2/Portfile Modified: trunk/dports/games/lbreakout2/Portfile =================================================================== --- trunk/dports/games/lbreakout2/Portfile 2008-08-01 09:27:41 UTC (rev 38841) +++ trunk/dports/games/lbreakout2/Portfile 2008-08-01 09:31:48 UTC (rev 38842) @@ -42,10 +42,15 @@ destroot.destdir DESTDIR=${destroot} doc_dir=${prefix}/share/doc +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - file mkdir ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS - system "ln -s ${prefix}/bin/lbreakout2 \ - ${destroot}/Applications/MacPorts/LBreakout2.app/Contents/MacOS/LBreakout2" + xinstall -d ${destroot}${applications_dir}/LBreakout2.app/Contents/MacOS + ln -s ${prefix}/bin/lbreakout2 \ + ${destroot}${applications_dir}/LBreakout2.app/Contents/MacOS/LBreakout2 } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/e0466685/attachment.html From ryandesign at macports.org Fri Aug 1 02:37:22 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:37:22 -0700 (PDT) Subject: [38843] trunk/dports/aqua/istumbler/Portfile Message-ID: <20080801093722.D73E91A9FA2@beta.macosforge.org> Revision: 38843 http://trac.macosforge.org/projects/macports/changeset/38843 Author: ryandesign at macports.org Date: 2008-08-01 02:37:22 -0700 (Fri, 01 Aug 2008) Log Message: ----------- istumbler: * use ${applications_dir}; don't assume /Applications/MacPorts * create directory using xinstall -d instead of file mkdir Modified Paths: -------------- trunk/dports/aqua/istumbler/Portfile Modified: trunk/dports/aqua/istumbler/Portfile =================================================================== --- trunk/dports/aqua/istumbler/Portfile 2008-08-01 09:31:48 UTC (rev 38842) +++ trunk/dports/aqua/istumbler/Portfile 2008-08-01 09:37:22 UTC (rev 38843) @@ -43,6 +43,11 @@ default_variants +use_binary } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + variant use_binary conflicts use_source description {Install from binary distribution (default)} { distname ${name}-${version} checksums \ @@ -53,8 +58,8 @@ use_configure no build {} destroot { - file mkdir ${destroot}/Applications/MacPorts - file copy ${workpath}/iStumbler.app ${destroot}/Applications/MacPorts + xinstall -d ${destroot}${applications_dir} + file copy ${workpath}/iStumbler.app ${destroot}${applications_dir} } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/1aa7fcdd/attachment.html From ryandesign at macports.org Fri Aug 1 02:43:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:43:56 -0700 (PDT) Subject: [38844] trunk/dports/aqua/ihook/Portfile Message-ID: <20080801094356.DD3981AA029@beta.macosforge.org> Revision: 38844 http://trac.macosforge.org/projects/macports/changeset/38844 Author: ryandesign at macports.org Date: 2008-08-01 02:43:56 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ihook: fix destroot when ${applications_dir} is not /Applications/MacPorts Modified Paths: -------------- trunk/dports/aqua/ihook/Portfile Modified: trunk/dports/aqua/ihook/Portfile =================================================================== --- trunk/dports/aqua/ihook/Portfile 2008-08-01 09:37:22 UTC (rev 38843) +++ trunk/dports/aqua/ihook/Portfile 2008-08-01 09:43:56 UTC (rev 38844) @@ -35,8 +35,8 @@ } post-destroot { - move ${destroot}/Applications/MacPorts/shookexec \ - ${destroot}/Applications/MacPorts/${my_name}.app/Contents/Resources + move ${destroot}${applications_dir}/shookexec \ + ${destroot}${applications_dir}/${my_name}.app/Contents/Resources } variant universal {} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/07492422/attachment.html From ryandesign at macports.org Fri Aug 1 02:46:23 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:46:23 -0700 (PDT) Subject: [38845] trunk/dports/aqua/ihook/Portfile Message-ID: <20080801094623.5C40C1AA093@beta.macosforge.org> Revision: 38845 http://trac.macosforge.org/projects/macports/changeset/38845 Author: ryandesign at macports.org Date: 2008-08-01 02:46:23 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ihook: whitespace changes only Modified Paths: -------------- trunk/dports/aqua/ihook/Portfile Modified: trunk/dports/aqua/ihook/Portfile =================================================================== --- trunk/dports/aqua/ihook/Portfile 2008-08-01 09:43:56 UTC (rev 38844) +++ trunk/dports/aqua/ihook/Portfile 2008-08-01 09:46:23 UTC (rev 38845) @@ -1,29 +1,38 @@ # $Id$ -PortSystem 1.0 -PortGroup xcode 1.0 +PortSystem 1.0 +PortGroup xcode 1.0 -name ihook -set my_name iHook -version 1.1.0 -categories aqua -maintainers nomaintainer -description A graphical interface frontend for commandline executables -long_description \ - iHook is a graphical frontend for any commandline executable. It gives scripts a pleasant Aqua face, \ - and allows script writers to provide graphical feedback without having to learn one of the higher \ - APIs available for Mac OS X. +name ihook +set my_name iHook +version 1.1.0 +categories aqua +maintainers nomaintainer -homepage http://rsug.itd.umich.edu/software/ihook/ -master_sites ${homepage}files/ -distname ${name}-${version}-src -worksrcdir ${name}-${version} -extract.suffix .tgz +description A graphical interface frontend for commandline executables +long_description iHook is a graphical frontend for any commandline \ + executable. It gives scripts a pleasant Aqua face, \ + allows script writers to provide graphical feedback \ + without having to learn one of the higher APIs \ + available for Mac OS X. -checksums md5 5d8582eaa62f633095eb5d4ee31d10b9 \ - sha1 73f434d9bd9238a7c36014c1dd656f9b9eba1616 \ - rmd160 5b384f008739ba8cffd5380aa8ea7bcf3c6d7eec +homepage http://rsug.itd.umich.edu/software/ihook/ +master_sites ${homepage}files/ +distname ${name}-${version}-src +worksrcdir ${name}-${version} +extract.suffix .tgz + +checksums md5 5d8582eaa62f633095eb5d4ee31d10b9 \ + sha1 73f434d9bd9238a7c36014c1dd656f9b9eba1616 \ + rmd160 5b384f008739ba8cffd5380aa8ea7bcf3c6d7eec + +post-destroot { + move ${destroot}${applications_dir}/shookexec \ + ${destroot}${applications_dir}/${my_name}.app/Contents/Resources +} + +variant universal {} if {! [variant_isset universal]} { set arch ${os.arch} if {! [string compare ${os.arch} powerpc]} { @@ -34,14 +43,6 @@ xcode.destroot.settings ARCHS=${arch} } -post-destroot { - move ${destroot}${applications_dir}/shookexec \ - ${destroot}${applications_dir}/${my_name}.app/Contents/Resources -} - -variant universal {} - -livecheck.check regex -livecheck.url ${homepage} -livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)" - +livecheck.check regex +livecheck.url ${homepage} +livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/4b134905/attachment.html From ryandesign at macports.org Fri Aug 1 02:52:41 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 02:52:41 -0700 (PDT) Subject: [38846] trunk/dports/aqua/ihook/Portfile Message-ID: <20080801095241.C749B1AA131@beta.macosforge.org> Revision: 38846 http://trac.macosforge.org/projects/macports/changeset/38846 Author: ryandesign at macports.org Date: 2008-08-01 02:52:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ihook: fix destroot problem on MacPorts < 1.7.0 introduced in r38844 Modified Paths: -------------- trunk/dports/aqua/ihook/Portfile Modified: trunk/dports/aqua/ihook/Portfile =================================================================== --- trunk/dports/aqua/ihook/Portfile 2008-08-01 09:46:23 UTC (rev 38845) +++ trunk/dports/aqua/ihook/Portfile 2008-08-01 09:52:41 UTC (rev 38846) @@ -27,6 +27,11 @@ sha1 73f434d9bd9238a7c36014c1dd656f9b9eba1616 \ rmd160 5b384f008739ba8cffd5380aa8ea7bcf3c6d7eec +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { move ${destroot}${applications_dir}/shookexec \ ${destroot}${applications_dir}/${my_name}.app/Contents/Resources -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/8df9ae0b/attachment.html From ryandesign at macports.org Fri Aug 1 03:19:02 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:19:02 -0700 (PDT) Subject: [38847] trunk/dports/aqua/ihook/Portfile Message-ID: <20080801101902.CF63B1AA221@beta.macosforge.org> Revision: 38847 http://trac.macosforge.org/projects/macports/changeset/38847 Author: ryandesign at macports.org Date: 2008-08-01 03:19:01 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ihook: fix destroot when not installing as root Modified Paths: -------------- trunk/dports/aqua/ihook/Portfile Modified: trunk/dports/aqua/ihook/Portfile =================================================================== --- trunk/dports/aqua/ihook/Portfile 2008-08-01 09:52:41 UTC (rev 38846) +++ trunk/dports/aqua/ihook/Portfile 2008-08-01 10:19:01 UTC (rev 38847) @@ -33,6 +33,11 @@ } post-destroot { + fs-traverse dir ${destroot} { + if {[file isdirectory ${dir}]} { + file attributes ${dir} -permissions u+w + } + } move ${destroot}${applications_dir}/shookexec \ ${destroot}${applications_dir}/${my_name}.app/Contents/Resources } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/850ca2db/attachment.html From ryandesign at macports.org Fri Aug 1 03:26:42 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:26:42 -0700 (PDT) Subject: [38848] trunk/dports/games/alienblaster/Portfile Message-ID: <20080801102642.825161AA324@beta.macosforge.org> Revision: 38848 http://trac.macosforge.org/projects/macports/changeset/38848 Author: ryandesign at macports.org Date: 2008-08-01 03:26:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- alienblaster: use ${applications_dir}; don't assume /Applications/MacPorts Modified Paths: -------------- trunk/dports/games/alienblaster/Portfile Modified: trunk/dports/games/alienblaster/Portfile =================================================================== --- trunk/dports/games/alienblaster/Portfile 2008-08-01 10:19:01 UTC (rev 38847) +++ trunk/dports/games/alienblaster/Portfile 2008-08-01 10:26:41 UTC (rev 38848) @@ -47,9 +47,14 @@ file copy ${worksrcpath}/cfg ${destroot}${prefix}/etc/${name} } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/AlienBlaster.app/Contents/MacOS - ln -s ${prefix}/bin/alienblaster ${destroot}/Applications/MacPorts/AlienBlaster.app/Contents/MacOS/AlienBlaster + xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS + ln -s ${prefix}/bin/alienblaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/e01ef603/attachment-0001.html From ryandesign at macports.org Fri Aug 1 03:28:05 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:28:05 -0700 (PDT) Subject: [38849] trunk/dports/games/alienblaster/Portfile Message-ID: <20080801102805.ADD6F1AA384@beta.macosforge.org> Revision: 38849 http://trac.macosforge.org/projects/macports/changeset/38849 Author: ryandesign at macports.org Date: 2008-08-01 03:28:05 -0700 (Fri, 01 Aug 2008) Log Message: ----------- alienblaster: whitespace changes only Modified Paths: -------------- trunk/dports/games/alienblaster/Portfile Modified: trunk/dports/games/alienblaster/Portfile =================================================================== --- trunk/dports/games/alienblaster/Portfile 2008-08-01 10:26:41 UTC (rev 38848) +++ trunk/dports/games/alienblaster/Portfile 2008-08-01 10:28:05 UTC (rev 38849) @@ -1,50 +1,52 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name alienblaster -version 1.1.0 -categories games -platforms darwin -maintainers nomaintainer -description action loaded 2D arcade shooter for up to two players -long_description ${description} +name alienblaster +version 1.1.0 +categories games +platforms darwin +maintainers nomaintainer -homepage http://www.schwardtnet.de/alienblaster/ -master_sites ${homepage}archives/ -extract.suffix .tgz -checksums md5 27412a868f7d4ae0949036aeb29a6691 +description action loaded 2D arcade shooter for up to two players +long_description ${description} -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_mixer:libsdl_mixer +homepage http://www.schwardtnet.de/alienblaster/ +master_sites ${homepage}archives/ +extract.suffix .tgz -worksrcdir ${name} +checksums md5 27412a868f7d4ae0949036aeb29a6691 -configure { - reinplace "s|./images|${prefix}/share/${name}/images|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc \ - ${worksrcpath}/cfg/level1.cfg \ - ${worksrcpath}/cfg/level2.cfg \ - ${worksrcpath}/cfg/levelArcade.cfg - reinplace "s|=images/|=${prefix}/share/${name}/images/|g" \ - ${worksrcpath}/cfg/level1.cfg \ - ${worksrcpath}/cfg/level2.cfg \ - ${worksrcpath}/cfg/levelArcade.cfg - reinplace "s|./cfg|${prefix}/etc/${name}|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc - reinplace "s|./sound|${prefix}/share/${name}/sound|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_mixer:libsdl_mixer + +worksrcdir ${name} + +configure { + reinplace "s|./images|${prefix}/share/${name}/images|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc \ + ${worksrcpath}/cfg/level1.cfg \ + ${worksrcpath}/cfg/level2.cfg \ + ${worksrcpath}/cfg/levelArcade.cfg + reinplace "s|=images/|=${prefix}/share/${name}/images/|g" \ + ${worksrcpath}/cfg/level1.cfg \ + ${worksrcpath}/cfg/level2.cfg \ + ${worksrcpath}/cfg/levelArcade.cfg + reinplace "s|./cfg|${prefix}/etc/${name}|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc + reinplace "s|./sound|${prefix}/share/${name}/sound|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc } -destroot { - xinstall -m 755 -s ${worksrcpath}/alienblaster ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/sound ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/images ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/cfg ${destroot}${prefix}/etc/${name} +destroot { + xinstall -m 755 -s ${worksrcpath}/alienblaster ${destroot}${prefix}/bin + xinstall -m 755 -d ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/sound ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/images ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/cfg ${destroot}${prefix}/etc/${name} } # Can be removed once MacPorts 1.7.0 is released @@ -52,9 +54,9 @@ set applications_dir /Applications/MacPorts } -platform darwin { - post-destroot { - xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS - ln -s ${prefix}/bin/alienblaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster - } +platform darwin { + post-destroot { + xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS + ln -s ${prefix}/bin/alienblaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/9c8cffca/attachment.html From ryandesign at macports.org Fri Aug 1 03:29:07 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:29:07 -0700 (PDT) Subject: [38850] trunk/dports/games/alienblaster/Portfile Message-ID: <20080801102908.035971AA3EC@beta.macosforge.org> Revision: 38850 http://trac.macosforge.org/projects/macports/changeset/38850 Author: ryandesign at macports.org Date: 2008-08-01 03:29:07 -0700 (Fri, 01 Aug 2008) Log Message: ----------- alienblaster: depend on libsdl and libsdl_mixer via port: syntax to ensure only MacPorts ports get used Modified Paths: -------------- trunk/dports/games/alienblaster/Portfile Modified: trunk/dports/games/alienblaster/Portfile =================================================================== --- trunk/dports/games/alienblaster/Portfile 2008-08-01 10:28:05 UTC (rev 38849) +++ trunk/dports/games/alienblaster/Portfile 2008-08-01 10:29:07 UTC (rev 38850) @@ -17,8 +17,8 @@ checksums md5 27412a868f7d4ae0949036aeb29a6691 -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_mixer:libsdl_mixer +depends_lib port:libsdl \ + port:libsdl_mixer worksrcdir ${name} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/b933eb43/attachment.html From ryandesign at macports.org Fri Aug 1 03:32:11 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:32:11 -0700 (PDT) Subject: [38851] trunk/dports/games/2Pong/Portfile Message-ID: <20080801103211.580F71AA47C@beta.macosforge.org> Revision: 38851 http://trac.macosforge.org/projects/macports/changeset/38851 Author: ryandesign at macports.org Date: 2008-08-01 03:32:10 -0700 (Fri, 01 Aug 2008) Log Message: ----------- 2Pong: whitespace changes only Modified Paths: -------------- trunk/dports/games/2Pong/Portfile Modified: trunk/dports/games/2Pong/Portfile =================================================================== --- trunk/dports/games/2Pong/Portfile 2008-08-01 10:29:07 UTC (rev 38850) +++ trunk/dports/games/2Pong/Portfile 2008-08-01 10:32:10 UTC (rev 38851) @@ -1,31 +1,32 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name 2Pong -version 0.6 -categories games -platforms darwin -maintainers nomaintainer -description Pong game with 2 balls, 2 and 4 player support -long_description ${description} +name 2Pong +version 0.6 +categories games +platforms darwin +maintainers nomaintainer -homepage http://twopong.sourceforge.net/ -master_sites sourceforge:twopong -checksums md5 55d54deb30f079d4b2684b7f7c8ab57f -use_bzip2 yes +description Pong game with 2 balls, 2 and 4 player support +long_description ${description} -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_mixer:libsdl_mixer +homepage http://twopong.sourceforge.net/ +master_sites sourceforge:twopong +checksums md5 55d54deb30f079d4b2684b7f7c8ab57f +use_bzip2 yes -use_configure no +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_image:libsdl_image \ + lib:libSDL_mixer:libsdl_mixer -build.args CFLAGS="-I${prefix}/include -I${prefix}/include/SDL" +use_configure no -destroot.destdir PRE=${destroot}${prefix} +build.args CFLAGS="-I${prefix}/include -I${prefix}/include/SDL" -post-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS - system "ln -s ${prefix}/bin/2Pong ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS/2Pong" +destroot.destdir PRE=${destroot}${prefix} + +post-destroot { + xinstall -d -m 755 ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS + system "ln -s ${prefix}/bin/2Pong ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS/2Pong" } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/eefa4637/attachment.html From ryandesign at macports.org Fri Aug 1 03:35:50 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:35:50 -0700 (PDT) Subject: [38852] trunk/dports/games/2Pong/Portfile Message-ID: <20080801103550.E3BDB1AA4DF@beta.macosforge.org> Revision: 38852 http://trac.macosforge.org/projects/macports/changeset/38852 Author: ryandesign at macports.org Date: 2008-08-01 03:35:50 -0700 (Fri, 01 Aug 2008) Log Message: ----------- 2Pong: * use ${applications_dir}; don't assume /Applications/MacPorts * create symlink using ln tcl command instead of using system Modified Paths: -------------- trunk/dports/games/2Pong/Portfile Modified: trunk/dports/games/2Pong/Portfile =================================================================== --- trunk/dports/games/2Pong/Portfile 2008-08-01 10:32:10 UTC (rev 38851) +++ trunk/dports/games/2Pong/Portfile 2008-08-01 10:35:50 UTC (rev 38852) @@ -26,7 +26,12 @@ destroot.destdir PRE=${destroot}${prefix} +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS - system "ln -s ${prefix}/bin/2Pong ${destroot}/Applications/MacPorts/2Pong.app/Contents/MacOS/2Pong" + xinstall -d ${destroot}${applications_dir}/2Pong.app/Contents/MacOS + ln -s ${prefix}/bin/2Pong ${destroot}${applications_dir}/2Pong.app/Contents/MacOS/2Pong } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/128dc1f2/attachment.html From ryandesign at macports.org Fri Aug 1 03:39:09 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:39:09 -0700 (PDT) Subject: [38853] trunk/dports/games/2Pong/Portfile Message-ID: <20080801103909.99CB71AA562@beta.macosforge.org> Revision: 38853 http://trac.macosforge.org/projects/macports/changeset/38853 Author: ryandesign at macports.org Date: 2008-08-01 03:39:08 -0700 (Fri, 01 Aug 2008) Log Message: ----------- 2Pong: fix wrapper so it still works if the work area is cleaned up, as it is by default Modified Paths: -------------- trunk/dports/games/2Pong/Portfile Modified: trunk/dports/games/2Pong/Portfile =================================================================== --- trunk/dports/games/2Pong/Portfile 2008-08-01 10:35:50 UTC (rev 38852) +++ trunk/dports/games/2Pong/Portfile 2008-08-01 10:39:08 UTC (rev 38853) @@ -4,6 +4,7 @@ name 2Pong version 0.6 +revision 1 categories games platforms darwin maintainers nomaintainer @@ -32,6 +33,7 @@ } post-destroot { + reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/2Pong xinstall -d ${destroot}${applications_dir}/2Pong.app/Contents/MacOS ln -s ${prefix}/bin/2Pong ${destroot}${applications_dir}/2Pong.app/Contents/MacOS/2Pong } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cd8c75f3/attachment.html From ryandesign at macports.org Fri Aug 1 03:40:27 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:40:27 -0700 (PDT) Subject: [38854] trunk/dports/games/2Pong/Portfile Message-ID: <20080801104027.9D1741AA5E9@beta.macosforge.org> Revision: 38854 http://trac.macosforge.org/projects/macports/changeset/38854 Author: ryandesign at macports.org Date: 2008-08-01 03:40:27 -0700 (Fri, 01 Aug 2008) Log Message: ----------- 2Pong: use port:-style dependencies to ensure we only depend on other MacPorts ports Modified Paths: -------------- trunk/dports/games/2Pong/Portfile Modified: trunk/dports/games/2Pong/Portfile =================================================================== --- trunk/dports/games/2Pong/Portfile 2008-08-01 10:39:08 UTC (rev 38853) +++ trunk/dports/games/2Pong/Portfile 2008-08-01 10:40:27 UTC (rev 38854) @@ -17,9 +17,9 @@ checksums md5 55d54deb30f079d4b2684b7f7c8ab57f use_bzip2 yes -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_mixer:libsdl_mixer +depends_lib port:libsdl \ + port:libsdl_image \ + port:libsdl_mixer use_configure no -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/d22b5078/attachment-0001.html From ryandesign at macports.org Fri Aug 1 03:43:49 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:43:49 -0700 (PDT) Subject: [38855] trunk/dports/games/openmortal/Portfile Message-ID: <20080801104349.5205A1AA643@beta.macosforge.org> Revision: 38855 http://trac.macosforge.org/projects/macports/changeset/38855 Author: ryandesign at macports.org Date: 2008-08-01 03:43:48 -0700 (Fri, 01 Aug 2008) Log Message: ----------- openmortal: whitespace changes only Modified Paths: -------------- trunk/dports/games/openmortal/Portfile Modified: trunk/dports/games/openmortal/Portfile =================================================================== --- trunk/dports/games/openmortal/Portfile 2008-08-01 10:40:27 UTC (rev 38854) +++ trunk/dports/games/openmortal/Portfile 2008-08-01 10:43:48 UTC (rev 38855) @@ -1,60 +1,61 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name openmortal -version 0.7 -categories games -platforms darwin -maintainers nomaintainer -description Mortal Szombat is a parody of the coin-up game Mortal Kombat -long_description Mortal Szombat is a parody of the popular coin-up \ - game, Mortal Kombat. It is currently playable (maybe \ - even enjoyable), although it is still under \ - development. Only two-player game is supported, \ - single-player games against computer opponent is not \ - planned yet. There are currently 9 playable \ - characters, and 8 more in the making! +name openmortal +version 0.7 +categories games +platforms darwin +maintainers nomaintainer -homepage http://openmortal.sourceforge.net/ -master_sites sourceforge -checksums md5 95278382bb563906fce624d833a845cf -use_bzip2 yes +description Mortal Szombat is a parody of the coin-up game Mortal Kombat +long_description Mortal Szombat is a parody of the popular coin-up \ + game, Mortal Kombat. It is currently playable (maybe \ + even enjoyable), although it is still under \ + development. Only two-player game is supported, \ + single-player games against computer opponent is not \ + planned yet. There are currently 9 playable \ + characters, and 8 more in the making! -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_mixer:libsdl_mixer \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_ttf:libsdl_ttf \ - lib:libSDL_net:libsdl_net \ - lib:libfreetype:freetype \ - bin:perl:perl5.8 +homepage http://openmortal.sourceforge.net/ +master_sites sourceforge +checksums md5 95278382bb563906fce624d833a845cf +use_bzip2 yes +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_mixer:libsdl_mixer \ + lib:libSDL_image:libsdl_image \ + lib:libSDL_ttf:libsdl_ttf \ + lib:libSDL_net:libsdl_net \ + lib:libfreetype:freetype \ + bin:perl:perl5.8 + +configure.args --enable-main \ + --enable-characters \ + --enable-additional \ + --enable-thirdparty \ + --disable-sdltest + # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { set applications_dir /Applications/MacPorts } -platform darwin { - pre-patch { - # Convert files from DOS to UNIX linefeeds before patching. - reinplace "s/\r$//g" \ - ${worksrcpath}/src/gfx.cpp - } - patchfiles patch-gfx.cpp.diff \ - patch-sge_tt_text.cpp.diff - post-destroot { - xinstall -d -m 755 \ - ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS \ - ${destroot}${applications_dir}/OpenMortal.app/Resources - system "ln -s ${prefix}/bin/openmortal \ - ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS/OpenMortal" - xinstall -m 644 ${filespath}/OpenMortal.icns \ - ${destroot}${applications_dir}/OpenMortal.app/Resources/ - } +platform darwin { + pre-patch { + # Convert files from DOS to UNIX linefeeds before patching. + reinplace "s/\r$//g" \ + ${worksrcpath}/src/gfx.cpp + } + patchfiles patch-gfx.cpp.diff \ + patch-sge_tt_text.cpp.diff + post-destroot { + xinstall -d -m 755 \ + ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS \ + ${destroot}${applications_dir}/OpenMortal.app/Resources + system "ln -s ${prefix}/bin/openmortal \ + ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS/OpenMortal" + xinstall -m 644 ${filespath}/OpenMortal.icns \ + ${destroot}${applications_dir}/OpenMortal.app/Resources/ + } } - -configure.args --enable-main \ - --enable-characters \ - --enable-additional \ - --enable-thirdparty \ - --disable-sdltest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/ab0cabac/attachment.html From ryandesign at macports.org Fri Aug 1 03:44:46 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:44:46 -0700 (PDT) Subject: [38856] trunk/dports/games/openmortal/Portfile Message-ID: <20080801104446.8491D1AA6D7@beta.macosforge.org> Revision: 38856 http://trac.macosforge.org/projects/macports/changeset/38856 Author: ryandesign at macports.org Date: 2008-08-01 03:44:45 -0700 (Fri, 01 Aug 2008) Log Message: ----------- openmortal: use port:-style dependencies to ensure we depend only on other MacPorts ports Modified Paths: -------------- trunk/dports/games/openmortal/Portfile Modified: trunk/dports/games/openmortal/Portfile =================================================================== --- trunk/dports/games/openmortal/Portfile 2008-08-01 10:43:48 UTC (rev 38855) +++ trunk/dports/games/openmortal/Portfile 2008-08-01 10:44:45 UTC (rev 38856) @@ -22,12 +22,12 @@ checksums md5 95278382bb563906fce624d833a845cf use_bzip2 yes -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_mixer:libsdl_mixer \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_ttf:libsdl_ttf \ - lib:libSDL_net:libsdl_net \ - lib:libfreetype:freetype \ +depends_lib port:libsdl \ + port:libsdl_mixer \ + port:libsdl_image \ + port:libsdl_ttf \ + port:libsdl_net \ + port:freetype \ bin:perl:perl5.8 configure.args --enable-main \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/fe9f1705/attachment.html From ryandesign at macports.org Fri Aug 1 03:49:05 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:49:05 -0700 (PDT) Subject: [38857] trunk/dports/games/openmortal/Portfile Message-ID: <20080801104905.D56F71AA767@beta.macosforge.org> Revision: 38857 http://trac.macosforge.org/projects/macports/changeset/38857 Author: ryandesign at macports.org Date: 2008-08-01 03:49:05 -0700 (Fri, 01 Aug 2008) Log Message: ----------- openmortal: create symlink using tcl ln command instead of system Modified Paths: -------------- trunk/dports/games/openmortal/Portfile Modified: trunk/dports/games/openmortal/Portfile =================================================================== --- trunk/dports/games/openmortal/Portfile 2008-08-01 10:44:45 UTC (rev 38856) +++ trunk/dports/games/openmortal/Portfile 2008-08-01 10:49:05 UTC (rev 38857) @@ -53,8 +53,8 @@ xinstall -d -m 755 \ ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS \ ${destroot}${applications_dir}/OpenMortal.app/Resources - system "ln -s ${prefix}/bin/openmortal \ - ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS/OpenMortal" + ln -s ${prefix}/bin/openmortal \ + ${destroot}${applications_dir}/OpenMortal.app/Contents/MacOS/OpenMortal xinstall -m 644 ${filespath}/OpenMortal.icns \ ${destroot}${applications_dir}/OpenMortal.app/Resources/ } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/41539ac9/attachment.html From ryandesign at macports.org Fri Aug 1 03:50:04 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:50:04 -0700 (PDT) Subject: [38858] trunk/dports/games/freedroidclassic/Portfile Message-ID: <20080801105004.910351AA7FA@beta.macosforge.org> Revision: 38858 http://trac.macosforge.org/projects/macports/changeset/38858 Author: ryandesign at macports.org Date: 2008-08-01 03:50:04 -0700 (Fri, 01 Aug 2008) Log Message: ----------- freedroidclassic: whitespace changes only Modified Paths: -------------- trunk/dports/games/freedroidclassic/Portfile Modified: trunk/dports/games/freedroidclassic/Portfile =================================================================== --- trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:49:05 UTC (rev 38857) +++ trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:50:04 UTC (rev 38858) @@ -1,55 +1,56 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name freedroidclassic -version 1.0.2 -categories games -platforms darwin -maintainers nomaintainer -description Freedoid Classic is a Paradroid clone. -long_description Freedroid is a clone of the classic game Paradroid on \ - Commodore 64 with some improvements and extensions to \ - the classic version. In this game, you control a \ - robot, depicted by a small white ball with a few \ - numbers within an interstellar spaceship consisting of \ - several decks connected by elevators. The aim of the \ - game is to destroy all enemy robots, depicted by small \ - black balls with a few numbers, by either shooting \ - them or seizing control over them by creating \ - connections in a short subgame of electric circuits. +name freedroidclassic +version 1.0.2 +categories games +platforms darwin +maintainers nomaintainer -homepage http://freedroid.sourceforge.net/ -master_sites sourceforge:freedroid -distname freedroid-${version} -checksums md5 585a65f61c2cd308ab45d5c514f695dc +description Freedoid Classic is a Paradroid clone. +long_description Freedroid is a clone of the classic game Paradroid on \ + Commodore 64 with some improvements and extensions to \ + the classic version. In this game, you control a \ + robot, depicted by a small white ball with a few \ + numbers within an interstellar spaceship consisting of \ + several decks connected by elevators. The aim of the \ + game is to destroy all enemy robots, depicted by small \ + black balls with a few numbers, by either shooting \ + them or seizing control over them by creating \ + connections in a short subgame of electric circuits. -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_mixer:libsdl_mixer +homepage http://freedroid.sourceforge.net/ +master_sites sourceforge:freedroid +distname freedroid-${version} +checksums md5 585a65f61c2cd308ab45d5c514f695dc -configure.args --mandir=${prefix}/share/man -configure.cflags-append "-I${prefix}/include" +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_image:libsdl_image \ + lib:libSDL_mixer:libsdl_mixer -post-destroot { - set dir ${destroot}${prefix}/share/freedroid - file delete -force ${dir}/mac-osx \ - ${dir}/graphics/classic_theme/Makefile \ - ${dir}/graphics/classic_theme/Makefile.am \ - ${dir}/graphics/classic_theme/Makefile.in \ - ${dir}/graphics/lanzz_theme/Makefile \ - ${dir}/graphics/lanzz_theme/Makefile.am \ - ${dir}/graphics/lanzz_theme/Makefile.in \ - ${dir}/graphics/Makefile ${dir}/graphics/Makefile.am \ - ${dir}/graphics/Makefile.in ${dir}/map/Makefile \ - ${dir}/map/Makefile.am ${dir}/map/Makefile.in \ - ${dir}/sound/Makefile ${dir}/sound/Makefile.am \ - ${dir}/sound/Makefile.in +configure.args --mandir=${prefix}/share/man +configure.cflags-append "-I${prefix}/include" + +post-destroot { + set dir ${destroot}${prefix}/share/freedroid + file delete -force ${dir}/mac-osx \ + ${dir}/graphics/classic_theme/Makefile \ + ${dir}/graphics/classic_theme/Makefile.am \ + ${dir}/graphics/classic_theme/Makefile.in \ + ${dir}/graphics/lanzz_theme/Makefile \ + ${dir}/graphics/lanzz_theme/Makefile.am \ + ${dir}/graphics/lanzz_theme/Makefile.in \ + ${dir}/graphics/Makefile ${dir}/graphics/Makefile.am \ + ${dir}/graphics/Makefile.in ${dir}/map/Makefile \ + ${dir}/map/Makefile.am ${dir}/map/Makefile.in \ + ${dir}/sound/Makefile ${dir}/sound/Makefile.am \ + ${dir}/sound/Makefile.in } -platform darwin { - pre-destroot { - file mkdir ${destroot}/Applications/MacPorts/Freedroid\ Classic.app/Contents/MacOS - system "ln -s ${prefix}/bin/freedroid ${destroot}/Applications/MacPorts/Freedroid\\ Classic.app/Contents/MacOS/Freedroid\\ Classic" - } +platform darwin { + pre-destroot { + file mkdir ${destroot}/Applications/MacPorts/Freedroid\ Classic.app/Contents/MacOS + system "ln -s ${prefix}/bin/freedroid ${destroot}/Applications/MacPorts/Freedroid\\ Classic.app/Contents/MacOS/Freedroid\\ Classic" + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cd2d9992/attachment.html From ryandesign at macports.org Fri Aug 1 03:51:13 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:51:13 -0700 (PDT) Subject: [38859] trunk/dports/games/freedroidclassic/Portfile Message-ID: <20080801105113.428E41AA873@beta.macosforge.org> Revision: 38859 http://trac.macosforge.org/projects/macports/changeset/38859 Author: ryandesign at macports.org Date: 2008-08-01 03:51:12 -0700 (Fri, 01 Aug 2008) Log Message: ----------- freedroidclassic: use port:-style dependencies to ensure we link only with other MacPorts ports Modified Paths: -------------- trunk/dports/games/freedroidclassic/Portfile Modified: trunk/dports/games/freedroidclassic/Portfile =================================================================== --- trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:50:04 UTC (rev 38858) +++ trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:51:12 UTC (rev 38859) @@ -25,9 +25,9 @@ distname freedroid-${version} checksums md5 585a65f61c2cd308ab45d5c514f695dc -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_mixer:libsdl_mixer +depends_lib port:libsdl \ + port:libsdl_image \ + port:libsdl_mixer configure.args --mandir=${prefix}/share/man configure.cflags-append "-I${prefix}/include" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cf0abd17/attachment-0001.html From ryandesign at macports.org Fri Aug 1 03:52:01 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:52:01 -0700 (PDT) Subject: [38860] trunk/dports/games/freedroidclassic/Portfile Message-ID: <20080801105201.ACEAA1AA8E2@beta.macosforge.org> Revision: 38860 http://trac.macosforge.org/projects/macports/changeset/38860 Author: ryandesign at macports.org Date: 2008-08-01 03:52:01 -0700 (Fri, 01 Aug 2008) Log Message: ----------- freedroidclassic: whitespace changes only (one item per line is easier to read) Modified Paths: -------------- trunk/dports/games/freedroidclassic/Portfile Modified: trunk/dports/games/freedroidclassic/Portfile =================================================================== --- trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:51:12 UTC (rev 38859) +++ trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:52:01 UTC (rev 38860) @@ -41,10 +41,14 @@ ${dir}/graphics/lanzz_theme/Makefile \ ${dir}/graphics/lanzz_theme/Makefile.am \ ${dir}/graphics/lanzz_theme/Makefile.in \ - ${dir}/graphics/Makefile ${dir}/graphics/Makefile.am \ - ${dir}/graphics/Makefile.in ${dir}/map/Makefile \ - ${dir}/map/Makefile.am ${dir}/map/Makefile.in \ - ${dir}/sound/Makefile ${dir}/sound/Makefile.am \ + ${dir}/graphics/Makefile \ + ${dir}/graphics/Makefile.am \ + ${dir}/graphics/Makefile.in \ + ${dir}/map/Makefile \ + ${dir}/map/Makefile.am \ + ${dir}/map/Makefile.in \ + ${dir}/sound/Makefile \ + ${dir}/sound/Makefile.am \ ${dir}/sound/Makefile.in } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/a7281011/attachment.html From ryandesign at macports.org Fri Aug 1 03:55:59 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:55:59 -0700 (PDT) Subject: [38861] trunk/dports/games/freedroidclassic/Portfile Message-ID: <20080801105559.D7BCA1AA95E@beta.macosforge.org> Revision: 38861 http://trac.macosforge.org/projects/macports/changeset/38861 Author: ryandesign at macports.org Date: 2008-08-01 03:55:59 -0700 (Fri, 01 Aug 2008) Log Message: ----------- freedroidclassic: * use ${applications_dir}; don't assume /Applications/MacPorts * create directory using xinstall -d instead of file mkdir * create symlink using tcl ln command instead of system Modified Paths: -------------- trunk/dports/games/freedroidclassic/Portfile Modified: trunk/dports/games/freedroidclassic/Portfile =================================================================== --- trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:52:01 UTC (rev 38860) +++ trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:55:59 UTC (rev 38861) @@ -52,9 +52,14 @@ ${dir}/sound/Makefile.in } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { pre-destroot { - file mkdir ${destroot}/Applications/MacPorts/Freedroid\ Classic.app/Contents/MacOS - system "ln -s ${prefix}/bin/freedroid ${destroot}/Applications/MacPorts/Freedroid\\ Classic.app/Contents/MacOS/Freedroid\\ Classic" + xinstall -d "${destroot}${applications_dir}/Freedroid Classic.app/Contents/MacOS" + ln -s ${prefix}/bin/freedroid "${destroot}${applications_dir}/Freedroid Classic.app/Contents/MacOS/Freedroid Classic" } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cd424639/attachment.html From ryandesign at macports.org Fri Aug 1 03:57:52 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 03:57:52 -0700 (PDT) Subject: [38862] trunk/dports/games/freedroidclassic/Portfile Message-ID: <20080801105753.0C3781AA9D0@beta.macosforge.org> Revision: 38862 http://trac.macosforge.org/projects/macports/changeset/38862 Author: ryandesign at macports.org Date: 2008-08-01 03:57:52 -0700 (Fri, 01 Aug 2008) Log Message: ----------- freedroidclassic: remove unnecessary CFLAGS (it's already in CPPFLAGS) Modified Paths: -------------- trunk/dports/games/freedroidclassic/Portfile Modified: trunk/dports/games/freedroidclassic/Portfile =================================================================== --- trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:55:59 UTC (rev 38861) +++ trunk/dports/games/freedroidclassic/Portfile 2008-08-01 10:57:52 UTC (rev 38862) @@ -30,7 +30,6 @@ port:libsdl_mixer configure.args --mandir=${prefix}/share/man -configure.cflags-append "-I${prefix}/include" post-destroot { set dir ${destroot}${prefix}/share/freedroid -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/14f93514/attachment.html From ryandesign at macports.org Fri Aug 1 04:00:05 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:00:05 -0700 (PDT) Subject: [38863] trunk/dports/aqua/Freecell/Portfile Message-ID: <20080801110005.2792B1AAA56@beta.macosforge.org> Revision: 38863 http://trac.macosforge.org/projects/macports/changeset/38863 Author: ryandesign at macports.org Date: 2008-08-01 04:00:04 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Freecell: whitespace changes only Modified Paths: -------------- trunk/dports/aqua/Freecell/Portfile Modified: trunk/dports/aqua/Freecell/Portfile =================================================================== --- trunk/dports/aqua/Freecell/Portfile 2008-08-01 10:57:52 UTC (rev 38862) +++ trunk/dports/aqua/Freecell/Portfile 2008-08-01 11:00:04 UTC (rev 38863) @@ -1,25 +1,25 @@ # $Id$ -PortSystem 1.0 -PortGroup xcode 1.0 +PortSystem 1.0 +PortGroup xcode 1.0 -name Freecell -version 2.1 -categories aqua games -platforms darwin -maintainers nomaintainer -description classic solitaire game +name Freecell +version 2.1 +categories aqua games +platforms darwin +maintainers nomaintainer -long_description \ - The imaginatively-titled ?Freecell? is a Mac OS X version of the classic solitaire game. +description classic solitaire game +long_description The imaginatively-titled ?Freecell? is a Mac OS X \ + version of the classic solitaire game. -homepage http://randomoracle.com/freecell/ -master_sites macports -use_bzip2 yes +homepage http://randomoracle.com/freecell/ +master_sites macports +use_bzip2 yes -checksums md5 05c41aa87c3a6c390f83c12db7c4ff3d \ - sha1 2e609fe0548f44a316f77f15db39581aad7a587f \ - rmd160 0dbb3cbb23730654244091f4683c51a590a373ab +checksums md5 05c41aa87c3a6c390f83c12db7c4ff3d \ + sha1 2e609fe0548f44a316f77f15db39581aad7a587f \ + rmd160 0dbb3cbb23730654244091f4683c51a590a373ab variant universal { post-patch { @@ -36,6 +36,5 @@ ${destroot}/Applications/MacPorts } -livecheck.check regex -livecheck.regex "${name} (\\d+(?:\\.\\d+)*)" - +livecheck.check regex +livecheck.regex "${name} (\\d+(?:\\.\\d+)*)" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/660f7b7d/attachment.html From ryandesign at macports.org Fri Aug 1 04:09:21 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:09:21 -0700 (PDT) Subject: [38864] trunk/dports/aqua/Freecell/Portfile Message-ID: <20080801110921.A5DDE1AAB2A@beta.macosforge.org> Revision: 38864 http://trac.macosforge.org/projects/macports/changeset/38864 Author: ryandesign at macports.org Date: 2008-08-01 04:09:21 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Freecell: use ${applications_dir}; don't assume /Applications/MacPorts Modified Paths: -------------- trunk/dports/aqua/Freecell/Portfile Modified: trunk/dports/aqua/Freecell/Portfile =================================================================== --- trunk/dports/aqua/Freecell/Portfile 2008-08-01 11:00:04 UTC (rev 38863) +++ trunk/dports/aqua/Freecell/Portfile 2008-08-01 11:09:21 UTC (rev 38864) @@ -30,10 +30,15 @@ } } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { - xinstall -d ${destroot}/Applications/MacPorts + xinstall -d ${destroot}${applications_dir} copy ${worksrcpath}/build/UninstalledProducts/Freecell.app \ - ${destroot}/Applications/MacPorts + ${destroot}${applications_dir} } livecheck.check regex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/1208db39/attachment.html From ryandesign at macports.org Fri Aug 1 04:28:54 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:28:54 -0700 (PDT) Subject: [38865] trunk/dports/aqua/Freecell/Portfile Message-ID: <20080801112854.7F1C81AABA8@beta.macosforge.org> Revision: 38865 http://trac.macosforge.org/projects/macports/changeset/38865 Author: ryandesign at macports.org Date: 2008-08-01 04:28:53 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Freecell: fix install when not root Modified Paths: -------------- trunk/dports/aqua/Freecell/Portfile Modified: trunk/dports/aqua/Freecell/Portfile =================================================================== --- trunk/dports/aqua/Freecell/Portfile 2008-08-01 11:09:21 UTC (rev 38864) +++ trunk/dports/aqua/Freecell/Portfile 2008-08-01 11:28:53 UTC (rev 38865) @@ -36,6 +36,11 @@ } post-destroot { + fs-traverse dir ${worksrcpath}/build { + if {[file isdirectory ${dir}]} { + file attributes ${dir} -permissions u+w + } + } xinstall -d ${destroot}${applications_dir} copy ${worksrcpath}/build/UninstalledProducts/Freecell.app \ ${destroot}${applications_dir} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/59de3472/attachment.html From ryandesign at macports.org Fri Aug 1 04:33:10 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:33:10 -0700 (PDT) Subject: [38866] trunk/dports/games/digger/Portfile Message-ID: <20080801113310.8003D1AAC4C@beta.macosforge.org> Revision: 38866 http://trac.macosforge.org/projects/macports/changeset/38866 Author: ryandesign at macports.org Date: 2008-08-01 04:33:10 -0700 (Fri, 01 Aug 2008) Log Message: ----------- digger: whitespace changes only Modified Paths: -------------- trunk/dports/games/digger/Portfile Modified: trunk/dports/games/digger/Portfile =================================================================== --- trunk/dports/games/digger/Portfile 2008-08-01 11:28:53 UTC (rev 38865) +++ trunk/dports/games/digger/Portfile 2008-08-01 11:33:10 UTC (rev 38866) @@ -1,42 +1,47 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name digger -version 20020314 -revision 1 -categories games -platforms darwin -maintainers nomaintainer -description the Digger game -long_description ${description} +name digger +version 20020314 +revision 1 +categories games +platforms darwin +maintainers nomaintainer -homepage http://www.digger.org -master_sites ${homepage} -checksums md5 a16e90a49ed8ea90099b254d3ef5edfa -patchfiles patch-def.h.diff patch-digger.c.diff patch-input.c.diff \ - patch-scores.c.diff patch-input.h.diff patch-main.c.diff +description the Digger game +long_description ${description} -depends_lib bin:sdl-config:libsdl +homepage http://www.digger.org +master_sites ${homepage} +checksums md5 a16e90a49ed8ea90099b254d3ef5edfa +patchfiles patch-def.h.diff \ + patch-digger.c.diff \ + patch-input.c.diff \ + patch-scores.c.diff \ + patch-input.h.diff \ + patch-main.c.diff +depends_lib bin:sdl-config:libsdl + post-extract { - file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile + file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile } -use_configure no +use_configure no destroot { - xinstall -d ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 ${worksrcpath}/digger.txt \ - ${destroot}${prefix}/share/doc/${name} - xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin + xinstall -d ${destroot}${prefix}/share/doc/${name} + xinstall -m 644 ${worksrcpath}/digger.txt \ + ${destroot}${prefix}/share/doc/${name} + xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin } platform darwin { - post-destroot { - file mkdir ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS - xinstall -mode 755 ${filespath}/Digger.darwin \ - ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger - reinplace "s|_PREFIX_|${prefix}|g" ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger - } + post-destroot { + file mkdir ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS + xinstall -mode 755 ${filespath}/Digger.darwin \ + ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger + reinplace "s|_PREFIX_|${prefix}|g" ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/d5997786/attachment-0001.html From ryandesign at macports.org Fri Aug 1 04:39:25 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:39:25 -0700 (PDT) Subject: [38867] trunk/dports/games/digger/Portfile Message-ID: <20080801113925.29BDB1AACED@beta.macosforge.org> Revision: 38867 http://trac.macosforge.org/projects/macports/changeset/38867 Author: ryandesign at macports.org Date: 2008-08-01 04:39:24 -0700 (Fri, 01 Aug 2008) Log Message: ----------- digger: * use ${applications_dir}; don't assume /Applications/MacPorts * create directory with xinstall -d instead of file mkdir Modified Paths: -------------- trunk/dports/games/digger/Portfile Modified: trunk/dports/games/digger/Portfile =================================================================== --- trunk/dports/games/digger/Portfile 2008-08-01 11:33:10 UTC (rev 38866) +++ trunk/dports/games/digger/Portfile 2008-08-01 11:39:24 UTC (rev 38867) @@ -37,11 +37,17 @@ xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - file mkdir ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS + xinstall -d ${destroot}${applications_dir}/Digger.app/Contents/MacOS xinstall -mode 755 ${filespath}/Digger.darwin \ - ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger - reinplace "s|_PREFIX_|${prefix}|g" ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger + ${destroot}${applications_dir}/Digger.app/Contents/MacOS/Digger + reinplace "s|_PREFIX_|${prefix}|g" \ + ${destroot}${applications_dir}/Digger.app/Contents/MacOS/Digger } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/c862d121/attachment.html From ryandesign at macports.org Fri Aug 1 04:40:29 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:40:29 -0700 (PDT) Subject: [38868] trunk/dports/games/digger/Portfile Message-ID: <20080801114029.92B7C1AAD93@beta.macosforge.org> Revision: 38868 http://trac.macosforge.org/projects/macports/changeset/38868 Author: ryandesign at macports.org Date: 2008-08-01 04:40:28 -0700 (Fri, 01 Aug 2008) Log Message: ----------- digger: use port:-style dependency to ensure we link only with other MacPorts ports Modified Paths: -------------- trunk/dports/games/digger/Portfile Modified: trunk/dports/games/digger/Portfile =================================================================== --- trunk/dports/games/digger/Portfile 2008-08-01 11:39:24 UTC (rev 38867) +++ trunk/dports/games/digger/Portfile 2008-08-01 11:40:28 UTC (rev 38868) @@ -22,7 +22,7 @@ patch-input.h.diff \ patch-main.c.diff -depends_lib bin:sdl-config:libsdl +depends_lib port:libsdl post-extract { file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/dd192f05/attachment.html From ryandesign at macports.org Fri Aug 1 04:41:51 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:41:51 -0700 (PDT) Subject: [38869] trunk/dports/games/digger/Portfile Message-ID: <20080801114151.74C141AAE37@beta.macosforge.org> Revision: 38869 http://trac.macosforge.org/projects/macports/changeset/38869 Author: ryandesign at macports.org Date: 2008-08-01 04:41:50 -0700 (Fri, 01 Aug 2008) Log Message: ----------- digger: simplify: use -m instead of -mode for xinstall Modified Paths: -------------- trunk/dports/games/digger/Portfile Modified: trunk/dports/games/digger/Portfile =================================================================== --- trunk/dports/games/digger/Portfile 2008-08-01 11:40:28 UTC (rev 38868) +++ trunk/dports/games/digger/Portfile 2008-08-01 11:41:50 UTC (rev 38869) @@ -34,7 +34,7 @@ xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/digger.txt \ ${destroot}${prefix}/share/doc/${name} - xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin + xinstall -m 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin } # Can be removed once MacPorts 1.7.0 is released @@ -45,7 +45,7 @@ platform darwin { post-destroot { xinstall -d ${destroot}${applications_dir}/Digger.app/Contents/MacOS - xinstall -mode 755 ${filespath}/Digger.darwin \ + xinstall -m 755 ${filespath}/Digger.darwin \ ${destroot}${applications_dir}/Digger.app/Contents/MacOS/Digger reinplace "s|_PREFIX_|${prefix}|g" \ ${destroot}${applications_dir}/Digger.app/Contents/MacOS/Digger -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/8f61bd59/attachment.html From ryandesign at macports.org Fri Aug 1 04:46:09 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:46:09 -0700 (PDT) Subject: [38870] trunk/dports/games/defendguin/Portfile Message-ID: <20080801114609.9CB7B1AAF0D@beta.macosforge.org> Revision: 38870 http://trac.macosforge.org/projects/macports/changeset/38870 Author: ryandesign at macports.org Date: 2008-08-01 04:46:09 -0700 (Fri, 01 Aug 2008) Log Message: ----------- defendguin: whitespace changes only Modified Paths: -------------- trunk/dports/games/defendguin/Portfile Modified: trunk/dports/games/defendguin/Portfile =================================================================== --- trunk/dports/games/defendguin/Portfile 2008-08-01 11:41:50 UTC (rev 38869) +++ trunk/dports/games/defendguin/Portfile 2008-08-01 11:46:09 UTC (rev 38870) @@ -1,62 +1,62 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name defendguin -version 0.0.11 -categories games -platforms darwin -maintainers nomaintainer -description clone of the classic arcade game Defender -long_description Defendguin is based loosely on Williams classic \ - arcade game, Defender. Some recognizable stars in \ - the realm of modern operating systems should be fairly \ - obvious. Story: A certain monopoly-owning bad guy has \ - been cloned hundreds of times by an unknown alien \ - race. They are now attacking earth, kidnapping little \ - penguinoids and converting them into mutants. Helping \ - them on their way are some other nasty alien ships, of \ - which there are plenty... +name defendguin +version 0.0.11 +categories games +platforms darwin +maintainers nomaintainer -homepage http://www.newbreedsoftware.com/defendguin/ -master_sites ftp://ftp.billsgames.com/unix/x/defendguin/src/ +description clone of the classic arcade game Defender +long_description Defendguin is based loosely on Williams classic \ + arcade game, Defender. Some recognizable stars in \ + the realm of modern operating systems should be fairly \ + obvious. Story: A certain monopoly-owning bad guy has \ + been cloned hundreds of times by an unknown alien \ + race. They are now attacking earth, kidnapping little \ + penguinoids and converting them into mutants. Helping \ + them on their way are some other nasty alien ships, of \ + which there are plenty... -checksums \ - md5 c8040e39f199c5338625066025ec2395 \ - sha1 e7d9e31aebe5d43d854170fcbbf82eaf8daa4ea4 \ - rmd160 383c40d5091aad917b290506cd1e1527531e106c +homepage http://www.newbreedsoftware.com/defendguin/ +master_sites ftp://ftp.billsgames.com/unix/x/defendguin/src/ -depends_lib port:libsdl \ - port:libsdl_mixer +checksums md5 c8040e39f199c5338625066025ec2395 \ + sha1 e7d9e31aebe5d43d854170fcbbf82eaf8daa4ea4 \ + rmd160 383c40d5091aad917b290506cd1e1527531e106c -use_configure no +depends_lib port:libsdl \ + port:libsdl_mixer -build.env CFLAGS=-I${prefix}/include \ - LDFLAGS=-L${prefix}/lib +use_configure no -build.args PREFIX=${prefix} \ - JOY=NO +build.env CFLAGS=-I${prefix}/include \ + LDFLAGS=-L${prefix}/lib -destroot.args PREFIX=${destroot}${prefix} \ - MAN_PREFIX=${destroot}${prefix}/share +build.args PREFIX=${prefix} \ + JOY=NO -post-destroot { - set docdir ${destroot}${prefix}/share/doc/${name}-${version} - xinstall -d ${docdir} - xinstall -W ${worksrcpath}/docs \ - AUTHORS.txt \ - CHANGES.txt \ - COPYING.txt \ - INSTALL.txt \ - README.txt \ - TODO.txt \ - ${docdir} +destroot.args PREFIX=${destroot}${prefix} \ + MAN_PREFIX=${destroot}${prefix}/share + +post-destroot { + set docdir ${destroot}${prefix}/share/doc/${name}-${version} + xinstall -d ${docdir} + xinstall -W ${worksrcpath}/docs \ + AUTHORS.txt \ + CHANGES.txt \ + COPYING.txt \ + INSTALL.txt \ + README.txt \ + TODO.txt \ + ${docdir} } -platform darwin { - post-destroot { - xinstall -d ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS - ln -s ${prefix}/bin/defendguin \ - ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin - } +platform darwin { + post-destroot { + xinstall -d ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS + ln -s ${prefix}/bin/defendguin \ + ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/9051aa88/attachment.html From ryandesign at macports.org Fri Aug 1 04:47:58 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:47:58 -0700 (PDT) Subject: [38871] trunk/dports/games/defendguin/Portfile Message-ID: <20080801114759.034FA1AAF5D@beta.macosforge.org> Revision: 38871 http://trac.macosforge.org/projects/macports/changeset/38871 Author: ryandesign at macports.org Date: 2008-08-01 04:47:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- defendguin: use ${applications_dir}; don't assume /Applications/MacPorts Modified Paths: -------------- trunk/dports/games/defendguin/Portfile Modified: trunk/dports/games/defendguin/Portfile =================================================================== --- trunk/dports/games/defendguin/Portfile 2008-08-01 11:46:09 UTC (rev 38870) +++ trunk/dports/games/defendguin/Portfile 2008-08-01 11:47:58 UTC (rev 38871) @@ -53,10 +53,15 @@ ${docdir} } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - xinstall -d ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS + xinstall -d ${destroot}${applications_dir}/Defendguin.app/Contents/MacOS ln -s ${prefix}/bin/defendguin \ - ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin + ${destroot}${applications_dir}/Defendguin.app/Contents/MacOS/Defendguin } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/f5ce1fcd/attachment.html From ryandesign at macports.org Fri Aug 1 04:54:50 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 04:54:50 -0700 (PDT) Subject: [38872] trunk/dports/devel/allegro/Portfile Message-ID: <20080801115450.2C06E1AB005@beta.macosforge.org> Revision: 38872 http://trac.macosforge.org/projects/macports/changeset/38872 Author: ryandesign at macports.org Date: 2008-08-01 04:54:49 -0700 (Fri, 01 Aug 2008) Log Message: ----------- allegro: enable parallel build Modified Paths: -------------- trunk/dports/devel/allegro/Portfile Modified: trunk/dports/devel/allegro/Portfile =================================================================== --- trunk/dports/devel/allegro/Portfile 2008-08-01 11:47:58 UTC (rev 38871) +++ trunk/dports/devel/allegro/Portfile 2008-08-01 11:54:49 UTC (rev 38872) @@ -13,6 +13,7 @@ openmaintainer categories devel games platforms darwin +use_parallel_build yes homepage http://www.talula.demon.co.uk/allegro/ master_sites sourceforge:alleg checksums md5 87ffb1def034e0ec29a9ad4a595cda7e -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cc8b021a/attachment-0001.html From ryandesign at macports.org Fri Aug 1 05:01:01 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 05:01:01 -0700 (PDT) Subject: [38873] trunk/dports/games/atanks/Portfile Message-ID: <20080801120101.9142D1AB094@beta.macosforge.org> Revision: 38873 http://trac.macosforge.org/projects/macports/changeset/38873 Author: ryandesign at macports.org Date: 2008-08-01 05:01:01 -0700 (Fri, 01 Aug 2008) Log Message: ----------- atanks: whitespace changes only Modified Paths: -------------- trunk/dports/games/atanks/Portfile Modified: trunk/dports/games/atanks/Portfile =================================================================== --- trunk/dports/games/atanks/Portfile 2008-08-01 11:54:49 UTC (rev 38872) +++ trunk/dports/games/atanks/Portfile 2008-08-01 12:01:01 UTC (rev 38873) @@ -1,41 +1,55 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name atanks -version 2.3 -categories games -platforms darwin -maintainers nomaintainer -description atanks is a multi-platform Scorched Earth clone -long_description ${description} +name atanks +version 2.3 +categories games +platforms darwin +maintainers nomaintainer -homepage http://atanks.sourceforge.net/ -master_sites sourceforge -checksums md5 9b717e7922a7ff2bdc55abc42f76e88e -worksrcdir ${name} -depends_lib port:allegro +description atanks is a multi-platform Scorched Earth clone +long_description ${description} -patchfiles patch-src-Makefile -use_configure no +homepage http://atanks.sourceforge.net/ +master_sites sourceforge +checksums md5 9b717e7922a7ff2bdc55abc42f76e88e +worksrcdir ${name} -build.env CFLAGS=-I${prefix}/include \ - LDFLAGS=-L${prefix}/lib -build.args PREFIX=${prefix} +depends_lib port:allegro -destroot { - xinstall -m 755 ${worksrcpath}/atanks ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/atanks - xinstall -m 644 -W ${worksrcpath} button.dat misc.dat missile.dat \ - sound.dat stock.dat tank.dat tankgun.dat title.dat Help.txt \ - credits.txt gloat.txt instr.txt revenge.txt \ - ${destroot}${prefix}/share/atanks +patchfiles patch-src-Makefile + +use_configure no + +build.env CFLAGS=-I${prefix}/include \ + LDFLAGS=-L${prefix}/lib +build.args PREFIX=${prefix} + +destroot { + xinstall -m 755 ${worksrcpath}/atanks ${destroot}${prefix}/bin + xinstall -m 755 -d ${destroot}${prefix}/share/atanks + xinstall -m 644 -W ${worksrcpath} \ + button.dat \ + misc.dat \ + missile.dat \ + sound.dat \ + stock.dat \ + tank.dat \ + tankgun.dat \ + title.dat \ + Help.txt \ + credits.txt \ + gloat.txt \ + instr.txt \ + revenge.txt \ + ${destroot}${prefix}/share/atanks } -platform darwin { - post-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS - system "ln -s ${prefix}/bin/atanks \ - ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS/ATanks" - } +platform darwin { + post-destroot { + xinstall -d -m 755 ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS + system "ln -s ${prefix}/bin/atanks \ + ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS/ATanks" + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/47c6942f/attachment.html From ryandesign at macports.org Fri Aug 1 05:05:41 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 05:05:41 -0700 (PDT) Subject: [38874] trunk/dports/games/atanks/Portfile Message-ID: <20080801120541.9742F1AB12B@beta.macosforge.org> Revision: 38874 http://trac.macosforge.org/projects/macports/changeset/38874 Author: ryandesign at macports.org Date: 2008-08-01 05:05:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- atanks: * use ${applications_dir}; don't assume /Applications/MacPorts * create symlink using tcl ln command instead of system Modified Paths: -------------- trunk/dports/games/atanks/Portfile Modified: trunk/dports/games/atanks/Portfile =================================================================== --- trunk/dports/games/atanks/Portfile 2008-08-01 12:01:01 UTC (rev 38873) +++ trunk/dports/games/atanks/Portfile 2008-08-01 12:05:41 UTC (rev 38874) @@ -46,10 +46,15 @@ ${destroot}${prefix}/share/atanks } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS - system "ln -s ${prefix}/bin/atanks \ - ${destroot}/Applications/MacPorts/ATanks.app/Contents/MacOS/ATanks" + xinstall -d ${destroot}${applications_dir}/ATanks.app/Contents/MacOS + ln -s ${prefix}/bin/atanks \ + ${destroot}${applications_dir}/ATanks.app/Contents/MacOS/ATanks } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/f0fddf31/attachment.html From ryandesign at macports.org Fri Aug 1 05:15:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 05:15:56 -0700 (PDT) Subject: [38875] trunk/dports/games/atanks/Portfile Message-ID: <20080801121556.4BC7D1AB1FE@beta.macosforge.org> Revision: 38875 http://trac.macosforge.org/projects/macports/changeset/38875 Author: ryandesign at macports.org Date: 2008-08-01 05:15:55 -0700 (Fri, 01 Aug 2008) Log Message: ----------- atanks: fix livecheck Modified Paths: -------------- trunk/dports/games/atanks/Portfile Modified: trunk/dports/games/atanks/Portfile =================================================================== --- trunk/dports/games/atanks/Portfile 2008-08-01 12:05:41 UTC (rev 38874) +++ trunk/dports/games/atanks/Portfile 2008-08-01 12:15:55 UTC (rev 38875) @@ -58,3 +58,5 @@ ${destroot}${applications_dir}/ATanks.app/Contents/MacOS/ATanks } } + +livecheck.regex ${name} ${name}-(.*) released.* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/a905cc08/attachment.html From armahg at macports.org Fri Aug 1 07:07:23 2008 From: armahg at macports.org (armahg at macports.org) Date: Fri, 1 Aug 2008 07:07:23 -0700 (PDT) Subject: [38876] branches/gsoc08-framework/MacPorts_Framework Message-ID: <20080801140723.D27AD1AB4DE@beta.macosforge.org> Revision: 38876 http://trac.macosforge.org/projects/macports/changeset/38876 Author: armahg at macports.org Date: 2008-08-01 07:07:22 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Added BetterAuthorization and MPHelper files. Project set up as described in BetterAuthorizationSample documentation but crashes on running Test Bundle. Time to debug Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj Added Paths: ----------- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.h branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLibInstallTool.c branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h Added: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c 2008-08-01 14:07:22 UTC (rev 38876) @@ -0,0 +1,2420 @@ +/* + File: BetterAuthorizationSampleLib.c + + Contains: Implementation of reusable code for privileged helper tools. + + Written by: DTS + + Copyright: Copyright (c) 2007 Apple Inc. All Rights Reserved. + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple, Inc. + ("Apple") in consideration of your agreement to the following terms, and your + use, installation, modification or redistribution of this Apple software + constitutes acceptance of these terms. If you do not agree with these terms, + please do not use, install, modify or redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and subject + to these terms, Apple grants you a personal, non-exclusive license, under Apple's + copyrights in this original Apple software (the "Apple Software"), to use, + reproduce, modify and redistribute the Apple Software, with or without + modifications, in source and/or binary forms; provided that if you redistribute + the Apple Software in its entirety and without modifications, you must retain + this notice and the following text and disclaimers in all such redistributions of + the Apple Software. Neither the name, trademarks, service marks or logos of + Apple, Inc. may be used to endorse or promote products derived from the + Apple Software without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or implied, + are granted by Apple herein, including but not limited to any patent rights that + may be infringed by your derivative works or by other works in which the Apple + Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO + WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED + WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN + COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION + OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT + (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*/ + +// Define BAS_PRIVATE so that we pick up our private definitions from +// "BetterAuthorizationSampleLib.h". + +#define BAS_PRIVATE 1 + +#include "BetterAuthorizationSampleLib.h" + +#include +#include +#include +#include +#include +#include +#include + +// At runtime BAS only requires CoreFoundation. However, at build time we need +// CoreServices for the various OSStatus error codes in "MacErrors.h". Thus, by default, +// we include CoreServices at build time. However, you can flip this switch to check +// that you're not accidentally using any other CoreServices things. + +#if 1 + #include +#else + #warning Do not ship this way! + #include + #include "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" +#endif + +////////////////////////////////////////////////////////////////////////////////// +#pragma mark ***** Constants + +enum { + kIdleTimeoutInSeconds = 120, // if we get no requests in 2 minutes, we quit + kWatchdogTimeoutInSeconds = 65 // any given request must be completely in 65 seconds +}; + +// IMPORTANT: +// These values must be greater than 60 seconds. If a job runs for less than 60 +// seconds, launchd will consider it to have failed. + +// kBASMaxNumberOfKBytes has two uses: +// +// 1. When receiving a dictionary, it is used to limit the size of the incoming +// data. This ensures that a non-privileged client can't exhaust the +// address space of a privileged helper tool. +// +// 2. Because it's less than 4 GB, this limit ensures that the dictionary size +// can be sent as an architecture-neutral uint32_t. + +#define kBASMaxNumberOfKBytes (1024 * 1024) + +// A hard-wired file system path for the UNIX domain socket; %s is the placeholder +// for the bundle ID (in file system representation). + +#define kBASSocketPathFormat "/var/run/%s.socket" + +// The key used to get our describe our socket in the launchd property list file. + +#define kLaunchDSocketDictKey "MasterSocket" + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Common Code + +extern int BASOSStatusToErrno(OSStatus errNum) + // See comment in header. +{ + int retval; + + #define CASE(ident) \ + case k ## ident ## Err: \ + retval = ident; \ + break + switch (errNum) { + case noErr: + retval = 0; + break; + case kENORSRCErr: + retval = ESRCH; // no ENORSRC on Mac OS X, so use ESRCH + break; + case memFullErr: + retval = ENOMEM; + break; + CASE(EDEADLK); + CASE(EAGAIN); + case kEOPNOTSUPPErr: + retval = ENOTSUP; + break; + CASE(EPROTO); + CASE(ETIME); + CASE(ENOSR); + CASE(EBADMSG); + case kECANCELErr: + retval = ECANCELED; // note spelling difference + break; + CASE(ENOSTR); + CASE(ENODATA); + CASE(EINPROGRESS); + CASE(ESRCH); + CASE(ENOMSG); + default: + if ( (errNum <= kEPERMErr) && (errNum >= kENOMSGErr) ) { + retval = (-3200 - errNum) + 1; // OT based error + } else if ( (errNum >= errSecErrnoBase) && (errNum <= (errSecErrnoBase + ELAST)) ) { + retval = (int) errNum - errSecErrnoBase; // POSIX based error + } else { + retval = (int) errNum; // just return the value unmodified + } + } + #undef CASE + return retval; +} + +extern OSStatus BASErrnoToOSStatus(int errNum) + // See comment in header. +{ + OSStatus retval; + + if ( errNum == 0 ) { + retval = noErr; + } else if ( (errNum >= EPERM) && (errNum <= ELAST) ) { + retval = (OSStatus) errNum + errSecErrnoBase; + } else { + retval = (int) errNum; // just return the value unmodified + } + + return retval; +} + +static Boolean BASIsBinaryPropertyListData(const void * plistBuffer, size_t plistSize) + // Make sure that whatever is passed into the buffer that will + // eventually become a plist (and then sequentially a dictionary) + // is NOT in binary format. +{ + static const char kBASBinaryPlistWatermark[6] = "bplist"; + + assert(plistBuffer != NULL); + + return (plistSize >= sizeof(kBASBinaryPlistWatermark)) + && (memcmp(plistBuffer, kBASBinaryPlistWatermark, sizeof(kBASBinaryPlistWatermark)) == 0); +} + +static void NormaliseOSStatusErrorCode(OSStatus *errPtr) + // Normalise the cancelled error code to reduce the number of checks that our clients + // have to do. I made this a function in case I ever want to expand this to handle + // more than just this one case. +{ + assert(errPtr != NULL); + + if ( (*errPtr == errAuthorizationCanceled) || (*errPtr == (errSecErrnoBase + ECANCELED)) ) { + *errPtr = userCanceledErr; + } +} + +static int BASRead(int fd, void *buf, size_t bufSize, size_t *bytesRead) + // A wrapper around that keeps reading until either + // bufSize bytes are read or until EOF is encountered, in which case you get + // EPIPE. + // + // If bytesRead is not NULL, *bytesRead will be set to the number + // of bytes successfully read. On success, this will always be equal to + // bufSize. On error, it indicates how much was read before the error + // occurred (which could be zero). +{ + int err; + char * cursor; + size_t bytesLeft; + ssize_t bytesThisTime; + + // Pre-conditions + + assert(fd >= 0); + assert(buf != NULL); + // bufSize may be 0 + assert(bufSize <= kBASMaxNumberOfKBytes); + // bytesRead may be NULL + + err = 0; + bytesLeft = bufSize; + cursor = (char *) buf; + while ( (err == 0) && (bytesLeft != 0) ) { + bytesThisTime = read(fd, cursor, bytesLeft); + if (bytesThisTime > 0) { + cursor += bytesThisTime; + bytesLeft -= bytesThisTime; + } else if (bytesThisTime == 0) { + err = EPIPE; + } else { + assert(bytesThisTime == -1); + + err = errno; + assert(err != 0); + if (err == EINTR) { + err = 0; // let's loop again + } + } + } + if (bytesRead != NULL) { + *bytesRead = bufSize - bytesLeft; + } + + return err; +} + +static int BASWrite(int fd, const void *buf, size_t bufSize, size_t *bytesWritten) + // A wrapper around that keeps writing until either + // all the data is written or an error occurs, in which case + // you get EPIPE. + // + // If bytesWritten is not NULL, *bytesWritten will be set to the number + // of bytes successfully written. On success, this will always be equal to + // bufSize. On error, it indicates how much was written before the error + // occurred (which could be zero). +{ + int err; + char * cursor; + size_t bytesLeft; + ssize_t bytesThisTime; + + // Pre-conditions + + assert(fd >= 0); + assert(buf != NULL); + // bufSize may be 0 + assert(bufSize <= kBASMaxNumberOfKBytes); + // bytesWritten may be NULL + + // SIGPIPE occurs when you write to pipe or socket + // whose other end has been closed. The default action + // for SIGPIPE is to terminate the process. That's + // probably not what you wanted. So, in the debug build, + // we check that you've set the signal action to SIG_IGN + // (ignore). Of course, you could be building a program + // that needs SIGPIPE to work in some special way, in + // which case you should define BAS_WRITE_CHECK_SIGPIPE + // to 0 to bypass this check. + + #if !defined(BAS_WRITE_CHECK_SIGPIPE) + #define BAS_WRITE_CHECK_SIGPIPE 1 + #endif + #if !defined(NDEBUG) && BAS_WRITE_CHECK_SIGPIPE + { + int junk; + struct stat sb; + struct sigaction currentSignalState; + int val; + socklen_t valLen; + + junk = fstat(fd, &sb); + assert(junk == 0); + + if ( S_ISFIFO(sb.st_mode) || S_ISSOCK(sb.st_mode) ) { + junk = sigaction(SIGPIPE, NULL, ¤tSignalState); + assert(junk == 0); + + valLen = sizeof(val); + junk = getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &val, &valLen); + assert(junk == 0); + assert(valLen == sizeof(val)); + + // If you hit this assertion, you need to either disable SIGPIPE in + // your process or on the specific socket you're writing to. The + // standard code for the former is: + // + // (void) signal(SIGPIPE, SIG_IGN); + // + // You typically add this code to your main function. + // + // The standard code for the latter is: + // + // static const int kOne = 1; + // err = setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &kOne, sizeof(kOne)); + // + // You typically do this just after creating the socket. + + assert( (currentSignalState.sa_handler == SIG_IGN) || (val == 1) ); + } + } + #endif + + err = 0; + bytesLeft = bufSize; + cursor = (char *) buf; + while ( (err == 0) && (bytesLeft != 0) ) { + bytesThisTime = write(fd, cursor, bytesLeft); + if (bytesThisTime > 0) { + cursor += bytesThisTime; + bytesLeft -= bytesThisTime; + } else if (bytesThisTime == 0) { + assert(false); + err = EPIPE; + } else { + assert(bytesThisTime == -1); + + err = errno; + assert(err != 0); + if (err == EINTR) { + err = 0; // let's loop again + } + } + } + if (bytesWritten != NULL) { + *bytesWritten = bufSize - bytesLeft; + } + + return err; +} + +static int BASReadDictionary(int fdIn, CFDictionaryRef *dictPtr) + // Create a CFDictionary by reading the XML data from fdIn. + // It first reads the size of the XML data, then allocates a + // buffer for that data, then reads the data in, and finally + // unflattens the data into a CFDictionary. + // + // On success, the caller is responsible for releasing *dictPtr. + // + // See also the companion routine, BASWriteDictionary, below. +{ + int err = 0; + uint32_t dictSize; + void * dictBuffer; + CFDataRef dictData; + CFPropertyListRef dict; + + // Pre-conditions + + assert(fdIn >= 0); + assert( dictPtr != NULL); + assert(*dictPtr == NULL); + + dictBuffer = NULL; + dictData = NULL; + dict = NULL; + + // Read the data size and allocate a buffer. Always read the length as a big-endian + // uint32_t, so that the app and the helper tool can be different architectures. + + err = BASRead(fdIn, &dictSize, sizeof(dictSize), NULL); + if (err == 0) { + dictSize = OSSwapBigToHostInt32(dictSize); + if (dictSize == 0) { + // According to the C language spec malloc(0) may return NULL (although the Mac OS X + // malloc doesn't ever do this), so we specifically check for and error out in + // that case. + err = EINVAL; + } else if (dictSize > kBASMaxNumberOfKBytes) { + // Abitrary limit to prevent potentially hostile client overwhelming us with data. + err = EINVAL; + } + } + if (err == 0) { + dictBuffer = malloc( (size_t) dictSize); + if (dictBuffer == NULL) { + err = ENOMEM; + } + } + + // Read the data and unflatten. + + if (err == 0) { + err = BASRead(fdIn, dictBuffer, dictSize, NULL); + } + if ( (err == 0) && BASIsBinaryPropertyListData(dictBuffer, dictSize) ) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + if (err == 0) { + dictData = CFDataCreateWithBytesNoCopy(NULL, dictBuffer, dictSize, kCFAllocatorNull); + if (dictData == NULL) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + } + if (err == 0) { + dict = CFPropertyListCreateFromXMLData(NULL, dictData, kCFPropertyListImmutable, NULL); + if (dict == NULL) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + } + if ( (err == 0) && (CFGetTypeID(dict) != CFDictionaryGetTypeID()) ) { + err = EINVAL; // only CFDictionaries need apply + } + // CFShow(dict); + + // Clean up. + + if (err != 0) { + if (dict != NULL) { + CFRelease(dict); + } + dict = NULL; + } + *dictPtr = (CFDictionaryRef) dict; + free(dictBuffer); + if (dictData != NULL) { + CFRelease(dictData); + } + + assert( (err == 0) == (*dictPtr != NULL) ); + + return err; +} + +static int BASWriteDictionary(CFDictionaryRef dict, int fdOut) + // Write a dictionary to a file descriptor by flattening + // it into XML. Send the size of the XML before sending + // the data so that BASReadDictionary knows how much to + // read. + // + // See also the companion routine, BASReadDictionary, above. +{ + int err = 0; + CFDataRef dictData; + uint32_t dictSize; + + // Pre-conditions + + assert(dict != NULL); + assert(fdOut >= 0); + + dictData = NULL; + + // Get the dictionary as XML data. + + dictData = CFPropertyListCreateXMLData(NULL, dict); + if (dictData == NULL) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + + // Send the length, then send the data. Always send the length as a big-endian + // uint32_t, so that the app and the helper tool can be different architectures. + // + // The MoreAuthSample version of this code erroneously assumed that CFDataGetBytePtr + // can fail and thus allocated an extra buffer to copy the data into. In reality, + // CFDataGetBytePtr can't fail, so this version of the code doesn't do the unnecessary + // allocation. + + if ( (err == 0) && (CFDataGetLength(dictData) > kBASMaxNumberOfKBytes) ) { + err = EINVAL; + } + if (err == 0) { + dictSize = OSSwapHostToBigInt32( CFDataGetLength(dictData) ); + err = BASWrite(fdOut, &dictSize, sizeof(dictSize), NULL); + } + if (err == 0) { + err = BASWrite(fdOut, CFDataGetBytePtr(dictData), CFDataGetLength(dictData), NULL); + } + + if (dictData != NULL) { + CFRelease(dictData); + } + + return err; +} + +// When we pass a descriptor, we have to pass at least one byte +// of data along with it, otherwise the recvmsg call will not +// block if the descriptor hasn't been written to the other end +// of the socket yet. + +static const char kDummyData = 'D'; + +// Due to a kernel bug in Mac OS X 10.4.x and earlier , +// you will run into problems if you write data to a socket while a process is +// trying to receive a descriptor from that socket. A common symptom of this +// problem is that, if you write two descriptors back-to-back, the second one +// just disappears. +// +// To avoid this problem, we explicitly ACK all descriptor transfers. +// After writing a descriptor, the sender reads an ACK byte from the socket. +// After reading a descriptor, the receiver sends an ACK byte (kACKData) +// to unblock the sender. + +static const char kACKData = 'A'; + +static int BASReadDescriptor(int fd, int *fdRead) + // Read a descriptor from fd and place it in *fdRead. + // + // On success, the caller is responsible for closing *fdRead. + // + // See the associated BASWriteDescriptor, below. +{ + int err; + int junk; + struct msghdr msg; + struct iovec iov; + struct { + struct cmsghdr hdr; + int fd; + } control; + char dummyData; + ssize_t bytesReceived; + + // Pre-conditions + + assert(fd >= 0); + assert( fdRead != NULL); + assert(*fdRead == -1); + + iov.iov_base = (char *) &dummyData; + iov.iov_len = sizeof(dummyData); + + msg.msg_name = NULL; + msg.msg_namelen = 0; + msg.msg_iov = &iov; + msg.msg_iovlen = 1; + msg.msg_control = (caddr_t) &control; + msg.msg_controllen = sizeof(control); + msg.msg_flags = MSG_WAITALL; + + do { + bytesReceived = recvmsg(fd, &msg, 0); + if (bytesReceived == sizeof(dummyData)) { + if ( (dummyData != kDummyData) + || (msg.msg_flags != 0) + || (msg.msg_control == NULL) + || (msg.msg_controllen != sizeof(control)) + || (control.hdr.cmsg_len != sizeof(control)) + || (control.hdr.cmsg_level != SOL_SOCKET) + || (control.hdr.cmsg_type != SCM_RIGHTS) + || (control.fd < 0) ) { + err = EINVAL; + } else { + *fdRead = control.fd; + err = 0; + } + } else if (bytesReceived == 0) { + err = EPIPE; + } else { + assert(bytesReceived == -1); + + err = errno; + assert(err != 0); + } + } while (err == EINTR); + + // Send the ACK. If that fails, we have to act like we never got the + // descriptor in our to maintain our post condition. + + if (err == 0) { + err = BASWrite(fd, &kACKData, sizeof(kACKData), NULL); + if (err != 0) { + junk = close(*fdRead); + assert(junk == 0); + *fdRead = -1; + } + } + + assert( (err == 0) == (*fdRead >= 0) ); + + return err; +} + +static int BASWriteDescriptor(int fd, int fdToWrite) + // Write the descriptor fdToWrite to fd. + // + // See the associated BASReadDescriptor, above. +{ + int err; + struct msghdr msg; + struct iovec iov; + struct { + struct cmsghdr hdr; + int fd; + } control; + ssize_t bytesSent; + char ack; + + // Pre-conditions + + assert(fd >= 0); + assert(fdToWrite >= 0); + + control.hdr.cmsg_len = sizeof(control); + control.hdr.cmsg_level = SOL_SOCKET; + control.hdr.cmsg_type = SCM_RIGHTS; + control.fd = fdToWrite; + + iov.iov_base = (char *) &kDummyData; + iov.iov_len = sizeof(kDummyData); + + msg.msg_name = NULL; + msg.msg_namelen = 0; + msg.msg_iov = &iov; + msg.msg_iovlen = 1; + msg.msg_control = (caddr_t) &control; + msg.msg_controllen = control.hdr.cmsg_len; + msg.msg_flags = 0; + do { + bytesSent = sendmsg(fd, &msg, 0); + if (bytesSent == sizeof(kDummyData)) { + err = 0; + } else { + assert(bytesSent == -1); + + err = errno; + assert(err != 0); + } + } while (err == EINTR); + + // After writing the descriptor, try to read an ACK back from the + // recipient. If that fails, or we get the wrong ACK, we've failed. + + if (err == 0) { + err = BASRead(fd, &ack, sizeof(ack), NULL); + if ( (err == 0) && (ack != kACKData) ) { + err = EINVAL; + } + } + + return err; +} + +extern void BASCloseDescriptorArray( + CFArrayRef descArray +) + // See comment in header. +{ + int junk; + CFIndex descCount; + CFIndex descIndex; + + // I decided to allow descArray to be NULL because it makes it + // easier to call this routine using the code. + // + // BASCloseDescriptorArray((CFArrayRef) CFDictionaryGetValue(response, CFSTR(kBASDescriptorArrayKey))); + + if (descArray != NULL) { + if (CFGetTypeID(descArray) == CFArrayGetTypeID()) { + descCount = CFArrayGetCount(descArray); + + for (descIndex = 0; descIndex < descCount; descIndex++) { + CFNumberRef thisDescNum; + int thisDesc; + + thisDescNum = (CFNumberRef) CFArrayGetValueAtIndex(descArray, descIndex); + if ( (thisDescNum == NULL) + || (CFGetTypeID(thisDescNum) != CFNumberGetTypeID()) + || ! CFNumberGetValue(thisDescNum, kCFNumberIntType, &thisDesc) ) { + assert(false); + } else { + assert(thisDesc >= 0); + junk = close(thisDesc); + assert(junk == 0); + } + } + } else { + assert(false); + } + } +} + +static int BASReadDictioanaryTranslatingDescriptors(int fd, CFDictionaryRef *dictPtr) + // Reads a dictionary and its associated descriptors (if any) from fd, + // putting the dictionary (modified to include the translated descriptor + // numbers) in *dictPtr. + // + // On success, the caller is responsible for releasing *dictPtr and for + // closing any descriptors it references (BASCloseDescriptorArray makes + // the second part easy). +{ + int err; + int junk; + CFDictionaryRef dict; + CFArrayRef incomingDescs; + + // Pre-conditions + + assert(fd >= 0); + assert( dictPtr != NULL); + assert(*dictPtr == NULL); + + dict = NULL; + + // Read the dictionary. + + err = BASReadDictionary(fd, &dict); + + // Now read the descriptors, if any. + + if (err == 0) { + incomingDescs = (CFArrayRef) CFDictionaryGetValue(dict, CFSTR(kBASDescriptorArrayKey)); + if (incomingDescs == NULL) { + // No descriptors. Not much to do. Just use dict as the response, + // NULLing it out so that we don't release it at the end. + + *dictPtr = dict; + dict = NULL; + } else { + CFMutableArrayRef translatedDescs; + CFMutableDictionaryRef mutableDict; + CFIndex descCount; + CFIndex descIndex; + + // We have descriptors, so there's lots of stuff to do. Have to + // receive each of the descriptors assemble them into the + // translatedDesc array, then create a mutable dictionary based + // on response (mutableDict) and replace the + // kBASDescriptorArrayKey with translatedDesc. + + translatedDescs = NULL; + mutableDict = NULL; + + // Start by checking incomingDescs. + + if ( CFGetTypeID(incomingDescs) != CFArrayGetTypeID() ) { + err = EINVAL; + } + + // Create our output data. + + if (err == 0) { + translatedDescs = CFArrayCreateMutable(NULL, 0, &kCFTypeArrayCallBacks); + if (translatedDescs == NULL) { + err = coreFoundationUnknownErr; + } + } + if (err == 0) { + mutableDict = CFDictionaryCreateMutableCopy(NULL, 0, dict); + if (mutableDict == NULL) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + } + + // Now read each incoming descriptor, appending the results + // to translatedDescs as we go. By keeping our working results + // in translatedDescs, we make sure that we can clean up if + // we fail. + + if (err == 0) { + descCount = CFArrayGetCount(incomingDescs); + + // We don't actually depend on the descriptor values in the + // response (that is, the elements of incomingDescs), because + // they only make sense it the context of the sending process. + // All we really care about is the number of elements, which + // tells us how many times to go through this loop. However, + // just to be paranoid, in the debug build I check that the + // incoming array is well formed. + + #if !defined(NDEBUG) + for (descIndex = 0; descIndex < descCount; descIndex++) { + int thisDesc; + CFNumberRef thisDescNum; + + thisDescNum = (CFNumberRef) CFArrayGetValueAtIndex(incomingDescs, descIndex); + assert(thisDescNum != NULL); + assert(CFGetTypeID(thisDescNum) == CFNumberGetTypeID()); + assert(CFNumberGetValue(thisDescNum, kCFNumberIntType, &thisDesc)); + assert(thisDesc >= 0); + } + #endif + + // Here's the real work. For descCount times, read a descriptor + // from fd, wrap it in a CFNumber, and append it to translatedDescs. + // Note that we have to be very careful not to leak a descriptor + // if we get an error here. + + for (descIndex = 0; descIndex < descCount; descIndex++) { + int thisDesc; + CFNumberRef thisDescNum; + + thisDesc = -1; + thisDescNum = NULL; + + err = BASReadDescriptor(fd, &thisDesc); + if (err == 0) { + thisDescNum = CFNumberCreate(NULL, kCFNumberIntType, &thisDesc); + if (thisDescNum == NULL) { + err = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + } + if (err == 0) { + CFArrayAppendValue(translatedDescs, thisDescNum); + // The descriptor is now stashed in translatedDescs, + // so this iteration of the loop is no longer responsible + // for closing it. + thisDesc = -1; + } + + if (thisDescNum != NULL) { + CFRelease(thisDescNum); + } + if (thisDesc != -1) { + junk = close(thisDesc); + assert(junk == 0); + } + + if (err != 0) { + break; + } + } + } + + // Clean up and establish output parameters. + + if (err == 0) { + CFDictionarySetValue(mutableDict, CFSTR(kBASDescriptorArrayKey), translatedDescs); + *dictPtr = mutableDict; + } else { + BASCloseDescriptorArray(translatedDescs); + if (mutableDict != NULL) { + CFRelease(mutableDict); + } + } + if (translatedDescs != NULL) { + CFRelease(translatedDescs); + } + } + } + + if (dict != NULL) { + CFRelease(dict); + } + + assert( (err == 0) == (*dictPtr != NULL) ); + + return err; +} + +static int BASWriteDictionaryAndDescriptors(CFDictionaryRef dict, int fd) + // Writes a dictionary and its associated descriptors to fd. +{ + int err; + CFArrayRef descArray; + CFIndex descCount; + CFIndex descIndex; + + // Pre-conditions + + assert(dict != NULL); + assert(fd >= 0); + + // Write the dictionary. + + err = BASWriteDictionary(dict, fd); + + // Process any descriptors. The descriptors are indicated by + // a special key in the dictionary. If that key is present, + // it's a CFArray of CFNumbers that present the descriptors to be + // passed. + + if (err == 0) { + descArray = (CFArrayRef) CFDictionaryGetValue(dict, CFSTR(kBASDescriptorArrayKey)); + + // We only do the following if the special key is present. + + if (descArray != NULL) { + + // If it's not an array, that's bad. + + if ( CFGetTypeID(descArray) != CFArrayGetTypeID() ) { + err = EINVAL; + } + + // Loop over the array, getting each descriptor and writing it. + + if (err == 0) { + descCount = CFArrayGetCount(descArray); + + for (descIndex = 0; descIndex < descCount; descIndex++) { + CFNumberRef thisDescNum; + int thisDesc; + + thisDescNum = (CFNumberRef) CFArrayGetValueAtIndex(descArray, descIndex); + if ( (thisDescNum == NULL) + || (CFGetTypeID(thisDescNum) != CFNumberGetTypeID()) + || ! CFNumberGetValue(thisDescNum, kCFNumberIntType, &thisDesc) ) { + err = EINVAL; + } + if (err == 0) { + err = BASWriteDescriptor(fd, thisDesc); + } + + if (err != 0) { + break; + } + } + } + } + } + + return err; +} + +static OSStatus FindCommand( + CFDictionaryRef request, + const BASCommandSpec commands[], + size_t * commandIndexPtr +) + // FindCommand is a simple utility routine for checking that the + // command name within a request is valid (that is, matches one of the command + // names in the BASCommandSpec array). + // + // On success, *commandIndexPtr will be the index of the requested command + // in the commands array. On error, the value in *commandIndexPtr is undefined. +{ + OSStatus retval = noErr; + CFStringRef commandStr; + char * command; + UInt32 commandSize = 0; + size_t index = 0; + + // Pre-conditions + + assert(request != NULL); + assert(commands != NULL); + assert(commands[0].commandName != NULL); // there must be at least one command + assert(commandIndexPtr != NULL); + + command = NULL; + + // Get the command as a C string. To prevent untrusted command string from + // trying to run us out of memory, we limit its length to 1024 UTF-16 values. + + commandStr = CFDictionaryGetValue(request, CFSTR(kBASCommandKey)); + if ( (commandStr == NULL) || (CFGetTypeID(commandStr) != CFStringGetTypeID()) ) { + retval = paramErr; + } + commandSize = CFStringGetLength(commandStr); + if ( (retval == noErr) && (commandSize > 1024) ) { + retval = paramErr; + } + if (retval == noErr) { + size_t bufSize; + + bufSize = CFStringGetMaximumSizeForEncoding(CFStringGetLength(commandStr), kCFStringEncodingUTF8) + 1; + command = malloc(bufSize); + + if (command == NULL) { + retval = memFullErr; + } else if ( ! CFStringGetCString(commandStr, command, bufSize, kCFStringEncodingUTF8) ) { + retval = coreFoundationUnknownErr; + } + } + + // Search the commands array for that command. + + if (retval == noErr) { + do { + if ( strcmp(commands[index].commandName, command) == 0 ) { + *commandIndexPtr = index; + break; + } + index += 1; + if (commands[index].commandName == NULL) { + retval = BASErrnoToOSStatus(ENOENT); + break; + } + } while (true); + } + + free(command); + + return retval; +} + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Tool Code + +/* + Watchdog Timer + -------------- + BetterAuthorizationSampleLib's privileged helper tool server is single threaded. Thus, + it's possible for a broken or malicious client to stop progress within the helper + tool simply by sending the tool half a request. The single thread of execution + within the tool will wait forever for the rest of the request and, while it's + waiting, it won't be able to service other requests. Clearly this is not good. + + I contemplated a number of solutions to this problem, but eventually settled + on a very simple solution. When it starts processing a request, the tool + starts a watchdog timer. If the timer expires, the tool dies. The single + request that the tool is blocked on will fail (because our end of the per-connection + socket for that request closed when we died) and subsequent requests will + relaunch the tool on demand, courtesy of launchd. + + I use SIGALRM to implement this functionality. As stated in our header, the + BetterAuthorizationSampleLib code claims this signal and our clients are required not + to use it. Also, the default disposition for SIGALRM is to quit the process, + which is exactly what I want. +*/ + +static void EnableWatchdog(void) + // Start the watchdog timer. If you don't call DisableWatchdog before the + // timer expires, the process will die with a SIGALRM. +{ + (void) alarm(kWatchdogTimeoutInSeconds); +} + +static void DisableWatchdog(void) + // Disable the watchdog timer. +{ + (void) alarm(0); +} + +#if ! defined(NDEBUG) + + static bool CommandArraySizeMatchesCommandProcArraySize( + const BASCommandSpec commands[], + const BASCommandProc commandProcs[] + ) + { + size_t commandCount; + size_t procCount; + + commandCount = 0; + while ( commands[commandCount].commandName != NULL ) { + commandCount += 1; + } + + procCount = 0; + while ( commandProcs[procCount] != NULL ) { + procCount += 1; + } + + return (commandCount == procCount); + } + +#endif + +/* + On-The-'Wire' Protocol + ---------------------- + The on-the-'wire' protocol for a BetterAuthorizationSampleLib connection (from the + perspective of the client) is: + + connect + + send AuthorizationExternalForm (32 byte blob) + send request dictionary length (4 bytes, uint32_t, big endian) + send request dictionary (N bytes, flattened CFPropertyList) + + read response dictionary length (4 bytes, uint32_t, big endian) + read response dictionary (N bytes, flattened CFPropertyList) + for each descriptor in dictionary + read 1 byte ('D') with attached descriptor + write 1 byte ('A') + + close +*/ + +static int HandleConnection( + aslclient asl, + aslmsg aslMsg, + const BASCommandSpec commands[], + const BASCommandProc commandProcs[], + int fd +) + // This routine handles a single connection from a client. This connection, in + // turn, represents a single command (request/response pair). commands is the + // list of valid commands. commandProc is a callback to call to actually + // execute a command. Finally, fd is the file descriptor from which the request + // should be read, and to which the response should be sent. +{ + int retval; + OSStatus junk; + int junkInt; + AuthorizationExternalForm extAuth; + AuthorizationRef auth = NULL; + CFDictionaryRef request = NULL; + size_t commandIndex; + CFMutableDictionaryRef response = NULL; + OSStatus commandProcStatus; + + // Pre-conditions + + // asl may be NULL + // aslMsg may be NULL + assert(commands != NULL); + assert(commands[0].commandName != NULL); // there must be at least one command + assert(commandProcs != NULL); + assert( CommandArraySizeMatchesCommandProcArraySize(commands, commandProcs) ); + assert(fd >= 0); + + // Read in the external authorization reference. + retval = BASRead(fd, &extAuth, sizeof(extAuth), NULL); + + // Internalize external authorization reference. + if (retval == 0) { + retval = BASOSStatusToErrno( AuthorizationCreateFromExternalForm(&extAuth, &auth) ); + } + + // Read in CFDictionaryRef request (the command and its arguments). + if (retval == 0) { + retval = BASReadDictionary(fd, &request); + } + + // Create a mutable response dictionary before calling the client. + if (retval == 0) { + response = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); + if (response == NULL) { + retval = BASOSStatusToErrno( coreFoundationUnknownErr ); + } + } + + // Errors that occur within this block are considered command errors, that is, they're + // reported to the client in the kBASErrorKey value of the response dictionary + // (that is, BASExecuteRequestInHelperTool returns noErr and valid response dictionary with + // an error value in the kBASErrorKey entry of the dictionary). In contrast, other errors + // are considered IPC errors and generally result in a the client getting an error status + // back from BASExecuteRequestInHelperTool. + // + // Notably a request with an unrecognised command string will return an error code + // in the response, as opposed to an IPC error. This means that a client can check + // whether a tool supports a particular command without triggering an IPC teardown. + + if (retval == 0) { + // Get the command name from the request dictionary and check to see whether or + // not the command is valid by comparing with the BASCommandSpec array. Also, + // if the command is valid, return the associated right (if any). + + commandProcStatus = FindCommand(request, commands, &commandIndex); + + // Acquire the associated right for the command. If rightName is NULL, the + // commandProc is required to do its own authorization. + + if ( (commandProcStatus == noErr) && (commands[commandIndex].rightName != NULL) ) { + AuthorizationItem item = { commands[commandIndex].rightName, 0, NULL, 0 }; + AuthorizationRights rights = { 1, &item }; + + commandProcStatus = AuthorizationCopyRights( + auth, + &rights, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagExtendRights | kAuthorizationFlagInteractionAllowed, + NULL + ); + } + + // Call callback to execute command based on the request. + + if (commandProcStatus == noErr) { + commandProcStatus = commandProcs[commandIndex](auth, commands[commandIndex].userData, request, response, asl, aslMsg); + + if (commandProcStatus == noErr) { + junkInt = asl_log(asl, aslMsg, ASL_LEVEL_DEBUG, "Command callback succeeded"); + assert(junkInt == 0); + } else { + junkInt = asl_log(asl, aslMsg, ASL_LEVEL_DEBUG, "Command callback failed: %ld", (long) commandProcStatus); + assert(junkInt == 0); + } + } + + // If the command didn't insert its own error value, we use its function + // result as the error value. + + if ( ! CFDictionaryContainsKey(response, CFSTR(kBASErrorKey)) ) { + CFNumberRef numRef; + + numRef = CFNumberCreate(NULL, kCFNumberSInt32Type, &commandProcStatus); + if (numRef == NULL) { + retval = BASOSStatusToErrno( coreFoundationUnknownErr ); + } else { + CFDictionaryAddValue(response, CFSTR(kBASErrorKey), numRef); + CFRelease(numRef); + } + } + } + + // Write response back to the client. + if (retval == 0) { + retval = BASWriteDictionaryAndDescriptors(response, fd); + } + + // Clean up. + + if (response != NULL) { + // If there are any descriptors in response, we've now passed them off to the client, + // so we can (and must) close our references to them. + BASCloseDescriptorArray( CFDictionaryGetValue(response, CFSTR(kBASDescriptorArrayKey)) ); + CFRelease(response); + } + if (request != NULL) { + CFRelease(request); + } + if (auth != NULL) { + junk = AuthorizationFree(auth, kAuthorizationFlagDefaults); + assert(junk == noErr); + } + + return retval; +} + +#if !defined(NDEBUG) + + static void WaitForDebugger(aslclient asl, aslmsg aslMsg) + // You can force a debug version of the tool to stop and wait on + // launch using the following Terminal command: + // + // $ sudo launchctl stop com.example.BetterAuthorizationSample + // $ sudo launchctl setenv BASWaitForDebugger 1 + { + int err; + const char *value; + + // asl may be NULL + // aslMsg may be NULL + + value = getenv("BASWaitForDebugger"); + if ( ((value != NULL) && (atoi(value) != 0)) ) { + err = asl_log(asl, aslMsg, ASL_LEVEL_DEBUG, "Waiting for debugger"); + assert(err == 0); + (void) pause(); + } + } + +#endif + +static int CheckInWithLaunchd(aslclient asl, aslmsg aslMsg, const char **errStrPtr) + // Checks in with launchd and gets back our listening socket. + // Returns the socket as the function result (or -1 on error). + // Also, on error, set *errStrPtr to a error string suitable + // for logging with ASL. If the message contains a %m, which + // causes ASL to log errno, errno will be set appropriately. +{ + int err; + launch_data_t checkinRequest = NULL; + launch_data_t checkinResponse = NULL; + launch_data_t socketsDict; + launch_data_t fdArray; + launch_data_t fdData; + int fd = -1; + + // Pre-conditions + + // asl may be NULL + // aslMsg may be NULL + assert( errStrPtr != NULL); + assert(*errStrPtr == NULL); + + // Check in with launchd. Create a checkin request, then run it, then + // check if we got an error. + + checkinRequest = launch_data_new_string(LAUNCH_KEY_CHECKIN); + if (checkinRequest == NULL) { + *errStrPtr = "Could not create checkin request: %m"; + goto done; + } + checkinResponse = launch_msg(checkinRequest); + if (checkinResponse == NULL) { + *errStrPtr = "Error checking in: %m"; + goto done; + } + if (launch_data_get_type(checkinResponse) == LAUNCH_DATA_ERRNO) { + errno = launch_data_get_errno(checkinResponse); // set errno so %m picks it up + *errStrPtr = "Checkin failed: %m"; + goto done; + } + + // Retrieve the dictionary of sockets entries from the job. This corresponds to the + // value of the "Sockets" key in our plist file. + + socketsDict = launch_data_dict_lookup(checkinResponse, LAUNCH_JOBKEY_SOCKETS); + if (socketsDict == NULL) { + *errStrPtr = "Could not get socket dictionary from checkin response: %m"; + goto done; + } + if (launch_data_get_type(socketsDict) != LAUNCH_DATA_DICTIONARY) { + *errStrPtr = "Could not get socket dictionary from checkin response: Type mismatch"; + goto done; + } + if (launch_data_dict_get_count(socketsDict) > 1) { + err = asl_log(asl, aslMsg, ASL_LEVEL_WARNING, "Some sockets in dictionary will be ignored"); + assert(err == 0); + } + + // Get the dictionary value from the key "MasterSocket", as defined in the launchd + // property list file. + + fdArray = launch_data_dict_lookup(socketsDict, kLaunchDSocketDictKey); + if (fdArray == NULL) { + *errStrPtr = "Could not get file descriptor array: %m"; + goto done; + } + if (launch_data_get_type(fdArray) != LAUNCH_DATA_ARRAY) { + *errStrPtr = "Could not get file descriptor array: Type mismatch"; + goto done; + } + if (launch_data_array_get_count(fdArray) > 1) { + err = asl_log(asl, aslMsg, ASL_LEVEL_WARNING, "Some sockets in array will be ignored"); + assert(err == 0); + } + + // Get the socket file descriptor from the array. + + fdData = launch_data_array_get_index(fdArray, 0); + if (fdData == NULL) { + *errStrPtr = "Could not get file descriptor array entry: %m"; + goto done; + } + if (launch_data_get_type(fdData) != LAUNCH_DATA_FD) { + *errStrPtr = "Could not get file descriptor array entry: Type mismatch"; + goto done; + } + fd = launch_data_get_fd(fdData); + assert(fd >= 0); + + // The following was used to debug a problem with launchd . + // I'm going to leave it in, disabled, until that problem is resolved. + + if (false) { + err = asl_log(asl, aslMsg, ASL_LEVEL_INFO, "Listening descriptor is %d", fd); + assert(err == 0); + } + +done: + if (checkinResponse != NULL) { + launch_data_free(checkinResponse); + } + if (checkinRequest != NULL) { + launch_data_free(checkinRequest); + } + + return fd; +} + +static int SetNonBlocking(int fd, Boolean nonBlocking) + // Sets the non-blocking state of fd. +{ + int err; + int flags; + + // Pre-conditions + + assert(fd >= 0); + + // Get the flags. + + err = 0; + flags = fcntl(fd, F_GETFL); + if (flags < 0) { + err = errno; + } + + // If the current state of O_NONBLOCK doesn't match the required + // state, toggle that flag and set it back. + + if ( (err == 0) && (((flags & O_NONBLOCK) != 0) != nonBlocking) ) { + flags ^= O_NONBLOCK; + err = fcntl(fd, F_SETFL, flags); + if (err < 0) { + err = errno; + } + } + + return err; +} + +extern int BASHelperToolMain( + const BASCommandSpec commands[], + const BASCommandProc commandProcs[] +) + // See comment in header. +{ + const char * errStr = NULL; + int err; + aslclient asl = NULL; + aslmsg aslMsg = NULL; + sig_t pipeSet; + int listener; + int kq; + struct kevent initEvent; + + // Pre-conditions + + assert(commands != NULL); + assert(commands[0].commandName != NULL); // there must be at least one command + assert(commandProcs != NULL); + assert( CommandArraySizeMatchesCommandProcArraySize(commands, commandProcs) ); + + // Create a new ASL client object, and a template message for any messages that + // we log. We don't care if these fail because ASL will do the right thing + // if you pass it NULL (that is, nothing). + + asl = asl_open(NULL, "HelperTools", ASL_OPT_STDERR); + assert(asl != NULL); + + aslMsg = asl_new(ASL_TYPE_MSG); + assert(aslMsg != NULL); + + err = asl_log(asl, aslMsg, ASL_LEVEL_INFO, "Starting up"); + assert(err == 0); + + #if !defined(NDEBUG) + WaitForDebugger(asl, aslMsg); + #endif + + // Set up the signal handlers we are interested in. + // + // o SIGTERM -- launchd sends us this when it wants us to quit. We don't + // actually need to set up a handler because the default behaviour (process + // termination) is fine. + // + // o SIGALRM -- No need to set it up because the default behaviour (process + // termination) is fine. See the "Watchdog Timer" comment (above) for details. + // + // o SIGPIPE -- We don't want to quit when write to a dead socket, so we + // ignore this signal. + + pipeSet = signal(SIGPIPE, SIG_IGN); + if (pipeSet == SIG_ERR) { + errStr = "Could not ignore SIGPIPE: %m"; + goto done; + } + + // Check in with launchd and get our listening socket. + + listener = CheckInWithLaunchd(asl, aslMsg, &errStr); + if (listener < 0) { + assert(errStr != NULL); + goto done; + } + + // Create a kqueue and wrap the listening socket in it. + + kq = kqueue(); + if (kq < 0) { + errStr = "Could not create kqueue: %m"; + goto done; + } + + EV_SET(&initEvent, listener, EVFILT_READ, EV_ADD, 0, 0, NULL); + err = kevent(kq, &initEvent, 1, NULL, 0, NULL); + if (err < 0) { + errStr = "Could not add listening socket to kqueue: %m"; + goto done; + } + + // Force the listening socket to non-blocking mode. Without this, our timeout + // handling won't work properly. Specifically, we could get stuck in an accept + // if a connection request appears and then disappears. Eventually the watchdog + // would clean up, but that's not a great solution. + + err = SetNonBlocking(listener, true); + if (err != 0) { + errno = err; // for %m + errStr = "Could not check/set socket flags: %m"; + goto done; + } + + // Loop servicing connection requests one at a time. + + while (true) { + int eventCount; + struct kevent thisEvent; + int thisConnection; + int thisConnectionError; + struct sockaddr_storage clientAddr; // we don't need this info, but accept won't let us ignore it + socklen_t clientAddrLen = sizeof(clientAddr); + static const struct timespec kIdleTimeout = { kIdleTimeoutInSeconds , 0 }; + + // Wait on the kqueue for a connection request. + + eventCount = kevent(kq, NULL, 0, &thisEvent, 1, &kIdleTimeout); + if (eventCount == 0) { + // We've hit our idle timer. Just break out of the connection loop. + break; + } else if (eventCount == -1) { + // We got some sort of error from kevent; quit with an error. + errStr = "Unexpected error while listening for connections: %m"; + goto done; + } + + // From this point on, we're running on the watchdog timer. If we get + // stuck anywhere, the watchdog will fire eventually and we'll quit. + + EnableWatchdog(); + + // The accept should never get stuck because this is a non-blocking + // socket. + + thisConnection = accept(thisEvent.ident, (struct sockaddr *) &clientAddr, &clientAddrLen); + if (thisConnection == -1) { + if (errno == EWOULDBLOCK) { + // If the incoming connection just disappeared (perhaps the client + // died before we accepted the connection), don't log that as an error + // and don't quit. + err = asl_log(asl, aslMsg, ASL_LEVEL_INFO, "Connection disappeared before we could accept it: %m"); + assert(err == 0); + } else { + // Other errors mean that we're in a very weird state; we respond by + // failing out with an error. + errStr = "Unexpected error while accepting a connection: %m"; + goto done; + } + } + + // Because the accept can fail in a non-fatal fashion, thisConnection can be + // -1 here. In that case, we just skip the next step. + + if (thisConnection != -1) { + err = asl_log(asl, aslMsg, ASL_LEVEL_DEBUG, "Request started"); + assert(err == 0); + + // thisConnection inherits its non-blocking setting from listener, but + // we want it to be blocking from here on in, so we switch the status. + // We're now relying on the watchdog to kill us if we get stuck. + + thisConnectionError = BASErrnoToOSStatus( SetNonBlocking(thisConnection, false) ); + + // Entering heavy liftiing. We have a separate routine to actually + // read the request from the connection, call the client, and send + // the reply. + + if (thisConnectionError == noErr) { + thisConnectionError = HandleConnection(asl, aslMsg, commands, commandProcs, thisConnection); + } + + err = close(thisConnection); + assert(err == 0); + + if (thisConnectionError == 0) { + err = asl_log(asl, aslMsg, ASL_LEVEL_DEBUG, "Request finished"); + } else { + errno = thisConnectionError; // so it can be picked up by %m + err = asl_log(asl, aslMsg, ASL_LEVEL_ERR, "Request failed: %m"); + } + assert(err == 0); + } + + DisableWatchdog(); + } + +done: + // At this point, errStr is either NULL, in which case we're quitting because + // of our idle timer, or non-NULL, in which case we're dying with an error. + + // We expect the caller to immediately quit once we return. Thus, we + // don't bother cleaning up any resources we have allocated here, including + // asl, aslMsg, and kq. + + if (errStr != NULL) { + err = asl_log(asl, aslMsg, ASL_LEVEL_ERR, errStr); + assert(err == 0); + } + err = asl_log(asl, aslMsg, ASL_LEVEL_INFO, "Shutting down"); + assert(err == 0); + return (errStr == NULL) ? EXIT_SUCCESS : EXIT_FAILURE; +} + +///////////////////////////////////////////////////////////////// +#pragma mark ***** App Code + +extern void BASSetDefaultRules( + AuthorizationRef auth, + const BASCommandSpec commands[], + CFStringRef bundleID, + CFStringRef descriptionStringTableName +) + // See comment in header. +{ + OSStatus err; + CFBundleRef bundle; + size_t commandIndex; + + // Pre-conditions + + assert(auth != NULL); + assert(commands != NULL); + assert(commands[0].commandName != NULL); // there must be at least one command + assert(bundleID != NULL); + // descriptionStringTableName may be NULL + + bundle = CFBundleGetBundleWithIdentifier(bundleID); + assert(bundle != NULL); + + // For each command, set up the default authorization right specification, as + // indicated by the command specification. + + commandIndex = 0; + while (commands[commandIndex].commandName != NULL) { + // Some no-obvious assertions: + + // If you have a right name, you must supply a default rule. + // If you have no right name, you can't supply a default rule. + + assert( (commands[commandIndex].rightName == NULL) == (commands[commandIndex].rightDefaultRule == NULL) ); + + // If you have no right name, you can't supply a right description. + // OTOH, if you have a right name, you may supply a NULL right description + // (in which case you get no custom prompt). + + assert( (commands[commandIndex].rightName != NULL) || (commands[commandIndex].rightDescriptionKey == NULL) ); + + // If there's a right name but no current right specification, set up the + // right specification. + + if (commands[commandIndex].rightName != NULL) { + err = AuthorizationRightGet(commands[commandIndex].rightName, (CFDictionaryRef*) NULL); + if (err == errAuthorizationDenied) { + CFStringRef thisDescription; + CFStringRef thisRule; + + // The right is not already defined. Set up a definition based on + // the fields in the command specification. + + thisRule = CFStringCreateWithCString( + kCFAllocatorDefault, + commands[commandIndex].rightDefaultRule, + kCFStringEncodingUTF8 + ); + assert(thisRule != NULL); + + thisDescription = NULL; + if (commands[commandIndex].rightDescriptionKey != NULL) { + thisDescription = CFStringCreateWithCString ( + kCFAllocatorDefault, + commands[commandIndex].rightDescriptionKey, + kCFStringEncodingUTF8 + ); + assert(thisDescription != NULL); + } + + err = AuthorizationRightSet( + auth, // authRef + commands[commandIndex].rightName, // rightName + thisRule, // rightDefinition + thisDescription, // descriptionKey + bundle, // bundle + descriptionStringTableName // localeTableName + ); // NULL indicates "Localizable.strings" + assert(err == noErr); + + if (thisDescription != NULL) { + CFRelease(thisDescription); + } + if (thisRule != NULL) { + CFRelease(thisRule); + } + } else { + // A right already exists (err == noErr) or any other error occurs, we + // assume that it has been set up in advance by the system administrator or + // this is the second time we've run. Either way, there's nothing more for + // us to do. + } + } + commandIndex += 1; + } +} + +extern OSStatus BASExecuteRequestInHelperTool( + AuthorizationRef auth, + const BASCommandSpec commands[], + CFStringRef bundleID, + CFDictionaryRef request, + CFDictionaryRef * response +) + // See comment in header. +{ + OSStatus retval = noErr; + int junk; + size_t commandIndex; + char bundleIDC[PATH_MAX]; + int fd = -1; + struct sockaddr_un addr; + AuthorizationExternalForm extAuth; + + // Pre-conditions + + assert(auth != NULL); + assert(commands != NULL); + assert(commands[0].commandName != NULL); // there must be at least one command + assert(bundleID != NULL); + assert(request != NULL); + assert( response != NULL); + assert(*response == NULL); + + // For debugging. + + assert(CFDictionaryContainsKey(request, CFSTR(kBASCommandKey))); + assert(CFGetTypeID(CFDictionaryGetValue(request, CFSTR(kBASCommandKey))) == CFStringGetTypeID()); + + // Look up the command and preauthorize. This has the nice side effect that + // the authentication dialog comes up, in the typical case, here, rather than + // in the helper tool. This is good because the helper tool is global /and/ + // single threaded, so if it's waiting for an authentication dialog for user A + // it can't handle requests from user B. + + retval = FindCommand(request, commands, &commandIndex); + + #if !defined(BAS_PREAUTHORIZE) + #define BAS_PREAUTHORIZE 1 + #endif + #if BAS_PREAUTHORIZE + if ( (retval == noErr) && (commands[commandIndex].rightName != NULL) ) { + AuthorizationItem item = { commands[commandIndex].rightName, 0, NULL, 0 }; + AuthorizationRights rights = { 1, &item }; + + retval = AuthorizationCopyRights(auth, &rights, kAuthorizationEmptyEnvironment, kAuthorizationFlagExtendRights | kAuthorizationFlagInteractionAllowed | kAuthorizationFlagPreAuthorize, NULL); + } + #endif + + // Create the socket and tell it to not generate SIGPIPE. + + if (retval == noErr) { + fd = socket(AF_UNIX, SOCK_STREAM, 0); + if (fd == -1) { + retval = BASErrnoToOSStatus(errno); + } + } + if (retval == noErr) { + static const int kOne = 1; + + if ( setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &kOne, sizeof(kOne)) < 0 ) { + retval = BASErrnoToOSStatus(errno); + } + } + + // Form the socket address, including a path based on the bundle ID. + + if (retval == noErr) { + if ( ! CFStringGetFileSystemRepresentation(bundleID, bundleIDC, sizeof(bundleIDC)) ) { + retval = coreFoundationUnknownErr; + } + } + if (retval == noErr) { + int pathLen; + + memset(&addr, 0, sizeof(addr)); + + addr.sun_family = AF_UNIX; + pathLen = snprintf(addr.sun_path, sizeof(addr.sun_path), kBASSocketPathFormat, bundleIDC); + if (pathLen >= sizeof(addr.sun_path)) { + retval = paramErr; // length of bundle pushed us over the UNIX domain socket path length limit + } else { + addr.sun_len = SUN_LEN(&addr); + } + } + + // Attempt to connect. + + if (retval == noErr) { + if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) == -1) { + retval = BASErrnoToOSStatus(errno); + } + } + + // Send the flattened AuthorizationRef to the tool. + + if (retval == noErr) { + retval = AuthorizationMakeExternalForm(auth, &extAuth); + } + if (retval == noErr) { + retval = BASErrnoToOSStatus( BASWrite(fd, &extAuth, sizeof(extAuth), NULL) ); + } + + // Write the request. + + if (retval == noErr) { + retval = BASErrnoToOSStatus( BASWriteDictionary(request, fd) ); + } + + // Read response, including any descriptors. + + if (retval == noErr) { + retval = BASErrnoToOSStatus( BASReadDictioanaryTranslatingDescriptors(fd, response) ); + } + + // Clean up. + + if (fd != -1) { + junk = close(fd); + assert(junk == 0); + } + NormaliseOSStatusErrorCode(&retval); + + assert( (retval == noErr) == (*response != NULL) ); + + return retval; +} + +extern OSStatus BASGetErrorFromResponse(CFDictionaryRef response) + // See comment in header. +{ + OSStatus err; + CFNumberRef num; + + assert(response != NULL); + + num = (CFNumberRef) CFDictionaryGetValue(response, CFSTR(kBASErrorKey)); + err = noErr; + if ( (num == NULL) || (CFGetTypeID(num) != CFNumberGetTypeID()) ) { + err = coreFoundationUnknownErr; + } + if (err == noErr) { + if ( ! CFNumberGetValue(num, kCFNumberSInt32Type, &err) ) { + err = coreFoundationUnknownErr; + } + } + + NormaliseOSStatusErrorCode(&err); + return err; +} + +extern BASFailCode BASDiagnoseFailure( + AuthorizationRef auth, + CFStringRef bundleID +) + // See comment in header. +{ + BASFailCode retval = kBASFailUnknown; + int err; + int pathLen; + char bundleIDC [ PATH_MAX ]; + char toolPath [ PATH_MAX ]; + char plistPath [ PATH_MAX ]; + + struct stat fileStatus; + int toolErr; + int plistErr; + int fd; + struct sockaddr_un addr; + + // Pre-conditions + + assert(auth != NULL); + assert(bundleID != NULL); + + // Construct paths to the tool and plist. + + if ( CFStringGetFileSystemRepresentation(bundleID, bundleIDC, sizeof(bundleIDC)) ) { + + pathLen = snprintf(toolPath, sizeof(toolPath), kBASToolPathFormat, bundleIDC); + assert(pathLen < PATH_MAX); // snprintf truncated the string; won't crash us, but we want to know + + pathLen = snprintf(plistPath, sizeof(plistPath), kBASPlistPathFormat, bundleIDC); + assert(pathLen < PATH_MAX); // snprintf truncated the string; won't crash us, but we want to know + + // Check if files exist at those paths. + + toolErr = stat(toolPath, &fileStatus); + plistErr = stat(plistPath, &fileStatus); + + if ( (toolErr == 0) && (plistErr == 0) ) { + // If both items are present, try to connect and see what we get. + + fd = socket(AF_UNIX, SOCK_STREAM, 0); + if (fd != -1) { + memset(&addr, 0, sizeof(addr)); + + addr.sun_family = AF_UNIX; + (void) snprintf(addr.sun_path, sizeof(addr.sun_path), kBASSocketPathFormat, bundleIDC); + addr.sun_len = SUN_LEN(&addr); + + // Attempt to connect to the socket. If we get ECONNREFUSED, it means no one is + // listening. + + if ( (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) == -1) && (errno == ECONNREFUSED) ) { + retval = kBASFailDisabled; + } + err = close(fd); + assert(err == 0); + } + } else { + if ( (toolErr == 0) || (plistErr == 0) ) { + retval = kBASFailPartiallyInstalled; + } else { + retval = kBASFailNotInstalled; + } + } + } + + return retval; +} + +// kPlistTemplate is a template for our launchd.plist file. + +static const char * kPlistTemplate = + // The standard plist header. + + "\n" + "\n" + "\n" + "\n" + + // We install the job disabled, then enable it as the last step. + + " Disabled\n" + " \n" + + // Use the bundle identifier as the job label. + + " Label\n" + " %s\n" + + // Use launch on demaind. + + " OnDemand\n" + " \n" + + // There are no program arguments, other that the path to the helper tool itself. + // + // IMPORTANT + // kBASToolPathFormat embeds a %s + + " ProgramArguments\n" + " \n" + " " kBASToolPathFormat "\n" + " \n" + + // The tool is required to check in with launchd. + + " ServiceIPC\n" + " \n" + + // This specifies the UNIX domain socket used to launch the tool, including + // the permissions on the socket (438 is 0666). + // + // IMPORTANT + // kBASSocketPathFormat embeds a %s + + " Sockets\n" + " \n" + " " kLaunchDSocketDictKey "\n" + " \n" + " SockFamily\n" + " Unix\n" + " SockPathMode\n" + " 438\n" + " SockPathName\n" + " " kBASSocketPathFormat "\n" + " SockType\n" + " Stream\n" + " \n" + " \n" + "\n" + "\n" + ; + + +// Installation +// ------------ +// We install by running our "InstallTool" using AuthorizationExecuteWithPrivileges +// (AEWP) and passing the relevant parameters to it through AEWP. +// +// There is an obvious issue with the way we are handling installation as the user +// is executing some non-privileged code by way of AEWP. The scenario could exist +// that the code is malicious (or they have other malicious code running at the +// same time) and it could swap in any other tool that it would want executed as +// EUID == 0. +// +// We decided on this design primarily because the only other option was to run a +// shell via AEWP and pipe a script to it. That would have given us the nice +// properties of not having to have a separate installer on disk and the script +// could be embedded within the executable making it a little more difficult for +// casual hacking. +// +// However, running a shell as root is /not/ a very good paradigm to follow, thus, +// weighing the cost-benefits from a security perspective impelled us to just use +// a separate installer tool. The assumption being that, no matter what, if a user +// has malicious code running on their system the added security of having an +// embedded script is negligible and not worth pulling in an entire shell +// environment as root. +// +// The obvious disadvantages stem from the first advantage of the former, namely, +// it's a little more coding and accounting effort (-: +// +// +// What's This About Zombies? +// -------------------------- +// AuthorizationExecuteWithPrivileges creates a process that runs with privileges. +// This process is a child of our process. Thus, we need to reap the process +// (by calling ). If we don't do this, we create a 'zombie' +// process ( displays its status as "Z") that persists until +// our process quits (at which point the zombie gets reparented to launchd, and +// launchd automatically reaps it). Zombies are generally considered poor form. +// Thus, we want to avoid creating them. +// +// Unfortunately, AEWP doesn't return the process ID of the child process +// , which makes it challenging for us to reap it. We could +// reap all children (by passing -1 to waitpid) but that's not cool for library code +// (we could end up reaping a child process that's completely unrelated to this +// code, perhaps created by some other part of the host application). Thus, we need +// to find the child process's PID. And the only way to do that is for the child +// process to tell us. +// +// So, in the child process (the install tool) we echo the process ID and in the +// parent we look for that in the returned text. *sigh* It's pretty ugly, but +// that's the best I can come up with. We delimit the process ID with some +// pretty distinctive text to make it clear that we've got the right thing. + +#if !defined(NDEBUG) + + static Boolean gBASLogInteractions = false; + // Set gBASLogInteractions to have BASFixFailure log its interactions with + // the installation tool to stderr. + + static Boolean gBASLogInteractionsInitialised = false; + // This indicates whether we've initialised gBASLogInteractions from the + // environment variable. + +#endif + +static OSStatus RunInstallToolAsRoot( + AuthorizationRef auth, + const char * installToolPath, + const char * command, + ... +) + // Run the specified install tool as root. The arguments to the tool are + // given as a sequence of (char *)s, terminated be a NULL. The tool is + // expected to output special tokens to indicate success or failure. +{ + OSStatus retval; + size_t argCount; + size_t argIndex; + va_list ap; + char ** args; + Boolean success; + FILE * channel; + int junk; + pid_t childPID; + + // Pre-conditions + + assert(auth != NULL); + assert(installToolPath != NULL); + assert(command != NULL); + + channel = NULL; + args = NULL; + childPID = -1; + + // Count the number of arguments. + + argCount = 0; + va_start(ap, command); + while ( va_arg(ap, char *) != NULL ) { + argCount += 1; + } + va_end(ap); + + // Allocate an argument array and populate it, checking each argument along the way. + + retval = noErr; + args = calloc(argCount + 3, sizeof(char *)); // +3 for installToolPath, command and trailing NULL + if (args == NULL) { + retval = memFullErr; + } + if (retval == noErr) { + argIndex = 0; + + args[argIndex] = (char *) installToolPath; // Annoyingly, AEWP (and exec) takes a (char * const *) + argIndex += 1; // argument, implying that it might modify the individual + args[argIndex] = (char *) command; // strings. That means you can't pass a (const char *) to + argIndex += 1; // the routine. However, AEWP never modifies its input + // arguments, so we just cast away the const. + // *sigh* + va_start(ap, command); + do { + args[argIndex] = va_arg(ap, char *); + if (args[argIndex] == NULL) { + break; + } + argIndex += 1; + } while (true); + va_end(ap); + } + + // Go go gadget AEWP! + + if (retval == noErr) { + #if !defined(NDEBUG) + if ( ! gBASLogInteractionsInitialised ) { + const char * value; + + value = getenv("BASLogInteractions"); + gBASLogInteractions = ( ((value != NULL) && (atoi(value) != 0)) ); + + gBASLogInteractionsInitialised = true; + } + + if (gBASLogInteractions) { + argIndex = 0; + while (args[argIndex] != NULL) { + fprintf(stderr, "args[%zd] = %s\n", argIndex, args[argIndex]); + argIndex += 1; + } + } + #endif + retval = AuthorizationExecuteWithPrivileges(auth, args[0], kAuthorizationFlagDefaults, &args[1], &channel); + } + + // Process the tool's output. We read every line of output from the tool until + // we receive either an EOF or the success or failure tokens. + // + // AEWP provides us with no way to get to the tool's stderr or exit status, + // so we rely on the tool to send us this "oK" to indicate successful completion. + + if (retval == noErr) { + char thisLine[1024]; + long tmpLong; + int tmpInt; + + // This loops is a little more complex than you might expect. There are + // a number of reasons for this: + // + // o AEWP does not return us the child PID, so we have to scan the tool's + // output look for a line that contains that information (surrounded + // by special tokens). + // + // o Because we can't be guaranteed to get the child PID, we can't be + // guaranteed to get the child's exit status. Thus, rather than relying + // on the exit status, we have the child explicitly print special tokens + // on success and failure. + // + // o Because we're parsing special tokens anyway, we might as well extract + // the real error code from the failure token. + // + // o A change made to launchctl in Mac OS X 10.4.7 + // causes it to fork a copy of itself. The forked copy then delays + // for 30 seconds before doing some stuff, eventually printing a message + // like "Workaround Bonjour: 0". This causes us two problems. + // + // 1. The second copy of launchd still has our communications channel + // (that is, the other end of "channel") as its stdin/stdout. + // Thus, we don't get an EOF on channel until that copy quits. + // This causes a 30 second delay in installation. + // + // 2. The second copy of launchd prints its status line (that is, + // "Workaround Bonjour: 0") well after the tool prints the success + // token. + // + // I solved these problems by parsing each line for the success or failure + // token and ignoring any output after that. + // + // To minimise the danger of interpreting one of the tool's commands + // output as one of our tokens, I've given them a wacky case (for example, + // "oK", not "ok" or "OK" or "Ok"). + + do { + success = (fgets(thisLine, sizeof(thisLine), channel) != NULL); + if ( ! success ) { + // We hit the end of the output without seeing a success or failure + // token. Note good. errState is an ADSP error code, but it says + // exactly what I want to say and it's not likely to crop up any + // other way. + retval = errState; + break; + } + + // This echo doesn't work properly if the line coming back from the tool + // is longer than the line buffer. However, as the echo is only relevant for + // debugging, and the detection of the "oK" isn't affected by this problem, + // I'm going to leave it as it is. + + #if !defined(NDEBUG) + if (gBASLogInteractions) { + fprintf(stderr, ">%s", thisLine); + } + #endif + + // Look for the success token and terminate with no error in that case. + + if (strcmp(thisLine, kBASInstallToolSuccess "\n") == 0) { + assert(retval == noErr); + break; + } + + // Look for the failure token and extract the error result from that. + + if ( sscanf(thisLine, kBASInstallToolFailure "\n", &tmpInt) == 1 ) { + retval = BASErrnoToOSStatus( tmpInt ); + if (retval == noErr) { + assert(false); + retval = errState; + } + break; + } + + // If we haven't already found a child process ID, look for a line + // that contains it (surrounded by special tokens). For details, see + // the discussion of zombies above. + + if ( (childPID == -1) && (sscanf(thisLine, kBASAntiZombiePIDToken1 "%ld" kBASAntiZombiePIDToken2 "\n", &tmpLong) == 1) ) { + childPID = (pid_t) tmpLong; + } + } while (true); + } + + // If we successfully managed to determine the PID of our child process, reap + // that child. Note that we ignore any errors from this step. If an error + // occurs, we end up creating a zombie, which isn't too big a deal. We also + // junk the status result from the tool, relying exclusively on the presence + // of the "oK" in the output. + + #if !defined(NDEBUG) + if (gBASLogInteractions) { + fprintf(stderr, "childPID=%ld\n", (long) childPID); + } + #endif + if (childPID != -1) { + pid_t waitResult; + int junkStatus; + + do { + waitResult = waitpid(childPID, &junkStatus, 0); + } while ( (waitResult < 0) && (errno == EINTR) ); + } + + // Clean up. + + if (channel != NULL) { + junk = fclose(channel); + assert(junk == 0); + } + free(args); + + NormaliseOSStatusErrorCode(&retval); + return retval; +} + +static OSStatus BASInstall( + AuthorizationRef auth, + const char * bundleID, + const char * installToolPath, + const char * helperToolPath +) + // Do an install from scratch. Get the specified tool from the bundle + // and install it in the "/Library/PrivilegedHelperTools" directory, + // along with a plist in "/Library/LaunchDaemons". +{ + OSStatus retval; + int junk; + char * plistText; + int fd; + char plistPath[PATH_MAX]; + + // Pre-conditions + + assert(auth != NULL); + assert(bundleID != NULL); + assert(installToolPath != NULL); + assert(helperToolPath != NULL); + + // Prepare for failure + + plistText = NULL; + fd = -1; + plistPath[0] = 0; + + // Create the property list from the template, substituting the bundle identifier in + // three different places. I realise that this isn't very robust (if you change + // the template you have to change this code), but it is /very/ easy. + + retval = asprintf(&plistText, kPlistTemplate, bundleID, bundleID, bundleID); + if (retval < 0) { + retval = memFullErr; + } else { + retval = noErr; + } + + // Write the plist to a temporary file. + + if (retval == noErr) { + strlcpy(plistPath, "/tmp/BASTemp-XXXXXXXX.plist", sizeof(plistPath)); + + fd = mkstemps(plistPath, strlen( strrchr(plistPath, '.') ) ); + if (fd < 0) { + retval = BASErrnoToOSStatus( errno ); + } + } + if (retval == noErr) { + retval = BASErrnoToOSStatus( BASWrite(fd, plistText, strlen(plistText), NULL) ); + } + + // Run the tool as root using AuthorizationExecuteWithPrivileges. + + if (retval == noErr) { + retval = RunInstallToolAsRoot(auth, installToolPath, kBASInstallToolInstallCommand, bundleID, helperToolPath, plistPath, NULL); + } + + // Clean up. + + free(plistText); + if (fd != -1) { + junk = close(fd); + assert(junk == 0); + + junk = unlink(plistPath); + assert(junk == 0); + } + + return retval; +} + +static OSStatus GetToolPath(CFStringRef bundleID, CFStringRef toolName, char *toolPath, size_t toolPathSize) + // Given a bundle identifier and the name of a tool embedded within that bundle, + // get a file system path to the tool. +{ + OSStatus err; + CFBundleRef bundle; + Boolean success; + CFURLRef toolURL; + + assert(bundleID != NULL); + assert(toolName != NULL); + assert(toolPath != NULL); + assert(toolPathSize > 0); + + toolURL = NULL; + + err = noErr; + bundle = CFBundleGetBundleWithIdentifier(bundleID); + if (bundle == NULL) { + err = coreFoundationUnknownErr; + } + if (err == noErr) { + toolURL = CFBundleCopyAuxiliaryExecutableURL(bundle, toolName); + if (toolURL == NULL) { + err = coreFoundationUnknownErr; + } + } + if (err == noErr) { + success = CFURLGetFileSystemRepresentation(toolURL, true, (UInt8 *) toolPath, toolPathSize); + if ( ! success ) { + err = coreFoundationUnknownErr; + } + } + + if (toolURL != NULL) { + CFRelease(toolURL); + } + + return err; +} + +extern OSStatus BASFixFailure( + AuthorizationRef auth, + CFStringRef bundleID, + CFStringRef installToolName, + CFStringRef helperToolName, + BASFailCode failCode +) + // See comment in header. +{ + OSStatus retval; + Boolean success; + char bundleIDC[PATH_MAX]; + char installToolPath[PATH_MAX]; + char helperToolPath[PATH_MAX]; + + // Pre-conditions + + assert(auth != NULL); + assert(bundleID != NULL); + assert(installToolName != NULL); + assert(helperToolName != NULL); + + // Get the bundle identifier as a UTF-8 C string. Also, get paths for both of + // the tools. + + retval = noErr; + success = CFStringGetFileSystemRepresentation(bundleID, bundleIDC, sizeof(bundleIDC)); + if ( ! success ) { + retval = coreFoundationUnknownErr; + } + if (retval == noErr) { + retval = GetToolPath(bundleID, installToolName, installToolPath, sizeof(installToolPath)); + } + if (retval == noErr) { + retval = GetToolPath(bundleID, helperToolName, helperToolPath, sizeof(helperToolPath)); + } + + // Depending on the failure code, either run the enable command or the install + // from scratch command. + + if (retval == noErr) { + if (failCode == kBASFailDisabled) { + retval = RunInstallToolAsRoot(auth, installToolPath, kBASInstallToolEnableCommand, bundleIDC, NULL); + } else { + retval = BASInstall(auth, bundleIDC, installToolPath, helperToolPath); + } + } + + return retval; +} Property changes on: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c ___________________________________________________________________ Name: svn:executable + * Added: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.h (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.h 2008-08-01 14:07:22 UTC (rev 38876) @@ -0,0 +1,783 @@ +/* + File: BetterAuthorizationSampleLib.h + + Contains: Interface to reusable code for privileged helper tools. + + Written by: DTS + + Copyright: Copyright (c) 2007 Apple Inc. All Rights Reserved. + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple, Inc. + ("Apple") in consideration of your agreement to the following terms, and your + use, installation, modification or redistribution of this Apple software + constitutes acceptance of these terms. If you do not agree with these terms, + please do not use, install, modify or redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and subject + to these terms, Apple grants you a personal, non-exclusive license, under Apple's + copyrights in this original Apple software (the "Apple Software"), to use, + reproduce, modify and redistribute the Apple Software, with or without + modifications, in source and/or binary forms; provided that if you redistribute + the Apple Software in its entirety and without modifications, you must retain + this notice and the following text and disclaimers in all such redistributions of + the Apple Software. Neither the name, trademarks, service marks or logos of + Apple, Inc. may be used to endorse or promote products derived from the + Apple Software without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or implied, + are granted by Apple herein, including but not limited to any patent rights that + may be infringed by your derivative works or by other works in which the Apple + Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO + WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED + WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN + COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION + OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT + (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*/ + +#ifndef _BetterAuthorizationSampleLIB_H +#define _BetterAuthorizationSampleLIB_H + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +///////////////////////////////////////////////////////////////// + +/* + This header has extensive HeaderDoc comments. To see these comments in a more + felicitous form, you can generate HTML from the HeaderDoc comments using the + following command: + + $ headerdoc2html BetterAuthorizationSampleLib.h + $ open BetterAuthorizationSampleLib/index.html +*/ + +/*! + @header BetterAuthorizationSampleLib + + @abstract Reusable library for creating helper tools that perform privileged + operations on behalf of your application. + + @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. install the helper tool if it's not installed, or fix an installation if + it's broken (BASDiagnoseFailure and BASFixFailure) + + 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. kBASErrorKey -- In the response dictionary, this is the error result for + the request. Its value is an OSStatus-style error code. + + 3. kBASDescriptorArrayKey -- In the response dictionary, if present, this is + an array of file descriptors being returned from the helper tool. + + 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. 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. + + 3. Information to create the command's authorization right specification in the + policy database. The is used by the BASSetDefaultRules function. + + Finally, BetterAuthorizationSampleLib includes a number of utilities routines to help + wrangle error codes (BASErrnoToOSStatus, BASOSStatusToErrno, and BASGetErrorFromResponse) + and file descriptors (BASCloseDescriptorArray). +*/ + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Command Description + +/*! + @struct BASCommandSpec + + @abstract Describes a privileged operation to BetterAuthorizationSampleLib. + + @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. + + @field 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. + + @field 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. + + @field 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. + + @field 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. + + @field userData + This field is is for the benefit of the client; BetterAuthorizationSampleLib + does not use it in any way. +*/ + +struct BASCommandSpec { + const char * commandName; + const char * rightName; + const char * rightDefaultRule; + const char * rightDescriptionKey; + const void * userData; +}; +typedef struct BASCommandSpec BASCommandSpec; + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Request/Response Keys + +// Standard keys for the request dictionary + +/*! + @define kBASCommandKey + + @abstract Key for the command string within the request dictionary. + + @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. +*/ + +#define kBASCommandKey "com.apple.dts.BetterAuthorizationSample.command" // CFString + +// Standard keys for the response dictionary + +/*! + @define kBASErrorKey + + @abstract Key for the error result within the response dictionary. + + @discussion Within a response, this key must reference a number that is the error result + for the response, interpreted as an OSStatus. +*/ + +#define kBASErrorKey "com.apple.dts.BetterAuthorizationSample.error" // CFNumber + +/*! + @define kBASDescriptorArrayKey + + @abstract Key for a file descriptor array within the response dictionary. + + @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. +*/ + +#define kBASDescriptorArrayKey "com.apple.dts.BetterAuthorizationSample.descriptors" // CFArray of CFNumber + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Helper Tool Routines + +/*! + @functiongroup Helper Tool Routines +*/ + +/*! + @typedef BASCommandProc + + @abstract Command processing callback. + + @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. + + @param auth This is a reference to the authorization instance associated with the original + application that made the request. + + This will never be NULL. + + @param userData This is the value from the userData field of the corresponding entry in the + BASCommandSpec array that you passed to BASHelperToolMain. + + @param 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. + + @param 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. + + @param 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. + + @param 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. +*/ + +typedef OSStatus (*BASCommandProc)( + AuthorizationRef auth, + const void * userData, + CFDictionaryRef request, + CFMutableDictionaryRef response, + aslclient asl, + aslmsg aslMsg +); + +/*! + @function BASHelperToolMain + + @abstract Entry point for a privileged helper tool. + + @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. + + @param 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. + + @param 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. + + @result An integer representing EXIT_SUCCESS or EXIT_FAILURE. +*/ + +extern int BASHelperToolMain( + const BASCommandSpec commands[], + const BASCommandProc commandProcs[] +); + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Application Routines + +/*! + @functiongroup Application Routines +*/ + +/*! + @function BASSetDefaultRules + + @abstract Creates default right specifications in the policy database. + + @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. 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. + + You must call this function before calling BASExecuteRequestInHelperTool. + Typically you would call it at application startup time, or lazily, immediately + before calling BASExecuteRequestInHelperTool. + + @param auth A reference to your program's authorization instance; you typically get this + by calling AuthorizationCreate. + + This must not be NULL. + + @param commands An array that describes the commands that you implement, and their associated + rights. There must be at least one valid command. + + @param bundleID The bundle identifier for your program. + + This must not be NULL. + + @param 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. +*/ + +extern void BASSetDefaultRules( + AuthorizationRef auth, + const BASCommandSpec commands[], + CFStringRef bundleID, + CFStringRef descriptionStringTableName +); + +/*! + @function BASExecuteRequestInHelperTool + + @abstract Executes a request in the privileged helper tool, returning the response. + + @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. + + @param auth A reference to your program's authorization instance; you typically get this + by calling AuthorizationCreate. + + This must not be NULL. + + @param commands An array that describes the commands that you implement, and their associated + rights. There must be at least one valid command. + + @param bundleID The bundle identifier for your program. + + This must not be NULL. + + @param 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. + + @param 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. + + @result An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). +*/ + +extern OSStatus BASExecuteRequestInHelperTool( + AuthorizationRef auth, + const BASCommandSpec commands[], + CFStringRef bundleID, + CFDictionaryRef request, + CFDictionaryRef * response +); + +/*! + @enum BASFailCode + + @abstract Indicates why a request failed. + + @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. + + @constant kBASFailUnknown + Indicates that BASDiagnoseFailure could not accurately determine the cause of the + failure. + + @constant kBASFailDisabled + The request failed because the helper tool is installed but disabled. + + @constant kBASFailPartiallyInstalled + The request failed because the helper tool is only partially installed. + + @constant kBASFailNotInstalled + The request failed because the helper tool is not installed at all. + + @constant 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. +*/ + +enum { + kBASFailUnknown, + kBASFailDisabled, + kBASFailPartiallyInstalled, + kBASFailNotInstalled, + kBASFailNeedsUpdate +}; +typedef uint32_t BASFailCode; + +/*! + @function BASDiagnoseFailure + + @abstract Determines the cause of a failed request. + + @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. + + @param auth A reference to your program's authorization instance; you typically get this + by calling AuthorizationCreate. + + This must not be NULL. + + @param bundleID The bundle identifier for your program. + + This must not be NULL. + + @result A BASFailCode value indicating the cause of the failure. This will never be + kBASFailNeedsUpdate. +*/ + +extern BASFailCode BASDiagnoseFailure( + AuthorizationRef auth, + CFStringRef bundleID +); + +/*! + @function BASFixFailure + + @abstract Installs, or reinstalls, the privileged helper tool. + + @discussion This routine installs or reinstalls the privileged helper tool. Typically + you call this in response to an IPC failure talking to the tool. You first + diagnose the failure using BASDiagnoseFailure and then call this routine to + fix the failure by installing (or reinstalling) the tool. + + Because the helper tool is privileged, installing it is a privileged + operation. This routine will do its work by calling + AuthorizationExecuteWithPrivileges, which is likely to prompt the user + for an admin name and password. + + @param auth A reference to your program's authorization instance; you typically get this + by calling AuthorizationCreate. + + This must not be NULL. + + @param bundleID The bundle identifier for your program. + + This must not be NULL. + + @param installToolName + The name of the install tool within your bundle. You should place the tool + in the executable directory within the bundle. Specifically, the tool must be + available by passing this name to CFBundleCopyAuxiliaryExecutableURL. + + This must not be NULL. + + @param helperToolName + The name of the helper tool within your bundle. You should place the tool + in the executable directory within the bundle. Specifically, the tool must be + available by passing this name to CFBundleCopyAuxiliaryExecutableURL. + + This must not be NULL. + + @param failCode A value indicating the type of failure that's occurred. In most cases you get this + value by calling BASDiagnoseFailure. + + @result An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). +*/ + +extern OSStatus BASFixFailure( + AuthorizationRef auth, + CFStringRef bundleID, + CFStringRef installToolName, + CFStringRef helperToolName, + BASFailCode failCode +); + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Utility Routines + +/*! + @functiongroup Utilities +*/ + +/*! + @function BASErrnoToOSStatus + + @abstract Convert an errno value to an OSStatus value. + + @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 + . + + @param errNum The errno value to convert. + + @result An OSStatus code representing the errno equivalent. +*/ + +extern OSStatus BASErrnoToOSStatus(int errNum); + +/*! + @function BASOSStatusToErrno + + @abstract Convert an OSStatus value to an errno value. + + @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 + . + + @param errNum The OSStatus value to convert. + + @result An integer code representing the OSStatus equivalent. +*/ + +extern int BASOSStatusToErrno(OSStatus errNum); + +/*! + @function BASGetErrorFromResponse + + @abstract Extracts the error status from a helper tool response. + + @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. + + @param response A helper tool response, typically acquired by calling BASExecuteRequestInHelperTool. + + This must not be NULL + + @result An OSStatus code (see BASErrnoToOSStatus and BASOSStatusToErrno). +*/ + +extern OSStatus BASGetErrorFromResponse(CFDictionaryRef response); + +/*! + @function BASCloseDescriptorArray + + @abstract Closes all of the file descriptors referenced by a CFArray. + + @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)) ); + + @param descArray + The array containing the descriptors to close. + + This may be NULL, in which case the routine does nothing. +*/ + +extern void BASCloseDescriptorArray( + CFArrayRef descArray +); + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Utility Routines + +// The following definitions are exported purely for the convenience of the +// install tool ("BetterAuthorizationSampleLibInstallTool.c"). You must not +// use them in your own code. + +#if !defined(BAS_PRIVATE) + #define BAS_PRIVATE 0 +#endif +#if BAS_PRIVATE + + // Hard-wired file system paths for the launchd property list file and + // the privileged helper tool. In all cases, %s is a placeholder + // for the bundle ID (in file system representation). + + #define kBASPlistPathFormat "/Library/LaunchDaemons/%s.plist" + + #define kBASToolDirPath "/Library/PrivilegedHelperTools" // KEEP IN SYNC! + #define kBASToolPathFormat "/Library/PrivilegedHelperTools/%s" // KEEP IN SYNC! + + // Commands strings for the install tool. + + #define kBASInstallToolInstallCommand "install" + #define kBASInstallToolEnableCommand "enable" + + // Magic values used to bracket the process ID returned by the install tool. + + #define kBASAntiZombiePIDToken1 "cricket<" + #define kBASAntiZombiePIDToken2 ">bat" + + // Magic value used to indicate success or failure from the install tool. + + #define kBASInstallToolSuccess "oK" + #define kBASInstallToolFailure "FailUrE %d" + +#endif + +#ifdef __cplusplus +} +#endif + +#endif Property changes on: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.h ___________________________________________________________________ Name: svn:executable + * Name: svn:keywords + Id Name: svn:eol-style + native Added: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLibInstallTool.c =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLibInstallTool.c (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLibInstallTool.c 2008-08-01 14:07:22 UTC (rev 38876) @@ -0,0 +1,472 @@ +/* + File: BetterAuthorizationSampleLibInstallTool.c + + Contains: Tool to install BetterAuthorizationSampleLib-based privileged helper tools. + + Written by: DTS + + Copyright: Copyright (c) 2007 Apple Inc. All Rights Reserved. + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple, Inc. + ("Apple") in consideration of your agreement to the following terms, and your + use, installation, modification or redistribution of this Apple software + constitutes acceptance of these terms. If you do not agree with these terms, + please do not use, install, modify or redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and subject + to these terms, Apple grants you a personal, non-exclusive license, under Apple's + copyrights in this original Apple software (the "Apple Software"), to use, + reproduce, modify and redistribute the Apple Software, with or without + modifications, in source and/or binary forms; provided that if you redistribute + the Apple Software in its entirety and without modifications, you must retain + this notice and the following text and disclaimers in all such redistributions of + the Apple Software. Neither the name, trademarks, service marks or logos of + Apple, Inc. may be used to endorse or promote products derived from the + Apple Software without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or implied, + are granted by Apple herein, including but not limited to any patent rights that + may be infringed by your derivative works or by other works in which the Apple + Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO + WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED + WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN + COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION + OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT + (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// Allows access to path information associated with tool and plist installation +// from BetterAuthorizationSampleLib.h +#define BAS_PRIVATE 1 + +#include "BetterAuthorizationSampleLib.h" + +extern char **environ; + +static int RunLaunchCtl( + bool junkStdIO, + const char *command, + const char *plistPath +) + // Handles all the invocations of launchctl by doing the fork() + execve() + // for proper clean-up. Only two commands are really supported by our + // implementation; loading and unloading of a job via the plist pointed at + // (const char *) plistPath. +{ + int err; + const char * args[5]; + pid_t childPID; + pid_t waitResult; + int status; + + // Pre-conditions. + assert(command != NULL); + assert(plistPath != NULL); + + // Make sure we get sensible logging even if we never get to the waitpid. + + status = 0; + + // Set up the launchctl arguments. We run launchctl using StartupItemContext + // because, in future system software, launchctl may decide on the launchd + // to talk to based on your Mach bootstrap namespace rather than your RUID. + + args[0] = "/bin/launchctl"; + args[1] = command; // "load" or "unload" + args[2] = "-w"; + args[3] = plistPath; // path to plist + args[4] = NULL; + + fprintf(stderr, "launchctl %s %s '%s'\n", args[1], args[2], args[3]); + + // Do the standard fork/exec dance. + + childPID = fork(); + switch (childPID) { + case 0: + // child + err = 0; + + // If we've been told to junk the I/O for launchctl, open + // /dev/null and dup that down to stdin, stdout, and stderr. + + if (junkStdIO) { + int fd; + int err2; + + fd = open("/dev/null", O_RDWR); + if (fd < 0) { + err = errno; + } + if (err == 0) { + if ( dup2(fd, STDIN_FILENO) < 0 ) { + err = errno; + } + } + if (err == 0) { + if ( dup2(fd, STDOUT_FILENO) < 0 ) { + err = errno; + } + } + if (err == 0) { + if ( dup2(fd, STDERR_FILENO) < 0 ) { + err = errno; + } + } + err2 = close(fd); + if (err2 < 0) { + err2 = 0; + } + if (err == 0) { + err = err2; + } + } + if (err == 0) { + err = execve(args[0], (char **) args, environ); + } + if (err < 0) { + err = errno; + } + _exit(EXIT_FAILURE); + break; + case -1: + err = errno; + break; + default: + err = 0; + break; + } + + // Only the parent gets here. Wait for the child to complete and get its + // exit status. + + if (err == 0) { + do { + waitResult = waitpid(childPID, &status, 0); + } while ( (waitResult == -1) && (errno == EINTR) ); + + if (waitResult < 0) { + err = errno; + } else { + assert(waitResult == childPID); + + if ( ! WIFEXITED(status) || (WEXITSTATUS(status) != 0) ) { + err = EINVAL; + } + } + } + + fprintf(stderr, "launchctl -> %d %ld 0x%x\n", err, (long) childPID, status); + + return err; +} + +static int CopyFileOverwriting( + const char *sourcePath, + mode_t destMode, + const char *destPath +) + // Our own version of a file copy. This routine will either handle + // the copy of the tool binary or the plist file associated with + // that binary. As the function name suggests, it writes over any + // existing file pointed to by (const char *) destPath. +{ + int err; + int junk; + int sourceFD; + int destFD; + char buf[65536]; + + // Pre-conditions. + assert(sourcePath != NULL); + assert(destPath != NULL); + + (void) unlink(destPath); + + destFD = -1; + + err = 0; + sourceFD = open(sourcePath, O_RDONLY); + if (sourceFD < 0) { + err = errno; + } + + if (err == 0) { + destFD = open(destPath, O_CREAT | O_EXCL | O_WRONLY, destMode); + if (destFD < 0) { + err = errno; + } + } + + if (err == 0) { + ssize_t bytesReadThisTime; + ssize_t bytesWrittenThisTime; + ssize_t bytesWritten; + + do { + bytesReadThisTime = read(sourceFD, buf, sizeof(buf)); + if (bytesReadThisTime < 0) { + err = errno; + } + + bytesWritten = 0; + while ( (err == 0) && (bytesWritten < bytesReadThisTime) ) { + bytesWrittenThisTime = write(destFD, &buf[bytesWritten], bytesReadThisTime - bytesWritten); + if (bytesWrittenThisTime < 0) { + err = errno; + } else { + bytesWritten += bytesWrittenThisTime; + } + } + + } while ( (err == 0) && (bytesReadThisTime != 0) ); + } + + // Clean up. + + if (sourceFD != -1) { + junk = close(sourceFD); + assert(junk == 0); + } + if (destFD != -1) { + junk = close(destFD); + assert(junk == 0); + } + + fprintf(stderr, "copy '%s' %#o '%s' -> %d\n", sourcePath, (int) destMode, destPath, err); + + return err; +} + +static int InstallCommand( + const char * bundleID, + const char * toolSourcePath, + const char * plistSourcePath +) + // Heavy lifting function for handling all the necessary steps to install a + // helper tool in the correct location, with the correct permissions, + // and call launchctl in order to load it as a current job. +{ + int err; + char toolDestPath[PATH_MAX]; + char plistDestPath[PATH_MAX]; + struct stat sb; + static const mode_t kDirectoryMode = ACCESSPERMS & ~(S_IWGRP | S_IWOTH); + static const mode_t kExecutableMode = ACCESSPERMS & ~(S_IWGRP | S_IWOTH); + static const mode_t kFileMode = DEFFILEMODE & ~(S_IWGRP | S_IWOTH); + + // Pre-conditions. + assert(bundleID != NULL); + assert(toolSourcePath != NULL); + assert(plistSourcePath != NULL); + + (void) snprintf(toolDestPath, sizeof(toolDestPath), kBASToolPathFormat, bundleID); + (void) snprintf(plistDestPath, sizeof(plistDestPath), kBASPlistPathFormat, bundleID); + + // Stop the helper tool if it's currently running. + + (void) RunLaunchCtl(true, "unload", plistDestPath); + + // Create the PrivilegedHelperTools directory. The owner will be "root" because + // we're running as root (our EUID is 0). The group will be "admin" because + // it's inherited from "/Library". The permissions will be rwxr-xr-x because + // of kDirectoryMode combined with our umask. + + err = mkdir(kBASToolDirPath, kDirectoryMode); + if (err < 0) { + err = errno; + } + fprintf(stderr, "mkdir '%s' %#o -> %d\n", kBASToolDirPath, kDirectoryMode, err); + if ( (err == 0) || (err == EEXIST) ) { + err = stat(kBASToolDirPath, &sb); + if (err < 0) { + err = errno; + } + } + + // /Library/PrivilegedHelperTools may have come from a number of places: + // + // A. We may have just created it. In this case it will be + // root:admin rwxr-xr-x. + // + // B. It may have been correctly created by someone else. By definition, + // that makes it root:wheel rwxr-xr-x. + // + // C. It may have been created (or moved here) incorrectly (or maliciously) + // by someone else. In that case it will be u:g xxxxxxxxx, where u is + // not root, or root:g xxxxwxxwx (that is, root-owned by writeable by + // someone other than root). + // + // In case A, we want to correct the group. In case B, we want to do + // nothing. In case C, we want to fail. + + if (err == 0) { + if ( (sb.st_uid == 0) && (sb.st_gid == 0) ) { + // case B -- do nothing + } else if ( (sb.st_uid == 0) && (sb.st_gid != 0) && ((sb.st_mode & ALLPERMS) == kDirectoryMode) ) { + // case A -- fix the group ID + // + // This is safe because /Library is sticky and the file is owned + // by root, which means that only root can move it. Also, we + // don't have to worry about malicious files existing within the + // directory because its only writeable by root. + + err = chown(kBASToolDirPath, -1, 0); + if (err < 0) { + err = errno; + } + fprintf(stderr, "chown -1:0 '%s' -> %d\n", kBASToolDirPath, err); + } else { + fprintf(stderr, "bogus perms on '%s' %d:%d %o\n", kBASToolDirPath, (int) sb.st_uid, (int) sb.st_gid, (int) sb.st_mode); + err = EPERM; + } + } + + // Then create the known good copy. The ownership and permissions + // will be set appropriately, as described in the comments for mkdir. + // We don't have to worry about atomicity because this tool won't be + // looked at until our plist is installed. + + if (err == 0) { + err = CopyFileOverwriting(toolSourcePath, kExecutableMode, toolDestPath); + } + + // For the plist, our caller has created the file in /tmp and we just copy it + // into the correct location. This ensures that the file is complete + // and valid before anyone starts looking at it and will also overwrite + // any existing file with this new version. + // + // Since we have to read/write in the file byte by byte to make sure that + // the file is complete we are rolling our own 'copy'. This clearly is + // ignoring atomicity since we do not roll back to the state of 'what was + // previously there' if there is an error; rather, whatever has been + // written up to that point of granular failure /is/ the state of the + // plist file. + + if (err == 0) { + err = CopyFileOverwriting(plistSourcePath, kFileMode, plistDestPath); + } + + // Use launchctl to load our job. The plist file starts out disabled, + // so we pass "-w" to enable it permanently. + + if (err == 0) { + err = RunLaunchCtl(false, "load", plistDestPath); + } + + return err; +} + +static int EnableCommand( + const char *bundleID +) + // Utility function to call through to RunLaunchCtl in order to load a job + // given by the path contructed from the (const char *) bundleID. +{ + int err; + char plistPath[PATH_MAX]; + + // Pre-condition. + assert(bundleID != NULL); + + (void) snprintf(plistPath, sizeof(plistPath), kBASPlistPathFormat, bundleID); + err = RunLaunchCtl(false, "load", plistPath); + + return err; +} + +int main(int argc, char **argv) +{ + int err; + + // Print our PID so that the app can avoid creating zombies. + + fprintf(stdout, kBASAntiZombiePIDToken1 "%ld" kBASAntiZombiePIDToken2 "\n", (long) getpid()); + fflush(stdout); + + // On the client side, AEWP only gives a handle to stdout, so we dup stdout + // downto stderr for the rest of this tool. This ensures that all our output + // makes it to the client. + + err = dup2(STDOUT_FILENO, STDERR_FILENO); + if (err < 0) { + err = errno; + } else { + err = 0; + } + + // Set up the standard umask. The goal here is to be robust in the + // face of common environmental changes, not to resist a malicious attack. + // Also sync the RUID to the 0 because launchctl keys off the RUID (at least + // on 10.4.x). + + if (err == 0) { + (void) umask(S_IWGRP | S_IWOTH); + + err = setuid(0); + if (err < 0) { + fprintf(stderr, "setuid\n"); + err = EINVAL; + } + } + + if ( (err == 0) && (argc < 2) ) { + fprintf(stderr, "usage\n"); + err = EINVAL; + } + + // The first argument is the command. Switch off that and extract the + // remaining arguments and pass them to our command routines. + + if (err == 0) { + if ( strcmp(argv[1], kBASInstallToolInstallCommand) == 0 ) { + if (argc == 5) { + err = InstallCommand(argv[2], argv[3], argv[4]); + } else { + fprintf(stderr, "usage3\n"); + err = EINVAL; + } + } else if ( strcmp(argv[1], kBASInstallToolEnableCommand) == 0 ) { + if (argc == 3) { + err = EnableCommand(argv[2]); + } else { + fprintf(stderr, "usage4\n"); + err = EINVAL; + } + } else { + fprintf(stderr, "usage2\n"); + err = EINVAL; + } + } + + // Write "oK" to stdout and quit. The presence of the "oK" on the last + // line of output is used by the calling code to detect success. + + if (err == 0) { + fprintf(stderr, kBASInstallToolSuccess "\n"); + } else { + fprintf(stderr, kBASInstallToolFailure "\n", err); + } + + return (err == 0) ? EXIT_SUCCESS : EXIT_FAILURE; +} Property changes on: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLibInstallTool.c ___________________________________________________________________ Name: svn:executable + * Added: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c 2008-08-01 14:07:22 UTC (rev 38876) @@ -0,0 +1,36 @@ +/* + * MPHelperCommon.c + * MacPorts.Framework + * + * Created by George Armah on 7/31/08. + * Copyright 2008 Lafayette College. All rights reserved. + * + */ + +#include "MPHelperCommon.h" + + +/* + IMPORTANT + --------- + This array must be exactly parallel to the kMPHelperCommandProcs array + in "MPHelperTool.m". + */ + +const BASCommandSpec kMPHelperCommandSet[] = { + + { kMPHelperEvaluateTclCommand, //commandName + kMPHelperEvaluateTclRightsName, //rightName + "default", //rightDefaultRule -- by default, you have to have admin credentials + NULL, //rightDescriptionKey + NULL // userData ... I might use this to pass the NSError object later on + }, + + { NULL, //the array is null terminated + NULL, + NULL, + NULL, + NULL + } + +}; Added: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h 2008-08-01 14:07:22 UTC (rev 38876) @@ -0,0 +1,42 @@ +/* + * MPHelperCommon.h + * MacPorts.Framework + * + * Created by George Armah on 7/31/08. + * Copyright 2008 Lafayette College. All rights reserved. + * + */ + +#ifndef _MPHELPERCOMMON_H +#define _MPHELPERCOMMON_H + +#include "BetterAuthorizationSampleLib.h" + +//We need only one command for this Tool + +#define kMPHelperEvaluateTclCommand "EvaluateTcl" + + // authorization right name + + #define kMPHelperEvaluateTclRightsName "com.MacPorts.MacPortsFramework.EvaluateTcl" + + // request keys + // Should I put the NSError object in the request dictionary ? + // I'll try that for now and see how it goes + + //String to be Evlauted + #define kTclStringToBeEvaluated "TclString" //CFString + + + //response keys + #define kTclStringEvaluationResult "TclStringEvaluationResult" //CFString + + //Actually hold off doing errors for now + //NSError object we are passing + #define kNSErrorString "NSErrorString" //Am I allowed to pass in an NSError object? + //Lets make it a string for now + + +extern const BASCommandSpec kMPHelperCommandSet[]; + +#endif \ No newline at end of file Property changes on: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-01 14:07:22 UTC (rev 38876) @@ -6,193 +6,104 @@ // Copyright 2008 Lafayette College. All rights reserved. // +//#include +#include +//#include +#include + +#include +#include "BetterAuthorizationSampleLib.h" +#include "MPHelperCommon.h" + #import -#import #import #import "MPInterpreter.h" -#include -#include +static OSStatus DoEvaluateTclString ( + AuthorizationRef auth, + const void * userData, + CFDictionaryRef request, + CFMutableDictionaryRef response, + aslclient asl, + aslmsg aslMsg +) -// ///////////////////////////////////////////////////////////////////////////// -// exitCleanly -// -// Exits the program with the correct status and releases the autorelease pool. -void exitCleanly(int code, NSAutoreleasePool *pool) { - [pool release]; - exit(code); + OSStatus retval = noErr; + + //Pre conditions + assert(auth != NULL); + //userData may be NULL + assert(request != NULL); + assert(response != NULL); + //asl may be null + //aslMsg may be null + + //Get the NSString that was passed in the request dictionary + NSString * tclCmd; + CFStringRef cTclCmd = (CFStringRef)CFDictionaryGetValue(request, CFSTR(kTclStringToBeEvaluated)); + + if (cTclCmd != NULL) { + tclCmd = (NSString *) cTclCmd; + } + else { + //something went wrong ... do some error handling + retval = coreFoundationUnknownErr; + } + + MPInterpreter * interp = [MPInterpreter sharedInterpreter]; + NSError * evalError; + NSString * result = [interp evaluateStringAsString:tclCmd + error:&evalError]; + CFStringRef cResult = (CFStringRef) result; + + if( result != nil && evalError != nil) { + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), cResult); + } + else{ + //Try setting the user data pointer to the error + retval = coreFoundationUnknownErr; + } + + return retval; } +///////////////////////////////////////////////////////////////// +#pragma mark ***** Tool Infrastructure -//This code is adapted from : -// http://forums.macrumors.com/showthread.php?t=508394 +/* + IMPORTANT + --------- + This array must be exactly parallel to the kMPHelperCommandSet array + in "MPHelperCommon.c". + */ -//I will first try implementing this without any Authorization services. -//I just want a helper tool whose user id is set to 0 and can self repair itself -//I will be using message passing for IPC rather than piping or anything else -//like that. Check on IRC if there are any dangers in doing that. +static const BASCommandProc kMPHelperCommandProcs[] = { + DoEvaluateTclString, + NULL +}; -//Usage -// ./MPHelperTool --self-repair srOptions --rec-count recOptions interpCmd -// So argv is of size 6 ... no more no less +//Should I just do stuff in main and use the above method to +//just retrieve the string to be evaluated as a tcl command? -// srOptions is a C string with value of "yes" or "no" to tell us whether or not -// to run self repair - -//recOptions is a number telling us how many times we have been called recursively - -//interpCmd is a the - int main(int argc, char const * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - setuid(0); - NSLog(@"UID is %i", geteuid()); - //Check for right number of args - if (argc != 6) { - exitCleanly(TCL_ERROR , pool); - } + // Go directly into BetterAuthorizationSampleLib code. - //The second thing to check for is recOptions ... This method should be called - //recursively at most once. Its a bit weird but I think from the code above, - //this tool repairs itself AND THEN proceeds to execute the required command all in - //one process. This means the number of recursive calls should not exceed one. - //If we fail to self repair at the first try, we should just exit. - - - int recOptions = [[NSString stringWithCString:argv[4] encoding:NSUTF8StringEncoding] intValue]; - if (recOptions > 1) { - exitCleanly(TCL_ERROR, pool); - } - else { - ++recOptions; - } + // IMPORTANT + // BASHelperToolMain doesn't clean up after itself, so once it returns + // we must quit. + BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); - MPInterpreter * interp = [MPInterpreter sharedInterpreter]; - NSString * interpCmd = [NSString stringWithCString:argv[5] encoding:NSUTF8StringEncoding]; - NSString * _path_to_self = [[NSBundle mainBundle] pathForResource:@"MPHelperTool" - ofType:nil]; - //OSStatus status; - BOOL authenticatedMode = YES; - //AuthorizationRef auth; - //AuthorizationExternalForm extAuth; + [pool release]; - //This memory pointer should be valid till _path_to_self is freed or released - //in the autorelease pool .. in other words its save for our purposes - //and we dont' have to worry about releasing memory - const char * path_to_self = [_path_to_self cStringUsingEncoding:NSUTF8StringEncoding]; - - if (!strcmp(argv[1], "--self-repair") && !strcmp(argv[2], "yes") ) - { - NSLog(@"MacPortsFramework MPHelperTool main Self-repair. Starting"); - // We have started ourself in self-repair mode. This means that this executable is not owned by root and/or the setuid bit is not set. We need to recover that... - struct stat st; - int fd_tool; - - - //We don't need this code for now - /* Recover the passed in AuthorizationRef.*/ - - - /* Open tool exclusively, so noone can change it while we bless it */ - fd_tool = open(path_to_self, O_NONBLOCK|O_RDONLY|O_EXLOCK, 0); - - if (fd_tool == -1) - { - NSLog(@"MacPortsFramework MPHelperTool main Self-Repair. Exclusive open while repairing tool failed: %d.",errno); - exitCleanly(-1,pool); - } - - if (fstat(fd_tool, &st)) - { - NSLog(@"MacPortsFramework MPHelperTool main Self-Repair. fstat failed"); - exitCleanly(-1,pool); - } - - if (st.st_uid != 0) - { - fchown(fd_tool, 0, st.st_gid); - } - - - /* Disable group and world writability and make setuid root. */ - fchmod(fd_tool, (st.st_mode & (~(S_IWGRP|S_IWOTH))) | S_ISUID); - - close(fd_tool); - - NSLog(@"MacPortsFramework MPHelperTool main Self-repair. Complete"); - authenticatedMode = YES; - - - /*/Hopefully this works - int result = [interp execute:_path_to_self - withArgs:[NSArray arrayWithObjects:SELF_REPAIR, @"no", REC_COUNT, - [NSString stringWithFormat:@"%d", recOptions], interpCmd, nil]]; - - exitCleanly(result, pool);*/ - - - } - else - { - //To Do - //Add code here to receive Authorization reference from somwhere - - authenticatedMode = YES; - } - - /* If we are not running as root we need to self-repair. But we don't want to do it more than once - which means */ - if (authenticatedMode && geteuid() != 0) - { - NSLog(@"MacPortsFramework MPHelperTool main Normal-Mode. Not running as root! Starting self-repair mode."); - - //We run again in self repair mode. I am assuming that this new "forked" process - // will be able to repair the binary and execute the command successfully ... - //if it fails I guess i should return something to that effect? - int result = [interp execute:_path_to_self - withArgs:[NSArray arrayWithObjects:SELF_REPAIR, @"yes", REC_COUNT, - [NSString stringWithFormat:@"%d", recOptions], interpCmd, nil]]; - - - //Is the above method guaranteed to always complete before the - //program execution gets here? - exitCleanly(result, pool); - - - } - - //Now we can finally execute the method ... whew - if (interpCmd != nil) { - NSError * evalError; - NSLog(@"Executin Tcl command %@", interpCmd); - - NSString * result = [interp evaluateStringAsString:interpCmd - error:&evalError]; - if(result == nil && evalError) { - NSLog(@"Command %@ exited with Error %@", interpCmd, evalError); - exitCleanly(TCL_ERROR,pool); - } - else { - NSLog(@"Command %@ returned %@", interpCmd, result); - exitCleanly(TCL_OK, pool); - } - /*while(*argv != NULL) { - NSLog(@"Passed parameter is %@", [NSString stringWithCString:*argv]); - ++argv; - }*/ - } - - [pool release]; - - return 0; } Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-01 14:07:22 UTC (rev 38876) @@ -47,6 +47,7 @@ //Defining some flags for MPHelperTool #define SELF_REPAIR @"--self-repair" #define REC_COUNT @"--rec-count" +#define MP_HELPER @"MPHelperTool" #define MPPackage @"macports" #define MPPackageVersion @"1.0" @@ -65,10 +66,12 @@ @interface MPInterpreter : NSObject { Tcl_Interp* _interpreter; + NSString * helperToolInterpCommand; } + /*! @brief Return singleton shared MPInterpreter instance */ @@ -170,5 +173,6 @@ - (NSString *)getVariableAsString:(NSString *)variable; - +//For testing helper tool +-(NSString *)evaluateStringWithMPHelperTool:(NSString *)statement; @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-01 14:07:22 UTC (rev 38876) @@ -34,7 +34,17 @@ */ #import "MPInterpreter.h" +#include "BetterAuthorizationSampleLib.h" +#include "MPHelperCommon.h" + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Globals + +static AuthorizationRef mpAuth; + +#pragma mark - + @implementation MPInterpreter #pragma mark Notifications Code @@ -138,7 +148,56 @@ } #pragma mark - +#pragma mark Authorization Code +//Internal method for setting up Authorizatin Reference +//Called during initialization of interpreter object +//This is a bit weird: Since MPInterpreter is compiled twice First for the helper +//tool and then for the Framework, we want to call this method only when it is +//being compiled for the Framework ... hence we check that the main bundle name is +//MacPorts.Framework before initializing authorization +-(void) initializeAuthorization { + //I'll probably regret doing this later on + //but whatever .... + char * username = "armahg"; + char * password = "200485"; + + OSStatus junk; + + //Create Environment specific to this machine for tesitng purposes + AuthorizationItem envItems[2]; + envItems[0].name = kAuthorizationEnvironmentPassword; + envItems[0].value = password; + envItems[0].valueLength = strlen(password); + envItems[0].flags = 0; + + envItems[1].name = kAuthorizationEnvironmentUsername; + envItems[1].value = username; + envItems[1].valueLength = strlen(username); + envItems[1].flags = 0; + + AuthorizationItemSet env = { 2 , envItems }; + + AuthorizationFlags envFlags; + envFlags = kAuthorizationFlagDefaults | + kAuthorizationFlagExtendRights | + kAuthorizationFlagPreAuthorize; + + + junk = AuthorizationCreate(NULL, &env, envFlags, &mpAuth); + assert(junk == noErr); + //assert (junk == noErr) == (mpAuth != NULL); + + NSString * bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; + + BASSetDefaultRules(mpAuth, + kMPHelperCommandSet, + (CFStringRef) bundleID, + NULL); + +} + +#pragma mark - #pragma mark MPInterpreter Code - (id) init { @@ -185,6 +244,12 @@ Tcl_DeleteInterp(_interpreter); } + //Initialize helperToolInterpCommand + helperToolInterpCommand = @""; + + //Initialize Authorization stuff should probably check for errors .... + [self initializeAuthorization]; + } return self; } @@ -193,6 +258,7 @@ return _interpreter; } + + (MPInterpreter*)sharedInterpreter { return [self sharedInterpreterWithPkgPath:MP_DEFAULT_PKG_PATH]; } @@ -351,5 +417,55 @@ return [NSString stringWithUTF8String:Tcl_GetVar(_interpreter, [variable UTF8String], 0)]; } - +- (NSString *) evaluateStringWithMPHelperTool:(NSString *) statement { + OSStatus err; + BASFailCode failCode; + NSString * bundleID; + NSDictionary * request; + CFDictionaryRef response; + + response = NULL; + + request = [NSDictionary dictionaryWithObjectsAndKeys: + @kMPHelperEvaluateTclCommand, @kBASCommandKey, + statement, @kTclStringToBeEvaluated, nil]; + assert(request != NULL); + + bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; + NSLog(@" %@ ", bundleID); + assert(bundleID != NULL); + + + err = BASExecuteRequestInHelperTool(mpAuth, + kMPHelperCommandSet, + (CFStringRef) bundleID, + (CFDictionaryRef) request, + &response); + + //Try to recover + if ( (err != noErr) && (err != userCanceledErr) ) { + failCode = BASDiagnoseFailure(mpAuth, (CFStringRef) bundleID); + + err = BASFixFailure(mpAuth, + (CFStringRef) bundleID, + CFSTR("MPHelperInstallTool"), + CFSTR("MPHelperTool"), + failCode); + + if (err == noErr) { + err = BASExecuteRequestInHelperTool(mpAuth, + kMPHelperCommandSet, + (CFStringRef) bundleID, + (CFDictionaryRef) request, + &response); + } + } + else { + err = userCanceledErr; + } + + CFStringRef result = CFDictionaryGetValue(response, CFSTR(kTclStringEvaluationResult)); + + return (NSString *) result; +} @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h 2008-08-01 14:07:22 UTC (rev 38876) @@ -43,7 +43,7 @@ - (void)testInitialization; - (void)testGetVariableAsArray; -//- (void)testMPHelperTool; +- (void)testMPHelperTool; //- (void)testMutableDictionaryFromTclListAsString; //- (void)testEvaluateStringAsString; Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-01 14:07:22 UTC (rev 38876) @@ -58,14 +58,11 @@ } -/* + - (void)testMPHelperTool { - //Interesting ... we'll see who MPInterpreter belongs to - //at the time of execution MPHelperTool ... or MacPorts.Framework - [interp execute:[[NSBundle bundleForClass:MPInterpreter] pathForResource:@"MPHelperTool" ofType:nil] - withArgs:[NSArray arrayWithObjects:@"--sel-repair", @"no", @"--rec-count", - @"0", @"mportselfupdate", nil]]; + //Here goes nothing + [interp evaluateStringWithMPHelperTool:@"mportsync"]; } /* Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h 2008-08-01 14:07:22 UTC (rev 38876) @@ -49,9 +49,9 @@ -(void) testPathToPortIndex; //-(void) testDepends; //-(void) testSearch; --(void) testSync; +//-(void) testSync; -(void) testVersion; //-(void) testInstall; --(void) testMPHelperTool; +//-(void) testMPHelperTool; @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m 2008-08-01 14:07:22 UTC (rev 38876) @@ -74,7 +74,7 @@ STAssertNotNil(searchResults, @"This dictionary should have at least %d key value pairs", [searchResults count]); } - +/* -(void) testSync { NSError * syncError = nil; [testPort sync:&syncError]; @@ -89,7 +89,7 @@ } -/* + -(void) testSelfupdate { //The only way to test this that I know of is to listen for the posted notifications //and take actions as appropriate @@ -104,22 +104,6 @@ } --(void) testMPHelperTool { - NSLog(@"Testing MPHelperTool"); - NSTask *task = [[NSTask alloc] init]; - [task setLaunchPath:[[NSBundle bundleForClass:[MPMacPorts class]] - pathForResource:@"MPHelperTool" - ofType:nil]]; - - NSArray * args = [NSArray arrayWithObjects:SELF_REPAIR, @"no", - REC_COUNT, @"0", @"return [macports::version]", nil]; - [task setArguments:args]; - - [task launch]; - - [task release]; - -} /* Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-01 12:15:55 UTC (rev 38875) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-01 14:07:22 UTC (rev 38876) @@ -44,19 +44,27 @@ 6E49F37B0DFFAB0B0030C3AF /* MPInterpreterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 489DD92E0C94674B00595506 /* MPInterpreterTest.m */; }; 6E49F37F0DFFAFF80030C3AF /* MacPorts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* MacPorts.framework */; }; 6EA294590E080DEB00902D12 /* MPMacPortsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E88D1CB0DF4B90B00684E9F /* MPMacPortsTest.m */; }; + 6EB6F7C40E432A840057962C /* MPHelperTool in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6ED12A4A0E3E552F0026773D /* MPHelperTool */; }; + 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; + 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */; }; + 6EC260760E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; + 6EC260770E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */; }; + 6EC260970E4272D20013BC48 /* MPHelperCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260950E4272D20013BC48 /* MPHelperCommon.h */; }; + 6EC260980E4272D20013BC48 /* MPHelperCommon.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260960E4272D20013BC48 /* MPHelperCommon.c */; }; + 6EC260990E4272D20013BC48 /* MPHelperCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260950E4272D20013BC48 /* MPHelperCommon.h */; }; + 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260960E4272D20013BC48 /* MPHelperCommon.c */; }; + 6EC2609B0E4273920013BC48 /* BetterAuthorizationSampleLibInstallTool.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */; }; + 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */; }; + 6EC2614F0E42959B0013BC48 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12AA60E3E7E900026773D /* Cocoa.framework */; }; 6ED12A4F0E3E55660026773D /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ED12A4E0E3E55660026773D /* MPHelperTool.m */; }; 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; 6ED12A560E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; - 6ED12A5A0E3E56420026773D /* MPHelperTool in Resources */ = {isa = PBXBuildFile; fileRef = 6ED12A4A0E3E552F0026773D /* MPHelperTool */; }; - 6ED12AA30E3E7E7C0026773D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12AA20E3E7E7C0026773D /* Foundation.framework */; }; - 6ED12AA70E3E7E900026773D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12AA60E3E7E900026773D /* Cocoa.framework */; }; 6ED12AC90E3E94310026773D /* MPInterpreter.m in Sources */ = {isa = PBXBuildFile; fileRef = 48906AFC0C4230B700A3ED8A /* MPInterpreter.m */; }; 6ED12AD20E3E9AC30026773D /* MPInterpreter.h in Headers */ = {isa = PBXBuildFile; fileRef = 48906AFB0C4230B700A3ED8A /* MPInterpreter.h */; }; 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */; }; 6ED12AFB0E3E9F980026773D /* MPNotifications.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E270D070E158CED00BAE687 /* MPNotifications.h */; }; 6ED12AFC0E3E9FA60026773D /* MPNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E270D080E158CED00BAE687 /* MPNotifications.m */; }; 6ED12B060E3EA9E30026773D /* init.tcl in Resources */ = {isa = PBXBuildFile; fileRef = 48E9939E0C82CEB000219DDF /* init.tcl */; }; - 6ED12C9E0E40C3320026773D /* template.c in Resources */ = {isa = PBXBuildFile; fileRef = 6ED12C9D0E40C3320026773D /* template.c */; }; 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; /* End PBXBuildFile section */ @@ -69,15 +77,35 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = MacPorts; }; + 6EC2608B0E4270110013BC48 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6EC260860E426FF10013BC48; + remoteInfo = MPHelperInstallTool; + }; 6ED12A520E3E55A50026773D /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = 6ED12A490E3E552F0026773D /* MPHelperTool */; + remoteGlobalIDString = 6ED12A490E3E552F0026773D; remoteInfo = MPHelperTool; }; /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ + 6EB6F7B00E4326F40057962C /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 6; + files = ( + 6EB6F7C40E432A840057962C /* MPHelperTool in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; @@ -114,13 +142,17 @@ 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 = ""; }; + 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 = ""; }; + 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = BetterAuthorizationSampleLibInstallTool.c; sourceTree = ""; }; + 6EC260870E426FF10013BC48 /* MPHelperInstallTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperInstallTool; sourceTree = BUILT_PRODUCTS_DIR; }; + 6EC260950E4272D20013BC48 /* MPHelperCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPHelperCommon.h; sourceTree = ""; }; + 6EC260960E4272D20013BC48 /* MPHelperCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MPHelperCommon.c; sourceTree = ""; }; + 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; 6ED12A4A0E3E552F0026773D /* MPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; 6ED12A4E0E3E55660026773D /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; 6ED12A540E3E55DF0026773D /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = ""; }; - 6ED12AA20E3E7E7C0026773D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 6ED12AA60E3E7E900026773D /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 6ED12C2D0E405E660026773D /* finkLauncher.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = finkLauncher.c; sourceTree = ""; }; - 6ED12C9D0E40C3320026773D /* template.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = template.c; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* MacPorts.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MacPorts.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -134,14 +166,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 6EC260850E426FF10013BC48 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 6ED12A480E3E552F0026773D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */, - 6ED12AA30E3E7E7C0026773D /* Foundation.framework in Frameworks */, - 6ED12AA70E3E7E900026773D /* Cocoa.framework in Frameworks */, 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */, + 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */, + 6EC2614F0E42959B0013BC48 /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -164,6 +203,7 @@ 8DC2EF5B0486A6940098B216 /* MacPorts.framework */, 489DD8F40C94365F00595506 /* Test.octest */, 6ED12A4A0E3E552F0026773D /* MPHelperTool */, + 6EC260870E426FF10013BC48 /* MPHelperInstallTool */, ); name = Products; sourceTree = ""; @@ -181,8 +221,8 @@ 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, 034768DFFF38A50411DB9C8B /* Products */, 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */, - 6ED12AA20E3E7E7C0026773D /* Foundation.framework */, 6ED12AA60E3E7E900026773D /* Cocoa.framework */, + 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */, ); name = "MacPorts Foundation"; sourceTree = ""; @@ -290,9 +330,12 @@ 6ED12A460E3E54A80026773D /* MPHelperTool */ = { isa = PBXGroup; children = ( + 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */, + 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */, + 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */, 6ED12A4E0E3E55660026773D /* MPHelperTool.m */, - 6ED12C2D0E405E660026773D /* finkLauncher.c */, - 6ED12C9D0E40C3320026773D /* template.c */, + 6EC260950E4272D20013BC48 /* MPHelperCommon.h */, + 6EC260960E4272D20013BC48 /* MPHelperCommon.c */, ); name = MPHelperTool; sourceTree = ""; @@ -306,6 +349,8 @@ files = ( 6ED12AFB0E3E9F980026773D /* MPNotifications.h in Headers */, 6ED12AD20E3E9AC30026773D /* MPInterpreter.h in Headers */, + 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */, + 6EC260970E4272D20013BC48 /* MPHelperCommon.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -322,6 +367,8 @@ 48A866AA0CD364F700B521BC /* MPReceipt.h in Headers */, 481D04A20CDAAAFD00D4A550 /* MPMutableDictionary.h in Headers */, 6E270D090E158CED00BAE687 /* MPNotifications.h in Headers */, + 6EC260770E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */, + 6EC260990E4272D20013BC48 /* MPHelperCommon.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -347,6 +394,22 @@ productReference = 489DD8F40C94365F00595506 /* Test.octest */; productType = "com.apple.product-type.bundle"; }; + 6EC260860E426FF10013BC48 /* MPHelperInstallTool */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6EC260940E4270420013BC48 /* Build configuration list for PBXNativeTarget "MPHelperInstallTool" */; + buildPhases = ( + 6EC260840E426FF10013BC48 /* Sources */, + 6EC260850E426FF10013BC48 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MPHelperInstallTool; + productName = MPHelperInstallTool; + productReference = 6EC260870E426FF10013BC48 /* MPHelperInstallTool */; + productType = "com.apple.product-type.tool"; + }; 6ED12A490E3E552F0026773D /* MPHelperTool */ = { isa = PBXNativeTarget; buildConfigurationList = 6ED12A500E3E55660026773D /* Build configuration list for PBXNativeTarget "MPHelperTool" */; @@ -374,11 +437,13 @@ 8DC2EF540486A6940098B216 /* Sources */, 8DC2EF560486A6940098B216 /* Frameworks */, 6E49F4F40E00DD520030C3AF /* ShellScript */, + 6EB6F7B00E4326F40057962C /* CopyFiles */, ); buildRules = ( ); dependencies = ( 6ED12A530E3E55A50026773D /* PBXTargetDependency */, + 6EC2608C0E4270110013BC48 /* PBXTargetDependency */, ); name = MacPorts; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -402,6 +467,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( + 6EC260860E426FF10013BC48 /* MPHelperInstallTool */, 6ED12A490E3E552F0026773D /* MPHelperTool */, 8DC2EF4F0486A6940098B216 /* MacPorts */, 489DD8F30C94365F00595506 /* Test */, @@ -423,7 +489,6 @@ buildActionMask = 2147483647; files = ( 6ED12B060E3EA9E30026773D /* init.tcl in Resources */, - 6ED12C9E0E40C3320026773D /* template.c in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -431,7 +496,6 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 6ED12A5A0E3E56420026773D /* MPHelperTool in Resources */, 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, 48E9939F0C82CEB000219DDF /* init.tcl in Resources */, 6E44A00D0E2DAD66007DE8EC /* ToDo.txt in Resources */, @@ -492,6 +556,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 6EC260840E426FF10013BC48 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6EC2609B0E4273920013BC48 /* BetterAuthorizationSampleLibInstallTool.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 6ED12A470E3E552F0026773D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -499,6 +571,8 @@ 6ED12AC90E3E94310026773D /* MPInterpreter.m in Sources */, 6ED12AFC0E3E9FA60026773D /* MPNotifications.m in Sources */, 6ED12A4F0E3E55660026773D /* MPHelperTool.m in Sources */, + 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */, + 6EC260980E4272D20013BC48 /* MPHelperCommon.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -514,6 +588,8 @@ 481D04A30CDAAAFD00D4A550 /* MPMutableDictionary.m in Sources */, 4825ECC40CE61468006B0385 /* MPRegistry.m in Sources */, 6E270D0A0E158CED00BAE687 /* MPNotifications.m in Sources */, + 6EC260760E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */, + 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -525,6 +601,11 @@ target = 8DC2EF4F0486A6940098B216 /* MacPorts */; targetProxy = 6E1AE8460E232D0700F6D7BC /* PBXContainerItemProxy */; }; + 6EC2608C0E4270110013BC48 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6EC260860E426FF10013BC48 /* MPHelperInstallTool */; + targetProxy = 6EC2608B0E4270110013BC48 /* PBXContainerItemProxy */; + }; 6ED12A530E3E55A50026773D /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 6ED12A490E3E552F0026773D /* MPHelperTool */; @@ -689,6 +770,36 @@ }; name = Release; }; + 6EC260890E426FF30013BC48 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = /usr/local/bin; + PREBINDING = NO; + PRODUCT_NAME = MPHelperInstallTool; + }; + name = Debug; + }; + 6EC2608A0E426FF30013BC48 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = /usr/local/bin; + PREBINDING = NO; + PRODUCT_NAME = MPHelperInstallTool; + ZERO_LINK = NO; + }; + name = Release; + }; 6ED12A4C0E3E55300026773D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -770,6 +881,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 6EC260940E4270420013BC48 /* Build configuration list for PBXNativeTarget "MPHelperInstallTool" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EC260890E426FF30013BC48 /* Debug */, + 6EC2608A0E426FF30013BC48 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 6ED12A500E3E55660026773D /* Build configuration list for PBXNativeTarget "MPHelperTool" */ = { isa = XCConfigurationList; buildConfigurations = ( -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/d7354d97/attachment-0001.html From ryandesign at macports.org Fri Aug 1 07:17:37 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 07:17:37 -0700 Subject: propchange - r37140 svn:log Message-ID: <20080801141737.09DE5420002@relay12.apple.com> Author: ryandesign at macports.org (original author: simon at macports.org) Revision: 37140 Property Name: svn:log @@ -1 +1 @@ -java/maven: Fixed distfile fetch; fix can be removed after next MacPorts release. +java/maven: Fixed distfile fetch; see #14654. Fix can be removed after next MacPorts release. From ryandesign at macports.org Fri Aug 1 07:52:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 07:52:56 -0700 (PDT) Subject: [38877] trunk/dports/multimedia/ffmpeg/Portfile Message-ID: <20080801145256.A35871AB617@beta.macosforge.org> Revision: 38877 http://trac.macosforge.org/projects/macports/changeset/38877 Author: ryandesign at macports.org Date: 2008-08-01 07:52:55 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ffmpeg: use gmake to build; #16137 Modified Paths: -------------- trunk/dports/multimedia/ffmpeg/Portfile Modified: trunk/dports/multimedia/ffmpeg/Portfile =================================================================== --- trunk/dports/multimedia/ffmpeg/Portfile 2008-08-01 14:07:22 UTC (rev 38876) +++ trunk/dports/multimedia/ffmpeg/Portfile 2008-08-01 14:52:55 UTC (rev 38877) @@ -36,7 +36,8 @@ master_sites distfiles worksrcdir trunk -depends_build bin:svn:subversion +depends_build bin:svn:subversion port:gmake +build.cmd gmake set svn_rev 14381 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/5f86950b/attachment.html From ryandesign at macports.org Fri Aug 1 07:54:03 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 07:54:03 -0700 (PDT) Subject: [38878] trunk/dports/multimedia/ffmpeg/Portfile Message-ID: <20080801145403.F24CE1AB6A0@beta.macosforge.org> Revision: 38878 http://trac.macosforge.org/projects/macports/changeset/38878 Author: ryandesign at macports.org Date: 2008-08-01 07:54:03 -0700 (Fri, 01 Aug 2008) Log Message: ----------- ffmpeg: enable parallel build Modified Paths: -------------- trunk/dports/multimedia/ffmpeg/Portfile Modified: trunk/dports/multimedia/ffmpeg/Portfile =================================================================== --- trunk/dports/multimedia/ffmpeg/Portfile 2008-08-01 14:52:55 UTC (rev 38877) +++ trunk/dports/multimedia/ffmpeg/Portfile 2008-08-01 14:54:03 UTC (rev 38878) @@ -35,6 +35,7 @@ homepage http://ffmpeg.sourceforge.net/ master_sites distfiles +use_parallel_build yes worksrcdir trunk depends_build bin:svn:subversion port:gmake build.cmd gmake -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/79a62d25/attachment.html From ryandesign at macports.org Fri Aug 1 08:04:31 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 08:04:31 -0700 (PDT) Subject: [38879] trunk/dports/multimedia/transcode/Portfile Message-ID: <20080801150431.C23731AB795@beta.macosforge.org> Revision: 38879 http://trac.macosforge.org/projects/macports/changeset/38879 Author: ryandesign at macports.org Date: 2008-08-01 08:04:31 -0700 (Fri, 01 Aug 2008) Log Message: ----------- transcode: update to 1.1.0beta0 by maintainer David Liontooth Modified Paths: -------------- trunk/dports/multimedia/transcode/Portfile Modified: trunk/dports/multimedia/transcode/Portfile =================================================================== --- trunk/dports/multimedia/transcode/Portfile 2008-08-01 14:54:03 UTC (rev 38878) +++ trunk/dports/multimedia/transcode/Portfile 2008-08-01 15:04:31 UTC (rev 38879) @@ -3,8 +3,7 @@ PortSystem 1.0 name transcode -version 1.1.0alpha7 -revision 1 +version 1.1.0beta0 categories multimedia maintainers cremes at mac.com liontooth at cogweb.net description Video and audio processing tools @@ -31,8 +30,8 @@ use_bzip2 yes checksums ${distname}${extract.suffix} \ - md5 1f2f2df059c801038743f2a8210c2fb5 \ - sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2 + md5 6f188b74c64595c30df82fcbc0bb22f3 \ + sha1 e0d146278937da76682ba88c2719726f20ab9493 depends_lib port:automake \ port:autoconf \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/b30efa58/attachment.html From dluke at macports.org Fri Aug 1 09:11:34 2008 From: dluke at macports.org (dluke at macports.org) Date: Fri, 1 Aug 2008 09:11:34 -0700 (PDT) Subject: [38880] trunk/dports/net/nmap/Portfile Message-ID: <20080801161134.DD2DB1AB952@beta.macosforge.org> Revision: 38880 http://trac.macosforge.org/projects/macports/changeset/38880 Author: dluke at macports.org Date: 2008-08-01 09:11:33 -0700 (Fri, 01 Aug 2008) Log Message: ----------- version bump, nmap to 4.68 Modified Paths: -------------- trunk/dports/net/nmap/Portfile Modified: trunk/dports/net/nmap/Portfile =================================================================== --- trunk/dports/net/nmap/Portfile 2008-08-01 15:04:31 UTC (rev 38879) +++ trunk/dports/net/nmap/Portfile 2008-08-01 16:11:33 UTC (rev 38880) @@ -3,7 +3,7 @@ PortSystem 1.0 name nmap -version 4.60 +version 4.68 categories net maintainers opendarwin.org at darkart.com dluke at geeklair.net description Port scanning utility for large networks @@ -25,9 +25,9 @@ master_sites http://download.insecure.org/nmap/dist/ \ ftp://nuxi.ucdavis.edu/pub/misc/ -checksums md5 6201551054050c11182fd6dd91682cb1 \ - sha1 554cf5639579e87018e5ea33828ae546211be431 \ - rmd160 2b2e84764f6cfb0367260e351e1134203996bc82 +checksums md5 c363d32a00c697d15996fced22072b6c \ + sha1 48cea9fa286e339a1e426e856889c6dd62c25e97 \ + rmd160 a0f1968a16efb8529b609df978fd9b5e4e3ecda4 depends_lib port:libpcap \ port:openssl \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/29e7ccf7/attachment.html From eridius at macports.org Fri Aug 1 11:18:59 2008 From: eridius at macports.org (eridius at macports.org) Date: Fri, 1 Aug 2008 11:18:59 -0700 (PDT) Subject: [38881] trunk/dports/sysutils/ntfsprogs/Portfile Message-ID: <20080801181859.70B9D1ABED3@beta.macosforge.org> Revision: 38881 http://trac.macosforge.org/projects/macports/changeset/38881 Author: eridius at macports.org Date: 2008-08-01 11:18:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Mark ntfsprogs as nomaintainer Modified Paths: -------------- trunk/dports/sysutils/ntfsprogs/Portfile Modified: trunk/dports/sysutils/ntfsprogs/Portfile =================================================================== --- trunk/dports/sysutils/ntfsprogs/Portfile 2008-08-01 16:11:33 UTC (rev 38880) +++ trunk/dports/sysutils/ntfsprogs/Portfile 2008-08-01 18:18:58 UTC (rev 38881) @@ -6,7 +6,7 @@ version 2.0.0 categories sysutils platforms darwin -maintainers eridius at macports.org +maintainers nomaintainer description a collection of utilities for doing stuff with NTFS volumes long_description $description -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/a4632b37/attachment.html From portindex at macports.org Fri Aug 1 12:53:58 2008 From: portindex at macports.org (portindex at macports.org) Date: Fri, 1 Aug 2008 12:53:58 -0700 (PDT) Subject: [38882] trunk/dports/PortIndex Message-ID: <20080801195359.D75871AC28F@beta.macosforge.org> Revision: 38882 http://trac.macosforge.org/projects/macports/changeset/38882 Author: portindex at macports.org Date: 2008-08-01 12:53:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Total number of ports parsed: 4945 Ports successfully parsed: 4945 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-01 18:18:58 UTC (rev 38881) +++ trunk/dports/PortIndex 2008-08-01 19:53:58 UTC (rev 38882) @@ -112,8 +112,8 @@ variants universal description {customizable search engine helper for OS X} portdir aqua/huevos homepage http://ranchero.com/huevos/ epoch 0 platforms darwin name huevos long_description {Huevos is a customizable search engine helper for Mac OS X. Its easy to use: type in some text to search for, choose a search engine, then hit the Return key.} maintainers nomaintainer version 1.1 categories {aqua www} revision 0 iTerm 565 variants universal description {Enhanced terminal emulator program for Mac OS X} portdir aqua/iTerm homepage http://iterm.sourceforge.net epoch 0 platforms macosx name iTerm long_description {iTerm is a full featured terminal emulation program written for OS X using Cocoa. We are aiming at providing users with best command line experience under OS X. The letter i represents a native Apple look and feel of the program interface, and an emphasis on complete international support.} maintainers waqar at macports.org categories {aqua shells} version 0.8.2 revision 0 -ihook 511 -variants universal description {A graphical interface frontend for commandline executables} portdir aqua/ihook homepage http://rsug.itd.umich.edu/software/ihook/ epoch 0 platforms macosx name ihook long_description {iHook is a graphical frontend for any commandline executable. It gives scripts a pleasant Aqua face, and allows script writers to provide graphical feedback without having to learn one of the higher APIs available for Mac OS X.} maintainers nomaintainer version 1.1.0 categories aqua revision 0 +ihook 507 +variants universal description {A graphical interface frontend for commandline executables} portdir aqua/ihook homepage http://rsug.itd.umich.edu/software/ihook/ epoch 0 platforms macosx name ihook long_description {iHook is a graphical frontend for any commandline executable. It gives scripts a pleasant Aqua face, allows script writers to provide graphical feedback without having to learn one of the higher APIs available for Mac OS X.} maintainers nomaintainer version 1.1.0 categories aqua revision 0 istumbler 685 variants {universal use_binary use_source} variant_desc {use_binary {Install from binary distribution (default)} use_source {Build from source (does not work)}} portdir aqua/istumbler description {iStumbler is an Aqua GUI for finding wireless networks} homepage http://www.istumbler.net/ epoch 0 platforms macosx name istumbler maintainers nomaintainer long_description {iStumbler is a free, open source tool for finding 802.11b & 802.11g wireless networks. iStumbler combines a compact Aqua user interface with visual feedback of signal strength and encryption. Use the +use_binary (default) variant as building from source remains problematic.} categories aqua version 98 revision 0 launch 606 @@ -1920,8 +1920,8 @@ variants {universal darwin} portdir fuse/sshfs description {SSH filesystem for FUSE} homepage http://fuse.sourceforge.net/sshfs.html epoch 0 platforms darwin name sshfs depends_lib {port:gettext port:glib2 port:macfuse port:libiconv port:pkgconfig port:openssh} maintainers eridius at macports.org long_description {This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.} version 1.9 categories fuse revision 0 sshfs-gui 361 variants universal portdir fuse/sshfs-gui description {OS X GUI for sshfs} homepage http://code.google.com/p/macfuse/ epoch 0 depends_run port:sshfs platforms macosx name sshfs-gui maintainers eridius at macports.org long_description {This is an OS X Cocoa GUI on top of sshfs that makes it easy to set up new sshfs mounts.} categories fuse version 1.3 revision 0 -2Pong 406 -variants universal portdir games/2Pong description {Pong game with 2 balls, 2 and 4 player support} homepage http://twopong.sourceforge.net/ epoch 0 platforms darwin name 2Pong depends_lib {bin:sdl-config:libsdl lib:libSDL_image:libsdl_image lib:libSDL_mixer:libsdl_mixer} maintainers nomaintainer long_description {{Pong game with 2 balls, 2 and 4 player support}} version 0.6 categories games revision 0 +2Pong 372 +variants universal portdir games/2Pong description {Pong game with 2 balls, 2 and 4 player support} homepage http://twopong.sourceforge.net/ epoch 0 platforms darwin name 2Pong depends_lib {port:libsdl port:libsdl_image port:libsdl_mixer} maintainers nomaintainer long_description {{Pong game with 2 balls, 2 and 4 player support}} version 0.6 categories games revision 1 54321 600 variants universal depends_build {port:libiconv port:zlib} portdir games/54321 description {5 games in 4, 3, or 2 dimensions for 1 player} homepage http://www.nklein.com/products/54321/ epoch 0 platforms macosx depends_lib {port:libsdl port:libsdl_image port:libpng} name 54321 maintainers nomaintainer long_description {54321 is five games in four-, three-, or two-dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions. For more information, see the help within the game.} version 1.0.2001.11.16 categories games revision 0 CrimsonFields 524 @@ -1934,8 +1934,8 @@ variants {universal darwin} portdir games/SDLInvaders description {simple clone of the famous Space Invaders game.} homepage http://sourceforge.net/projects/sdlinvaders epoch 0 platforms darwin name SDLInvaders depends_lib {port:libsdl port:libsdl_image port:libsdl_mixer} maintainers nomaintainer long_description {{simple clone of the famous Space Invaders game.}} version 0.8.0 categories games revision 0 advancemenu 509 variants universal portdir games/advancemenu description {advanced frontend for many emulators} homepage http://advancemame.sourceforge.net/menu-readme.html epoch 0 platforms darwin name advancemenu depends_lib {bin:sdl-config:libsdl lib:freetype:freetype lib:libz:zlib lib:libexpat:expat} maintainers nomaintainer long_description {AdvanceMENU is a frontend with sound and animated previews of your games for AdvanceMAME, MAME, MESS, RAINE and any other emulator.} version 2.4.12 categories games revision 0 -alienblaster 423 -variants {universal darwin} portdir games/alienblaster description {action loaded 2D arcade shooter for up to two players} homepage http://www.schwardtnet.de/alienblaster/ epoch 0 platforms darwin name alienblaster depends_lib {bin:sdl-config:libsdl lib:libSDL_mixer:libsdl_mixer} maintainers nomaintainer long_description {{action loaded 2D arcade shooter for up to two players}} version 1.1.0 categories games revision 0 +alienblaster 401 +variants {universal darwin} portdir games/alienblaster description {action loaded 2D arcade shooter for up to two players} homepage http://www.schwardtnet.de/alienblaster/ epoch 0 platforms darwin name alienblaster depends_lib {port:libsdl port:libsdl_mixer} maintainers nomaintainer long_description {{action loaded 2D arcade shooter for up to two players}} version 1.1.0 categories games revision 0 amphetamine 369 variants universal portdir games/amphetamine description {jump 'n' run game} homepage http://n.ethz.ch/student/loehrerl/amph/amph.html epoch 0 platforms darwin name amphetamine depends_lib lib:libSDL:libsdl maintainers nomaintainer long_description {Amphetamine is a cool Jump'n Run game offering some unique visual effects.} version 0.8.10 categories games revision 0 angband 521 @@ -1982,8 +1982,8 @@ variants universal description {Create ASCII character cursive handwriting} portdir games/cursive homepage http://puck.nether.net/ epoch 0 platforms darwin name cursive long_description {Cursive is a program for generating cursive signatures and text like ___ _ __ _ ( ) ' ) / // _/_ __/___. ____ / / / __|/ / _ __ / / (_/|_/ / (_ (_(_/ (_) _(__(/_/ (_ (_/ Do not be fooled by inferior immitations (like the figlet font which doesn't connect letters right). This is the one and only original cursive program.} maintainers nomaintainer categories {games textproc} version 1.0 revision 1 defendguin 780 variants {universal darwin} portdir games/defendguin description {clone of the classic arcade game Defender} homepage http://www.newbreedsoftware.com/defendguin/ epoch 0 platforms darwin name defendguin depends_lib {port:libsdl port:libsdl_mixer} maintainers nomaintainer long_description {Defendguin is based loosely on Williams classic arcade game, Defender. Some recognizable stars in the realm of modern operating systems should be fairly obvious. Story: A certain monopoly-owning bad guy has been cloned hundreds of times by an unknown alien race. They are now attacking earth, kidnapping little penguinoids and converting them into mutants. Helping them on their way are some other nasty alien ships, of which there are plenty...} version 0.0.11 categories games revision 0 -digger 288 -variants {universal darwin} portdir games/digger description {the Digger game} homepage http://www.digger.org epoch 0 platforms darwin name digger depends_lib bin:sdl-config:libsdl maintainers nomaintainer long_description {{the Digger game}} version 20020314 categories games revision 1 +digger 278 +variants {universal darwin} portdir games/digger description {the Digger game} homepage http://www.digger.org epoch 0 platforms darwin name digger depends_lib port:libsdl maintainers nomaintainer long_description {{the Digger game}} version 20020314 categories games revision 1 dominion 408 variants universal description {world simulation RPG} portdir games/dominion homepage http://savannah.gnu.org/projects/dominion/ epoch 0 platforms darwin name dominion long_description {Dominion is a multi-player world simulation and role-playing game. Each user controls a nation, making economic, political and military decisions for it.} maintainers nomaintainer categories games version 2.8.2 revision 0 dopewars 486 @@ -2004,8 +2004,8 @@ variants universal portdir games/freeciv description {An empire-building strategy game} homepage http://www.freeciv.org/ epoch 0 platforms macosx name freeciv depends_lib {port:freetype port:libpng port:libsdl port:libsdl_image port:libsdl_mixer port:readline port:libiconv} maintainers rhwood long_description {Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the stone age to the space age...} version 2.1.5 categories games revision 0 freeciv-x11 585 variants {universal puredarwin} portdir games/freeciv-x11 description {A civilisation clone for X11} homepage http://www.freeciv.org/ epoch 0 platforms darwin name freeciv-x11 depends_lib {port:gettext port:libiconv port:libsdl port:libsdl_mixer port:esound port:readline port:gtk2} maintainers rhwood long_description {Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the stone age to the space age...} version 2.1.5 categories games revision 0 -freedroidclassic 903 -variants {universal darwin} portdir games/freedroidclassic description {Freedoid Classic is a Paradroid clone.} homepage http://freedroid.sourceforge.net/ epoch 0 platforms darwin name freedroidclassic depends_lib {bin:sdl-config:libsdl lib:libSDL_image:libsdl_image lib:libSDL_mixer:libsdl_mixer} maintainers nomaintainer long_description {Freedroid is a clone of the classic game Paradroid on Commodore 64 with some improvements and extensions to the classic version. In this game, you control a robot, depicted by a small white ball with a few numbers within an interstellar spaceship consisting of several decks connected by elevators. The aim of the game is to destroy all enemy robots, depicted by small black balls with a few numbers, by either shooting them or seizing control over them by creating connections in a short subgame of electric circuits.} version 1.0.2 categories games revision 0 +freedroidclassic 869 +variants {universal darwin} portdir games/freedroidclassic description {Freedoid Classic is a Paradroid clone.} homepage http://freedroid.sourceforge.net/ epoch 0 platforms darwin name freedroidclassic depends_lib {port:libsdl port:libsdl_image port:libsdl_mixer} maintainers nomaintainer long_description {Freedroid is a clone of the classic game Paradroid on Commodore 64 with some improvements and extensions to the classic version. In this game, you control a robot, depicted by a small white ball with a few numbers within an interstellar spaceship consisting of several decks connected by elevators. The aim of the game is to destroy all enemy robots, depicted by small black balls with a few numbers, by either shooting them or seizing control over them by creating connections in a short subgame of electric circuits.} version 1.0.2 categories games revision 0 frobtads 735 variants universal description {FrobTADS is a new version of TADS for Unix} portdir games/frobtads homepage http://www.tads.org/frobtads.htm epoch 0 platforms {darwin freebsd} name frobtads long_description {FrobTADS is a complete rewrite of the Unix version. It adds support for a number of relatively recent TADS features that were missing from the old Unix version, including full support for text and background colors, TADS 3 banners, and timed input. It's also much more portable and more easily maintainable, as it's built to modern Unix standards. And installing FrobTADS is greatly simplified compared to the old Unix port, thanks to automatic configuration.} maintainers nomaintainer categories games version 0.11 revision 0 frotz 430 @@ -2064,8 +2064,8 @@ variants {universal darwin} portdir games/lmarbles description {Atomix clone with slight change in concept.} homepage http://lgames.sourceforge.net/index.php?project=LMarbles epoch 0 platforms darwin name lmarbles depends_lib {port:libsdl port:libsdl_mixer} maintainers nomaintainer long_description {LMarbles is an Atomix clone with a slight change in concept. Instead of assembling molecules you create figures out of marbles. Nevertheless, the basic game play is the same: If a marble starts to move it will not stop until it hits a wall or another marble. To make it more interesting there are obstacles like one-way streets, crumbling walls and portals. As Marbles is meant as a puzzle game you play against a move limit and not a time limit. This way you have as much time as you need to think.} version 1.0.7 categories games revision 0 lpairs 495 variants universal portdir games/lpairs description {Classical memory game.} homepage http://lgames.sourceforge.net/index.php?project=LPairs epoch 0 platforms darwin name lpairs depends_lib port:libsdl maintainers nomaintainer long_description {LPairs is a classical memory game. This means you have to find pairs of identical cards which will then be removed. Your time and tries needed will be counted but there is no highscore chart or limit to this.} version 1.0 categories games revision 0 -ltris 854 -variants {universal darwin} portdir games/ltris description {Tetris clone with multiplayer and AI support.} homepage http://lgames.sourceforge.net/index.php?project=LTris epoch 0 platforms darwin name ltris depends_lib {port:libsdl port:libsdl_mixer} maintainers nomaintainer long_description {LTris as a tetris clone which means you have a bowl with blocks falling down. By rotating and moving the blocks you try to assemble whole lines which then disappear. LTris has three modes for this: Classic is the classical one where you play until the bowl becomes filled, Figures resets the bowl contents to a new figure for each level and adds suddenly appearing tiles and lines later on and Multiplayer where up to three players either controlled by human or CPU(!) compete and send completed lines to each other.} version 1.0.9 categories games revision 0 +ltris 882 +variants {universal darwin} portdir games/ltris description {Tetris clone with multiplayer and AI support.} homepage http://lgames.sourceforge.net/index.php?project=LTris epoch 0 platforms darwin name ltris depends_lib {port:libsdl port:libsdl_mixer port:gettext port:libiconv} maintainers nomaintainer long_description {LTris as a tetris clone which means you have a bowl with blocks falling down. By rotating and moving the blocks you try to assemble whole lines which then disappear. LTris has three modes for this: Classic is the classical one where you play until the bowl becomes filled, Figures resets the bowl contents to a new figure for each level and adds suddenly appearing tiles and lines later on and Multiplayer where up to three players either controlled by human or CPU(!) compete and send completed lines to each other.} version 1.0.12 categories games revision 0 mindless 617 variants universal portdir games/mindless description {Play collectable card games against other player} homepage http://mindless.sourceforge.net/ epoch 0 platforms darwin name mindless depends_lib lib:libgtk.2:gtk2 maintainers marco.bonetti at poste.it long_description {Mindless Automaton is a virtual tabletop on which you can play card games against other people over a network. It was designed to simulate the Magic: The Gathering(R) game, but it can be expanded to simulate other games. Mindless Automaton was very, very inspired by the popular Windows program Apprentice.} version 1.5 categories games revision 0 moria 335 @@ -2080,8 +2080,8 @@ variants universal depends_build port:bison portdir games/nwntools description {Tools for the game Neverwinter Nights} homepage http://openknights.sourceforge.net/ epoch 0 platforms darwin depends_lib port:python24 name nwntools maintainers sumpfork at users.sf.net long_description {A tool set for Bioware's Neverwinter Nights, including a script compiler (with python bindings) and model compiler} version 2.3.2 categories games revision 0 oilwar 519 variants universal portdir games/oilwar description {protect your oil from the evil invading army} homepage http://www.2ndpoint.fi/projektit/oilwar.html epoch 0 platforms darwin name oilwar depends_lib {bin:sdl-config:libsdl lib:libSDL_image:libsdl_image lib:libSDl_mixer:libsdl_mixer} maintainers nomaintainer long_description {Evil army is attacking your country and tries to steal your oil. Your mission is to waste the invaders, protect the oil and save your mother land.} version 1.2.1 categories games revision 0 -openmortal 817 -variants {universal darwin} portdir games/openmortal description {Mortal Szombat is a parody of the coin-up game Mortal Kombat} homepage http://openmortal.sourceforge.net/ epoch 0 platforms darwin name openmortal depends_lib {bin:sdl-config:libsdl lib:libSDL_mixer:libsdl_mixer lib:libSDL_image:libsdl_image lib:libSDL_ttf:libsdl_ttf lib:libSDL_net:libsdl_net lib:libfreetype:freetype bin:perl:perl5.8} maintainers nomaintainer long_description {Mortal Szombat is a parody of the popular coin-up game, Mortal Kombat. It is currently playable (maybe even enjoyable), although it is still under development. Only two-player game is supported, single-player games against computer opponent is not planned yet. There are currently 9 playable characters, and 8 more in the making!} version 0.7 categories games revision 0 +openmortal 752 +variants {universal darwin} portdir games/openmortal description {Mortal Szombat is a parody of the coin-up game Mortal Kombat} homepage http://openmortal.sourceforge.net/ epoch 0 platforms darwin name openmortal depends_lib {port:libsdl port:libsdl_mixer port:libsdl_image port:libsdl_ttf port:libsdl_net port:freetype bin:perl:perl5.8} maintainers nomaintainer long_description {Mortal Szombat is a parody of the popular coin-up game, Mortal Kombat. It is currently playable (maybe even enjoyable), although it is still under development. Only two-player game is supported, single-player games against computer opponent is not planned yet. There are currently 9 playable characters, and 8 more in the making!} version 0.7 categories games revision 0 othello 206 portdir games/othello variants universal description {Clone of Othello played in the terminal} platforms darwin name othello version 0.03 categories games revision 0 epoch 0 maintainers zizban at adelphia.net pennmush 700 @@ -4350,8 +4350,8 @@ variants universal portdir multimedia/dvdrip description {perl front end for transcode} homepage http://www2.exit1.org/dvdrip/ epoch 0 platforms darwin name dvdrip depends_lib {port:p5-libintl-perl port:transcode port:p5-gtk2} maintainers marioscheel at web.de long_description {dvd::rip is a full featured DVD copy program written in Perl. It provides an easy to use but feature-rich Gtk+ GUI to control almost all aspects of the ripping and transcoding process. It uses the widely known video processing swissknife transcode and many other Open Source tools.} version 0.98.8 categories multimedia revision 0 emotion 755 variants universal portdir multimedia/emotion description {A Evas smart-object library for video capabilities.} homepage http://evidence.sf.net epoch 0 platforms darwin name emotion depends_lib {lib:libX11.6:XFree86 lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libtiff.3:tiff lib:libImlib2:imlib2 lib:libesd:esound lib:libintl:gettext lib:libxine:xine-lib lib:libevas:evas lib:libecore:ecore} long_description {Emotion is an Evas smart-object library providing video capabilities. Emotion leverages libxine 1.0 and integrates seemlessly with the rest of the EFL. Because its based on libxine, any format that it supports (Theora, DiVX, MPEG2, etc) is avalible using Emotion.} maintainers nomaintainer version 0.0.1 categories {multimedia devel} revision 0 -ffmpeg 1832 -variants {universal darwin_i386 gpl postproc lame extvorbis theora faac faad xvid x264 a52 avfilter} depends_build bin:svn:subversion variant_desc {gpl {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} postproc {enable GPLed postprocessing support} lame {enable MP3 encoding via libmp3lame} extvorbis {enable Vorbis encoding via libvorbis, native implementation exists} theora {enable Theora encoding via libtheora} faac {enable FAAC support via libfaac} faad {enable FAAD support via libfaad} xvid {enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists} x264 {enable H.264 encoding via x264} a52 {enable GPLed liba52 support} avfilter {video filter support (replaces vhook)}} portdir multimedia/ffmpeg description {Digital VCR and streaming server} homepage http://ffmpeg.sourceforge.net/ epoch 0 platforms darwin depends_lib port:a52dec name ffmpeg maintainers {acho at macports.org openmaintainer} long_description {FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. The project is made of several components: ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card. ffserver is an HTTP (RTSP is being developped) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported. ffplay is a simple media player based on SDL and on the ffmpeg libraries. libavcodec is a library containing all the ffmpeg audio/video encoders and decoders. Most codecs were developped from scratch to ensure best performances and high code reusability. libavformat is a library containing parsers and generators for all common audio/video formats.} categories multimedia version 0.4.9-pre1 revision 9 +ffmpeg 1845 +variants {universal darwin_i386 gpl postproc lame extvorbis theora faac faad xvid x264 a52 avfilter} depends_build {bin:svn:subversion port:gmake} variant_desc {gpl {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} postproc {enable GPLed postprocessing support} lame {enable MP3 encoding via libmp3lame} extvorbis {enable Vorbis encoding via libvorbis, native implementation exists} theora {enable Theora encoding via libtheora} faac {enable FAAC support via libfaac} faad {enable FAAD support via libfaad} xvid {enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists} x264 {enable H.264 encoding via x264} a52 {enable GPLed liba52 support} avfilter {video filter support (replaces vhook)}} portdir multimedia/ffmpeg description {Digital VCR and streaming server} homepage http://ffmpeg.sourceforge.net/ epoch 0 platforms darwin depends_lib port:a52dec name ffmpeg maintainers {acho at macports.org openmaintainer} long_description {FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. The project is made of several components: ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card. ffserver is an HTTP (RTSP is being developped) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported. ffplay is a simple media player based on SDL and on the ffmpeg libraries. libavcodec is a library containing all the ffmpeg audio/video encoders and decoders. Most codecs were developped from scratch to ensure best performances and high code reusability. libavformat is a library containing parsers and generators for all common audio/video formats.} categories multimedia version 0.4.9-pre1 revision 9 gnupod 666 variants {universal all_decoders} variant_desc {all_decoders {Install helpers to transcode the multimedia files}} portdir multimedia/gnupod description {gnuPod is a collection of tools which allow you to use your iPod with UNIX-like operating systems.} homepage http://blinkenlights.ch/gnupod epoch 0 platforms darwin name gnupod depends_lib {port:perl5.8 port:p5-mp3-info port:p5-digest-md5 port:p5-xml-parser port:p5-unicode-string port:p5-libwww-perl port:p5-digest-sha1} maintainers pmq long_description {{gnuPod is a collection of tools which allow you to use your iPod with UNIX-like operating systems.}} version 0.99.6 categories {multimedia perl} revision 0 libartnet 377 @@ -4404,8 +4404,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.18 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 1105 -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.0alpha7 categories multimedia revision 1 +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 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 @@ -4867,7 +4867,7 @@ ngrep 699 variants universal depends_build port:libpcap portdir net/ngrep description {Network grep} homepage http://ngrep.sourceforge.net epoch 0 platforms darwin name ngrep maintainers grace at flipt.com long_description {ngrep strives to provide most of GNU grep's common features, applying them to the network layer. ngrep a pcap-aware tool that will allow you to specify extended regular expressions to match against data payloads of packets. It currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and understands BPF filter logic in the same fashion as more common packet sniffing tools, like tcpdump and snoop.} version 1.45 categories net revision 0 nmap 1065 -variants {universal no_ssl no_pcre} variant_desc {no_ssl {build without ssl support} no_pcre {build without pcre support}} portdir net/nmap description {Port scanning utility for large networks} homepage http://nmap.org/ epoch 0 platforms {darwin freebsd} name nmap depends_lib {port:libpcap port:openssl port:pcre port:zlib} maintainers {opendarwin.org at darkart.com dluke at geeklair.net} long_description {Nmap is a utility for port scanning large networks, although it works fine for single hosts. The guiding philosophy for the creation of nmap was TMTOWTDI (There's More Than One Way To Do It). This is the Perl slogan, but it is equally applicable to scanners. Sometimes you need speed, other times you may need stealth. In some cases, bypassing firewalls may be required. Not to mention the fact that you may want to scan different protocols (UDP, TCP, ICMP, etc.). You just can't do all this with one scanning mode. And you don't want to have 10 different scanners around, all with dif ferent interfaces and capabilities.} version 4.60 categories net revision 0 +variants {universal no_ssl no_pcre} variant_desc {no_ssl {build without ssl support} no_pcre {build without pcre support}} portdir net/nmap description {Port scanning utility for large networks} homepage http://nmap.org/ epoch 0 platforms {darwin freebsd} name nmap depends_lib {port:libpcap port:openssl port:pcre port:zlib} maintainers {opendarwin.org at darkart.com dluke at geeklair.net} long_description {Nmap is a utility for port scanning large networks, although it works fine for single hosts. The guiding philosophy for the creation of nmap was TMTOWTDI (There's More Than One Way To Do It). This is the Perl slogan, but it is equally applicable to scanners. Sometimes you need speed, other times you may need stealth. In some cases, bypassing firewalls may be required. Not to mention the fact that you may want to scan different protocols (UDP, TCP, ICMP, etc.). You just can't do all this with one scanning mode. And you don't want to have 10 different scanners around, all with dif ferent interfaces and capabilities.} version 4.68 categories net revision 0 nrg 547 variants {universal i386 pingd_server} portdir net/nrg description {Network Resource Grapher} homepage http://nrg.hep.wisc.edu/ epoch 0 platforms darwin name nrg depends_lib {port:rrdtool port:p5-time-hires} maintainers markd long_description {NRG is an RRDtool front-end tool to monitor traffic and load on network links or any other resource utilization source. It automatically creates and maintains web pages and RRDtool databases, while providing short and long-term graph web pages just like MRTG.} version 0.99.27 categories net revision 0 nrpe 310 @@ -7316,6 +7316,8 @@ variants universal portdir python/py25-mako description {A super-fast templating language that borrows the best ideas from the existing templating languages.} homepage http://www.makotemplates.org/ epoch 0 platforms darwin depends_lib port:python25 name py25-mako maintainers stechert at macports.org long_description {Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.} categories {python www} version 0.1.10 revision 0 py25-matplotlib 973 variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py25-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:freetype port:libpng port:py25-dateutil port:py25-tz port:py25-numpy port:py25-tkinter} name py25-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.2 revision 0 +py25-matplotlib-basemap 471 +description {matplotlib toolkit for plotting data on map projections} portdir python/py25-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:py25-matplotlib port:geos2} name py25-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 1 py25-mecab 344 variants universal portdir python/py25-mecab description {a Python module for MeCab} homepage http://mecab.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:mecab} name py25-mecab maintainers rsky0711 at gmail.com long_description {{a Python module for MeCab}} categories {python textproc japanese} version 0.96 revision 0 py25-mechanize 432 @@ -8438,8 +8440,8 @@ portdir sysutils/multitail variants universal description {Tail multiple files in one terminal at once} name multitail version 5.2.0 categories sysutils homepage http://www.vanheusden.com/multitail/ revision 0 epoch 0 maintainers luc at honk-honk.com long_description {MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). Merging of 2 or even more logfiles is possible. It can also use colors while displaying the logfiles (through regular expressions), for faster recognition of what is important and what not. It can also filter lines (again with regular expressions). It has interactive menus for editing given regular expressions and deleting and adding windows. One can also have windows with the output of shell scripts and other software. When viewing the output of external software, MultiTail can mimic the functionality of tools like 'watch' and such.} nrg2iso 346 variants universal description {converts Nero Burning Rom images to ISO images} portdir sysutils/nrg2iso homepage http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html epoch 0 platforms darwin name nrg2iso long_description {{converts Nero Burning Rom images to ISO images}} maintainers nomaintainer categories sysutils version 0.4 revision 0 -ntfsprogs 404 -variants {universal crypto extra darwin} portdir sysutils/ntfsprogs description {a collection of utilities for doing stuff with NTFS volumes} homepage http://www.linux-ntfs.org/ epoch 0 platforms darwin name ntfsprogs depends_lib port:pkgconfig maintainers eridius at macports.org long_description {{a collection of utilities for doing stuff with NTFS volumes}} version 2.0.0 categories sysutils revision 0 +ntfsprogs 396 +variants {universal crypto extra darwin} portdir sysutils/ntfsprogs description {a collection of utilities for doing stuff with NTFS volumes} homepage http://www.linux-ntfs.org/ epoch 0 platforms darwin name ntfsprogs depends_lib port:pkgconfig maintainers nomaintainer long_description {{a collection of utilities for doing stuff with NTFS volumes}} version 2.0.0 categories sysutils revision 0 num-utils 577 variants universal portdir sysutils/num-utils description {set of programs for dealing with numbers from the command line} homepage http://suso.suso.org/programs/num-utils/ epoch 0 platforms darwin name num-utils depends_lib bin:perl:perl5.8 maintainers nomaintainer long_description {The num-utils are a set of programs for dealing with numbers from the Unix command line. Much like the other Unix command line utilities like grep, awk, sort, cut, etc. these utilities work on data from both standard in and data from files.} version 0.5 categories {sysutils math} revision 0 openupsd 376 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/d3b01a14/attachment-0001.html From wsiegrist at apple.com Fri Aug 1 16:53:41 2008 From: wsiegrist at apple.com (wsiegrist at apple.com) Date: Fri, 1 Aug 2008 16:53:41 -0700 (PDT) Subject: [38883] trunk/base/portmgr/jobs/GuideRegen.sh Message-ID: <20080801235341.ED7091ACE2B@beta.macosforge.org> Revision: 38883 http://trac.macosforge.org/projects/macports/changeset/38883 Author: wsiegrist at apple.com Date: 2008-08-01 16:53:41 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Make the guide chunkier at Modified Paths: -------------- trunk/base/portmgr/jobs/GuideRegen.sh Modified: trunk/base/portmgr/jobs/GuideRegen.sh =================================================================== --- trunk/base/portmgr/jobs/GuideRegen.sh 2008-08-01 19:53:58 UTC (rev 38882) +++ trunk/base/portmgr/jobs/GuideRegen.sh 2008-08-01 23:53:41 UTC (rev 38883) @@ -61,9 +61,13 @@ || { echo "Checking out the doc tree from $REPO_BASE/trunk/doc-new failed." >> $FAILURE_LOG; bail ; } fi -# (re)build +# build single html version { cd ${SRCTREE}/doc-new && $MAKE guide > $FAILURE_LOG 2>&1 ; } \ || { echo "make failed." >> $FAILURE_LOG ; bail ; } +# build chunked version +{ cd ${SRCTREE}/doc-new && $MAKE guide-chunked > $FAILURE_LOG 2>&1 ; } \ + || { echo "make failed." >> $FAILURE_LOG ; bail ; } + # At this point the guide was regen'd successfuly, so we cleanup before we exit. cleanup && exit 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/b2562381/attachment.html From ryandesign at macports.org Fri Aug 1 17:19:58 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 17:19:58 -0700 (PDT) Subject: [38884] trunk/dports/lang/pure-devel Message-ID: <20080802001958.CDC781ACF5B@beta.macosforge.org> Revision: 38884 http://trac.macosforge.org/projects/macports/changeset/38884 Author: ryandesign at macports.org Date: 2008-08-01 17:19:58 -0700 (Fri, 01 Aug 2008) Log Message: ----------- pure-devel: fix the install name of the pure library so the pure program can find it Modified Paths: -------------- trunk/dports/lang/pure-devel/Portfile Added Paths: ----------- trunk/dports/lang/pure-devel/files/ trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff Modified: trunk/dports/lang/pure-devel/Portfile =================================================================== --- trunk/dports/lang/pure-devel/Portfile 2008-08-01 23:53:41 UTC (rev 38883) +++ trunk/dports/lang/pure-devel/Portfile 2008-08-02 00:19:58 UTC (rev 38884) @@ -3,7 +3,7 @@ PortSystem 1.0 name pure-devel -version 0.5.0.r441 +version 0.5.0.r442 categories lang platforms darwin maintainers ryandesign @@ -42,8 +42,12 @@ port:llvm-devel \ port:readline +patchfiles \ + patch-Makefile.in.diff + test.run yes test.target check +test.env DYLD_LIBRARY_PATH=${worksrcpath} livecheck.version [strsed ${version} {g/\.0\.r.*$//}] livecheck.check regex Added: trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff =================================================================== --- trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff (rev 0) +++ trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff 2008-08-02 00:19:58 UTC (rev 38884) @@ -0,0 +1,11 @@ +--- Makefile.in (revision 442) ++++ Makefile.in (working copy) +@@ -129,7 +129,7 @@ + endif + + $(libpure): $(OBJECT) +- $(CXX) $(shared) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LIBS) ++ $(CXX) $(shared) -install_name $(prefix)/lib/libpure-0.5.dylib -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LIBS) + ln -sf $(libpure) $(libpurelnk) + + pure.o: pure.cc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/aa105f5c/attachment.html From dluke at macports.org Fri Aug 1 19:43:32 2008 From: dluke at macports.org (dluke at macports.org) Date: Fri, 1 Aug 2008 19:43:32 -0700 (PDT) Subject: [38885] trunk/dports/net/bind9/Portfile Message-ID: <20080802024332.A2A291B2B85@beta.macosforge.org> Revision: 38885 http://trac.macosforge.org/projects/macports/changeset/38885 Author: dluke at macports.org Date: 2008-08-01 19:43:30 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Version bump, bind9 to 9.5.0-P2 Modified Paths: -------------- trunk/dports/net/bind9/Portfile Modified: trunk/dports/net/bind9/Portfile =================================================================== --- trunk/dports/net/bind9/Portfile 2008-08-02 00:19:58 UTC (rev 38884) +++ trunk/dports/net/bind9/Portfile 2008-08-02 02:43:30 UTC (rev 38885) @@ -3,7 +3,7 @@ PortSystem 1.0 name bind9 -version 9.5.0-P1 +version 9.5.0-P2 categories net maintainers dluke at geeklair.net @@ -22,9 +22,9 @@ distname bind-${version} master_sites isc:${name}/${version} -checksums md5 a4f9dd6d205d24ec89fa4e44d8188197 \ - sha1 f7fc538ae919f09496fdf459d63ce8f340f287d8 \ - rmd160 33bed2e55b6bb821922e0e4f5bd9992ea493642b +checksums md5 16c893f73a394c8cc36d7900cb9bb801 \ + sha1 e93a230e0e80e8e5975c83bf0ca0b1186f53fe52 \ + rmd160 2ac07f4d48f22cfeabd4d8089aaf955b81199dc0 depends_lib port:openssl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/26f06d82/attachment-0001.html From akira at macports.org Fri Aug 1 20:45:07 2008 From: akira at macports.org (akira at macports.org) Date: Fri, 1 Aug 2008 20:45:07 -0700 (PDT) Subject: [38886] trunk/dports/python Message-ID: <20080802034507.9F8C91B2DB9@beta.macosforge.org> Revision: 38886 http://trac.macosforge.org/projects/macports/changeset/38886 Author: akira at macports.org Date: 2008-08-01 20:45:07 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Updated SQLAlchemy to 0.4.7p1 Modified Paths: -------------- trunk/dports/python/py-sqlalchemy/Portfile trunk/dports/python/py25-sqlalchemy/Portfile Modified: trunk/dports/python/py-sqlalchemy/Portfile =================================================================== --- trunk/dports/python/py-sqlalchemy/Portfile 2008-08-02 02:43:30 UTC (rev 38885) +++ trunk/dports/python/py-sqlalchemy/Portfile 2008-08-02 03:45:07 UTC (rev 38886) @@ -5,7 +5,7 @@ PortGroup python24 1.0 name py-sqlalchemy -version 0.4.5 +version 0.4.7p1 categories python platforms darwin maintainers landonf akira openmaintainer @@ -17,9 +17,9 @@ homepage http://www.sqlalchemy.org master_sites sourceforge:sqlalchemy distname SQLAlchemy-${version} -checksums md5 ebd41cfb27a8d8b4e2a18192b6afad95 \ - sha1 28d38704f15de1fac20547bbceee3a74e3e95e15 \ - rmd160 d0ce4c878b342257b707dc82c7dfab6dc1663b62 +checksums md5 5657ace9ed484429486b24e4b6e6f1ad \ + sha1 b4f158cf7930234b8be8794e481a79ebcbf3fbf0 \ + rmd160 da2006ceb80c0d3ddb3ed68dd3c0c0fc7eede2bf depends_lib port:py-setuptools post-destroot { Modified: trunk/dports/python/py25-sqlalchemy/Portfile =================================================================== --- trunk/dports/python/py25-sqlalchemy/Portfile 2008-08-02 02:43:30 UTC (rev 38885) +++ trunk/dports/python/py25-sqlalchemy/Portfile 2008-08-02 03:45:07 UTC (rev 38886) @@ -5,7 +5,7 @@ PortGroup python25 1.0 name py25-sqlalchemy -version 0.4.5 +version 0.4.7p1 categories python platforms darwin maintainers stechert akira openmaintainer @@ -17,9 +17,9 @@ homepage http://www.sqlalchemy.org master_sites sourceforge:sqlalchemy distname SQLAlchemy-${version} -checksums md5 ebd41cfb27a8d8b4e2a18192b6afad95 \ - sha1 28d38704f15de1fac20547bbceee3a74e3e95e15 \ - rmd160 d0ce4c878b342257b707dc82c7dfab6dc1663b62 +checksums md5 5657ace9ed484429486b24e4b6e6f1ad \ + sha1 b4f158cf7930234b8be8794e481a79ebcbf3fbf0 \ + rmd160 da2006ceb80c0d3ddb3ed68dd3c0c0fc7eede2bf depends_lib port:py25-setuptools post-destroot { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/1e6abc75/attachment-0001.html From ryandesign at macports.org Fri Aug 1 21:06:59 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 21:06:59 -0700 Subject: propchange - r38833 svn:log Message-ID: <20080802040659.948602804F@relay11.apple.com> Author: ryandesign at macports.org (original author: ryandesign at macports.org) Revision: 38833 Property Name: svn:log @@ -4,7 +4,7 @@ * rename ${worksrcpath}/src/sdl.h to sdl_.h to avoid confusion with ${prefix}/include/SDL.h on case-insensitive filesystems * add forgotten dependencies on gettext and libiconv * add necessary linker flags for gettext - * avoid unsupported --mode argument to install + * avoid unsupported --mode argument to install (closes #13427) * use ${applications_dir} and don't assume /Applications/MacPorts * create symlink using tcl ln command instead of using system * enable parallel build From akira at macports.org Fri Aug 1 21:07:37 2008 From: akira at macports.org (akira at macports.org) Date: Fri, 1 Aug 2008 21:07:37 -0700 (PDT) Subject: [38887] trunk/dports/python Message-ID: <20080802040737.4B05D1B2EFB@beta.macosforge.org> Revision: 38887 http://trac.macosforge.org/projects/macports/changeset/38887 Author: akira at macports.org Date: 2008-08-01 21:07:36 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Fixed checksum Modified Paths: -------------- trunk/dports/python/py-pylons/Portfile trunk/dports/python/py25-pylons/Portfile Modified: trunk/dports/python/py-pylons/Portfile =================================================================== --- trunk/dports/python/py-pylons/Portfile 2008-08-02 03:45:07 UTC (rev 38886) +++ trunk/dports/python/py-pylons/Portfile 2008-08-02 04:07:36 UTC (rev 38887) @@ -24,9 +24,9 @@ master_sites http://cheeseshop.python.org/packages/source/P/Pylons/ distname Pylons-${version} -checksums md5 f6e6dc687dbaee166315299adb35076c \ - sha1 f9c6bf7fbc5b5462e94793b2ea9fe1bc5d2e55df \ - rmd160 afb9d79a90a67f904ed753d58e0df766ffe6ac42 +checksums md5 01d0e1ca95cfbfa1f73b8b5ae9a5f0a5 \ + sha1 d3ed6ea2618925c99180381ccd08b390acb46142 \ + rmd160 4fa37c53a26fa8f30482c2d80fb4fd68abfde9f0 depends_lib port:py-setuptools \ port:py-routes \ Modified: trunk/dports/python/py25-pylons/Portfile =================================================================== --- trunk/dports/python/py25-pylons/Portfile 2008-08-02 03:45:07 UTC (rev 38886) +++ trunk/dports/python/py25-pylons/Portfile 2008-08-02 04:07:36 UTC (rev 38887) @@ -24,9 +24,9 @@ master_sites http://cheeseshop.python.org/packages/source/P/Pylons/ distname Pylons-${version} -checksums md5 f6e6dc687dbaee166315299adb35076c \ - sha1 f9c6bf7fbc5b5462e94793b2ea9fe1bc5d2e55df \ - rmd160 afb9d79a90a67f904ed753d58e0df766ffe6ac42 +checksums md5 01d0e1ca95cfbfa1f73b8b5ae9a5f0a5 \ + sha1 d3ed6ea2618925c99180381ccd08b390acb46142 \ + rmd160 4fa37c53a26fa8f30482c2d80fb4fd68abfde9f0 depends_lib port:py25-setuptools \ port:py25-routes \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/20f09b57/attachment-0001.html From akira at macports.org Fri Aug 1 21:30:17 2008 From: akira at macports.org (akira at macports.org) Date: Fri, 1 Aug 2008 21:30:17 -0700 (PDT) Subject: [38888] trunk/dports/python/py25-memcached/Portfile Message-ID: <20080802043017.CD0EA1B3019@beta.macosforge.org> Revision: 38888 http://trac.macosforge.org/projects/macports/changeset/38888 Author: akira at macports.org Date: 2008-08-01 21:30:17 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Took maintainership Modified Paths: -------------- trunk/dports/python/py25-memcached/Portfile Modified: trunk/dports/python/py25-memcached/Portfile =================================================================== --- trunk/dports/python/py25-memcached/Portfile 2008-08-02 04:07:36 UTC (rev 38887) +++ trunk/dports/python/py25-memcached/Portfile 2008-08-02 04:30:17 UTC (rev 38888) @@ -7,7 +7,7 @@ version 1.43 categories python devel net platforms darwin -maintainers nomaintainer +maintainers openmaintainer akira description Pure python memcached client long_description This software is a 100% Python interface to the memcached \ memory cache daemon. It is the client side software which \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cede9228/attachment-0001.html From ryandesign at macports.org Fri Aug 1 21:56:33 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 21:56:33 -0700 (PDT) Subject: [38889] trunk/dports/games/atanks Message-ID: <20080802045634.30B1F1B3184@beta.macosforge.org> Revision: 38889 http://trac.macosforge.org/projects/macports/changeset/38889 Author: ryandesign at macports.org Date: 2008-08-01 21:56:33 -0700 (Fri, 01 Aug 2008) Log Message: ----------- atanks: update to 2.6 (later versions up to at least 3.0 don't compile) and now use their make install instead of overriding the destroot Modified Paths: -------------- trunk/dports/games/atanks/Portfile trunk/dports/games/atanks/files/patch-src-Makefile Added Paths: ----------- trunk/dports/games/atanks/files/patch-Makefile Modified: trunk/dports/games/atanks/Portfile =================================================================== --- trunk/dports/games/atanks/Portfile 2008-08-02 04:30:17 UTC (rev 38888) +++ trunk/dports/games/atanks/Portfile 2008-08-02 04:56:33 UTC (rev 38889) @@ -3,7 +3,7 @@ PortSystem 1.0 name atanks -version 2.3 +version 2.6 categories games platforms darwin maintainers nomaintainer @@ -13,39 +13,27 @@ homepage http://atanks.sourceforge.net/ master_sites sourceforge -checksums md5 9b717e7922a7ff2bdc55abc42f76e88e +checksums md5 3399323f7e18033a422074508bc4b8f6 \ + sha1 939db882b128e33129250f86df3aefb8ce5d1b53 \ + rmd160 8aba18312d9f79cf95d9338b68db3498f70a925e worksrcdir ${name} depends_lib port:allegro -patchfiles patch-src-Makefile +patchfiles patch-Makefile \ + patch-src-Makefile +post-patch { + reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/Makefile + reinplace s|@DESTROOT@|${destroot}|g ${worksrcpath}/Makefile +} + use_configure no build.env CFLAGS=-I${prefix}/include \ LDFLAGS=-L${prefix}/lib build.args PREFIX=${prefix} -destroot { - xinstall -m 755 ${worksrcpath}/atanks ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/atanks - xinstall -m 644 -W ${worksrcpath} \ - button.dat \ - misc.dat \ - missile.dat \ - sound.dat \ - stock.dat \ - tank.dat \ - tankgun.dat \ - title.dat \ - Help.txt \ - credits.txt \ - gloat.txt \ - instr.txt \ - revenge.txt \ - ${destroot}${prefix}/share/atanks -} - # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { set applications_dir /Applications/MacPorts Added: trunk/dports/games/atanks/files/patch-Makefile =================================================================== --- trunk/dports/games/atanks/files/patch-Makefile (rev 0) +++ trunk/dports/games/atanks/files/patch-Makefile 2008-08-02 04:56:33 UTC (rev 38889) @@ -0,0 +1,22 @@ +--- Makefile 2007-11-08 19:27:29.000000000 -0600 ++++ Makefile 2008-08-01 23:50:24.000000000 -0500 +@@ -5,13 +5,16 @@ + DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO atanks/Changelog atanks/BUGS atanks/Help.txt atanks/credits.txt atanks/gloat.txt atanks/instr.txt atanks/revenge.txt atanks/suicide.txt gloat.pt_BR.txt Help.pt_BR.txt revenge.pt_BR.txt suicide.pt_BR.txt + INCOMMON=*.dat COPYING README TODO Changelog *.txt + ++PREFIX=@PREFIX@ ++DESTROOT=@DESTROOT@ ++ + all: + $(MAKE) -C src + + install: all +- $(INSTALL) -g 0 -m 755 -o 0 atanks /usr/bin +- mkdir -p /usr/share/games/atanks +- $(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) /usr/share/games/atanks ++ $(INSTALL) -m 755 atanks $(DESTROOT)$(PREFIX)/bin ++ mkdir -p $(DESTROOT)$(PREFIX)/share/atanks ++ $(INSTALL) -m 644 $(INCOMMON) $(DESTROOT)$(PREFIX)/share/atanks + clean: + rm -f atanks + $(MAKE) -C src clean Modified: trunk/dports/games/atanks/files/patch-src-Makefile =================================================================== --- trunk/dports/games/atanks/files/patch-src-Makefile 2008-08-02 04:30:17 UTC (rev 38888) +++ trunk/dports/games/atanks/files/patch-src-Makefile 2008-08-02 04:56:33 UTC (rev 38889) @@ -1,11 +1,11 @@ ---- src/Makefile.org 2007-03-08 18:06:24.000000000 -0800 -+++ src/Makefile 2007-04-27 21:57:29.000000000 -0700 +--- src/Makefile 2007-10-13 13:37:07.000000000 -0500 ++++ src/Makefile 2008-08-01 23:48:42.000000000 -0500 @@ -4,12 +4,12 @@ - globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o + globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o button.o files.o team.o CC = g++ --FLAGS = -DLINUX -DVERSION=\"2.3\" -DDATA_DIR=\".\" -+FLAGS = -DLINUX -DVERSION=\"2.3\" -DDATA_DIR=\"$(PREFIX)/share/atanks\" +-FLAGS = -DLINUX -DDATA_DIR=\".\" ++FLAGS = -DLINUX -DDATA_DIR=\"$(PREFIX)/share/atanks\" OUTPUT = ../atanks WFLAGS = OFLAGS = -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/d7b40f1a/attachment-0001.html From ryandesign at macports.org Fri Aug 1 22:28:30 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 22:28:30 -0700 (PDT) Subject: [38890] trunk/dports/games/blobwars/Portfile Message-ID: <20080802052830.A11971B33B5@beta.macosforge.org> Revision: 38890 http://trac.macosforge.org/projects/macports/changeset/38890 Author: ryandesign at macports.org Date: 2008-08-01 22:28:30 -0700 (Fri, 01 Aug 2008) Log Message: ----------- blobwars: whitespace changes only Modified Paths: -------------- trunk/dports/games/blobwars/Portfile Modified: trunk/dports/games/blobwars/Portfile =================================================================== --- trunk/dports/games/blobwars/Portfile 2008-08-02 04:56:33 UTC (rev 38889) +++ trunk/dports/games/blobwars/Portfile 2008-08-02 05:28:30 UTC (rev 38890) @@ -1,41 +1,43 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name blobwars -version 0.96 -categories games -platforms darwin -maintainers nomaintainer -description jump and run game featuring a Blob as main character +name blobwars +version 0.96 +categories games +platforms darwin +maintainers nomaintainer -long_description \ - In Blob Wars : Metal Blob Solid, you take on the role of a fearless Blob agent, Bob. \ - Bob's mission is to infiltrate the various enemy bases around the Blobs' homeworld and \ - rescue as many MIAs as possible. But standing in his way are many vicious aliens, other \ - Blobs who have been assimilated and the evil alien leader, Galdov. +description jump and run game featuring a Blob as main character +long_description In Blob Wars : Metal Blob Solid, you take on the role \ + of a fearless Blob agent, Bob. Bob's mission is to \ + infiltrate the various enemy bases around the Blobs' \ + homeworld and rescue as many MIAs as possible. But \ + standing in his way are many vicious aliens, other \ + Blobs who have been assimilated and the evil alien \ + leader, Galdov. -homepage http://www.parallelrealities.co.uk/blobWars.php -master_sites http://www.opendarwin.org/~mww/files -use_bzip2 yes +homepage http://www.parallelrealities.co.uk/blobWars.php +master_sites http://www.opendarwin.org/~mww/files +use_bzip2 yes -checksums md5 cdfe1231a9f6966c0d5189c1706000fe +checksums md5 cdfe1231a9f6966c0d5189c1706000fe -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_ttf:libsdl_ttf \ - lib:libSDL_mixer:libsdl_mixer \ - lib:libzzip:libzzip +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_image:libsdl_image \ + lib:libSDL_ttf:libsdl_ttf \ + lib:libSDL_mixer:libsdl_mixer \ + lib:libzzip:libzzip -patchfiles patch-makefile.diff +patchfiles patch-makefile.diff -use_configure no +use_configure no -build.args PREFIX=${prefix} -build.env CFLAGS=-I${prefix}/include \ - LDFLAGS=-bind_at_load +build.args PREFIX=${prefix} +build.env CFLAGS=-I${prefix}/include \ + LDFLAGS=-bind_at_load -destroot.destdir PREFIX=${destroot}${prefix} +destroot.destdir PREFIX=${destroot}${prefix} post-destroot { file delete -force ${destroot}${prefix}/share/applnk \ @@ -49,4 +51,3 @@ ${destroot}/Applications/MacPorts/BlobWars.app/Contents/MacOS/BlobWars" } } - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/4a4c1163/attachment-0001.html From ryandesign at macports.org Fri Aug 1 23:12:00 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Fri, 1 Aug 2008 23:12:00 -0700 (PDT) Subject: [38891] trunk/dports/games/blobwars Message-ID: <20080802061200.E58CB1B3544@beta.macosforge.org> Revision: 38891 http://trac.macosforge.org/projects/macports/changeset/38891 Author: ryandesign at macports.org Date: 2008-08-01 23:12:00 -0700 (Fri, 01 Aug 2008) Log Message: ----------- blobwars: * fix fetch failure / update to 1.08 * use port:-style dependencies to make sure we only depend on other MacPorts ports * add dependency on gettext and add -lintl flag so it can link with it * add dependency on zlib; seems to be necessary * remove dependency on libzzip; doesn't seem to be used * enable parallel build * use ${applications_dir}; don't assume /Applications/MacPorts * create symlink with tcl ln command instead of system Modified Paths: -------------- trunk/dports/games/blobwars/Portfile trunk/dports/games/blobwars/files/patch-makefile.diff Modified: trunk/dports/games/blobwars/Portfile =================================================================== --- trunk/dports/games/blobwars/Portfile 2008-08-02 05:28:30 UTC (rev 38890) +++ trunk/dports/games/blobwars/Portfile 2008-08-02 06:12:00 UTC (rev 38891) @@ -3,7 +3,7 @@ PortSystem 1.0 name blobwars -version 0.96 +version 1.08 categories games platforms darwin maintainers nomaintainer @@ -17,22 +17,27 @@ Blobs who have been assimilated and the evil alien \ leader, Galdov. +distname ${name}-${version}-1 +worksrcdir ${name}-${version} homepage http://www.parallelrealities.co.uk/blobWars.php -master_sites http://www.opendarwin.org/~mww/files -use_bzip2 yes +master_sites http://www.parallelrealities.co.uk/download.php?proj=blobwars&file=${distfiles}&type=zip&foo= -checksums md5 cdfe1231a9f6966c0d5189c1706000fe +checksums md5 16462e3ee394b05432fab820a7de8389 \ + sha1 3b932def0d93dbbe625887558d029df0f77254dd \ + rmd160 1816fb53c2cc8cb6aa9bb31cd2e9626bfd841a95 -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_image:libsdl_image \ - lib:libSDL_ttf:libsdl_ttf \ - lib:libSDL_mixer:libsdl_mixer \ - lib:libzzip:libzzip +depends_lib port:gettext \ + port:libsdl \ + port:libsdl_image \ + port:libsdl_ttf \ + port:libsdl_mixer \ + port:zlib patchfiles patch-makefile.diff use_configure no +use_parallel_build yes build.args PREFIX=${prefix} build.env CFLAGS=-I${prefix}/include \ LDFLAGS=-bind_at_load @@ -40,14 +45,19 @@ destroot.destdir PREFIX=${destroot}${prefix} post-destroot { - file delete -force ${destroot}${prefix}/share/applnk \ - ${destroot}${prefix}/share/gnome ${destroot}${prefix}/share/icons + file delete -force ${destroot}${prefix}/share/applications \ + ${destroot}${prefix}/share/icons } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { pre-destroot { - xinstall -d ${destroot}/Applications/MacPorts/BlobWars.app/Contents/MacOS - system "ln -s ${prefix}/bin/blobwars \ - ${destroot}/Applications/MacPorts/BlobWars.app/Contents/MacOS/BlobWars" + xinstall -d ${destroot}${applications_dir}/BlobWars.app/Contents/MacOS + ln -s ${prefix}/bin/blobwars \ + ${destroot}${applications_dir}/BlobWars.app/Contents/MacOS/BlobWars } } Modified: trunk/dports/games/blobwars/files/patch-makefile.diff =================================================================== --- trunk/dports/games/blobwars/files/patch-makefile.diff 2008-08-02 05:28:30 UTC (rev 38890) +++ trunk/dports/games/blobwars/files/patch-makefile.diff 2008-08-02 06:12:00 UTC (rev 38891) @@ -1,31 +1,33 @@ ---- makefile Wed Oct 27 09:39:20 2004 -+++ makefile.new Wed Oct 27 09:39:49 2004 +--- makefile 2008-01-21 14:17:53.000000000 -0600 ++++ makefile 2008-08-02 00:48:43.000000000 -0500 @@ -8,7 +8,7 @@ USEPAK = 1 PREFIX=$(DESTDIR)/usr -BINDIR = $(PREFIX)/games/ +BINDIR = $(PREFIX)/bin/ - DATADIR = $(PREFIX)/share/games/parallelrealities/ + DATADIR = $(PREFIX)/share/games/blobwars/ DOCDIR = $(PREFIX)/share/doc/$(PROG)/ - ICONDIR = $(PREFIX)/share/icons/ -@@ -63,9 +63,9 @@ - mkdir -p $(GNOME) + ICONDIR = $(PREFIX)/share/icons/hicolor/ +@@ -19,7 +19,7 @@ + CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall + CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" + CXXFLAGS += $(CFLAGS) +-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz ++LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz -lintl - strip $(PROG) + OBJS += aquaBoss.o bosses.o bullets.o cutscene.o + OBJS += CAudio.o CBoss.o CCollision.o CCutscene.o CData.o CEffect.o CEngine.o CEntity.o CFileData.o CGame.o +@@ -77,9 +77,9 @@ + mkdir -p $(ICONDIR)64x64/apps + mkdir -p $(DESKTOPDIR) + - install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) - install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) - install -o root -g games -m 644 $(DOCS) $(DOCDIR) + install -m 755 $(PROG) $(BINDIR)$(PROG) + install -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) + install -m 644 $(DOCS) $(DOCDIR) - cp $(ICONS)$(PROG).png $(ICONDIR) - cp $(ICONS)$(PROG)-mini.png $(ICONDIR)mini/$(PROG).png - cp $(ICONS)$(PROG)-large.png $(ICONDIR)large/$(PROG).png -@@ -81,4 +81,4 @@ - $(RM) $(ICONDIR)large/$(PROG).png - $(RM) $(KDE)$(ICONS)$(PROG).desktop - $(RM) $(GNOME)$(ICONS)$(PROG).desktop -- -\ No newline at end of file -+ + cp $(ICONS)$(PROG).png $(ICONDIR)32x32/apps/ + cp $(ICONS)$(PROG)-mini.png $(ICONDIR)16x16/apps/$(PROG).png + cp $(ICONS)$(PROG)-large.png $(ICONDIR)64x64/apps/$(PROG).png -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/ca4c1643/attachment-0001.html From portindex at macports.org Sat Aug 2 00:51:23 2008 From: portindex at macports.org (portindex at macports.org) Date: Sat, 2 Aug 2008 00:51:23 -0700 (PDT) Subject: [38892] trunk/dports/PortIndex Message-ID: <20080802075123.F374F1B37F2@beta.macosforge.org> Revision: 38892 http://trac.macosforge.org/projects/macports/changeset/38892 Author: portindex at macports.org Date: 2008-08-02 00:51:22 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Total number of ports parsed: 4945 Ports successfully parsed: 4945 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-02 06:12:00 UTC (rev 38891) +++ trunk/dports/PortIndex 2008-08-02 07:51:22 UTC (rev 38892) @@ -1943,15 +1943,15 @@ aop 553 variants universal description {Curses based arcade game for UNIX with only 64 lines of sourcecode.} portdir games/aop homepage http://raffi.at/code/aop/ epoch 0 platforms darwin name aop long_description {The goal of Aop (Ambassador Of Pain) is is to drive the hoovercraft (O) trough the level into the 'at' sign (@) and reach as much points as possible by reducing the number of moves and not losing any time. Lost lifes (0) can easily be picked up by simply drive over them.} maintainers {jmpp openmaintainer} categories games version 0.6 revision 0 atanks 347 -variants {universal darwin} portdir games/atanks description {atanks is a multi-platform Scorched Earth clone} homepage http://atanks.sourceforge.net/ epoch 0 platforms darwin name atanks depends_lib port:allegro maintainers nomaintainer long_description {{atanks is a multi-platform Scorched Earth clone}} version 2.3 categories games revision 0 +variants {universal darwin} portdir games/atanks description {atanks is a multi-platform Scorched Earth clone} homepage http://atanks.sourceforge.net/ epoch 0 platforms darwin name atanks depends_lib port:allegro maintainers nomaintainer long_description {{atanks is a multi-platform Scorched Earth clone}} version 2.6 categories games revision 0 awemud 488 variants universal depends_build port:pkgconfig portdir games/awemud description {MUD (Multi-User Dungeon) game server} homepage http://www.awemud.net/ epoch 0 platforms darwin depends_lib {port:boehmgc port:scriptix} name awemud maintainers nomaintainer long_description {AweMUD NG is a MUD (Multi-User Dungeon) game server. Players connect to the server using telnet, or a MUD client application, to play in a fantasy world with other players.} version 0.22 categories games revision 0 barrage 728 variants universal portdir games/barrage description {Action game with objective to destroy tanks, jeeps, etc.} homepage http://lgames.sourceforge.net/index.php?project=Barrage epoch 0 platforms darwin name barrage depends_lib {port:libsdl port:libsdl_mixer} maintainers nomaintainer long_description {Barrage is a rather violent action game with the objective to kill and destroy as many targets as possible within 3 minutes. You control a gun that may either fire small or large grenades at soldiers, jeeps and tanks. Targets are fast paced and require careful aiming as it takes half a second to reload the gun. Additionally you have to keep an eye on your ammo and reload in time.} version 1.0.2 categories games revision 0 bastet 515 variants universal portdir games/bastet description {Bastard Tetris is an antagonistic Tetris clone} homepage http://fph.altervista.org/prog/bastet.shtml epoch 0 platforms darwin name bastet depends_lib port:ncurses maintainers sfiera long_description {Bastet stands for bastard tetris, and is a Tetris(R) clone which, instead of choosing your next brick at random, expressly checks to see which one causes you the most trouble. Playing Bastet can be a painful experience.} version 0.41 categories games revision 0 -blobwars 768 -variants {universal darwin} portdir games/blobwars description {jump and run game featuring a Blob as main character} homepage http://www.parallelrealities.co.uk/blobWars.php epoch 0 platforms darwin name blobwars depends_lib {bin:sdl-config:libsdl lib:libSDL_image:libsdl_image lib:libSDL_ttf:libsdl_ttf lib:libSDL_mixer:libsdl_mixer lib:libzzip:libzzip} maintainers nomaintainer long_description {In Blob Wars : Metal Blob Solid, you take on the role of a fearless Blob agent, Bob. Bob's mission is to infiltrate the various enemy bases around the Blobs' homeworld and rescue as many MIAs as possible. But standing in his way are many vicious aliens, other Blobs who have been assimilated and the evil alien leader, Galdov.} version 0.96 categories games revision 0 +blobwars 727 +variants {universal darwin} portdir games/blobwars description {jump and run game featuring a Blob as main character} homepage http://www.parallelrealities.co.uk/blobWars.php epoch 0 platforms darwin name blobwars depends_lib {port:gettext port:libsdl port:libsdl_image port:libsdl_ttf port:libsdl_mixer port:zlib} maintainers nomaintainer long_description {In Blob Wars : Metal Blob Solid, you take on the role of a fearless Blob agent, Bob. Bob's mission is to infiltrate the various enemy bases around the Blobs' homeworld and rescue as many MIAs as possible. But standing in his way are many vicious aliens, other Blobs who have been assimilated and the evil alien leader, Galdov.} version 1.08 categories games revision 0 bluemoon 1035 variants universal description {52-card solitaire game} portdir games/bluemoon homepage http://www.catb.org/~esr/bluemoon/ epoch 0 platforms darwin name bluemoon long_description {This 52-card solitaire starts with the entire deck shuffled and dealt out in four rows. The aces are then moved to the left end of the layout, making 4 initial free spaces. You may move to a space only the card that matches the left neighbor in suit, and is one greater in rank. Kings are high, so no cards may be placed to their right (they create dead spaces). When no moves can be made, cards still out of sequence are reshuffled and dealt face up after the ends of the partial sequences, leaving a card space after each sequence, so that each row looks like a partial sequence followed by a space, followed by enough cards to make a row of 14. A moment's reflection will show that this game cannot take more than 13 deals. A good score is 1-3 deals, 4-7 is average, 8 or more is poor.} maintainers nomaint ainer categories games version 2.9 revision 0 bomberclone 503 @@ -3739,7 +3739,7 @@ pure 838 variants universal portdir lang/pure description {functional programming language based on term rewriting} homepage http://pure-lang.sourceforge.net/ epoch 0 platforms darwin name pure depends_lib {port:gmp port:libiconv port:libtool port:llvm port:readline} maintainers ryandesign long_description {Pure is a functional programming language based on term rewriting. It has a modern syntax featuring curried function applications, lexical closures and equational definitions with pattern matching, and thus is somewhat similar to languages of the Haskell and ML variety. But Pure is also a very dynamic and reflective language, and is more like Lisp in this respect. The interpreter has an LLVM backend to do JIT compilation, hence programs run blazingly fast and interfacing to C modules is easy.} version 0.4 categories lang revision 0 pure-devel 919 -variants universal depends_build {bin:svn:subversion port:bison port:flex} portdir lang/pure-devel description {functional programming language based on term rewriting} homepage http://pure-lang.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:gmp port:libiconv port:libtool port:llvm-devel port:readline} name pure-devel maintainers ryandesign long_description {Pure is a functional programming language based on term rewriting. It has a modern syntax featuring curried function applications, lexical closures and equational definitions with pattern matching, and thus is somewhat similar to languages of the Haskell and ML variety. But Pure is also a very dynamic and reflective language, and is more like Lisp in this respect. The interpreter has an LLVM backend to do JIT compilation, hence programs run blazingly fast and interfacing to C modules is easy.} version 0.5.0.r441 categories lang revision 0 +variants universal depends_build {bin:svn:subversion port:bison port:flex} portdir lang/pure-devel description {functional programming language based on term rewriting} homepage http://pure-lang.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:gmp port:libiconv port:libtool port:llvm-devel port:readline} name pure-devel maintainers ryandesign long_description {Pure is a functional programming language based on term rewriting. It has a modern syntax featuring curried function applications, lexical closures and equational definitions with pattern matching, and thus is somewhat similar to languages of the Haskell and ML variety. But Pure is also a very dynamic and reflective language, and is more like Lisp in this respect. The interpreter has an LLVM backend to do JIT compilation, hence programs run blazingly fast and interfacing to C modules is easy.} version 0.5.0.r442 categories lang revision 0 pyobfuscate 471 variants universal portdir lang/pyobfuscate description {python source code obfuscator} homepage http://www.lysator.liu.se/~astrand/projects/pyobfuscate/ epoch 0 depends_run bin:python:python24 platforms darwin name pyobfuscate maintainers nomaintainer long_description {pyobfuscate is a source code obfuscator: It makes Python source code hard to read for humans, while still being executable for the Python interpreter.} version 0.3 categories {lang python} revision 0 python-mode.el 719 @@ -4465,7 +4465,7 @@ bidwatcher 644 variants universal portdir net/bidwatcher description {GTK auction management/snipe tool for eBay} homepage http://bidwatcher.sf.net/ epoch 0 platforms darwin name bidwatcher depends_lib {port:gtk1 port:gettext} maintainers nomaintainer long_description {{Tracks your eBay listings and items that you have bid on. Allows you to track auctions that you do not own and have not bid on. Snipe tool allows you to schedule your bid to be placed seconds before the auction ends, avoiding driving the price high early in the auction's life. Prioritizes updates according to the time left in an auction.}} version 1.3.17 categories net revision 0 bind9 701 -variants {universal darwin_6} portdir net/bind9 description {Domain Name System server} homepage http://www.isc.org epoch 0 platforms {darwin freebsd sunos} name bind9 depends_lib port:openssl maintainers dluke at geeklair.net long_description {The BIND DNS Server is used on the vast majority of name serving machines on the Internet, providing a robust and stable architecture on top of which an organization's naming architecture can be built. The resolver library included in the BIND distribution provides the standard APIs for translation between domain names and Internet addresses and is intended to be linked with applications requiring name service.} version 9.5.0-P1 categories net revision 0 +variants {universal darwin_6} portdir net/bind9 description {Domain Name System server} homepage http://www.isc.org epoch 0 platforms {darwin freebsd sunos} name bind9 depends_lib port:openssl maintainers dluke at geeklair.net long_description {The BIND DNS Server is used on the vast majority of name serving machines on the Internet, providing a robust and stable architecture on top of which an organization's naming architecture can be built. The resolver library included in the BIND distribution provides the standard APIs for translation between domain names and Internet addresses and is intended to be linked with applications requiring name service.} version 9.5.0-P2 categories net revision 0 bing 528 variants universal description {Bandwidth measurement tool} portdir net/bing homepage http://www.freenix.fr/freenix/logiciels/bing.html epoch 0 platforms darwin name bing long_description {Bing is a point-to-point bandwidth measurement tool (hence the 'b'), based on ping. Bing determines the real (raw, as opposed to available or average) throughput on a link by measuring ICMP echo requests roundtrip times for different packet sizes for each end of the link.} maintainers nomaintainer categories net version 1.0.5 revision 0 binkd 289 @@ -7012,8 +7012,8 @@ variants universal portdir python/py-spyce description {pythonic server side dynamic html generation, PSP} homepage http://spyce.sourceforge.net/index.html epoch 0 platforms darwin name py-spyce depends_lib {{path:\${prefix}/apache2/modules/mod_python.so:mod_python} bin:python2.4:python24 {path:\${prefix}/apache2/bin/httpd:apache2}} maintainers nomaintainer long_description {a server-side language that supports simple and efficient Python-based dynamic HTML generation, otherwise called Python Server Pages (PSP). Those who are familiar with JSP, PHP, or ASP and like Python, should have a look at Spyce. Its modular design makes it very flexible and extensible. It can also be used as a command-line utility for static text pre-processing or as a web-server proxy.} version 1.3.13-1 categories {python www} revision 0 py-sql 435 variants universal portdir python/py-sql description {Python module for creating simple SQL statements} homepage http://www.livinglogic.de/Python/sql/ epoch 0 platforms darwin depends_lib {port:python24 port:py-mx} name py-sql maintainers nomaintainer long_description {sql is a module that contains three classes Insert, Update and Delete, that simplify generatingSQL statements.} categories {python databases} version 0.6 revision 1 -py-sqlalchemy 431 -variants universal portdir python/py-sqlalchemy description {Python SQL ORM} homepage http://www.sqlalchemy.org epoch 0 platforms darwin depends_lib port:py-setuptools name py-sqlalchemy maintainers {landonf akira openmaintainer} long_description {SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.} categories python version 0.4.5 revision 0 +py-sqlalchemy 433 +variants universal portdir python/py-sqlalchemy description {Python SQL ORM} homepage http://www.sqlalchemy.org epoch 0 platforms darwin depends_lib port:py-setuptools name py-sqlalchemy maintainers {landonf akira openmaintainer} long_description {SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.} categories python version 0.4.7p1 revision 0 py-sqlalchemy-migrate 678 variants universal portdir python/py-sqlalchemy-migrate description {Database schema migration for SQLAlchemy} homepage http://sqlalchemy-migrate.googlecode.com/ epoch 0 platforms darwin depends_lib port:py-setuptools name py-sqlalchemy-migrate maintainers {akira openmaintainer} long_description {Inspired by Ruby on Rails' migrations, SQLAlchemy Migrate provides a way to deal with database schema changes in SQLAlchemy projects. SQLAlchemy Migrate extends SQLAlchemy to have database changeset handling. It provides a database change repository mechanism which can be used from the command line as well as from inside python code.} categories python version 0.4.4 revision 0 py-sqlite 421 @@ -7322,8 +7322,8 @@ variants universal portdir python/py25-mecab description {a Python module for MeCab} homepage http://mecab.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:mecab} name py25-mecab maintainers rsky0711 at gmail.com long_description {{a Python module for MeCab}} categories {python textproc japanese} version 0.96 revision 0 py25-mechanize 432 variants universal portdir python/py25-mechanize description {Stateful programmatic web browsing} homepage http://wwwsearch.sourceforge.net/mechanize epoch 0 platforms darwin depends_lib {port:python25 port:py25-clientform} name py25-mechanize maintainers {openmaintainer akira} long_description {Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize.} categories {python www} version 0.1.7b revision 0 -py25-memcached 603 -variants universal depends_build port:py25-setuptools portdir python/py25-memcached description {Pure python memcached client} homepage http://www.tummy.com/Community/software/python-memcached/ epoch 0 platforms darwin depends_lib port:python25 name py25-memcached maintainers nomaintainer long_description {This software is a 100% Python interface to the memcached memory cache daemon. It is the client side software which allows storing values in one or more, possibly remote, memcached servers. Search google for memcached for more information.} categories {python devel net} version 1.43 revision 0 +py25-memcached 613 +variants universal depends_build port:py25-setuptools portdir python/py25-memcached description {Pure python memcached client} homepage http://www.tummy.com/Community/software/python-memcached/ epoch 0 platforms darwin depends_lib port:python25 name py25-memcached maintainers {openmaintainer akira} long_description {This software is a 100% Python interface to the memcached memory cache daemon. It is the client side software which allows storing values in one or more, possibly remote, memcached servers. Search google for memcached for more information.} categories {python devel net} version 1.43 revision 0 py25-metar 484 variants universal portdir python/py25-metar description {python interface to the weather reports of the NOAA} homepage http://www.schwarzvogel.de/software-pymetar.shtml epoch 0 platforms darwin depends_lib port:python25 name py25-metar maintainers nomaintainer long_description {This library downloads the weather report for a given NOAA station ID (get yours here), decodes it and provides easy access to all the data found in the report.} categories python version 0.13 revision 0 py25-modulegraph 660 @@ -7454,8 +7454,8 @@ variants universal portdir python/py25-socket-ssl description {Python secure sockets via OpenSSL} homepage http://www.python.org/doc/current/lib/ssl-objects.html epoch 0 platforms darwin depends_lib {port:python25 port:openssl} name py25-socket-ssl maintainers mww long_description {{Python secure sockets via OpenSSL}} categories python version 2.5.2 revision 0 py25-sphinx 698 variants universal portdir python/py25-sphinx description {Python documentation generator} homepage http://sphinx.pocoo.org/ depends_run port:py25-pygments epoch 0 platforms darwin depends_lib port:py25-docutils name py25-sphinx maintainers gmail.com:michel.sylvan long_description {Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of i multiple reStructuredText sources), written by Georg Brandl. It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects.} categories {python devel} version 0.1.61950 revision 0 -py25-sqlalchemy 438 -variants universal portdir python/py25-sqlalchemy description {Python SQL ORM} homepage http://www.sqlalchemy.org epoch 0 platforms darwin depends_lib port:py25-setuptools name py25-sqlalchemy maintainers {stechert akira openmaintainer} long_description {SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.} categories python version 0.4.5 revision 0 +py25-sqlalchemy 440 +variants universal portdir python/py25-sqlalchemy description {Python SQL ORM} homepage http://www.sqlalchemy.org epoch 0 platforms darwin depends_lib port:py25-setuptools name py25-sqlalchemy maintainers {stechert akira openmaintainer} long_description {SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.} categories python version 0.4.7p1 revision 0 py25-sqlalchemy-migrate 684 variants universal portdir python/py25-sqlalchemy-migrate description {Database schema migration for SQLAlchemy} homepage http://sqlalchemy-migrate.googlecode.com/ epoch 0 platforms darwin depends_lib port:py25-setuptools name py25-sqlalchemy-migrate maintainers {akira openmaintainer} long_description {Inspired by Ruby on Rails' migrations, SQLAlchemy Migrate provides a way to deal with database schema changes in SQLAlchemy projects. SQLAlchemy Migrate extends SQLAlchemy to have database changeset handling. It provides a database change repository mechanism which can be used from the command line as well as from inside python code.} categories python version 0.4.4 revision 0 py25-sqlite3 358 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/85ada62f/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:17:28 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:17:28 -0700 (PDT) Subject: [38893] trunk/dports/games/54321/Portfile Message-ID: <20080802081728.549991B392F@beta.macosforge.org> Revision: 38893 http://trac.macosforge.org/projects/macports/changeset/38893 Author: ryandesign at macports.org Date: 2008-08-02 01:17:27 -0700 (Sat, 02 Aug 2008) Log Message: ----------- 54321: whitespace changes only Modified Paths: -------------- trunk/dports/games/54321/Portfile Modified: trunk/dports/games/54321/Portfile =================================================================== --- trunk/dports/games/54321/Portfile 2008-08-02 07:51:22 UTC (rev 38892) +++ trunk/dports/games/54321/Portfile 2008-08-02 08:17:27 UTC (rev 38893) @@ -1,59 +1,58 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name 54321 -version 1.0.2001.11.16 -categories games -platforms macosx -maintainers nomaintainer -description 5 games in 4, 3, or 2 dimensions for 1 player +name 54321 +version 1.0.2001.11.16 +categories games +platforms macosx +maintainers nomaintainer -long_description \ - 54321 is five games in four-, three-, or two-dimensions for \ - one player. 54321 takes five classic two-dimensional puzzle \ - games and extends them into three and four dimensions. \ - For more information, see the help within the game. +description 5 games in 4, 3, or 2 dimensions for 1 player +long_description 54321 is five games in four, three, or two \ + dimensions for one player. 54321 takes five classic \ + two-dimensional puzzle games and extends them into \ + three and four dimensions. For more information, \ + see the help within the game. -homepage http://www.nklein.com/products/54321/ -master_sites ${homepage}${version}/ -dist_subdir ${name}/${version} -distname ${name} -extract.suffix .tgz +homepage http://www.nklein.com/products/54321/ +master_sites ${homepage}${version}/ +dist_subdir ${name}/${version} +distname ${name} +extract.suffix .tgz -depends_build port:libiconv \ - port:zlib +depends_build port:libiconv \ + port:zlib -depends_lib port:libsdl \ - port:libsdl_image \ - port:libpng +depends_lib port:libsdl \ + port:libsdl_image \ + port:libpng -checksums md5 20b2ad52ef45742c1a65911b225b6ddc \ - sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb \ - rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078 +checksums md5 20b2ad52ef45742c1a65911b225b6ddc \ + sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb \ + rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078 -worksrcdir ${name} +worksrcdir ${name} post-patch { - reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU - reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU + reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU + reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU } -use_configure no +use_configure no -build.type gnu -build.env CC=g++ +build.type gnu +build.env CC=g++ destroot { - set appdir ${destroot}/Applications/MacPorts - xinstall -d ${appdir} - copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${appdir} + set appdir ${destroot}/Applications/MacPorts + xinstall -d ${appdir} + copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${appdir} } variant universal { - post-patch { - reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU - reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU - } + post-patch { + reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU + reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU + } } - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/35366c8a/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:19:24 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:19:24 -0700 (PDT) Subject: [38894] trunk/dports/games/54321/Portfile Message-ID: <20080802081924.463871B39A9@beta.macosforge.org> Revision: 38894 http://trac.macosforge.org/projects/macports/changeset/38894 Author: ryandesign at macports.org Date: 2008-08-02 01:19:23 -0700 (Sat, 02 Aug 2008) Log Message: ----------- 54321: remove unnecessary worksrcdir statement; setting distname takes care of this Modified Paths: -------------- trunk/dports/games/54321/Portfile Modified: trunk/dports/games/54321/Portfile =================================================================== --- trunk/dports/games/54321/Portfile 2008-08-02 08:17:27 UTC (rev 38893) +++ trunk/dports/games/54321/Portfile 2008-08-02 08:19:23 UTC (rev 38894) @@ -32,8 +32,6 @@ sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb \ rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078 -worksrcdir ${name} - post-patch { reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/d617bd8e/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:23:29 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:23:29 -0700 (PDT) Subject: [38895] trunk/dports/games/54321/Portfile Message-ID: <20080802082329.CCDAA1B3A20@beta.macosforge.org> Revision: 38895 http://trac.macosforge.org/projects/macports/changeset/38895 Author: ryandesign at macports.org Date: 2008-08-02 01:23:29 -0700 (Sat, 02 Aug 2008) Log Message: ----------- 54321: Use ${applications_dir}; don't assume /Applications/MacPorts Modified Paths: -------------- trunk/dports/games/54321/Portfile Modified: trunk/dports/games/54321/Portfile =================================================================== --- trunk/dports/games/54321/Portfile 2008-08-02 08:19:23 UTC (rev 38894) +++ trunk/dports/games/54321/Portfile 2008-08-02 08:23:29 UTC (rev 38895) @@ -42,10 +42,14 @@ build.type gnu build.env CC=g++ +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + destroot { - set appdir ${destroot}/Applications/MacPorts - xinstall -d ${appdir} - copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${appdir} + xinstall -d ${destroot}${applications_dir} + copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${destroot}${applications_dir} } variant universal { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/ecc2f627/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:31:18 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:31:18 -0700 (PDT) Subject: [38896] trunk/dports/games/chromium/Portfile Message-ID: <20080802083119.27D271B3AC4@beta.macosforge.org> Revision: 38896 http://trac.macosforge.org/projects/macports/changeset/38896 Author: ryandesign at macports.org Date: 2008-08-02 01:31:18 -0700 (Sat, 02 Aug 2008) Log Message: ----------- chromium: whitespace changes only Modified Paths: -------------- trunk/dports/games/chromium/Portfile Modified: trunk/dports/games/chromium/Portfile =================================================================== --- trunk/dports/games/chromium/Portfile 2008-08-02 08:23:29 UTC (rev 38895) +++ trunk/dports/games/chromium/Portfile 2008-08-02 08:31:18 UTC (rev 38896) @@ -1,61 +1,64 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name chromium -version 0.9.12 -categories games -platforms darwin -maintainers nomaintainer -description fast paced, arcade-style, top-scrolling space shooter. -long_description ${description} +name chromium +version 0.9.12 +categories games +platforms darwin +maintainers nomaintainer -homepage http://www.reptilelabour.com/software/chromium/ -master_sites http://www.reptilelabour.com/software/files/chromium/ -distfiles ${name}-src-${version}.tar.gz \ - ${name}-data-${version}.tar.gz -checksums ${name}-src-${version}.tar.gz \ - md5 969883f2f20f10cd6cdb380582f130c4 \ - ${name}-data-${version}.tar.gz \ - md5 173fdf76f1e4d7496142cd5662456a73 -patchfiles patch-configure_functions \ - patch-Makefile.no-setup \ - patch-NCString.cpp \ - patch-Makefile \ - patch-MainSDL_Event.cpp +description fast paced, arcade-style, top-scrolling space shooter. +long_description ${description} -worksrcdir Chromium-0.9 +homepage http://www.reptilelabour.com/software/chromium/ +master_sites http://www.reptilelabour.com/software/files/chromium/ +distfiles ${name}-src-${version}.tar.gz \ + ${name}-data-${version}.tar.gz +checksums ${name}-src-${version}.tar.gz \ + md5 969883f2f20f10cd6cdb380582f130c4 \ + ${name}-data-${version}.tar.gz \ + md5 173fdf76f1e4d7496142cd5662456a73 +patchfiles patch-configure_functions \ + patch-Makefile.no-setup \ + patch-NCString.cpp \ + patch-Makefile \ + patch-MainSDL_Event.cpp -depends_lib lib:libvorbis:libvorbis \ - port:libsdl \ - port:smpeg \ - port:openal +worksrcdir Chromium-0.9 -extract.post_args "| tar -xf - --exclude 'CVS'" +depends_lib lib:libvorbis:libvorbis \ + port:libsdl \ + port:smpeg \ + port:openal -post-patch { - reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/configure - reinplace "s|\"../data\"|\"${prefix}/share/${name}\"|g" \ - ${worksrcpath}/src/main.cpp ${worksrcpath}/src/define.h +extract.post_args "| tar -xf - --exclude 'CVS'" + +post-patch { + reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/configure + reinplace "s|\"../data\"|\"${prefix}/share/${name}\"|g" \ + ${worksrcpath}/src/main.cpp \ + ${worksrcpath}/src/define.h } + configure.pre_args -configure.args --enable-sdl \ - --enable-smpeg \ - --enable-vorbis \ - --disable-setup +configure.args --enable-sdl \ + --enable-smpeg \ + --enable-vorbis \ + --disable-setup -destroot { - xinstall -m 755 ${worksrcpath}/bin/chromium ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/ - file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name} - xinstall -m 644 ${filespath}/powerUpShield.png \ - ${destroot}${prefix}/share/${name}/png +destroot { + xinstall -m 755 ${worksrcpath}/bin/chromium ${destroot}${prefix}/bin + xinstall -m 755 -d ${destroot}${prefix}/share/ + file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name} + xinstall -m 644 ${filespath}/powerUpShield.png \ + ${destroot}${prefix}/share/${name}/png } -platform darwin { - post-destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS - system "ln -s ${prefix}/bin/chromium \ - ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS/Chromium" - } +platform darwin { + post-destroot { + xinstall -m 755 -d ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS + system "ln -s ${prefix}/bin/chromium \ + ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS/Chromium" + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/e5f44a99/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:43:09 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:43:09 -0700 (PDT) Subject: [38897] trunk/dports/games/chromium/Portfile Message-ID: <20080802084309.2158F1B3BA0@beta.macosforge.org> Revision: 38897 http://trac.macosforge.org/projects/macports/changeset/38897 Author: ryandesign at macports.org Date: 2008-08-02 01:43:08 -0700 (Sat, 02 Aug 2008) Log Message: ----------- chromium: use ${applications_dir} Modified Paths: -------------- trunk/dports/games/chromium/Portfile Modified: trunk/dports/games/chromium/Portfile =================================================================== --- trunk/dports/games/chromium/Portfile 2008-08-02 08:31:18 UTC (rev 38896) +++ trunk/dports/games/chromium/Portfile 2008-08-02 08:43:08 UTC (rev 38897) @@ -55,10 +55,15 @@ ${destroot}${prefix}/share/${name}/png } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform darwin { post-destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS - system "ln -s ${prefix}/bin/chromium \ - ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS/Chromium" + xinstall -d ${destroot}${applications_dir}/Chromium.app/Contents/MacOS + ln -s ${prefix}/bin/chromium \ + ${destroot}${applications_dir}/Chromium.app/Contents/MacOS/Chromium } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/0b9cc6d5/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:46:13 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:46:13 -0700 (PDT) Subject: [38898] trunk/dports/audio/openal/Portfile Message-ID: <20080802084613.A38C61B3CA0@beta.macosforge.org> Revision: 38898 http://trac.macosforge.org/projects/macports/changeset/38898 Author: ryandesign at macports.org Date: 2008-08-02 01:46:13 -0700 (Sat, 02 Aug 2008) Log Message: ----------- openal: whitespace changes only Modified Paths: -------------- trunk/dports/audio/openal/Portfile Modified: trunk/dports/audio/openal/Portfile =================================================================== --- trunk/dports/audio/openal/Portfile 2008-08-02 08:43:08 UTC (rev 38897) +++ trunk/dports/audio/openal/Portfile 2008-08-02 08:46:13 UTC (rev 38898) @@ -1,49 +1,49 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name openal -version 1.0 -categories audio devel -platforms darwin -maintainers nomaintainer -description OpenAL is a cross-platform 3D audio API -long_description OpenAL is a cross-platform 3D audio API appropriate for \ - use with gaming applications and many other types of audio \ - applications. +name openal +version 1.0 +categories audio devel +platforms darwin +maintainers nomaintainer -homepage http://www.openal.org/ -master_sites macports -#svn.url http://opensource.creative.com/repos/openal/tags/MacOSX1-2_Spec1-0/ -checksums sha1 156d26e6369b13efe9a525cb0db9e6078ecb05a9 -use_bzip2 yes +description OpenAL is a cross-platform 3D audio API +long_description OpenAL is a cross-platform 3D audio API appropriate \ + for use with gaming applications and many other types \ + of audio applications. -worksrcdir openal-1.0/macosx +homepage http://www.openal.org/ +master_sites macports +#svn.url http://opensource.creative.com/repos/openal/tags/MacOSX1-2_Spec1-0/ +checksums sha1 156d26e6369b13efe9a525cb0db9e6078ecb05a9 +use_bzip2 yes +worksrcdir openal-1.0/macosx + patch { reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.pbproj/project.pbxproj reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.xcode/project.pbxproj } -use_configure no +use_configure no -build.type pbx +build.type pbx build.target -build.args -project al_osx.xcode -post-build { - file copy ${filespath}/Makefile ${worksrcpath} - system "cd ${worksrcpath} && make all PREFIX=${prefix}" +build.args -project al_osx.xcode +post-build { + file copy ${filespath}/Makefile ${worksrcpath} + system "cd ${worksrcpath} && make all PREFIX=${prefix}" } destroot { - xinstall -m 755 -d ${destroot}${prefix}/include/openal - xinstall -m 644 -W ${worksrcpath}/al al.h alc.h alctypes.h altypes.h \ - alut.h ${destroot}${prefix}/include/openal - xinstall -m 644 ${worksrcpath}/libopenal1.0.0.dylib \ - ${destroot}${prefix}/lib - system "cd ${destroot}${prefix}/lib \ - && ln -s libopenal1.0.0.dylib libopenal1.0.dylib \ - && ln -s libopenal1.0.0.dylib libopenal1.dylib \ - && ln -s libopenal1.0.0.dylib libopenal.dylib" + xinstall -m 755 -d ${destroot}${prefix}/include/openal + xinstall -m 644 -W ${worksrcpath}/al al.h alc.h alctypes.h altypes.h \ + alut.h ${destroot}${prefix}/include/openal + xinstall -m 644 ${worksrcpath}/libopenal1.0.0.dylib \ + ${destroot}${prefix}/lib + system "cd ${destroot}${prefix}/lib \ + && ln -s libopenal1.0.0.dylib libopenal1.0.dylib \ + && ln -s libopenal1.0.0.dylib libopenal1.dylib \ + && ln -s libopenal1.0.0.dylib libopenal.dylib" } - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/1559c02e/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:51:01 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:51:01 -0700 (PDT) Subject: [38899] trunk/dports/games/CrimsonFields/Portfile Message-ID: <20080802085101.8DAE51B3DC3@beta.macosforge.org> Revision: 38899 http://trac.macosforge.org/projects/macports/changeset/38899 Author: ryandesign at macports.org Date: 2008-08-02 01:51:00 -0700 (Sat, 02 Aug 2008) Log Message: ----------- CrimsonFields: whitespace changes only Modified Paths: -------------- trunk/dports/games/CrimsonFields/Portfile Modified: trunk/dports/games/CrimsonFields/Portfile =================================================================== --- trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:46:13 UTC (rev 38898) +++ trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:51:00 UTC (rev 38899) @@ -1,45 +1,46 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name CrimsonFields -version 0.4.9 -categories games -platforms darwin -maintainers nomaintainer -description Tactical war game in the tradition of Battle Isle -long_description Crimson Fields is a tactical war game in the tradition \ - of Battle Isle, including a map editor and the \ - possibility to import the original History Line or \ - Battle Isle maps. +name CrimsonFields +version 0.4.9 +categories games +platforms darwin +maintainers nomaintainer -homepage http://crimson.seul.org -master_sites ${homepage}/files/ -distname crimson-${version} -checksums md5 c1ae6de5637efb9223b70c29e10de75b +description Tactical war game in the tradition of Battle Isle +long_description Crimson Fields is a tactical war game in the tradition \ + of Battle Isle, including a map editor and the \ + possibility to import the original History Line or \ + Battle Isle maps. -use_bzip2 yes +homepage http://crimson.seul.org +master_sites ${homepage}/files/ +distname crimson-${version} +checksums md5 c1ae6de5637efb9223b70c29e10de75b -depends_lib port:libsdl \ - port:libsdl_mixer \ - port:libsdl_ttf \ - port:zlib +use_bzip2 yes -configure.args --disable-sdltest \ - --mandir=${prefix}/share/man \ - --with-sdl-prefix=${prefix} \ - --with-zlib=${prefix} \ - --enable-cfed \ - --enable-comet +depends_lib port:libsdl \ + port:libsdl_mixer \ + port:libsdl_ttf \ + port:zlib +configure.args --disable-sdltest \ + --mandir=${prefix}/share/man \ + --with-sdl-prefix=${prefix} \ + --with-zlib=${prefix} \ + --enable-cfed \ + --enable-comet + post-destroot { - file delete -force ${destroot}${prefix}/share/pixmaps + file delete -force ${destroot}${prefix}/share/pixmaps } platform macosx { - pre-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS - system "ln -s ${prefix}/bin/crimson \ - ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields" - } + pre-destroot { + xinstall -d -m 755 ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS + system "ln -s ${prefix}/bin/crimson \ + ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields" + } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/a697575b/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:52:52 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:52:52 -0700 (PDT) Subject: [38900] trunk/dports/games/CrimsonFields/Portfile Message-ID: <20080802085252.E9F291B3E3B@beta.macosforge.org> Revision: 38900 http://trac.macosforge.org/projects/macports/changeset/38900 Author: ryandesign at macports.org Date: 2008-08-02 01:52:52 -0700 (Sat, 02 Aug 2008) Log Message: ----------- CrimsonFields: enable parallel build Modified Paths: -------------- trunk/dports/games/CrimsonFields/Portfile Modified: trunk/dports/games/CrimsonFields/Portfile =================================================================== --- trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:51:00 UTC (rev 38899) +++ trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:52:52 UTC (rev 38900) @@ -33,6 +33,8 @@ --enable-cfed \ --enable-comet +use_parallel_build yes + post-destroot { file delete -force ${destroot}${prefix}/share/pixmaps } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/52dacaf7/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:55:55 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:55:55 -0700 (PDT) Subject: [38901] trunk/dports/games/CrimsonFields/Portfile Message-ID: <20080802085555.60DEB1B3EB5@beta.macosforge.org> Revision: 38901 http://trac.macosforge.org/projects/macports/changeset/38901 Author: ryandesign at macports.org Date: 2008-08-02 01:55:55 -0700 (Sat, 02 Aug 2008) Log Message: ----------- CrimsonFields: use ${applications_dir} Modified Paths: -------------- trunk/dports/games/CrimsonFields/Portfile Modified: trunk/dports/games/CrimsonFields/Portfile =================================================================== --- trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:52:52 UTC (rev 38900) +++ trunk/dports/games/CrimsonFields/Portfile 2008-08-02 08:55:55 UTC (rev 38901) @@ -39,10 +39,15 @@ file delete -force ${destroot}${prefix}/share/pixmaps } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + platform macosx { pre-destroot { - xinstall -d -m 755 ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS - system "ln -s ${prefix}/bin/crimson \ - ${destroot}/Applications/MacPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields" + xinstall -d ${destroot}${applications_dir}/CrimsonFields.app/Contents/MacOS + ln -s ${prefix}/bin/crimson \ + ${destroot}${applications_dir}/CrimsonFields.app/Contents/MacOS/CrimsonFields } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/43044f82/attachment-0001.html From ryandesign at macports.org Sat Aug 2 01:57:05 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 01:57:05 -0700 (PDT) Subject: [38902] trunk/dports/games/chromium/Portfile Message-ID: <20080802085705.CBADC1B3F1D@beta.macosforge.org> Revision: 38902 http://trac.macosforge.org/projects/macports/changeset/38902 Author: ryandesign at macports.org Date: 2008-08-02 01:57:05 -0700 (Sat, 02 Aug 2008) Log Message: ----------- chromium: use port:-style dependency to ensure we only use the MacPorts libvorbis port Modified Paths: -------------- trunk/dports/games/chromium/Portfile Modified: trunk/dports/games/chromium/Portfile =================================================================== --- trunk/dports/games/chromium/Portfile 2008-08-02 08:55:55 UTC (rev 38901) +++ trunk/dports/games/chromium/Portfile 2008-08-02 08:57:05 UTC (rev 38902) @@ -27,7 +27,7 @@ worksrcdir Chromium-0.9 -depends_lib lib:libvorbis:libvorbis \ +depends_lib port:libvorbis \ port:libsdl \ port:smpeg \ port:openal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/4141e2d9/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:04:56 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:04:56 -0700 (PDT) Subject: [38903] trunk/dports/aqua/huevos/Portfile Message-ID: <20080802090456.8A53F1B3FFC@beta.macosforge.org> Revision: 38903 http://trac.macosforge.org/projects/macports/changeset/38903 Author: ryandesign at macports.org Date: 2008-08-02 02:04:55 -0700 (Sat, 02 Aug 2008) Log Message: ----------- huevos: typo in long description Modified Paths: -------------- trunk/dports/aqua/huevos/Portfile Modified: trunk/dports/aqua/huevos/Portfile =================================================================== --- trunk/dports/aqua/huevos/Portfile 2008-08-02 08:57:05 UTC (rev 38902) +++ trunk/dports/aqua/huevos/Portfile 2008-08-02 09:04:55 UTC (rev 38903) @@ -9,7 +9,7 @@ maintainers nomaintainer description customizable search engine helper for OS X long_description Huevos is a customizable search engine helper for Mac \ - OS X. Its easy to use: type in some text to search \ + OS X. It's easy to use: type in some text to search \ for, choose a search engine, then hit the Return key. homepage http://ranchero.com/huevos/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/63ae8e81/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:06:05 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:06:05 -0700 (PDT) Subject: [38904] trunk/dports/aqua/huevos/Portfile Message-ID: <20080802090605.859731B4080@beta.macosforge.org> Revision: 38904 http://trac.macosforge.org/projects/macports/changeset/38904 Author: ryandesign at macports.org Date: 2008-08-02 02:06:05 -0700 (Sat, 02 Aug 2008) Log Message: ----------- huevos: whitespace changes only Modified Paths: -------------- trunk/dports/aqua/huevos/Portfile Modified: trunk/dports/aqua/huevos/Portfile =================================================================== --- trunk/dports/aqua/huevos/Portfile 2008-08-02 09:04:55 UTC (rev 38903) +++ trunk/dports/aqua/huevos/Portfile 2008-08-02 09:06:05 UTC (rev 38904) @@ -1,30 +1,30 @@ # $Id$ -PortSystem 1.0 -PortGroup xcode 1.0 +PortSystem 1.0 +PortGroup xcode 1.0 -name huevos -version 1.1 -categories aqua www -maintainers nomaintainer -description customizable search engine helper for OS X -long_description Huevos is a customizable search engine helper for Mac \ - OS X. It's easy to use: type in some text to search \ - for, choose a search engine, then hit the Return key. +name huevos +version 1.1 +categories aqua www +maintainers nomaintainer -homepage http://ranchero.com/huevos/ -master_sites http://ranchero.com/downloads/ -distname ${name}source -checksums md5 c586fd603d9978b306aee428ea39e329 -platforms darwin +description customizable search engine helper for OS X +long_description Huevos is a customizable search engine helper for Mac \ + OS X. It's easy to use: type in some text to search \ + for, choose a search engine, then hit the Return key. +homepage http://ranchero.com/huevos/ +master_sites http://ranchero.com/downloads/ +distname ${name}source +checksums md5 c586fd603d9978b306aee428ea39e329 +platforms darwin + post-extract { - file rename "${workpath}/Huevos ${version} Source" ${worksrcpath} + file rename "${workpath}/Huevos ${version} Source" ${worksrcpath} } -destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/ - system "find ${worksrcpath} -name Huevos.app -exec cp -r {} \ - ${destroot}/Applications/MacPorts/ \\;" +destroot { + xinstall -m 755 -d ${destroot}/Applications/MacPorts/ + system "find ${worksrcpath} -name Huevos.app -exec cp -r {} \ + ${destroot}/Applications/MacPorts/ \\;" } - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/8656c84a/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:16:38 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:16:38 -0700 (PDT) Subject: [38905] trunk/dports/aqua/huevos/Portfile Message-ID: <20080802091638.3169B1B4149@beta.macosforge.org> Revision: 38905 http://trac.macosforge.org/projects/macports/changeset/38905 Author: ryandesign at macports.org Date: 2008-08-02 02:16:37 -0700 (Sat, 02 Aug 2008) Log Message: ----------- huevos: * use ${applications_dir} * go back to using tcl "copy" command in destroot. This port stopped using "copy" in r15230 but I don't know why. It works fine now. Modified Paths: -------------- trunk/dports/aqua/huevos/Portfile Modified: trunk/dports/aqua/huevos/Portfile =================================================================== --- trunk/dports/aqua/huevos/Portfile 2008-08-02 09:06:05 UTC (rev 38904) +++ trunk/dports/aqua/huevos/Portfile 2008-08-02 09:16:37 UTC (rev 38905) @@ -23,8 +23,12 @@ file rename "${workpath}/Huevos ${version} Source" ${worksrcpath} } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + destroot { - xinstall -m 755 -d ${destroot}/Applications/MacPorts/ - system "find ${worksrcpath} -name Huevos.app -exec cp -r {} \ - ${destroot}/Applications/MacPorts/ \\;" + xinstall -d ${destroot}${applications_dir} + copy ${worksrcpath}/build/${xcode.configuration}/Huevos.app ${destroot}${applications_dir} } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/ef8826ea/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:22:20 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:22:20 -0700 (PDT) Subject: [38906] trunk/dports/aqua/fltk/Portfile Message-ID: <20080802092220.632321B41D9@beta.macosforge.org> Revision: 38906 http://trac.macosforge.org/projects/macports/changeset/38906 Author: ryandesign at macports.org Date: 2008-08-02 02:22:19 -0700 (Sat, 02 Aug 2008) Log Message: ----------- fltk: use ${applications_dir} Modified Paths: -------------- trunk/dports/aqua/fltk/Portfile Modified: trunk/dports/aqua/fltk/Portfile =================================================================== --- trunk/dports/aqua/fltk/Portfile 2008-08-02 09:16:37 UTC (rev 38905) +++ trunk/dports/aqua/fltk/Portfile 2008-08-02 09:22:19 UTC (rev 38906) @@ -36,8 +36,13 @@ port:libpng \ port:zlib +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-patch { - reinplace "s|/Applications|/Applications/MacPorts/${name}|g" \ + reinplace "s|/Applications|${applications_dir}/${name}|g" \ ${worksrcpath}/fluid/Makefile \ ${worksrcpath}/test/Makefile } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/00682b5e/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:22:34 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:22:34 -0700 (PDT) Subject: [38907] trunk/dports/aqua/fltk/Portfile Message-ID: <20080802092235.010441B4243@beta.macosforge.org> Revision: 38907 http://trac.macosforge.org/projects/macports/changeset/38907 Author: ryandesign at macports.org Date: 2008-08-02 02:22:34 -0700 (Sat, 02 Aug 2008) Log Message: ----------- fltk: enable parallel build Modified Paths: -------------- trunk/dports/aqua/fltk/Portfile Modified: trunk/dports/aqua/fltk/Portfile =================================================================== --- trunk/dports/aqua/fltk/Portfile 2008-08-02 09:22:19 UTC (rev 38906) +++ trunk/dports/aqua/fltk/Portfile 2008-08-02 09:22:34 UTC (rev 38907) @@ -50,6 +50,8 @@ configure.args --enable-threads \ --mandir=${prefix}/share/man +use_parallel_build yes + destroot.target install \ install-desktop -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/2ac17d78/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:26:08 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:26:08 -0700 (PDT) Subject: [38908] trunk/dports/aqua/IcyJuice/Portfile Message-ID: <20080802092609.1121C1B42BF@beta.macosforge.org> Revision: 38908 http://trac.macosforge.org/projects/macports/changeset/38908 Author: ryandesign at macports.org Date: 2008-08-02 02:26:08 -0700 (Sat, 02 Aug 2008) Log Message: ----------- IcyJuice: use ${applications_dir} Modified Paths: -------------- trunk/dports/aqua/IcyJuice/Portfile Modified: trunk/dports/aqua/IcyJuice/Portfile =================================================================== --- trunk/dports/aqua/IcyJuice/Portfile 2008-08-02 09:22:34 UTC (rev 38907) +++ trunk/dports/aqua/IcyJuice/Portfile 2008-08-02 09:26:08 UTC (rev 38908) @@ -41,10 +41,15 @@ build.args "-project \"${my_name}.xcodeproj\"" destroot.args "-project \"${my_name}.xcodeproj\"" +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { - xinstall -d ${destroot}/Applications/MacPorts + xinstall -d ${destroot}${applications_dir} copy ${worksrcpath}/build/${xcode.configuration}/${my_name}.app \ - ${destroot}/Applications/MacPorts + ${destroot}${applications_dir} } livecheck.check regex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/094d74b5/attachment-0001.html From ryandesign at macports.org Sat Aug 2 02:29:12 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 02:29:12 -0700 (PDT) Subject: [38909] trunk/dports/aqua/fugu/Portfile Message-ID: <20080802092913.1C0631B4337@beta.macosforge.org> Revision: 38909 http://trac.macosforge.org/projects/macports/changeset/38909 Author: ryandesign at macports.org Date: 2008-08-02 02:29:12 -0700 (Sat, 02 Aug 2008) Log Message: ----------- fugu: use ${applications_dir} Modified Paths: -------------- trunk/dports/aqua/fugu/Portfile Modified: trunk/dports/aqua/fugu/Portfile =================================================================== --- trunk/dports/aqua/fugu/Portfile 2008-08-02 09:26:08 UTC (rev 38908) +++ trunk/dports/aqua/fugu/Portfile 2008-08-02 09:29:12 UTC (rev 38909) @@ -37,10 +37,15 @@ ${worksrcpath}/Fugu.pbproj/project.pbxproj } +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { - xinstall -d ${destroot}/Applications/MacPorts + xinstall -d ${destroot}${applications_dir} copy ${worksrcpath}/build/UninstalledProducts/${my_name}.app \ - ${destroot}/Applications/MacPorts + ${destroot}${applications_dir} } variant universal { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/6751c121/attachment-0001.html From rhwood at macports.org Sat Aug 2 03:03:47 2008 From: rhwood at macports.org (rhwood at macports.org) Date: Sat, 2 Aug 2008 03:03:47 -0700 (PDT) Subject: [38910] trunk/dports/graphics/poppler/Portfile Message-ID: <20080802100347.A1F411B44E5@beta.macosforge.org> Revision: 38910 http://trac.macosforge.org/projects/macports/changeset/38910 Author: rhwood at macports.org Date: 2008-08-02 03:03:46 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Upgrade to version 0.8.5 Add description to variant Modified Paths: -------------- trunk/dports/graphics/poppler/Portfile Modified: trunk/dports/graphics/poppler/Portfile =================================================================== --- trunk/dports/graphics/poppler/Portfile 2008-08-02 09:29:12 UTC (rev 38909) +++ trunk/dports/graphics/poppler/Portfile 2008-08-02 10:03:46 UTC (rev 38910) @@ -3,7 +3,7 @@ PortSystem 1.0 name poppler -version 0.8.3 +version 0.8.5 maintainers nomaintainer categories graphics platforms darwin @@ -14,9 +14,9 @@ ${description} master_sites ${homepage} -checksums md5 d5631bdbde9dda89ff20796005ece4d4 \ - rmd160 f6553fdf468bd67ec8a7f943ba2cc7f141052302 \ - sha1 763d18d9f0e625a936b3a3fbbcd00b58ddd2f84f +checksums md5 00593d56340b4a635f4a34590c445800 \ + rmd160 26634a62d77471ed668507bd0c287bfff291f881 \ + sha1 993c7ac0e12c20674908a44542f49b43bd417574 depends_lib port:cairo port:gtk2 port:poppler-data post-patch { @@ -34,7 +34,7 @@ --enable-zlib \ --mandir=${prefix}/share/man -variant quartz { +variant quartz description { Support for the native Mac OS X interface } { configure.args-append --disable-gtk-test --without-x } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/61f4e377/attachment-0001.html From ryandesign at macports.org Sat Aug 2 03:43:46 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 03:43:46 -0700 (PDT) Subject: [38911] trunk/dports/graphics/electric/Portfile Message-ID: <20080802104346.AD0081B4671@beta.macosforge.org> Revision: 38911 http://trac.macosforge.org/projects/macports/changeset/38911 Author: ryandesign at macports.org Date: 2008-08-02 03:43:45 -0700 (Sat, 02 Aug 2008) Log Message: ----------- electric: mark qt3_mac and qt3_x11 variants as conflicting Modified Paths: -------------- trunk/dports/graphics/electric/Portfile Modified: trunk/dports/graphics/electric/Portfile =================================================================== --- trunk/dports/graphics/electric/Portfile 2008-08-02 10:03:46 UTC (rev 38910) +++ trunk/dports/graphics/electric/Portfile 2008-08-02 10:43:45 UTC (rev 38911) @@ -40,7 +40,7 @@ patch-src_include_config.h_macx11 } -variant qt3_mac { +variant qt3_mac conflicts qt3_x11 { depends_lib-append lib:libqt-mt:qt3-mac patchfiles-append patch-Makefile.in_qt3_mac \ patch-src_graph_graphqt.cpp_macqt @@ -53,7 +53,7 @@ } } -variant qt3_x11 { +variant qt3_x11 conflicts qt3_mac { depends_lib-append lib:libqt-mt:qt3 patchfiles-append patch-Makefile.in_qt3_x11 \ patch-src_include_config.h_macx11 \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/6d50e909/attachment-0001.html From ryandesign at macports.org Sat Aug 2 03:44:38 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 03:44:38 -0700 (PDT) Subject: [38912] trunk/dports/games/Gomoku/Portfile Message-ID: <20080802104438.4060A1B4731@beta.macosforge.org> Revision: 38912 http://trac.macosforge.org/projects/macports/changeset/38912 Author: ryandesign at macports.org Date: 2008-08-02 03:44:37 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Gomoku: fix typo in long description Modified Paths: -------------- trunk/dports/games/Gomoku/Portfile Modified: trunk/dports/games/Gomoku/Portfile =================================================================== --- trunk/dports/games/Gomoku/Portfile 2008-08-02 10:43:45 UTC (rev 38911) +++ trunk/dports/games/Gomoku/Portfile 2008-08-02 10:44:37 UTC (rev 38912) @@ -10,7 +10,7 @@ description extended TicTacToe game long_description Gomoku.app is an extended TicTacToe game for GNUstep. \ You win the game if you are able to put 5 of your \ - pieces in a row, column or diagonal. You loose if the \ + pieces in a row, column or diagonal. You lose if the \ computer does it before you. You can play the game on \ boards of different size\; the default size is 8 but \ 10 is also nice to play. The game has 6 different \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/3dfdc656/attachment-0001.html From ryandesign at macports.org Sat Aug 2 03:48:53 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 03:48:53 -0700 (PDT) Subject: [38913] trunk/dports/games/Gomoku/Portfile Message-ID: <20080802104853.664AA1B47D3@beta.macosforge.org> Revision: 38913 http://trac.macosforge.org/projects/macports/changeset/38913 Author: ryandesign at macports.org Date: 2008-08-02 03:48:52 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Gomoku: fix fetch failure Modified Paths: -------------- trunk/dports/games/Gomoku/Portfile Modified: trunk/dports/games/Gomoku/Portfile =================================================================== --- trunk/dports/games/Gomoku/Portfile 2008-08-02 10:44:37 UTC (rev 38912) +++ trunk/dports/games/Gomoku/Portfile 2008-08-02 10:48:52 UTC (rev 38913) @@ -18,7 +18,7 @@ homepage http://www.gnustep.it/nicola/Applications/Gomoku/ master_sites ${homepage}:s \ - http://www.opendarwin.org/~mww/files/:p + http://distfiles.master.finkmirrors.net/:p distfiles ${distname}${extract.suffix}:s \ ${distname}_aqua${extract.suffix}:p checksums ${distname}${extract.suffix} \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/dfcc0fb2/attachment-0001.html From ryandesign at macports.org Sat Aug 2 03:52:12 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 03:52:12 -0700 (PDT) Subject: [38914] trunk/dports/games/Gomoku/Portfile Message-ID: <20080802105212.720DA1B489B@beta.macosforge.org> Revision: 38914 http://trac.macosforge.org/projects/macports/changeset/38914 Author: ryandesign at macports.org Date: 2008-08-02 03:52:12 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Gomoku: use the xcode portgroup, which removes some code from the portfile and automatically supports ${applications_dir} Modified Paths: -------------- trunk/dports/games/Gomoku/Portfile Modified: trunk/dports/games/Gomoku/Portfile =================================================================== --- trunk/dports/games/Gomoku/Portfile 2008-08-02 10:48:52 UTC (rev 38913) +++ trunk/dports/games/Gomoku/Portfile 2008-08-02 10:52:12 UTC (rev 38914) @@ -1,11 +1,11 @@ # $Id$ PortSystem 1.0 +PortGroup xcode 1.0 name Gomoku version 1.2.6 categories games aqua gnustep -platforms darwin maintainers nomaintainer description extended TicTacToe game long_description Gomoku.app is an extended TicTacToe game for GNUstep. \ @@ -31,8 +31,6 @@ patch-GomokuInfo.plist.diff \ patch-main.m.diff -use_configure no - post-extract { file copy ${workpath}/English.lproj/MainMenu.nib \ ${worksrcpath}/English.lproj @@ -49,12 +47,3 @@ file copy ${workpath}/GNUstep.h ${workpath}/about.png \ ${workpath}/Gomoku.pbproj ${worksrcpath} } - -build.type pbx -build.target - -destroot { - file mkdir ${destroot}/Applications/MacPorts - file copy ${worksrcpath}/build/Default/Gomoku.app \ - ${destroot}/Applications/MacPorts -} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/3167463f/attachment-0001.html From ryandesign at macports.org Sat Aug 2 04:04:03 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 04:04:03 -0700 (PDT) Subject: [38915] trunk/dports/aqua/DesktopManager/Portfile Message-ID: <20080802110403.E68EC1B4999@beta.macosforge.org> Revision: 38915 http://trac.macosforge.org/projects/macports/changeset/38915 Author: ryandesign at macports.org Date: 2008-08-02 04:04:03 -0700 (Sat, 02 Aug 2008) Log Message: ----------- DesktopManager: use ${applications_dir} Modified Paths: -------------- trunk/dports/aqua/DesktopManager/Portfile Modified: trunk/dports/aqua/DesktopManager/Portfile =================================================================== --- trunk/dports/aqua/DesktopManager/Portfile 2008-08-02 10:52:12 UTC (rev 38914) +++ trunk/dports/aqua/DesktopManager/Portfile 2008-08-02 11:04:03 UTC (rev 38915) @@ -26,12 +26,17 @@ xcode.destroot.settings SKIP_INSTALL=yes +# Can be removed once MacPorts 1.7.0 is released +if {![info exists applications_dir]} { + set applications_dir /Applications/MacPorts +} + post-destroot { - xinstall -d ${destroot}/Applications/MacPorts + xinstall -d ${destroot}${applications_dir} copy "${worksrcpath}/build/UninstalledProducts/Desktop Manager.app" \ - ${destroot}/Applications/MacPorts + ${destroot}${applications_dir} - eval delete [glob "${destroot}/Applications/MacPorts/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"] + eval delete [glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"] } livecheck.check regex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/f138ec0a/attachment-0001.html From rhwood at macports.org Sat Aug 2 04:11:13 2008 From: rhwood at macports.org (rhwood at macports.org) Date: Sat, 2 Aug 2008 04:11:13 -0700 (PDT) Subject: [38916] trunk/dports/graphics/poppler/Portfile Message-ID: <20080802111113.D511E1B4A4B@beta.macosforge.org> Revision: 38916 http://trac.macosforge.org/projects/macports/changeset/38916 Author: rhwood at macports.org Date: 2008-08-02 04:11:13 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Add X11 variant Modified Paths: -------------- trunk/dports/graphics/poppler/Portfile Modified: trunk/dports/graphics/poppler/Portfile =================================================================== --- trunk/dports/graphics/poppler/Portfile 2008-08-02 11:04:03 UTC (rev 38915) +++ trunk/dports/graphics/poppler/Portfile 2008-08-02 11:11:13 UTC (rev 38916) @@ -34,10 +34,16 @@ --enable-zlib \ --mandir=${prefix}/share/man -variant quartz description { Support for the native Mac OS X interface } { +variant quartz conflicts x11 description { Support for the native Mac OS X interface } { configure.args-append --disable-gtk-test --without-x } +variant x11 conflicts quartz description { Support for the X11 user interface } { + depends_lib-append \ + lib:libX11.6:XFree86 \ + port:xrender +} + test.run yes test.dir ${worksrcpath}/test test.target all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/8d6d33fc/attachment-0001.html From ryandesign at macports.org Sat Aug 2 04:18:24 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 04:18:24 -0700 (PDT) Subject: [38917] trunk/dports/games/Gridlock/Portfile Message-ID: <20080802111824.5B0CB1B4B0B@beta.macosforge.org> Revision: 38917 http://trac.macosforge.org/projects/macports/changeset/38917 Author: ryandesign at macports.org Date: 2008-08-02 04:18:23 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Gridlock: * fix homepage * fix fetch failure * update to 1.10 * use xcode portgroup, simplifying port and supporting ${applications_dir} Modified Paths: -------------- trunk/dports/games/Gridlock/Portfile Modified: trunk/dports/games/Gridlock/Portfile =================================================================== --- trunk/dports/games/Gridlock/Portfile 2008-08-02 11:11:13 UTC (rev 38916) +++ trunk/dports/games/Gridlock/Portfile 2008-08-02 11:18:23 UTC (rev 38917) @@ -1,11 +1,11 @@ # $Id$ PortSystem 1.0 +PortGroup xcode 1.0 name Gridlock -version 1.8 +version 1.10 categories games aqua -platforms darwin maintainers nomaintainer description Grid-based board games collection, including AI and network play long_description A collection of grid-based board games, including \ @@ -13,19 +13,11 @@ Breakthrough, Glass Bead, and Life. You can play \ against the computer or over the network. -homepage opendarwin -master_sites ${homepage}/${name}/ -distname ${name}-src18 -checksums md5 cea9cf92b4bce9b1c67edcddb152634b - -use_configure no - -build.dir ${workpath}/${name} -build.type pbx -build.target - -destroot { - file mkdir ${destroot}/Applications/MacPorts - file copy ${build.dir}/build/${name}.app \ - ${destroot}/Applications/MacPorts -} +homepage http://www.dozingcatsoftware.com/ +master_sites ${homepage}${name}/ +distname ${name}_src110 +worksrcdir ${name} +use_zip yes +checksums md5 488d759ff0de7d5fae52c299892e3019 \ + sha1 01d5dc011dd9ab017f06956d142bc6868d602117 \ + rmd160 38865d400ee734458f637b4e5d818f1b997d8138 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/176b8b73/attachment-0001.html From rhwood at macports.org Sat Aug 2 04:22:08 2008 From: rhwood at macports.org (rhwood at macports.org) Date: Sat, 2 Aug 2008 04:22:08 -0700 (PDT) Subject: [38918] trunk/dports/graphics/poppler/Portfile Message-ID: <20080802112209.10E301B4CE5@beta.macosforge.org> Revision: 38918 http://trac.macosforge.org/projects/macports/changeset/38918 Author: rhwood at macports.org Date: 2008-08-02 04:22:08 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Automagically set default variant Modified Paths: -------------- trunk/dports/graphics/poppler/Portfile Modified: trunk/dports/graphics/poppler/Portfile =================================================================== --- trunk/dports/graphics/poppler/Portfile 2008-08-02 11:18:23 UTC (rev 38917) +++ trunk/dports/graphics/poppler/Portfile 2008-08-02 11:22:08 UTC (rev 38918) @@ -34,6 +34,20 @@ --enable-zlib \ --mandir=${prefix}/share/man +if {[variant_isset no_x11]} { + default_variants +quartz +} + +if {![variant_isset quartz]} { + default_variants +x11 +} + +pre-fetch { + if {![variant_isset quartz] && ![variant_isset x11]} { + error "Either +x11 or +quartz is required" + } +} + variant quartz conflicts x11 description { Support for the native Mac OS X interface } { configure.args-append --disable-gtk-test --without-x } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/694b60e2/attachment-0001.html From ryandesign at macports.org Sat Aug 2 04:28:15 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 04:28:15 -0700 (PDT) Subject: [38919] trunk/dports/games/wesnoth/Portfile Message-ID: <20080802112815.26B541B4E16@beta.macosforge.org> Revision: 38919 http://trac.macosforge.org/projects/macports/changeset/38919 Author: ryandesign at macports.org Date: 2008-08-02 04:28:14 -0700 (Sat, 02 Aug 2008) Log Message: ----------- wesnoth: fix livecheck Modified Paths: -------------- trunk/dports/games/wesnoth/Portfile Modified: trunk/dports/games/wesnoth/Portfile =================================================================== --- trunk/dports/games/wesnoth/Portfile 2008-08-02 11:22:08 UTC (rev 38918) +++ trunk/dports/games/wesnoth/Portfile 2008-08-02 11:28:14 UTC (rev 38919) @@ -43,3 +43,4 @@ } } +livecheck.regex ${name}.* ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*) released.* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/eb3b2ab7/attachment-0001.html From rhwood at macports.org Sat Aug 2 04:30:45 2008 From: rhwood at macports.org (rhwood at macports.org) Date: Sat, 2 Aug 2008 04:30:45 -0700 (PDT) Subject: [38920] trunk/dports/graphics/poppler/Portfile Message-ID: <20080802113045.6CE081B4F41@beta.macosforge.org> Revision: 38920 http://trac.macosforge.org/projects/macports/changeset/38920 Author: rhwood at macports.org Date: 2008-08-02 04:30:45 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Whitespace changes Modified Paths: -------------- trunk/dports/graphics/poppler/Portfile Modified: trunk/dports/graphics/poppler/Portfile =================================================================== --- trunk/dports/graphics/poppler/Portfile 2008-08-02 11:28:14 UTC (rev 38919) +++ trunk/dports/graphics/poppler/Portfile 2008-08-02 11:30:45 UTC (rev 38920) @@ -14,11 +14,16 @@ ${description} master_sites ${homepage} -checksums md5 00593d56340b4a635f4a34590c445800 \ - rmd160 26634a62d77471ed668507bd0c287bfff291f881 \ - sha1 993c7ac0e12c20674908a44542f49b43bd417574 -depends_lib port:cairo port:gtk2 port:poppler-data +checksums \ + md5 00593d56340b4a635f4a34590c445800 \ + rmd160 26634a62d77471ed668507bd0c287bfff291f881 \ + sha1 993c7ac0e12c20674908a44542f49b43bd417574 +depends_lib \ + port:cairo \ + port:gtk2 \ + port:poppler-data + post-patch { reinplace "s|-flat_namespace -undefined suppress||g" \ ${worksrcpath}/configure @@ -58,7 +63,7 @@ port:xrender } -test.run yes -test.dir ${worksrcpath}/test -test.target all +test.run yes +test.dir ${worksrcpath}/test +test.target all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/129d7ce6/attachment.html From rhwood at macports.org Sat Aug 2 05:33:56 2008 From: rhwood at macports.org (rhwood at macports.org) Date: Sat, 2 Aug 2008 05:33:56 -0700 (PDT) Subject: [38921] trunk/dports/graphics/poppler/Portfile Message-ID: <20080802123357.244E11B50F0@beta.macosforge.org> Revision: 38921 http://trac.macosforge.org/projects/macports/changeset/38921 Author: rhwood at macports.org Date: 2008-08-02 05:33:56 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Add qt4 variant Modified Paths: -------------- trunk/dports/graphics/poppler/Portfile Modified: trunk/dports/graphics/poppler/Portfile =================================================================== --- trunk/dports/graphics/poppler/Portfile 2008-08-02 11:30:45 UTC (rev 38920) +++ trunk/dports/graphics/poppler/Portfile 2008-08-02 12:33:56 UTC (rev 38921) @@ -63,6 +63,15 @@ port:xrender } +variant qt4 description { Support for the QT toolkit } { + configure.args-delete --disable-poppler-qt4 + if ([variant_isset quartz]) { + depends_lib-append port:qt4-mac + } else { + depends_lib-append port:qt4-x11 + } +} + test.run yes test.dir ${worksrcpath}/test test.target all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/2b66ca16/attachment.html From pmagrath at macports.org Sat Aug 2 10:05:25 2008 From: pmagrath at macports.org (pmagrath at macports.org) Date: Sat, 2 Aug 2008 10:05:25 -0700 (PDT) Subject: [38922] branches/gsoc08-privileges/base/src Message-ID: <20080802170525.74FBB1B5B35@beta.macosforge.org> Revision: 38922 http://trac.macosforge.org/projects/macports/changeset/38922 Author: pmagrath at macports.org Date: 2008-08-02 10:05:24 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Some tidy ups and only elevate privileges if error is a privileges error. Modified Paths: -------------- branches/gsoc08-privileges/base/src/port/port.tcl branches/gsoc08-privileges/base/src/port1.0/portbuild.tcl branches/gsoc08-privileges/base/src/port1.0/portclean.tcl branches/gsoc08-privileges/base/src/port1.0/portconfigure.tcl branches/gsoc08-privileges/base/src/port1.0/portdestroot.tcl branches/gsoc08-privileges/base/src/port1.0/portmain.tcl branches/gsoc08-privileges/base/src/port1.0/portpatch.tcl branches/gsoc08-privileges/base/src/port1.0/portutil.tcl Modified: branches/gsoc08-privileges/base/src/port/port.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -2415,7 +2415,7 @@ proc action_target { action portlist opts } { - global global_variations + global global_variations set status 0 if {[require_portlist portlist]} { return 1 @@ -2462,7 +2462,7 @@ } #ui_debug "worker ($workername) $target $portname" - + if {[catch {set result [mportexec $workername $target]} result]} { global errorInfo mportclose $workername @@ -2472,11 +2472,10 @@ mportclose $workername - # start gsoc08-privileges - if { [geteuid] != 0 && $result == 1 } { - # TODO: find a way to detect definitely that the error is privileges related. - ui_warn "Attempting to re-run with 'sudo port'. Command: 'sudo port $target $portname'." + if { [geteuid] != 0 && $result == 2} { + # mportexec will return an error result code 2 if eval_targets fails due to insufficient privileges. + ui_warn "Attempting re-run with 'sudo port'. Executing: 'sudo port $target $portname'." set result 0 ui_msg [exec sudo port $target $portname] ui_debug "'sudo port $target $portname' has completed." Modified: branches/gsoc08-privileges/base/src/port1.0/portbuild.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portbuild.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portbuild.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -135,25 +135,14 @@ } proc build_start {args} { - global UI_PREFIX build.asroot macportsuser euid egid + global UI_PREFIX build.asroot ui_msg "$UI_PREFIX [format [msgcat::mc "Building %s"] [option portname]]" # start gsoc08-privileges if { [tbool build.asroot] } { - # if port is marked as needing root - if { [getuid] == 0 && [geteuid] == [name_to_uid "$macportsuser"] } { - # if started with sudo but have dropped the privileges - ui_debug "Can't run install on this port without elevated privileges." - ui_debug "Going to escalate privileges back to root." - setegid $egid - seteuid $euid - ui_debug "euid changed to: [geteuid]. egid changed to: [getegid]." - } - - if { [getuid] != 0 } { - return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; - } + # if port is marked as needing root + elevateToRoot "build" } # end gsoc08-privileges Modified: branches/gsoc08-privileges/base/src/port1.0/portclean.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portclean.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portclean.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -49,20 +49,6 @@ global UI_PREFIX macportsuser euid egid ui_msg "$UI_PREFIX [format [msgcat::mc "Cleaning %s"] [option portname]]" - - # start gsoc08-privileges - #if { [getuid] == 0 && [geteuid] == [name_to_uid "$macportsuser"] } { - # if started with sudo but have dropped the privileges - # ui_debug "Can't guarantee a good clean without elevated privileges." - # TODO: modify so that privilege descalation is conditional on needing - # to clean a directory in the /opt hierarchy. - # ui_debug "Going to escalate privileges back to root." - # seteuid $euid - # setegid $egid - # ui_debug "euid changed to: [geteuid]" - # ui_debug "egid changed to: [getegid]" - #} - # end gsoc08-privileges } proc clean_main {args} { Modified: branches/gsoc08-privileges/base/src/port1.0/portconfigure.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portconfigure.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portconfigure.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -142,28 +142,16 @@ set_ui_prefix proc configure_start {args} { - global UI_PREFIX macportsuser euid egid + global UI_PREFIX ui_msg "$UI_PREFIX [format [msgcat::mc "Configuring %s"] [option portname]]" # start gsoc08-privileges if { [tbool configure.asroot] } { - # if port is marked as needing root - if { [getuid] == 0 && [geteuid] == [name_to_uid "$macportsuser"] } { - # if started with sudo but have dropped the privileges - ui_debug "Can't run install on this port without elevated privileges." - ui_debug "Going to escalate privileges back to root." - setegid $egid - seteuid $euid - ui_debug "euid changed to: [geteuid]. egid changed to: [getegid]." - } - - if { [getuid] != 0 } { - return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; - } + # if port is marked as needing root + elevateToRoot "configure" } # end gsoc08-privileges - } # internal function to determine canonical system name for configure Modified: branches/gsoc08-privileges/base/src/port1.0/portdestroot.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portdestroot.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portdestroot.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -104,6 +104,8 @@ } if { [tbool destroot.asroot] && [getuid] != 0 } { + global errorisprivileges + set errorisprivileges yes return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; } # end gsoc08-privileges Modified: branches/gsoc08-privileges/base/src/port1.0/portmain.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portmain.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portmain.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -47,7 +47,7 @@ options universal_variant os.universal_supported # Export options via PortInfo -options_export name version revision epoch categories maintainers platforms description long_description homepage +options_export name version revision epoch categories maintainers platforms description long_description homepage # Assign option procedure to default_variants option_proc default_variants handle_default_variants Modified: branches/gsoc08-privileges/base/src/port1.0/portpatch.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portpatch.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portpatch.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -50,7 +50,7 @@ default patch.pre_args -p0 proc patch_main {args} { - global UI_PREFIX patch.asroot macportsuser euid egid + global UI_PREFIX # First make sure that patchfiles exists and isn't stubbed out. if {![exists patchfiles]} { @@ -61,19 +61,8 @@ # start gsoc08-privileges if { [tbool patch.asroot] } { - # if port is marked as needing root - if { [getuid] == 0 && [geteuid] == [name_to_uid "$macportsuser"] } { - # if started with sudo but have dropped the privileges - ui_debug "Can't run install on this port without elevated privileges." - ui_debug "Going to escalate privileges back to root." - setegid $egid - seteuid $euid - ui_debug "euid changed to: [geteuid]. egid changed to: [getegid]." - } - - if { [getuid] != 0 } { - return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; - } + # if port is marked as needing root + elevateToRoot "patch" } # end gsoc08-privileges Modified: branches/gsoc08-privileges/base/src/port1.0/portutil.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-02 12:33:56 UTC (rev 38921) +++ branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-02 17:05:24 UTC (rev 38922) @@ -1389,6 +1389,13 @@ set result 0 } + # start gsoc08-privileges + global errorisprivileges + if { $result == 1 && $errorisprivileges == "yes" } { + set result 2 + } + # end gsoc08-privileges + return $result } @@ -2287,6 +2294,10 @@ } +## +# Recusively chown the given file or directory to the specified user, using root privileges. +# +# @param path the file/directory to be chowned proc chownAsRoot {path} { global euid macportsuser @@ -2302,12 +2313,16 @@ # if started with sudo but have elevated back to root already chown ${path} ${macportsuser} } else { - ui_debug "not need to chown $path. uid=[getuid]. euid=[geteuid]." + ui_debug "no need to chown $path. uid=[getuid]. euid=[geteuid]." } } +## +# Elevate privileges back to root. +# +# @param action the action for which privileges are being elevated proc elevateToRoot {action} { - global euid egid macportsuser + global euid egid macportsuser errorisprivileges if { [getuid] == 0 && [geteuid] == [name_to_uid "$macportsuser"] } { # if started with sudo but have dropped the privileges @@ -2318,6 +2333,7 @@ } if { [getuid] != 0 } { + set errorisprivileges yes return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/0df90357/attachment.html From toby at macports.org Sat Aug 2 12:40:03 2008 From: toby at macports.org (toby at macports.org) Date: Sat, 2 Aug 2008 12:40:03 -0700 (PDT) Subject: [38923] trunk/dports/net/adns/files Message-ID: <20080802194003.83CC11B5EE9@beta.macosforge.org> Revision: 38923 http://trac.macosforge.org/projects/macports/changeset/38923 Author: toby at macports.org Date: 2008-08-02 12:40:02 -0700 (Sat, 02 Aug 2008) Log Message: ----------- doh Added Paths: ----------- trunk/dports/net/adns/files/patch-client__Makefile.in trunk/dports/net/adns/files/patch-dynamic__Makefile.in trunk/dports/net/adns/files/patch-src__Makefile.in Added: trunk/dports/net/adns/files/patch-client__Makefile.in =================================================================== --- trunk/dports/net/adns/files/patch-client__Makefile.in (rev 0) +++ trunk/dports/net/adns/files/patch-client__Makefile.in 2008-08-02 19:40:02 UTC (rev 38923) @@ -0,0 +1,14 @@ +--- client/Makefile.in.orig 2008-07-29 16:54:51.000000000 -0700 ++++ client/Makefile.in 2008-07-29 16:55:10.000000000 -0700 +@@ -58,9 +58,9 @@ + all: $(TARGETS) + + install: $(TARG_INSTALL) +- mkdir -p $(bindir) ++ mkdir -p $(DESTDIR)$(bindir) + set -xe; for f in $(TARG_INSTALL); \ +- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done ++ do $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; done + + uninstall: + for f in $(TARGETS); do rm -f $(bindir)/$$f; done Added: trunk/dports/net/adns/files/patch-dynamic__Makefile.in =================================================================== --- trunk/dports/net/adns/files/patch-dynamic__Makefile.in (rev 0) +++ trunk/dports/net/adns/files/patch-dynamic__Makefile.in 2008-08-02 19:40:02 UTC (rev 38923) @@ -0,0 +1,17 @@ +--- dynamic/Makefile.in.orig 2008-07-29 16:56:08.000000000 -0700 ++++ dynamic/Makefile.in 2008-07-29 16:56:35.000000000 -0700 +@@ -30,10 +30,10 @@ + ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS))) + + install: +- mkdir -p $(libdir) +- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE) +- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME) +- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK) ++ mkdir -p $(DESTDIR)$(libdir) ++ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBFILE) ++ ln -sf $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBSONAME) ++ ln -sf $(SHLIBFILE) $(DESTDIR)$(libdir)/$(SHLIBFORLINK) + + uninstall: + rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME) Added: trunk/dports/net/adns/files/patch-src__Makefile.in =================================================================== --- trunk/dports/net/adns/files/patch-src__Makefile.in (rev 0) +++ trunk/dports/net/adns/files/patch-src__Makefile.in 2008-08-02 19:40:02 UTC (rev 38923) @@ -0,0 +1,16 @@ +--- src/Makefile.in.orig 2008-07-29 16:57:27.000000000 -0700 ++++ src/Makefile.in 2008-07-29 16:57:40.000000000 -0700 +@@ -28,10 +28,10 @@ + include adns.make + + install: +- mkdir -p $(libdir) $(includedir) ++ mkdir -p $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) + set -xe; for f in $(TARGETS); \ +- do $(INSTALL_DATA) $$f $(libdir)/$$f; done +- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(libdir)/$$f; done ++ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)$(includedir)/adns.h + + uninstall: + for f in $(TARGETS); do rm -f $(libdir)/$$f; done -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/f7a776d9/attachment-0001.html From portindex at macports.org Sat Aug 2 12:52:15 2008 From: portindex at macports.org (portindex at macports.org) Date: Sat, 2 Aug 2008 12:52:15 -0700 (PDT) Subject: [38924] trunk/dports/PortIndex Message-ID: <20080802195216.B76991B5F4C@beta.macosforge.org> Revision: 38924 http://trac.macosforge.org/projects/macports/changeset/38924 Author: portindex at macports.org Date: 2008-08-02 12:52:15 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Total number of ports parsed: 4945 Ports successfully parsed: 4945 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-02 19:40:02 UTC (rev 38923) +++ trunk/dports/PortIndex 2008-08-02 19:52:15 UTC (rev 38924) @@ -108,8 +108,8 @@ variants universal description {A Mac OS X SFTP, SCP and SSH Frontend.} portdir aqua/fugu homepage http://rsug.itd.umich.edu/software/fugu/ epoch 0 platforms darwin name fugu long_description {Fugu is a graphical frontend to the commandline Secure File Transfer application (SFTP). SFTP is similar to FTP, but unlike FTP, the entire session is encrypted, meaning no passwords are sent in cleartext form, and is thus much less vulnerable to third-party interception.} maintainers nomaintainer version 1.2.0 categories aqua revision 0 gimp-app 326 variants {universal quartz} portdir aqua/gimp-app description {Gimp.app application bundle} homepage http://gimp-app.sourceforge.net/ epoch 0 depends_run bin:gimp:gimp2 platforms macosx name gimp-app maintainers nomaintainer long_description {{Gimp.app application bundle}} categories {aqua graphics} version 2.4.0 revision 0 -huevos 418 -variants universal description {customizable search engine helper for OS X} portdir aqua/huevos homepage http://ranchero.com/huevos/ epoch 0 platforms darwin name huevos long_description {Huevos is a customizable search engine helper for Mac OS X. Its easy to use: type in some text to search for, choose a search engine, then hit the Return key.} maintainers nomaintainer version 1.1 categories {aqua www} revision 0 +huevos 419 +variants universal description {customizable search engine helper for OS X} portdir aqua/huevos homepage http://ranchero.com/huevos/ epoch 0 platforms darwin name huevos long_description {Huevos is a customizable search engine helper for Mac OS X. It's easy to use: type in some text to search for, choose a search engine, then hit the Return key.} maintainers nomaintainer version 1.1 categories {aqua www} revision 0 iTerm 565 variants universal description {Enhanced terminal emulator program for Mac OS X} portdir aqua/iTerm homepage http://iterm.sourceforge.net epoch 0 platforms macosx name iTerm long_description {iTerm is a full featured terminal emulation program written for OS X using Cocoa. We are aiming at providing users with best command line experience under OS X. The letter i represents a native Apple look and feel of the program interface, and an emphasis on complete international support.} maintainers waqar at macports.org categories {aqua shells} version 0.8.2 revision 0 ihook 507 @@ -1922,14 +1922,14 @@ variants universal portdir fuse/sshfs-gui description {OS X GUI for sshfs} homepage http://code.google.com/p/macfuse/ epoch 0 depends_run port:sshfs platforms macosx name sshfs-gui maintainers eridius at macports.org long_description {This is an OS X Cocoa GUI on top of sshfs that makes it easy to set up new sshfs mounts.} categories fuse version 1.3 revision 0 2Pong 372 variants universal portdir games/2Pong description {Pong game with 2 balls, 2 and 4 player support} homepage http://twopong.sourceforge.net/ epoch 0 platforms darwin name 2Pong depends_lib {port:libsdl port:libsdl_image port:libsdl_mixer} maintainers nomaintainer long_description {{Pong game with 2 balls, 2 and 4 player support}} version 0.6 categories games revision 1 -54321 600 -variants universal depends_build {port:libiconv port:zlib} portdir games/54321 description {5 games in 4, 3, or 2 dimensions for 1 player} homepage http://www.nklein.com/products/54321/ epoch 0 platforms macosx depends_lib {port:libsdl port:libsdl_image port:libpng} name 54321 maintainers nomaintainer long_description {54321 is five games in four-, three-, or two-dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions. For more information, see the help within the game.} version 1.0.2001.11.16 categories games revision 0 +54321 598 +variants universal depends_build {port:libiconv port:zlib} portdir games/54321 description {5 games in 4, 3, or 2 dimensions for 1 player} homepage http://www.nklein.com/products/54321/ epoch 0 platforms macosx depends_lib {port:libsdl port:libsdl_image port:libpng} name 54321 maintainers nomaintainer long_description {54321 is five games in four, three, or two dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions. For more information, see the help within the game.} version 1.0.2001.11.16 categories games revision 0 CrimsonFields 524 variants {universal macosx} portdir games/CrimsonFields description {Tactical war game in the tradition of Battle Isle} homepage http://crimson.seul.org epoch 0 platforms darwin name CrimsonFields depends_lib {port:libsdl port:libsdl_mixer port:libsdl_ttf port:zlib} maintainers nomaintainer long_description {Crimson Fields is a tactical war game in the tradition of Battle Isle, including a map editor and the possibility to import the original History Line or Battle Isle maps.} version 0.4.9 categories games revision 0 -Gomoku 610 -variants universal description {extended TicTacToe game} portdir games/Gomoku homepage http://www.gnustep.it/nicola/Applications/Gomoku/ epoch 0 platforms darwin name Gomoku long_description {Gomoku.app is an extended TicTacToe game for GNUstep. You win the game if you are able to put 5 of your pieces in a row, column or diagonal. You loose if the computer does it before you. You can play the game on boards of different {size;} the default size is 8 but 10 is also nice to play. The game has 6 different difficulty levels.} maintainers nomaintainer categories {games aqua gnustep} version 1.2.6 revision 0 -Gridlock 460 -variants universal description {Grid-based board games collection, including AI and network play} portdir games/Gridlock homepage opendarwin epoch 0 platforms darwin name Gridlock long_description {A collection of grid-based board games, including Ataxx, Reversi, Checkers, Gomoku, Connect Four, Breakthrough, Glass Bead, and Life. You can play against the computer or over the network.} maintainers nomaintainer categories {games aqua} version 1.8 revision 0 +Gomoku 609 +variants universal description {extended TicTacToe game} portdir games/Gomoku homepage http://www.gnustep.it/nicola/Applications/Gomoku/ epoch 0 platforms macosx name Gomoku long_description {Gomoku.app is an extended TicTacToe game for GNUstep. You win the game if you are able to put 5 of your pieces in a row, column or diagonal. You lose if the computer does it before you. You can play the game on boards of different {size;} the default size is 8 but 10 is also nice to play. The game has 6 different difficulty levels.} maintainers nomaintainer version 1.2.6 categories {games aqua gnustep} revision 0 +Gridlock 484 +variants universal description {Grid-based board games collection, including AI and network play} portdir games/Gridlock homepage http://www.dozingcatsoftware.com/ epoch 0 platforms macosx name Gridlock long_description {A collection of grid-based board games, including Ataxx, Reversi, Checkers, Gomoku, Connect Four, Breakthrough, Glass Bead, and Life. You can play against the computer or over the network.} maintainers nomaintainer version 1.10 categories {games aqua} revision 0 SDLInvaders 409 variants {universal darwin} portdir games/SDLInvaders description {simple clone of the famous Space Invaders game.} homepage http://sourceforge.net/projects/sdlinvaders epoch 0 platforms darwin name SDLInvaders depends_lib {port:libsdl port:libsdl_image port:libsdl_mixer} maintainers nomaintainer long_description {{simple clone of the famous Space Invaders game.}} version 0.8.0 categories games revision 0 advancemenu 509 @@ -1966,8 +1966,8 @@ variants universal portdir games/cannonsmash description {3D tabletennis game} homepage http://cannonsmash.sourceforge.net/ epoch 0 platforms darwin name cannonsmash depends_lib {port:libsdl_mixer port:libsdl_image port:gtk2 lib:libGL:XFree86} maintainers blb at macports.org long_description {{3D tabletennis game}} version 0.6.6 categories games revision 1 cheops 569 variants universal description {CHEss OPponent Simulator} portdir games/cheops homepage http://www.nothingisreal.com/cheops/ epoch 0 platforms darwin name cheops long_description {CHEOPS (CHEss OPponent Simulator) is a fully-functional chess program capable of human-vs-human, human-vs-computer, and computer-vs-computer play. It uses a 64-square linear array board representation. The game tree search is alpha-beta, and the static evaluation function considers material, mobility, and motif features.} maintainers nomaintainer categories games version 1.1 revision 0 -chromium 433 -variants {universal darwin} portdir games/chromium description {fast paced, arcade-style, top-scrolling space shooter.} homepage http://www.reptilelabour.com/software/chromium/ epoch 0 platforms darwin name chromium depends_lib {lib:libvorbis:libvorbis port:libsdl port:smpeg port:openal} maintainers nomaintainer long_description {{fast paced, arcade-style, top-scrolling space shooter.}} version 0.9.12 categories games revision 0 +chromium 424 +variants {universal darwin} portdir games/chromium description {fast paced, arcade-style, top-scrolling space shooter.} homepage http://www.reptilelabour.com/software/chromium/ epoch 0 platforms darwin name chromium depends_lib {port:libvorbis port:libsdl port:smpeg port:openal} maintainers nomaintainer long_description {{fast paced, arcade-style, top-scrolling space shooter.}} version 0.9.12 categories games revision 0 circuslinux 611 variants universal portdir games/circuslinux description {Circus Atari clone, similar to Breakout and Arkanoid} homepage http://www.newbreedsoftware.com/circus-linux/ epoch 0 platforms darwin name circuslinux depends_lib {bin:sdl-config:libsdl lib:libSDL_image:libsdl_image lib:libSDL_mixer:libsdl_mixer} maintainers nomaintainer long_description {Circus Linux is based on the Atari 2600 game Circus Atari by Atari, released in 1980. Gameplay is similar to Breakout and Arkanoid - you slide a device left and right to bounce objects into the air which destroy a wall.} version 1.0.3 categories games revision 0 cmatrix 300 @@ -2850,8 +2850,8 @@ variants universal portdir graphics/pngmeta description {Pngmeta is a tool for extracting metadata from PNG (Portable Network Graphics) files.} homepage http://pmt.sourceforge.net/pngmeta/ epoch 0 platforms {darwin freebsd} name pngmeta depends_lib {port:libpng port:zlib} long_description {{Pngmeta is a tool for extracting metadata from PNG (Portable Network Graphics) files.}} maintainers nomaintainer version 1.11 categories graphics revision 1 pngpp 401 variants universal portdir graphics/pngpp description {A simplified input/output library for PNG files} homepage http://savannah.nongnu.org/projects/pngpp/ epoch 0 platforms darwin name pngpp depends_lib port:libpng maintainers sfiera long_description {pngpp provides a C++ wrapper for the libpng that greatly simplifies the reading and writing PNG files} version 0.2.1 categories graphics revision 0 -poppler 426 -variants {universal quartz} portdir graphics/poppler description {Poppler is a PDF rendering library based on the xpdf-3.0 code base.} homepage http://poppler.freedesktop.org/ epoch 0 platforms darwin name poppler depends_lib {port:cairo port:gtk2 port:poppler-data} maintainers nomaintainer long_description {{Poppler is a PDF rendering library based on the xpdf-3.0 code base.}} version 0.8.3 categories graphics revision 0 +poppler 614 +variants {universal quartz x11 qt4} variant_desc {quartz { Support for the native Mac OS X interface } x11 { Support for the X11 user interface } qt4 { Support for the QT toolkit }} portdir graphics/poppler description {Poppler is a PDF rendering library based on the xpdf-3.0 code base.} homepage http://poppler.freedesktop.org/ epoch 0 platforms darwin name poppler depends_lib {port:cairo port:gtk2 port:poppler-data lib:libX11.6:XFree86 port:xrender} maintainers nomaintainer long_description {{Poppler is a PDF rendering library based on the xpdf-3.0 code base.}} version 0.8.5 categories graphics revision 0 poppler-data 284 variants universal description {Poppler encoding data.} portdir graphics/poppler-data homepage http://poppler.freedesktop.org/ epoch 0 platforms darwin name poppler-data long_description {{Poppler encoding data.}} maintainers nomaintainer categories graphics version 0.2.0 revision 0 potrace 923 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/c8f0b3b3/attachment.html From ram at macports.org Sat Aug 2 14:51:02 2008 From: ram at macports.org (ram at macports.org) Date: Sat, 2 Aug 2008 14:51:02 -0700 (PDT) Subject: [38925] trunk/dports/devel/gc-utils/Portfile Message-ID: <20080802215103.0A2BB1B6E46@beta.macosforge.org> Revision: 38925 http://trac.macosforge.org/projects/macports/changeset/38925 Author: ram at macports.org Date: 2008-08-02 14:51:01 -0700 (Sat, 02 Aug 2008) Log Message: ----------- devel/gc-utils: update to 0.2.3 Modified Paths: -------------- trunk/dports/devel/gc-utils/Portfile Modified: trunk/dports/devel/gc-utils/Portfile =================================================================== --- trunk/dports/devel/gc-utils/Portfile 2008-08-02 19:52:15 UTC (rev 38924) +++ trunk/dports/devel/gc-utils/Portfile 2008-08-02 21:51:01 UTC (rev 38925) @@ -3,7 +3,7 @@ PortSystem 1.0 name gc-utils -version 0.2.2 +version 0.2.3 categories devel platforms darwin maintainers ram openmaintainer @@ -16,11 +16,11 @@ homepage http://gcutils.sourceforge.net/ master_sites sourceforge:gcutils -distname ${name}_v${version} +distname gcutils-v${version} -checksums md5 bcd2bee2a3aaff8b543be3a6a6c6f19e \ - sha1 92bf6efc6a868158a12a753b54123392ebd1096a \ - rmd160 4243717df78fbb1018fb23054ba6a577db1f603f +checksums md5 6346fa146abb63d2a817757c842894ca \ + sha1 f4e76bc81e9583cfc683e09f7c552ed779bc1c8e \ + rmd160 ab4878e438298ee98bc7983823be31904e1376f6 depends_lib port:git-core \ port:cvsps \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/befbe4df/attachment.html From noreply at macports.org Sat Aug 2 15:26:27 2008 From: noreply at macports.org (MacPorts) Date: Sat, 02 Aug 2008 22:26:27 -0000 Subject: [MacPorts] Notification: ProblemHotlist modified In-Reply-To: <064.23d79ffcf97d9f3bbf2287e82d75fc13@macports.org> References: <064.23d79ffcf97d9f3bbf2287e82d75fc13@macports.org> Message-ID: <073.1806893755c72fc2557073c497c707d6@macports.org> Changed page "ProblemHotlist" by raimue at macports.org from 91.11.191.44* Page URL: Diff URL: Revision 30 Comment: postflight needs sudo in order to do syncing -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: ProblemHotlist ========================================================================= --- ProblemHotlist (version: 29) +++ ProblemHotlist (version: 30) @@ -100,7 +100,7 @@ To work around the problem, download the postflight script and run it manually, like this: {{{ -$ curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmgr/dmg/postflight && bash postflight +$ curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmgr/dmg/postflight && sudo bash postflight }}} '''Note:''' Reopen your Terminal window after running the command! -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From raimue at macports.org Sat Aug 2 16:45:30 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 16:45:30 -0700 (PDT) Subject: [38926] contrib/ Message-ID: <20080802234530.E0FAB1B7194@beta.macosforge.org> Revision: 38926 http://trac.macosforge.org/projects/macports/changeset/38926 Author: raimue at macports.org Date: 2008-08-02 16:45:30 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Create new top level directory for contrib area, see http://lists.macosforge.org/pipermail/macports-dev/2008-July/005542.html Added Paths: ----------- contrib/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/e33a6f5e/attachment.html From raimue at macports.org Sat Aug 2 16:47:21 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 16:47:21 -0700 (PDT) Subject: [38927] Message-ID: <20080802234721.C5A811B71BE@beta.macosforge.org> Revision: 38927 http://trac.macosforge.org/projects/macports/changeset/38927 Author: raimue at macports.org Date: 2008-08-02 16:47:21 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Move MPWA to contrib/ Added Paths: ----------- contrib/mpwa/ Removed Paths: ------------- users/jberry/mpwa/ Copied: contrib/mpwa (from rev 38926, users/jberry/mpwa) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/38a39e3e/attachment-0001.html From raimue at macports.org Sat Aug 2 16:50:44 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 16:50:44 -0700 (PDT) Subject: [38928] Message-ID: <20080802235044.4A6851B7205@beta.macosforge.org> Revision: 38928 http://trac.macosforge.org/projects/macports/changeset/38928 Author: raimue at macports.org Date: 2008-08-02 16:50:43 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Move select to contrib/ Added Paths: ----------- contrib/select/ Removed Paths: ------------- users/mww/select/ Copied: contrib/select (from rev 38927, users/mww/select) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/95b3de99/attachment.html From raimue at macports.org Sat Aug 2 16:56:09 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 16:56:09 -0700 (PDT) Subject: [38929] trunk/dports/sysutils Message-ID: <20080802235609.7B6BD1B724E@beta.macosforge.org> Revision: 38929 http://trac.macosforge.org/projects/macports/changeset/38929 Author: raimue at macports.org Date: 2008-08-02 16:56:08 -0700 (Sat, 02 Aug 2008) Log Message: ----------- sysutils/gcc_select, sysutils/python_select: Correct master_sites for select based tools Modified Paths: -------------- trunk/dports/sysutils/gcc_select/Portfile trunk/dports/sysutils/python_select/Portfile Modified: trunk/dports/sysutils/gcc_select/Portfile =================================================================== --- trunk/dports/sysutils/gcc_select/Portfile 2008-08-02 23:50:43 UTC (rev 38928) +++ trunk/dports/sysutils/gcc_select/Portfile 2008-08-02 23:56:08 UTC (rev 38929) @@ -13,7 +13,7 @@ It symlinks the standard compiler executables \ in the MacPorts prefix to the selected version. -homepage http://svn.macports.org/repository/macports/users/mww/select/ +homepage http://svn.macports.org/repository/macports/contrib/select/ master_sites ${homepage} distname select-${version} checksums sha1 18e1f95c2ddd88210aa52eb696261859af2dc3a4 Modified: trunk/dports/sysutils/python_select/Portfile =================================================================== --- trunk/dports/sysutils/python_select/Portfile 2008-08-02 23:50:43 UTC (rev 38928) +++ trunk/dports/sysutils/python_select/Portfile 2008-08-02 23:56:08 UTC (rev 38929) @@ -13,7 +13,7 @@ python_select symlinks the standard python executables \ in the MacPorts prefix to the selected version. -homepage http://svn.macports.org/repository/macports/users/mww/select/ +homepage http://svn.macports.org/repository/macports/contrib/select/ master_sites ${homepage} distname select-${version} checksums sha1 18e1f95c2ddd88210aa52eb696261859af2dc3a4 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/861b919d/attachment.html From raimue at macports.org Sat Aug 2 16:59:21 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 16:59:21 -0700 (PDT) Subject: [38930] contrib Message-ID: <20080802235921.706981B736F@beta.macosforge.org> Revision: 38930 http://trac.macosforge.org/projects/macports/changeset/38930 Author: raimue at macports.org Date: 2008-08-02 16:59:21 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Import MPAB from the wiki Added Paths: ----------- contrib/mpab/ contrib/mpab/ReadMe.txt contrib/mpab/chroot-scripts/ contrib/mpab/chroot-scripts/buildports contrib/mpab/chroot-scripts/genportlist.tcl contrib/mpab/chroot-scripts/installmacports contrib/mpab/mpab contrib/mpab/mpab-functions Added: contrib/mpab/ReadMe.txt =================================================================== --- contrib/mpab/ReadMe.txt (rev 0) +++ contrib/mpab/ReadMe.txt 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,95 @@ +MacPorts AutoBuild +Version 0.5, 2008-05-31 + +Introduction +------------ +MacPorts AutoBuild (mpab) is a set of scripts which creates a chroot +environment in which to run MacPorts and build the entire group of ports +available to it. Once complete (which could take a long time) or stopped, +the build logs are moved out of the chroot to be available for review. + + +Prerequisites +------------- +You need to have 10.5, Xcode 3.0, and Apple's X11 (other versions of Xcode +and X11 may work, but these are the ones tested so far). + +For the MacPorts which will live in the chroot, you'll need (in the same +directory as the mpab script) a tarball named macports_dist.tar.bz2. To +create this straight from the MacPorts svn server (assuming current +working directory is the same as the mpab script): + + svn export http://svn.macports.org/repository/macports/trunk mpexport + cd mpexport + tar cf - . | bzip2 -c > ../macports_dist.tar.bz2 + cd .. + rm -rf mpexport + +This just exports it from svn (since the .svn stuff isn't needed for this) +then creates the tarball; note everything in the tarball is based on the +current working directory. + +If you already have MacPorts from svn, run this instead of the first command +above, then do the rest: + svn export /path/to/macports/svn/trunk mpexport + + +Installation +------------ +Once the MPAB tarball is extracted (which you've probably done if you're +reading this), make sure the above prerequisites are available, then you +are ready to go + + +Running +------- +To just build it all (every port): + + sudo ./mpab + +(assuming you are in the directory with the mpab script). This will do +what needs doing to get a chroot, install MacPorts in said chroot, then +start building ports. + +The first time you run, it will take some time as it is creating a chroot +environment, which involves copying several gigabytes of files into +said chroot...be patient. + +You can also run 'sudo ./mpab help' to see what commands can be used with +mpab. + + +Maintenance +----------- +mpab creates several disk images: + + mproot.dmg - this is the basic chroot environment with various system + programs installed; it is read-only + mproot.dmg.shadow - this is where updates to the chroot go, which means + to restart with a bare chroot, simply delete it and + all traces of MacPorts are gone + mproot_distcache.sparseimage - this is a disk image only containing the + distfiles MacPorts downloads (which are + in /opt/local/var/macports/distfiles) + +When the OS version is updated, both mproot.dmg and mproot.dmg.shadow +should be deleted so they can be rebuilt. Any time you want to clean out +the MacPorts stuff within the chroot but not rebuild the entire environment, +you can delete just mproot.dmg.shadow, to start from scratch. Note if you +want to rebuild MacPorts, mpab has a rebuildmp target to do just that. + + +Todo +---- +improve the amount of debugging available via MPABDEBUG + +add 10.4 support (mostly needs different paths in pathsToCreate and +pathsToCopy in buildImages()) + +add a method to allow variants either globally or to an individual port + +fix dependency checking to work more like MP; currently if a port fails, all +those depending on it are skipped, but if it's lib:...:port then it might +still be buildable (see some things which depend on gnutar, and this will +allow to skip the XFree86/xorg special-casing) + Property changes on: contrib/mpab/ReadMe.txt ___________________________________________________________________ Name: svn:eol-style + native Added: contrib/mpab/chroot-scripts/buildports =================================================================== --- contrib/mpab/chroot-scripts/buildports (rev 0) +++ contrib/mpab/chroot-scripts/buildports 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,140 @@ +#!/bin/sh +# +# This is run in the chroot, so don't run yourself... +# +# Copyright (c) 2006,2008 Bryan L Blackburn. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name Bryan L Blackburn, nor the names of any contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' +# AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +function uninstallPorts() +{ + installedPorts=`/opt/local/bin/port installed | /usr/bin/tail +2 | /usr/bin/awk '{print $1}'` + for uninstallPort in $installedPorts; do + portOutput=`/opt/local/bin/port -dvf uninstall $uninstallPort 2>&1` + if [[ $? != 0 ]]; then + echo $portOutput + break + fi + done +} + + +function cleanBuildStuff() +{ + rm -rf /opt/local/var/macports/build/* + uninstallPorts + if [[ $? != 0 ]]; then + echo "Uninstall failed, aborting" + exit 1 + fi +} + + +cleanBuildStuff +PORTRESULTSDIR="/var/tmp/portresults" +rm -rf ${PORTRESULTSDIR} +/bin/mkdir -p ${PORTRESULTSDIR}/success ${PORTRESULTSDIR}/fail + + +if [[ -f /var/tmp/portlist ]]; then + portList=`/bin/cat /var/tmp/portlist` + /bin/rm /var/tmp/portlist +else + portList=`/usr/bin/tclsh /var/tmp/genportlist.tcl` +fi + +portCount=`echo ${portList} | /usr/bin/wc -w` +portCount=$(($portCount)) # Get rid of wc's spacing + +tclOS=`echo 'puts [string tolower $tcl_platform(os)]' | tclsh` +tclArch=`echo 'puts $tcl_platform(machine)' | tclsh` +if [[ $tclArch == "Power Macintosh" ]]; then + tclArch='powerpc' +elif [[ $tclArch == 'i586' || $tclArch == 'i686' ]]; then + tclArch='i386' +fi +packageDir="/opt/local/var/macports/packages/${tclOS}/${tclArch}" + +currentCount=1 +for portName in ${portList}; do + trap "echo \"Canceled, cleaning up...\"; cleanBuildStuff" EXIT + + # special-case XFree86 and xorg since they will "fail" (according to port's + # exit status) but since the chroot has Apple's X11, it's okay + if [[ ${portName} == "XFree86" || ${portName} == "xorg" ]]; then + continue + fi + + echo "Building ${portName} (${currentCount} of ${portCount})...\c" + # If there's a package, don't build again + portVersion=`/opt/local/bin/port info --version ${portName} | awk '{print $2}'` + portRevision=`/opt/local/bin/port info --revision ${portName} | awk '{print $2}'` + portPackageBaseName="${portName}-${portVersion}_${portRevision}" + ls ${packageDir}/${portPackageBaseName}*.${tclArch}.tgz > /dev/null 2>&1 + if [[ $? == 0 ]]; then + echo "package found, not building again" + else + skipPort="" + portDeps=`/opt/local/bin/port deps ${portName} | /usr/bin/tail +2` + for oneDep in ${portDeps}; do + if [[ -f ${PORTRESULTSDIR}/fail/${oneDep}.log ]]; then + skipPort=${oneDep} + break + fi + done + if [[ -z $skipPort ]]; then + /opt/local/bin/port -dvx install $portName > ${PORTRESULTSDIR}/${portName}.log 2>&1 + if [[ $? == 0 ]]; then + /bin/mv ${PORTRESULTSDIR}/${portName}.log ${PORTRESULTSDIR}/success + echo "success" + else + /bin/mv ${PORTRESULTSDIR}/${portName}.log ${PORTRESULTSDIR}/fail + echo "failure" + /opt/local/bin/port clean --work $portName + # If a port fails in the activation stage, MP has already built + # a package, so remove it here + rm -f ${packageDir}/${portPackageBaseName}*.${tclArch}.tgz + fi + uninstallPorts + if [[ $? != 0 ]]; then + echo "Uninstall failed, aborting" + exit 2 + fi + else + echo "skipping, ${skipPort} previously failed and is needed" + echo "${portName} not built due to failed dependency ${skipPort}" > ${PORTRESULTSDIR}/fail/${portName}.log + fi + fi + currentCount=$((${currentCount}+1)) +done + +trap "" EXIT + +cleanBuildStuff + +exit 0 + Property changes on: contrib/mpab/chroot-scripts/buildports ___________________________________________________________________ Name: svn:executable + * Added: contrib/mpab/chroot-scripts/genportlist.tcl =================================================================== --- contrib/mpab/chroot-scripts/genportlist.tcl (rev 0) +++ contrib/mpab/chroot-scripts/genportlist.tcl 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,97 @@ +#!/usr/bin/env tclsh +# +# Generates a list of ports where a port is only listed after all of its +# dependencies (sans variants) have already been listed +# +# Copyright (c) 2006,2008 Bryan L Blackburn. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name Bryan L Blackburn, nor the names of any contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' +# AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +catch {source \ + [file join "/" Library Tcl macports1.0 macports_fastload.tcl]} +package require macports + + +proc ui_prefix {priority} { + return "OUT: " +} + + +proc ui_channels {priority} { + return {} +} + + +proc process_port_deps {portname portdeps_in portlist_in} { + upvar $portdeps_in portdeps + upvar $portlist_in portlist + if {[lsearch -exact $portlist $portname] == -1} { + if {[info exists portdeps($portname)]} { + foreach portdep $portdeps($portname) { + if {[lsearch -exact $portlist $portdep] == -1} { + process_port_deps $portdep portdeps portlist + } + } + } + lappend portlist $portname + } +} + + +if {[catch {mportinit "" "" ""} result]} { + puts "$errorInfo" + fatal "Failed to initialize ports sytem: $result" +} + +if {[catch {set search_result [mportsearch ^.+$ no]} result]} { + puts "$errorInfo" + fatal "Failed to find any ports: $result" +} + +array set portdepinfo {} +foreach {name infoarray} $search_result { + array set portinfo $infoarray + set depstypes {depends_build depends_lib depends_run} + set deplist [list] + foreach depstype $depstypes { + if {[info exists portinfo($depstype)] && $portinfo($depstype) != ""} { + foreach onedep $portinfo($depstype) { + lappend deplist [lindex [split [lindex $onedep 0] :] end] + } + } + } + set portdepinfo($portinfo(name)) $deplist + array unset portinfo +} + +set portlist [list] +foreach portname [lsort -dictionary [array names portdepinfo]] { + process_port_deps $portname portdepinfo portlist +} + +puts [join $portlist "\n"] + Property changes on: contrib/mpab/chroot-scripts/genportlist.tcl ___________________________________________________________________ Name: svn:executable + * Name: svn:keywords + Id Name: svn:eol-style + native Added: contrib/mpab/chroot-scripts/installmacports =================================================================== --- contrib/mpab/chroot-scripts/installmacports (rev 0) +++ contrib/mpab/chroot-scripts/installmacports 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,11 @@ +#!/bin/sh +# +# configure/build/install MacPorts in the chroot +# + +cd /opt/mports/base +./configure && make all && make install && make distclean +if [[ $? == 0 ]]; then + echo "file:///opt/mports/dports" > /opt/local/etc/macports/sources.conf +fi + Property changes on: contrib/mpab/chroot-scripts/installmacports ___________________________________________________________________ Name: svn:executable + * Added: contrib/mpab/mpab =================================================================== --- contrib/mpab/mpab (rev 0) +++ contrib/mpab/mpab 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,113 @@ +#!/bin/sh +# +# Copyright (c) 2006,2008 Bryan L Blackburn. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name Bryan L Blackburn, nor the names of any contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' +# AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +export PATH=/bin:/usr/bin:/sbin:/usr/sbin + +# Base filename for the disk image +IMGBASENAME="mproot" + +# subdir start of the chroot +CHROOTSUBDIR="mpchroot" + +# Name of the file containing all of MacPorts +MPTARBALL="macports_dist.tar.bz2" + +if [[ -n ${MPABDEBUG} ]]; then + HDIUTILDEBUG="-verbose" +else + HDIUTILDEBUG="-quiet" +fi +export HDIUTILDEBUG + +cd `dirname $0` +baseDir=`pwd -P` +chrootPath="${baseDir}/${CHROOTSUBDIR}" +cd - > /dev/null + +. ${baseDir}/mpab-functions + +command="buildports" +portlistFile="" +if [[ -n $1 ]]; then + command=$1 && shift + if [[ ${command} != "help" && ${command} != "mount" && + ${command} != "umount" && ${command} != "buildmp" && + ${command} != "rebuildmp" && ${command} != "buildports" ]]; then + printUsageAndExit + fi + if [[ ${command} == "buildports" && -n $1 ]]; then + portlistFile=$1 && shift + if [[ ! -e ${portlistFile} ]]; then + echo "File '${portlistFile}' not found" && echo + printUsageAndExit + fi + fi + if [[ ${command} == "help" || -n $1 ]]; then + printUsageAndExit + fi +fi + +checkDependencies ${baseDir} ${MPTARBALL} +returnValue=$? +if [[ ${returnValue} != 0 ]]; then + exit ${returnValue} +fi + +if [[ ${command} == "umount" ]]; then + umountChroot ${chrootPath} + exit 0 +fi + +if [[ ${command} == "mount" || ${command} == "buildmp" || + ${command} == "rebuildmp" || ${command} == "buildports" ]]; then + buildImages ${baseDir} ${chrootPath} ${IMGBASENAME} + mountChroot ${baseDir} ${chrootPath} ${IMGBASENAME} + if [[ $? == 0 && + ( ${command} == "buildmp" || ${command} == "rebuildmp" || + ${command} == "buildports" ) ]]; then + trap "exitFunction ${baseDir} ${chrootPath}" EXIT + exitMessage="Stopping..." + if [[ ${command} == "rebuildmp" ]]; then + rm -rf ${chrootPath}/opt/mports + rm -f ${chrootPath}/opt/local/bin/port + fi + buildMacPorts ${baseDir} ${chrootPath} ${MPTARBALL} + exitMessage="" + if [[ $? == 0 && ${command} == "buildports" ]]; then + if [[ -e ${portlistFile} ]]; then + cp -p ${portlistFile} ${chrootPath}/private/var/tmp/portlist + fi + exitMessage="Stopping..." + buildPorts ${baseDir} ${chrootPath} + exitMessage="" + fi + fi +fi + Property changes on: contrib/mpab/mpab ___________________________________________________________________ Name: svn:executable + * Added: contrib/mpab/mpab-functions =================================================================== --- contrib/mpab/mpab-functions (rev 0) +++ contrib/mpab/mpab-functions 2008-08-02 23:59:21 UTC (rev 38930) @@ -0,0 +1,336 @@ +# +# Copyright (c) 2006,2008 Bryan L Blackburn. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name Bryan L Blackburn, nor the names of any contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' +# AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +#------------------------------------------------------------------------ +# Check necessary bits are available +# $1 - base directory +# $2 - MacPorts source tarball +function checkDependencies() +{ + baseDir=$1 + mpTarball=$2 + + if [[ `id -u` != 0 ]]; then + echo "This must be run as root, please do so" + return 1 + fi + if [[ ! -f ${baseDir}/${mpTarball} ]]; then + cat << EOF +Need to have a MacPorts source tarball as ${baseDir}/${mpTarball} +See the ReadMe.txt file. +EOF + return 2 + fi +} + + +#------------------------------------------------------------------------ +# Print out usage help and exit +function printUsageAndExit() +{ + cat << EOF +Usage: $0 [help | mount | umount | buildmp | rebuildmp | + buildports [portlist_file]] + help: this help + mount: just mount the chroot images + umount: unmount the chroot images + buildmp: build/install MacPorts inside the chroot + rebuildmp: force a rebuild of MacPorts inside the chroot + buildports: build ports; if a portlist file is given, use it, otherwise + build all; portlist_file is a simple text file with one port + per line; dependencies will be built as needed + default is to do everything (except rebuildmp); buildmp and buildports + will unmount the chroot when done +EOF + exit 0 +} + + +#------------------------------------------------------------------------ +# Do whatever cleanup is necessary +# $1 - base directory +# $2 - chroot path +function exitFunction() +{ + baseDir=$1 + chrootPath=$2 + + if [[ -n $exitMessage ]]; then + echo $exitMessage + fi + if [[ -d ${chrootPath}/var/tmp/portresults/fail ]]; then + moveAndReport ${baseDir} ${chrootPath} + fi + if [[ -d ${chrootPath} ]]; then + umountChroot ${chrootPath} + fi +} + + +#------------------------------------------------------------------------ +# Build the base chroot and distfile cache disk images +# $1 - base directory +# $2 - chroot path +# $3 - base name for the disk images +function buildImages() +{ + baseDir=$1 + chrootPath=$2 + imgBaseName=$3 + + echo "Building MP chroot images, if necessary" + + # Paths to create within the chroot + pathsToCreate="private/etc private/var/folders private/var/log private/var/spool private/var/run private/var/tmp private/var/db/dyld private/tmp" + + # Paths to copy to the chroot + pathsToCopy="private/etc/bashrc private/etc/group private/etc/hosts private/etc/pam.d private/etc/passwd private/etc/profile private/etc/shells private/var/root bin sbin etc tmp var usr/bin usr/include usr/lib usr/libexec usr/sbin usr/share usr/X11 usr/X11R6 Developer/Headers Developer/Library Developer/Makefiles Developer/Private Developer/SDKs Developer/Tools Developer/usr System/Library/CoreServices System/Library/Filesystems System/Library/Frameworks System/Library/Java System/Library/Perl System/Library/PrivateFrameworks System/Library/Tcl" + + # Size of the disk images (hdiutil nomenclature) + imageSize="32g" + + # Filesystem of the disk images (hdiutil nomenclature) + imageFileSystem="HFS+J" + + mkdir -p ${chrootPath} + + if [[ ! -f ${baseDir}/${imgBaseName}.dmg ]]; then + hdiutil create -size ${imageSize} -fs ${imageFileSystem} -volname MPRoot -imagekey sparse-band-size=16384 ${baseDir}/${imgBaseName}.sparseimage ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "hdiutil create (MPRoot) failed" + return ${returnValue} + fi + + hdiutil attach ${baseDir}/${imgBaseName}.sparseimage -mountpoint ${chrootPath} -owners on -nobrowse -noautofsck ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "Failed to attach" + return ${returnValue} + fi + mkdir ${chrootPath}/dev + mount_devfs devfs ${chrootPath}/dev + mount_fdesc -o union fdesc ${chrootPath}/dev + + if [[ ! -d ${chrootPath}/usr ]]; then + cd / + for createpath in ${pathsToCreate}; do + mkdir -p ${chrootPath}/${createpath} + done + + for copypath in ${pathsToCopy}; do + pax -r -w -pe $copypath ${chrootPath} + done + cd - > /dev/null + fi + + umount -f ${chrootPath}/dev + umount -f ${chrootPath}/dev + hdiutil detach ${chrootPath} ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "hdiutil detach failed" + return ${returnValue} + fi + hdiutil convert ${baseDir}/${imgBaseName}.sparseimage -format UDRO -o ${baseDir}/${imgBaseName}.dmg ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "hdiutil convert failed" + return ${returnValue} + fi + rm ${baseDir}/${imgBaseName}.sparseimage + fi + + if [[ ! -f ${baseDir}/${imgBaseName}_distcache.sparseimage ]]; then + hdiutil create -size ${imageSize} -fs ${imageFileSystem} -volname MPCache -imagekey sparse-band-size=16384 ${baseDir}/${imgBaseName}_distcache.sparseimage ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "hdiutil create (MPCache) failed" + return ${returnValue} + fi + fi + + return 0 +} + + +#------------------------------------------------------------------------ +# Build MacPorts in the chroot +# $1 - base directory +# $2 - chroot path +# $3 - MacPorts source tarball +function buildMacPorts() +{ + baseDir=$1 + chrootPath=$2 + mpTarball=$3 + + echo "Building/installing MP in chroot, if necessary" + + if [[ ! -d ${chrootPath}/opt/mports ]]; then + if [[ ! -f ${baseDir}/${mpTarball} ]]; then + echo "No ${mpTarball} found" + return 1 + fi + mkdir -p ${chrootPath}/opt/mports + cd ${chrootPath}/opt/mports + bunzip2 -c ${baseDir}/${mpTarball} | tar xf - + cd - > /dev/null + fi + + if [[ ! -f ${chrootPath}/opt/local/bin/port ]]; then + cp -p ${baseDir}/chroot-scripts/installmacports ${chrootPath}/var/tmp/ + # Set DYLD_NO_FIX_PREBINDING as otherwise, on 10.5, dyld will spew + # errors to syslog/console log like: + # com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 10 seconds + env -i PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/var/root DYLD_NO_FIX_PREBINDING=1 /usr/sbin/chroot ${chrootPath} /bin/sh /var/tmp/installmacports + rm ${chrootPath}/var/tmp/installmacports + sed 's/portarchivemode.*no/portarchivemode yes/' ${chrootPath}/opt/local/etc/macports/macports.conf > ${chrootPath}/opt/local/etc/macports/macports.conf.new + mv ${chrootPath}/opt/local/etc/macports/macports.conf.new ${chrootPath}/opt/local/etc/macports/macports.conf + fi + + return 0 +} + + +#------------------------------------------------------------------------ +# Build MP ports, either those listed in a file given or by generating +# a list of all ports and using that +# $1 - base directory +# $2 - chroot path +function buildPorts() +{ + baseDir=$1 + chrootPath=$2 + + echo "Building ports" + + cp -p ${baseDir}/chroot-scripts/buildports ${chrootPath}/var/tmp/ + cp -p ${baseDir}/chroot-scripts/genportlist.tcl ${chrootPath}/var/tmp/ + + # Set DYLD_NO_FIX_PREBINDING as otherwise, on 10.5, dyld will spew + # errors to syslog/console log like: + # com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 10 seconds + env -i PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/var/root DYLD_NO_FIX_PREBINDING=1 /usr/sbin/chroot ${chrootPath} /bin/sh /var/tmp/buildports + + return 0 +} + + +#------------------------------------------------------------------------ +# Move logs and report results +# $1 - base directory +# $2 - chroot path +function moveAndReport() +{ + baseDir=$1 + chrootPath=$2 + + now=`date '+%Y%m%d-%H%M%S'` + mkdir ${baseDir}/logs-${now} + mv ${chrootPath}/var/tmp/portresults/fail ${baseDir}/logs-${now} + mv ${chrootPath}/var/tmp/portresults/success ${baseDir}/logs-${now} + failcount=`ls -1 ${baseDir}/logs-${now}/fail | wc -l` + successcount=`ls -1 ${baseDir}/logs-${now}/success | wc -l` + echo "Ports built successfully: $successcount" + echo "Ports failed: $failcount" + echo "All logs are located in ${baseDir}/logs-${now}" + + return 0 +} + + +#------------------------------------------------------------------------ +# Mount the full chroot stuff +# $1 - base directory +# $2 - chroot path +# $3 - base name for the disk images +function mountChroot() +{ + baseDir=$1 + chrootPath=$2 + imgBaseName=$3 + + echo "Mounting chroot images" + + mkdir -p ${chrootPath} + + if [[ ! -d ${chrootPath}/usr ]]; then + if [[ ! -f ${baseDir}/${imgBaseName}.dmg ]]; then + echo "MPRoot image ${baseDir}/${imgBaseName}.dmg not found" + return 1 + fi + hdiutil attach ${baseDir}/${imgBaseName}.dmg -mountpoint ${chrootPath} -shadow -noverify -owners on -nobrowse -noautofsck ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "Failed to attach root image" + return ${returnValue} + fi + mount_devfs devfs ${chrootPath}/dev + mount_fdesc -o union fdesc ${chrootPath}/dev + + mkdir -p ${chrootPath}/opt/local/var/macports/distfiles + hdiutil attach ${baseDir}/${imgBaseName}_distcache.sparseimage -mountpoint ${chrootPath}/opt/local/var/macports/distfiles -noverify -owners on -nobrowse -noautofsck ${HDIUTILDEBUG} + returnValue=$? + if [[ ${returnValue} != 0 ]]; then + echo "Failed to attach distfiles image" + return ${returnValue} + fi + fi + + return 0 +} + + +#------------------------------------------------------------------------ +# Unmount everything for the MP chroot +# $1 - chroot path +function umountChroot() +{ + chrootPath=$1 + + if [[ -d ${chrootPath}/dev ]]; then + # First for the fdesc + umount -f ${chrootPath}/dev + # And again for the devfs + umount -f ${chrootPath}/dev + fi + if [[ -d ${chrootPath}/opt/local/var/macports/distfiles ]]; then + # Now the cache image for the dist files + hdiutil detach ${chrootPath}/opt/local/var/macports/distfiles ${HDIUTILDEBUG} + fi + if [[ -d ${chrootPath} ]]; then + # Finally, the main image itself + hdiutil detach ${chrootPath} ${HDIUTILDEBUG} + rmdir ${chrootPath} + fi + + return 0 +} + -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/60be44fd/attachment-0001.html From noreply at macports.org Sat Aug 2 17:01:27 2008 From: noreply at macports.org (MacPorts) Date: Sun, 03 Aug 2008 00:01:27 -0000 Subject: [MacPorts] Notification: MPAB modified In-Reply-To: <053.e870e55ef401242696a9128e5f3be26e@macports.org> References: <053.e870e55ef401242696a9128e5f3be26e@macports.org> Message-ID: <062.4a0a71d4b3a6a64c06aeddb07be58738@macports.org> Changed page "MPAB" by raimue at macports.org from 91.11.191.44* Page URL: Diff URL: Revision 2 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: MPAB ========================================================================= --- MPAB (version: 1) +++ MPAB (version: 2) @@ -5,7 +5,11 @@ MacPorts AutoBuild (mpab) is a rewrite of DarwinPorts AutoBuild which [http://article.gmane.org/gmane.os.opendarwin.darwinports/17172 I created] a couple years ago; dpab was a rewrite of Jordan Hubbard's [http://trac.macports.org/log/trunk/base/portmgr/packaging/buildall.sh buildall.sh script]. === Getting it === -mpab is currently available as an attachment on this page, so scroll to the end to find the latest version. +mpab is available from Subversion in [source:contrib/mpab]. + +{{{ +svn co http://svn.macports.org/repository/macports/contrib/mpab/ +}}} === Using it === Once you've downloaded the latest version, extract it and have a look at the ReadMe.txt file within, which should answer most questions. -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From raimue at macports.org Sat Aug 2 17:42:41 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 17:42:41 -0700 (PDT) Subject: [38931] contrib/README Message-ID: <20080803004241.39F761B7471@beta.macosforge.org> Revision: 38931 http://trac.macosforge.org/projects/macports/changeset/38931 Author: raimue at macports.org Date: 2008-08-02 17:42:40 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Add README for contrib Added Paths: ----------- contrib/README Added: contrib/README =================================================================== --- contrib/README (rev 0) +++ contrib/README 2008-08-03 00:42:40 UTC (rev 38931) @@ -0,0 +1,32 @@ += MacPorts Contrib Area = + +== What is this? == + +This directory contains projects which are related to MacPorts. But they are +not being shipped with the base code itself, instead you are supposed to check +them out from Subversion and build them yourself. Some of them are also +available as ports in the tree or are used as a base to create multiple ports. + +mpaw + MacPorts Web Application + + This will become a web application to access and manipulate ports. + +mpab + MacPorts Auto Build + + This is an attempt to write an build server for MacPorts which tests ports + automatically. + +select + select tool + + This is used as a base for the ports gcc_select and python_select. It + creates symlinks to switch between multiple versions of the same software. + + +== Support == + +In case of questions, to submit patches or if you want to add your software +to the contrib area, send mail to . + -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/6994ea71/attachment.html From ram at macports.org Sat Aug 2 18:46:37 2008 From: ram at macports.org (ram at macports.org) Date: Sat, 2 Aug 2008 18:46:37 -0700 (PDT) Subject: [38932] trunk/dports/python Message-ID: <20080803014637.D7C271B75C9@beta.macosforge.org> Revision: 38932 http://trac.macosforge.org/projects/macports/changeset/38932 Author: ram at macports.org Date: 2008-08-02 18:46:37 -0700 (Sat, 02 Aug 2008) Log Message: ----------- py-numpy/py25-numpy: update to 1.1.1 Modified Paths: -------------- trunk/dports/python/py-numpy/Portfile trunk/dports/python/py25-numpy/Portfile Modified: trunk/dports/python/py-numpy/Portfile =================================================================== --- trunk/dports/python/py-numpy/Portfile 2008-08-03 00:42:40 UTC (rev 38931) +++ trunk/dports/python/py-numpy/Portfile 2008-08-03 01:46:37 UTC (rev 38932) @@ -4,8 +4,7 @@ PortGroup python24 1.0 name py-numpy -version 1.1.0 -revision 2 +version 1.1.1 categories python platforms darwin maintainers ram openmaintainer @@ -16,9 +15,9 @@ master_sites sourceforge:numpy distname numpy-${version} -checksums md5 bf176b9857c4c588a63e414df84a1826 \ - sha1 c36451e05251599294abfefa386835300e2066d5 \ - rmd160 046d15df1d4c1733886a61677d6f7e9a836f8ea3 +checksums md5 af066b59a50bf5dbe1a14d6be3df6937 \ + sha1 a2755f38ca6aa799b504c84f58b03cd6ce66bc41 \ + rmd160 745e9fbbd064272199f4c7b49d4a26797405dd17 patchfiles patch-g95_link.diff \ patch-f2py_setup.py.diff Modified: trunk/dports/python/py25-numpy/Portfile =================================================================== --- trunk/dports/python/py25-numpy/Portfile 2008-08-03 00:42:40 UTC (rev 38931) +++ trunk/dports/python/py25-numpy/Portfile 2008-08-03 01:46:37 UTC (rev 38932) @@ -4,8 +4,7 @@ PortGroup python25 1.0 name py25-numpy -version 1.1.0 -revision 2 +version 1.1.1 categories python platforms darwin maintainers ram openmaintainer @@ -16,9 +15,9 @@ master_sites sourceforge:numpy distname numpy-${version} -checksums md5 bf176b9857c4c588a63e414df84a1826 \ - sha1 c36451e05251599294abfefa386835300e2066d5 \ - rmd160 046d15df1d4c1733886a61677d6f7e9a836f8ea3 +checksums md5 af066b59a50bf5dbe1a14d6be3df6937 \ + sha1 a2755f38ca6aa799b504c84f58b03cd6ce66bc41 \ + rmd160 745e9fbbd064272199f4c7b49d4a26797405dd17 patchfiles patch-g95_link.diff \ patch-f2py_setup.py.diff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/fad27ac4/attachment.html From ryandesign at macports.org Sat Aug 2 18:56:04 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 18:56:04 -0700 (PDT) Subject: [38933] trunk/dports/irc/silc-client/Portfile Message-ID: <20080803015604.4B4BA1B7792@beta.macosforge.org> Revision: 38933 http://trac.macosforge.org/projects/macports/changeset/38933 Author: ryandesign at macports.org Date: 2008-08-02 18:56:03 -0700 (Sat, 02 Aug 2008) Log Message: ----------- silc-client: use only a MacPorts perl to avoid build problems on Leopard; closes #16086 Modified Paths: -------------- trunk/dports/irc/silc-client/Portfile Modified: trunk/dports/irc/silc-client/Portfile =================================================================== --- trunk/dports/irc/silc-client/Portfile 2008-08-03 01:46:37 UTC (rev 38932) +++ trunk/dports/irc/silc-client/Portfile 2008-08-03 01:56:03 UTC (rev 38933) @@ -27,7 +27,7 @@ port:glib2 \ port:libiconv \ port:ncurses -depends_run bin:perl:perl5.8 +depends_run path:${prefix}/bin/perl:perl5.8 configure.args --without-silcd \ --with-docdir=${prefix}/share/${name} \ --with-helpdir=${prefix}/share/${name} \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/b33d2d2c/attachment.html From armahg at macports.org Sat Aug 2 19:05:02 2008 From: armahg at macports.org (armahg at macports.org) Date: Sat, 2 Aug 2008 19:05:02 -0700 (PDT) Subject: [38934] branches/gsoc08-framework/MacPorts_Framework Message-ID: <20080803020502.374CE1B782B@beta.macosforge.org> Revision: 38934 http://trac.macosforge.org/projects/macports/changeset/38934 Author: armahg at macports.org Date: 2008-08-02 19:05:01 -0700 (Sat, 02 Aug 2008) Log Message: ----------- Rudimentary MPHelperTool now passes Test bundle. I am just passing a string into the request dictionary and retrieving it from the response dictionary. It works fine with both .m and .c files Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj Modified: branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/BetterAuthorizationSampleLib.c 2008-08-03 02:05:01 UTC (rev 38934) @@ -243,7 +243,7 @@ if (bytesRead != NULL) { *bytesRead = bufSize - bytesLeft; } - + return err; } @@ -1404,6 +1404,7 @@ int kq; struct kevent initEvent; + // Pre-conditions assert(commands != NULL); @@ -1690,6 +1691,7 @@ ) // See comment in header. { + OSStatus retval = noErr; int junk; size_t commandIndex; @@ -2335,22 +2337,42 @@ CFBundleRef bundle; Boolean success; CFURLRef toolURL; - - assert(bundleID != NULL); + + assert(bundleID != NULL); assert(toolName != NULL); assert(toolPath != NULL); assert(toolPathSize > 0); toolURL = NULL; - + + err = noErr; bundle = CFBundleGetBundleWithIdentifier(bundleID); if (bundle == NULL) { err = coreFoundationUnknownErr; } + if (err == noErr) { - toolURL = CFBundleCopyAuxiliaryExecutableURL(bundle, toolName); - if (toolURL == NULL) { + //Modify this code to load the bundle if its not already loaded + + if (CFBundleIsExecutableLoaded(bundle)) { + toolURL = CFBundleCopyResourceURL(bundle, toolName, NULL, NULL); + } + else{ //We need to load the bundle first + Boolean loaded = CFBundleLoadExecutable(bundle); + + if (loaded && bundle != NULL) { + toolURL = CFBundleCopyResourceURL(bundle, toolName, NULL, NULL); + } + else { // we couldn't load the bundle .. this IS bad + err = coreFoundationUnknownErr; + } + } + + + assert(toolURL != NULL); + + if (toolURL == NULL) { err = coreFoundationUnknownErr; } } Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.c 2008-08-03 02:05:01 UTC (rev 38934) @@ -23,7 +23,7 @@ kMPHelperEvaluateTclRightsName, //rightName "default", //rightDefaultRule -- by default, you have to have admin credentials NULL, //rightDescriptionKey - NULL // userData ... I might use this to pass the NSError object later on + NULL // userData ... I might use this to pass the NSError object later on }, { NULL, //the array is null terminated Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h 2008-08-03 02:05:01 UTC (rev 38934) @@ -11,7 +11,10 @@ #define _MPHELPERCOMMON_H #include "BetterAuthorizationSampleLib.h" +#include +#define asl_NSLog(client, msg, level, format, ...) asl_log(client, msg, level, "%s", [[NSString stringWithFormat:format, ##__VA_ARGS__] UTF8String]) + //We need only one command for this Tool #define kMPHelperEvaluateTclCommand "EvaluateTcl" @@ -36,6 +39,9 @@ #define kNSErrorString "NSErrorString" //Am I allowed to pass in an NSError object? //Lets make it a string for now + //user Data will be a pointer to a Tcl interpreter + //do I have to do some casting ? we'll see + //const void * _userDataInterp = NULL; extern const BASCommandSpec kMPHelperCommandSet[]; Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-03 02:05:01 UTC (rev 38934) @@ -1,10 +1,11 @@ -// -// MPHelperTool.m -// MacPorts.Framework -// -// Created by George Armah on 7/28/08. -// Copyright 2008 Lafayette College. All rights reserved. -// +/* + * MPHelperTool.c + * MacPorts.Framework + * + * Created by George Armah on 8/2/08. + * Copyright 2008 Lafayette College. All rights reserved. + * + */ //#include #include @@ -12,25 +13,24 @@ #include #include + #include "BetterAuthorizationSampleLib.h" + #include "MPHelperCommon.h" -#import -#import -#import "MPInterpreter.h" - - static OSStatus DoEvaluateTclString ( - AuthorizationRef auth, - const void * userData, - CFDictionaryRef request, - CFMutableDictionaryRef response, - aslclient asl, - aslmsg aslMsg + AuthorizationRef auth, + const void * userData, + CFDictionaryRef request, + CFMutableDictionaryRef response, + aslclient asl, + aslmsg aslMsg ) - { + OSStatus retval = noErr; + //CFStringRef result; + //CFAllocatorRef alloc_default = kCFAllocatorDefault; //Pre conditions assert(auth != NULL); @@ -40,36 +40,41 @@ //asl may be null //aslMsg may be null - //Get the NSString that was passed in the request dictionary - NSString * tclCmd; + //Get the string that was passed in the request dictionary CFStringRef cTclCmd = (CFStringRef)CFDictionaryGetValue(request, CFSTR(kTclStringToBeEvaluated)); + //cTclCmd = CFRetain(cTclCmd); + if (cTclCmd == NULL) { + retval = coreFoundationUnknownErr; + } - if (cTclCmd != NULL) { - tclCmd = (NSString *) cTclCmd; + /* + //Now retrieve the pointer to the Tcl_Interp that was passed to us + Tcl_Interp * _userDataInterp = (Tcl_Interp *) userData; + if(Tcl_Eval(_userDataInterp, CFStringGetCStringPtr(cTclCmd, kCFStringEncodingUTF8)) == TCL_ERROR) { + //Should do some kind of error handling here + retval = coreFoundationUnknownErr; } else { - //something went wrong ... do some error handling - retval = coreFoundationUnknownErr; + result = CFStringCreateWithCString(alloc_default, Tcl_GetStringResult(_userDataInterp), kCFStringEncodingUTF8); } + */ + - MPInterpreter * interp = [MPInterpreter sharedInterpreter]; - NSError * evalError; - NSString * result = [interp evaluateStringAsString:tclCmd - error:&evalError]; - CFStringRef cResult = (CFStringRef) result; - - if( result != nil && evalError != nil) { - CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), cResult); + if( retval == noErr) { + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), cTclCmd); } else{ //Try setting the user data pointer to the error - retval = coreFoundationUnknownErr; + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("BAAD")); } + assert(response != NULL); + //I think I should release cTclCmd + //CFRelease(cTclCmd); + return retval; } - ///////////////////////////////////////////////////////////////// #pragma mark ***** Tool Infrastructure @@ -81,30 +86,21 @@ */ static const BASCommandProc kMPHelperCommandProcs[] = { - DoEvaluateTclString, + DoEvaluateTclString, NULL }; - - //Should I just do stuff in main and use the above method to //just retrieve the string to be evaluated as a tcl command? int main(int argc, char const * argv[]) { - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - // Go directly into BetterAuthorizationSampleLib code. // IMPORTANT // BASHelperToolMain doesn't clean up after itself, so once it returns // we must quit. - BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); - - - [pool release]; - - return 0; + return BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); + } - Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-03 02:05:01 UTC (rev 38934) @@ -189,6 +189,9 @@ NSString * bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; + //Set _userDataInterp over here + //kMPHelperCommandSet[0].userData = _interpreter; + BASSetDefaultRules(mpAuth, kMPHelperCommandSet, (CFStringRef) bundleID, @@ -248,7 +251,7 @@ helperToolInterpCommand = @""; //Initialize Authorization stuff should probably check for errors .... - [self initializeAuthorization]; + //[self initializeAuthorization]; } return self; @@ -432,10 +435,14 @@ assert(request != NULL); bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; - NSLog(@" %@ ", bundleID); + //NSLog(@" %@ , %@", bundleID, request); assert(bundleID != NULL); + //_userDataInterp points to _interpreter after the + //method below + [self initializeAuthorization]; + err = BASExecuteRequestInHelperTool(mpAuth, kMPHelperCommandSet, (CFStringRef) bundleID, @@ -464,8 +471,32 @@ err = userCanceledErr; } + assert(response != NULL); CFStringRef result = CFDictionaryGetValue(response, CFSTR(kTclStringEvaluationResult)); + return (NSString *) result; - return (NSString *) result; + + /*//Read from file and see if it was written to + NSString * testFilePath = [[NSBundle bundleForClass:[self class]] + pathForResource:@"TestFile" ofType:@"test"]; + NSError * readError = nil; + NSString * result = [NSString stringWithContentsOfFile:testFilePath + encoding:NSUTF8StringEncoding + error:&readError]; + if (readError) { + NSLog(@"Error is %@", [readError description]); + return @"There was an error Reading"; + } + else if ([result isEqualToString:@""]) { + return @"An empty string was read"; + } + else if (result == nil) { + return @"Resulting String is NIL"; + } + else + return result; + + return @"This shouldn't happen"; + */ } @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-03 02:05:01 UTC (rev 38934) @@ -62,7 +62,8 @@ - (void)testMPHelperTool { //Here goes nothing - [interp evaluateStringWithMPHelperTool:@"mportsync"]; + NSString * result = [interp evaluateStringWithMPHelperTool:@"mportsync"]; + NSLog(@"Result of MPHelperTool Execution is %@", result); } /* Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-03 01:56:03 UTC (rev 38933) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-03 02:05:01 UTC (rev 38934) @@ -44,7 +44,10 @@ 6E49F37B0DFFAB0B0030C3AF /* MPInterpreterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 489DD92E0C94674B00595506 /* MPInterpreterTest.m */; }; 6E49F37F0DFFAFF80030C3AF /* MacPorts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* MacPorts.framework */; }; 6EA294590E080DEB00902D12 /* MPMacPortsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E88D1CB0DF4B90B00684E9F /* MPMacPortsTest.m */; }; - 6EB6F7C40E432A840057962C /* MPHelperTool in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6ED12A4A0E3E552F0026773D /* MPHelperTool */; }; + 6EB6FA420E43ECCE0057962C /* MPHelperTool in Resources */ = {isa = PBXBuildFile; fileRef = 6ED12A4A0E3E552F0026773D /* MPHelperTool */; }; + 6EB6FA460E43ECD60057962C /* MPHelperInstallTool in Resources */ = {isa = PBXBuildFile; fileRef = 6EC260870E426FF10013BC48 /* MPHelperInstallTool */; }; + 6EB6FB270E448EE20057962C /* TestFile.test in Resources */ = {isa = PBXBuildFile; fileRef = 6EB6FB260E448EE20057962C /* TestFile.test */; }; + 6EB6FB630E44AF140057962C /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EB6FB620E44AF140057962C /* MPHelperTool.m */; }; 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */; }; 6EC260760E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; @@ -55,16 +58,9 @@ 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260960E4272D20013BC48 /* MPHelperCommon.c */; }; 6EC2609B0E4273920013BC48 /* BetterAuthorizationSampleLibInstallTool.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */; }; 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */; }; - 6EC2614F0E42959B0013BC48 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12AA60E3E7E900026773D /* Cocoa.framework */; }; - 6ED12A4F0E3E55660026773D /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ED12A4E0E3E55660026773D /* MPHelperTool.m */; }; 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; 6ED12A560E3E55DF0026773D /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ED12A540E3E55DF0026773D /* Security.framework */; }; - 6ED12AC90E3E94310026773D /* MPInterpreter.m in Sources */ = {isa = PBXBuildFile; fileRef = 48906AFC0C4230B700A3ED8A /* MPInterpreter.m */; }; - 6ED12AD20E3E9AC30026773D /* MPInterpreter.h in Headers */ = {isa = PBXBuildFile; fileRef = 48906AFB0C4230B700A3ED8A /* MPInterpreter.h */; }; 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */; }; - 6ED12AFB0E3E9F980026773D /* MPNotifications.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E270D070E158CED00BAE687 /* MPNotifications.h */; }; - 6ED12AFC0E3E9FA60026773D /* MPNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E270D080E158CED00BAE687 /* MPNotifications.m */; }; - 6ED12B060E3EA9E30026773D /* init.tcl in Resources */ = {isa = PBXBuildFile; fileRef = 48E9939E0C82CEB000219DDF /* init.tcl */; }; 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; /* End PBXBuildFile section */ @@ -93,19 +89,6 @@ }; /* End PBXContainerItemProxy section */ -/* Begin PBXCopyFilesBuildPhase section */ - 6EB6F7B00E4326F40057962C /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 6; - files = ( - 6EB6F7C40E432A840057962C /* MPHelperTool in CopyFiles */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - /* Begin PBXFileReference section */ 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; @@ -142,6 +125,8 @@ 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 = ""; }; + 6EB6FB260E448EE20057962C /* TestFile.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TestFile.test; sourceTree = ""; }; + 6EB6FB620E44AF140057962C /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; 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 = ""; }; 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = BetterAuthorizationSampleLibInstallTool.c; sourceTree = ""; }; @@ -150,7 +135,7 @@ 6EC260960E4272D20013BC48 /* MPHelperCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MPHelperCommon.c; sourceTree = ""; }; 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; 6ED12A4A0E3E552F0026773D /* MPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; - 6ED12A4E0E3E55660026773D /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; + 6ED12A4E0E3E55660026773D /* MPHelperTool.m.old */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MPHelperTool.m.old; sourceTree = ""; }; 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; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; @@ -180,7 +165,6 @@ 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */, 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */, 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */, - 6EC2614F0E42959B0013BC48 /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -245,6 +229,7 @@ 489DD8F50C94365F00595506 /* Test-Info.plist */, 6EAFD8B70DEC614E00E97270 /* dummycommit.test */, 6E44A00C0E2DAD66007DE8EC /* ToDo.txt */, + 6EB6FB260E448EE20057962C /* TestFile.test */, ); name = Resources; sourceTree = ""; @@ -333,9 +318,10 @@ 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */, 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */, 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */, - 6ED12A4E0E3E55660026773D /* MPHelperTool.m */, + 6ED12A4E0E3E55660026773D /* MPHelperTool.m.old */, 6EC260950E4272D20013BC48 /* MPHelperCommon.h */, 6EC260960E4272D20013BC48 /* MPHelperCommon.c */, + 6EB6FB620E44AF140057962C /* MPHelperTool.m */, ); name = MPHelperTool; sourceTree = ""; @@ -347,8 +333,6 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 6ED12AFB0E3E9F980026773D /* MPNotifications.h in Headers */, - 6ED12AD20E3E9AC30026773D /* MPInterpreter.h in Headers */, 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */, 6EC260970E4272D20013BC48 /* MPHelperCommon.h in Headers */, ); @@ -437,7 +421,6 @@ 8DC2EF540486A6940098B216 /* Sources */, 8DC2EF560486A6940098B216 /* Frameworks */, 6E49F4F40E00DD520030C3AF /* ShellScript */, - 6EB6F7B00E4326F40057962C /* CopyFiles */, ); buildRules = ( ); @@ -488,7 +471,6 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 6ED12B060E3EA9E30026773D /* init.tcl in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -496,9 +478,12 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 6EB6FA460E43ECD60057962C /* MPHelperInstallTool in Resources */, + 6EB6FA420E43ECCE0057962C /* MPHelperTool in Resources */, 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, 48E9939F0C82CEB000219DDF /* init.tcl in Resources */, 6E44A00D0E2DAD66007DE8EC /* ToDo.txt in Resources */, + 6EB6FB270E448EE20057962C /* TestFile.test in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -568,11 +553,9 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 6ED12AC90E3E94310026773D /* MPInterpreter.m in Sources */, - 6ED12AFC0E3E9FA60026773D /* MPNotifications.m in Sources */, - 6ED12A4F0E3E55660026773D /* MPHelperTool.m in Sources */, 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */, 6EC260980E4272D20013BC48 /* MPHelperCommon.c in Sources */, + 6EB6FB630E44AF140057962C /* MPHelperTool.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/1fefcd41/attachment-0001.html From ryandesign at macports.org Sat Aug 2 19:19:57 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 19:19:57 -0700 (PDT) Subject: [38935] trunk/dports/irc/silc-client/Portfile Message-ID: <20080803021957.57E561B78CC@beta.macosforge.org> Revision: 38935 http://trac.macosforge.org/projects/macports/changeset/38935 Author: ryandesign at macports.org Date: 2008-08-02 19:19:56 -0700 (Sat, 02 Aug 2008) Log Message: ----------- silc-client: perl is also required at build time, not just at runtime Modified Paths: -------------- trunk/dports/irc/silc-client/Portfile Modified: trunk/dports/irc/silc-client/Portfile =================================================================== --- trunk/dports/irc/silc-client/Portfile 2008-08-03 02:05:01 UTC (rev 38934) +++ trunk/dports/irc/silc-client/Portfile 2008-08-03 02:19:56 UTC (rev 38935) @@ -27,6 +27,7 @@ port:glib2 \ port:libiconv \ port:ncurses +depends_build path:${prefix}/bin/perl:perl5.8 depends_run path:${prefix}/bin/perl:perl5.8 configure.args --without-silcd \ --with-docdir=${prefix}/share/${name} \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/798ef16d/attachment.html From raimue at macports.org Sat Aug 2 19:21:19 2008 From: raimue at macports.org (raimue at macports.org) Date: Sat, 2 Aug 2008 19:21:19 -0700 (PDT) Subject: [38936] trunk/dports/lang/jruby/Portfile Message-ID: <20080803022119.C70551B7978@beta.macosforge.org> Revision: 38936 http://trac.macosforge.org/projects/macports/changeset/38936 Author: raimue at macports.org Date: 2008-08-02 19:21:19 -0700 (Sat, 02 Aug 2008) Log Message: ----------- lang/jruby: Maintainer update to version 1.1.3, closes #16141. Modified Paths: -------------- trunk/dports/lang/jruby/Portfile Modified: trunk/dports/lang/jruby/Portfile =================================================================== --- trunk/dports/lang/jruby/Portfile 2008-08-03 02:19:56 UTC (rev 38935) +++ trunk/dports/lang/jruby/Portfile 2008-08-03 02:21:19 UTC (rev 38936) @@ -3,26 +3,26 @@ PortSystem 1.0 name jruby -version 1.1.2 +version 1.1.3 categories lang ruby maintainers ameingast at gmail.com platforms darwin description JRuby is an 100% pure-Java implementation of the Ruby \ - programming language. +programming language. long_description JRuby provides a complete set of core "builtin" classes \ - and syntax for the Ruby language, as well as most of the \ - Ruby Standard Libraries. The standard libraries are mostly \ - Ruby's own complement of .rb files, but a few that depend \ - on C language-based extensions have been reimplemented. +and syntax for the Ruby language, as well as most of the \ +Ruby Standard Libraries. The standard libraries are mostly \ +Ruby's own complement of .rb files, but a few that depend \ +on C language-based extensions have been reimplemented. homepage http://jruby.codehaus.org/ master_sites http://dist.codehaus.org/jruby/ distname ${name}-src-${version} worksrcdir ${name}-${version} use_bzip2 no -checksums md5 1013014e6fc373a661c94406118c77ac +checksums md5 198ced14b87773b06a9844882a337b7e depends_build bin:ant:apache-ant depends_lib bin:java:kaffe @@ -42,22 +42,22 @@ } destroot { - # Create the target java directory exists - xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} + # Create the target java directory exists + xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} - # Copy over the needed elements of our directory tree - file copy \ - ${worksrcpath}/bin \ - ${worksrcpath}/lib \ - ${destroot}${prefix}/share/java/${name} + # Copy over the needed elements of our directory tree + file copy \ + ${worksrcpath}/bin \ + ${worksrcpath}/lib \ + ${destroot}${prefix}/share/java/${name} - if { [variant_isset apidocs] } { - file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name} - } + if { [variant_isset apidocs] } { + file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name} + } - # Remove extraneous bat files - foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] { - file delete $f + # Remove extraneous bat files + foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] { + file delete $f } set jruby_prefix "" @@ -66,9 +66,9 @@ set jruby_prefix "j" } - foreach f { jruby jirb jrubyc jrubcli jrubysrv } { - regsub {^j} $f $jruby_prefix dest - if { ${dest} != ${f} } { + foreach f { jruby jirb jrubyc jrubcli jrubysrv } { + regsub {^j} $f $jruby_prefix dest + if { ${dest} != ${f} } { ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest} } ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/ @@ -76,6 +76,6 @@ foreach f { gem gem_mirror gemri gemwhich rake spec testrb } { ln -s ${prefix}/share/java/${name}/bin/${f} \ - ${destroot}${prefix}/bin/${jruby_prefix}${f} + ${destroot}${prefix}/bin/${jruby_prefix}${f} } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/95dab570/attachment.html From ryandesign at macports.org Sat Aug 2 20:25:04 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 20:25:04 -0700 (PDT) Subject: [38937] trunk/dports/python/py-epydoc/Portfile Message-ID: <20080803032504.5BEF91B7DB6@beta.macosforge.org> Revision: 38937 http://trac.macosforge.org/projects/macports/changeset/38937 Author: ryandesign at macports.org Date: 2008-08-02 20:25:03 -0700 (Sat, 02 Aug 2008) Log Message: ----------- py-epydoc: merge r38491 from py25-epydoc: fix install problems on case-sensitive filesystems Modified Paths: -------------- trunk/dports/python/py-epydoc/Portfile Modified: trunk/dports/python/py-epydoc/Portfile =================================================================== --- trunk/dports/python/py-epydoc/Portfile 2008-08-03 02:21:19 UTC (rev 38936) +++ trunk/dports/python/py-epydoc/Portfile 2008-08-03 03:25:03 UTC (rev 38937) @@ -5,7 +5,7 @@ name py-epydoc version 3.0.1 -revision 1 +revision 2 categories python platforms darwin freebsd maintainers trashmail.net:macports_dharland @@ -27,6 +27,6 @@ post-destroot { file delete -force ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 -W ${worksrcpath} LICENSE.TXT README.TXT \ + xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${name} } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/69e2003a/attachment.html From ryandesign at macports.org Sat Aug 2 20:38:46 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sat, 2 Aug 2008 20:38:46 -0700 (PDT) Subject: [38938] trunk/dports/databases Message-ID: <20080803033846.BE90F1B7E97@beta.macosforge.org> Revision: 38938 http://trac.macosforge.org/projects/macports/changeset/38938 Author: ryandesign at macports.org Date: 2008-08-02 20:38:46 -0700 (Sat, 02 Aug 2008) Log Message: ----------- mysql5, mysql5-devel: add MacPorts distfiles mirror first because it's faster; closes #16149 Modified Paths: -------------- trunk/dports/databases/mysql5/Portfile trunk/dports/databases/mysql5-devel/Portfile Modified: trunk/dports/databases/mysql5/Portfile =================================================================== --- trunk/dports/databases/mysql5/Portfile 2008-08-03 03:25:03 UTC (rev 38937) +++ trunk/dports/databases/mysql5/Portfile 2008-08-03 03:38:46 UTC (rev 38938) @@ -20,6 +20,7 @@ with a command syntax very similar to mSQL. master_sites \ + http://distfiles.macports.org/${dist_subdir} \ http://mysql.mirrors.pair.com/Downloads/MySQL-${branch}/ \ http://mysql.he.net/Downloads/MySQL-${branch}/ \ http://mysql.orst.edu/Downloads/MySQL-${branch} \ Modified: trunk/dports/databases/mysql5-devel/Portfile =================================================================== --- trunk/dports/databases/mysql5-devel/Portfile 2008-08-03 03:25:03 UTC (rev 38937) +++ trunk/dports/databases/mysql5-devel/Portfile 2008-08-03 03:38:46 UTC (rev 38938) @@ -22,6 +22,7 @@ with a command syntax very similar to mSQL. master_sites \ + http://distfiles.macports.org/${dist_subdir} \ http://dev.mysql.com/get/Downloads/MySQL-${branch}/ \ http://mysql.mirrors.pair.com/Downloads/MySQL-${branch}/ \ http://mysql.he.net/Downloads/MySQL-${branch}/ \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/e2b877c8/attachment.html From portindex at macports.org Sun Aug 3 00:51:57 2008 From: portindex at macports.org (portindex at macports.org) Date: Sun, 3 Aug 2008 00:51:57 -0700 (PDT) Subject: [38939] trunk/dports/PortIndex Message-ID: <20080803075158.7AE1B1B8648@beta.macosforge.org> Revision: 38939 http://trac.macosforge.org/projects/macports/changeset/38939 Author: portindex at macports.org Date: 2008-08-03 00:51:56 -0700 (Sun, 03 Aug 2008) Log Message: ----------- Total number of ports parsed: 4945 Ports successfully parsed: 4945 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-03 03:38:46 UTC (rev 38938) +++ trunk/dports/PortIndex 2008-08-03 07:51:56 UTC (rev 38939) @@ -1055,7 +1055,7 @@ gazpacho 445 variants universal portdir devel/gazpacho description {A GUI builder for the GTK+ toolkit.} homepage http://gazpacho.sicem.biz epoch 0 platforms darwin depends_lib {port:python25 port:gettext port:py25-gobject port:py25-numeric port:kiwi} name gazpacho maintainers nomaintainer long_description {Gazpacho is a fresh new GUI builder for the GTK+ toolkit designed to be ultra easy to use.} categories {devel python gnome} version 0.7.2 revision 0 gc-utils 483 -variants universal portdir devel/gc-utils description {scripts for interacting with CVS repositories using git} homepage http://gcutils.sourceforge.net/ epoch 0 platforms darwin name gc-utils depends_lib {port:git-core port:cvsps} maintainers {ram openmaintainer} long_description {gc-utils is a small set of scripts that let you import and update CVS repositories into git very easily and also export patches back into a CVS working copy.} version 0.2.2 categories devel revision 0 +variants universal portdir devel/gc-utils description {scripts for interacting with CVS repositories using git} homepage http://gcutils.sourceforge.net/ epoch 0 platforms darwin name gc-utils depends_lib {port:git-core port:cvsps} maintainers {ram openmaintainer} long_description {gc-utils is a small set of scripts that let you import and update CVS repositories into git very easily and also export patches back into a CVS working copy.} version 0.2.3 categories devel revision 0 geany 552 variants universal portdir devel/geany description {A fast and lightweight GTK+ IDE} homepage http://geany.uvena.de/ epoch 0 platforms darwin name geany depends_lib {port:gettext port:vte} long_description {Geany is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME.} maintainers nomaintainer version 0.13 categories devel revision 0 gecko-sharp2 508 @@ -2996,8 +2996,8 @@ variants {universal ident} description {next generation IRC daemon} portdir irc/ngircd homepage http://ngircd.barton.de/ epoch 0 platforms darwin name ngircd long_description {ngIRCd is a free open source daemon for Internet Relay Chat (IRC). It's written from scratch and is not based upon the original IRCd like many others.} maintainers nomaintainer categories irc version 0.11.0 revision 0 scrollz 279 variants universal description {ircII-based irc client} portdir irc/scrollz homepage http://www.scrollz.com/ epoch 0 platforms darwin name scrollz long_description {ScrollZ is yet another ircII-based irc client.} maintainers nomaintainer categories irc version 1.9.99 revision 0 -silc-client 481 -portdir irc/silc-client description {client for the silc-network.} homepage http://silcnet.org/ depends_run bin:perl:perl5.8 epoch 0 platforms darwin name silc-client depends_lib {port:gettext port:glib2 port:libiconv port:ncurses} long_description {silc-client is a client for the SILC (Secure Internet Live Conferencing) protocol. SILC provides secure conferencing services in the Internet over insecure channel.} maintainers nomaintainer version 1.1.4 categories irc revision 1 +silc-client 552 +depends_build {{path:\${prefix}/bin/perl:perl5.8}} portdir irc/silc-client description {client for the silc-network.} homepage http://silcnet.org/ depends_run {{path:\${prefix}/bin/perl:perl5.8}} epoch 0 platforms darwin name silc-client depends_lib {port:gettext port:glib2 port:libiconv port:ncurses} long_description {silc-client is a client for the SILC (Secure Internet Live Conferencing) protocol. SILC provides secure conferencing services in the Internet over insecure channel.} maintainers nomaintainer version 1.1.4 categories irc revision 1 silc-server 583 description {server for the silc-network.} portdir irc/silc-server homepage http://silcnet.org/ epoch 0 platforms darwin name silc-server depends_lib port:libiconv long_description {silc-server (silcd) is the server for the SILC protocol. SILC (Secure Internet Live Conferencing) is a protocol which provides secure conferencing services in the Internet over insecure channel. SILC superficially resembles IRC, although they are very different internally. SILC is much more than just about `encrypting the traffic'.} maintainers nomaintainer version 1.1.11 categories irc revision 0 supybot 298 @@ -3653,7 +3653,7 @@ jlint 393 variants universal description {Java code verifier} portdir lang/jlint homepage http://www.garret.ru/~knizhnik/lang.html epoch 0 platforms darwin name jlint long_description {Jlint will check your Java code and find bugs, inconsistencies and synchronization problems by doing data flow analysis and building lock graph.} maintainers waqar at macports.org categories devel version 1.21 revision 1 jruby 745 -variants {apidocs default_ruby} depends_build bin:ant:apache-ant variant_desc {apidocs {include API documentation} default_ruby {build without j prefix}} portdir lang/jruby description {JRuby is an 100% pure-Java implementation of the Ruby programming language.} homepage http://jruby.codehaus.org/ epoch 0 platforms darwin depends_lib bin:java:kaffe name jruby maintainers ameingast at gmail.com long_description {JRuby provides a complete set of core builtin classes and syntax for the Ruby language, as well as most of the Ruby Standard Libraries. The standard libraries are mostly Ruby's own complement of .rb files, but a few that depend on C language-based extensions have been reimplemented.} categories {lang ruby} version 1.1.2 revision 0 +variants {apidocs default_ruby} depends_build bin:ant:apache-ant variant_desc {apidocs {include API documentation} default_ruby {build without j prefix}} portdir lang/jruby description {JRuby is an 100% pure-Java implementation of the Ruby programming language.} homepage http://jruby.codehaus.org/ epoch 0 platforms darwin depends_lib bin:java:kaffe name jruby maintainers ameingast at gmail.com long_description {JRuby provides a complete set of core builtin classes and syntax for the Ruby language, as well as most of the Ruby Standard Libraries. The standard libraries are mostly Ruby's own complement of .rb files, but a few that depend on C language-based extensions have been reimplemented.} categories {lang ruby} version 1.1.3 revision 0 jython 534 variants universal depends_build bin:ant:apache-ant portdir lang/jython description {Python implementation in pure Java} homepage http://www.jython.org/ epoch 0 platforms darwin depends_lib bin:java:kaffe name jython maintainers nomaintainer long_description {Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.} version 2.1 categories {lang python java} revision 0 kaffe 539 @@ -6587,7 +6587,7 @@ py-enum 393 variants universal portdir python/py-enum description {Robust enumerated type support in Python} homepage http://cheeseshop.python.org/pypi/enum/ epoch 0 platforms darwin depends_lib port:python24 name py-enum maintainers {jann at macports.org openmaintainer} long_description {This package provides a module for robust enumerations in Python.} categories {python devel} version 0.4.2 revision 0 py-epydoc 680 -variants universal portdir python/py-epydoc description {API documentation generator for Python modules} homepage http://epydoc.sourceforge.net/ epoch 0 platforms {darwin freebsd} depends_lib port:python24 name py-epydoc maintainers trashmail.net:macports_dharland long_description {Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.} categories python version 3.0.1 revision 1 +variants universal portdir python/py-epydoc description {API documentation generator for Python modules} homepage http://epydoc.sourceforge.net/ epoch 0 platforms {darwin freebsd} depends_lib port:python24 name py-epydoc maintainers trashmail.net:macports_dharland long_description {Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.} categories python version 3.0.1 revision 2 py-exif 483 variants universal portdir python/py-exif description {Python interface to the EXIF meta-data} homepage http://sourceforge.net/projects/exif-py/ epoch 1 platforms {darwin freebsd} depends_lib port:python24 name py-exif maintainers nomaintainer long_description {Exchangeable Image File Format for Digital Still Cameras is a meta-information tag that can be embedded in tiff or jpeg image files. py-exif is a Python interface to this data.} categories python version 1.0.2 revision 0 py-eyed3 550 @@ -6803,7 +6803,7 @@ py-numeric 445 variants {universal darwin_8 macosx puredarwin} portdir python/py-numeric description {fast numerical array language for python} homepage http://www.pfdubois.com/numpy/ epoch 0 platforms darwin depends_lib port:python24 name py-numeric maintainers trashmail.net:macports_dharland long_description {Numerical Python adds a fast, compact, multidimensional array language facility to Python.} categories {python devel math} version 24.2 revision 2 py-numpy 392 -variants universal portdir python/py-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python24 port:fftw-3} name py-numpy maintainers {ram openmaintainer} long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.0 revision 2 +variants universal portdir python/py-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python24 port:fftw-3} name py-numpy maintainers {ram openmaintainer} long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.1 revision 0 py-ogg 496 variants universal portdir python/py-ogg description {Python module for the ogg multimedia interface} homepage http://ekyo.nerim.net/software/pyogg/ epoch 0 platforms darwin depends_lib {port:python24 lib:libogg:libogg} name py-ogg maintainers nomaintainer long_description {py-ogg is an interface to the ogg multimedia standard. You cant do much with this module on its own, you will also need specific Python modules for audio, etc.} categories {python audio multimedia} version 1.3 revision 1 py-omniORBpy 389 @@ -7355,7 +7355,7 @@ py25-numeric 423 variants {universal darwin_7 macosx puredarwin} portdir python/py25-numeric description {fast numerical array language for python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib port:python25 name py25-numeric maintainers nomaintainer long_description {Numerical Python adds a fast, compact, multidimensional array language facility to Python.} categories {python devel math} version 24.2 revision 1 py25-numpy 414 -variants universal portdir python/py25-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python25 port:fftw-3 port:py25-hashlib} name py25-numpy maintainers {ram openmaintainer} long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.0 revision 2 +variants universal portdir python/py25-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python25 port:fftw-3 port:py25-hashlib} name py25-numpy maintainers {ram openmaintainer} long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.1 revision 0 py25-ode 352 variants universal portdir python/py25-ode description {Python bindings for The Open Dynamics Engine} homepage http://pyode.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:ode} name py25-ode maintainers nomaintainer long_description {{Python bindings for The Open Dynamics Engine.}} categories python version 1.2.0 revision 0 py25-opengl 592 @@ -8356,8 +8356,8 @@ variants {universal kerberos} variant_desc {kerberos { Using kerberos }} portdir sysutils/freeradius description {Free Radius Implementation} homepage http://www.freeradius.org/ epoch 0 platforms {darwin freebsd} name freeradius depends_lib {port:openssl port:gdbm} maintainers nomaintainer long_description {The FreeRADIUS Server Project is an attempt to create a high-performance and highly-configurable GPLd free RADIUS server. The server is similar to Livingston's 2.0 server. FreeRADIUS is a variant of the Cistron RADIUS server, but they don't share a lot in common any more.} version 2.0.4 categories sysutils revision 2 fs-check 543 variants universal portdir sysutils/fs-check description {checks filesystem if they are getting too full} homepage http://fs-check.sourceforge.net/ epoch 0 platforms darwin name fs-check depends_lib bin:perl:perl5.8 maintainers nomaintainer long_description {fs-check checks filesystem sizes to see if they are getting too full. It uses a configuration file that specifies the filesystems to check, email contacts, trigger thresholds (percentage or amount used/unused), and a report program to run.} version 0.7 categories sysutils revision 0 -gcc_select 469 -variants {universal darwin_7 darwin_8_ppc darwin_8_i386 darwin_9} description {Switch the default compiler} portdir sysutils/gcc_select homepage http://svn.macports.org/repository/macports/users/mww/select/ epoch 0 platforms darwin name gcc_select long_description {gcc_select lets you switch the default compiler. It symlinks the standard compiler executables in the MacPorts prefix to the selected version.} maintainers mww categories sysutils version 0.1 revision 1 +gcc_select 467 +variants {universal darwin_7 darwin_8_ppc darwin_8_i386 darwin_9} description {Switch the default compiler} portdir sysutils/gcc_select homepage http://svn.macports.org/repository/macports/contrib/select/ epoch 0 platforms darwin name gcc_select long_description {gcc_select lets you switch the default compiler. It symlinks the standard compiler executables in the MacPorts prefix to the selected version.} maintainers mww categories sysutils version 0.1 revision 1 getabspath 383 variants universal description {getabspath converts relative POSIX pathes to absolute ones.} portdir sysutils/getabspath homepage http://getabspath.sourceforge.net/ epoch 0 platforms darwin name getabspath long_description {getabspath is a console-based tool which converts relative POSIX pathes to absolute ones.} maintainers nomaintainer categories sysutils version 1.4 revision 0 getopt 838 @@ -8462,8 +8462,8 @@ variants universal portdir sysutils/pv description {monitor the progress of data through a pipe} homepage http://www.ivarch.com/programs/pv.shtml epoch 0 platforms darwin name pv depends_lib port:gettext maintainers meissnem at gmail.com long_description {pv - Pipe Viewer - is a terminal-based tool for monitoring the progress of data through a pipeline. It can be inserted into any normal pipeline between two processes to give a visual indication of how quickly data is passing through, how long it has taken, how near to completion it is, and an estimate of how long it will be until completion.} version 1.1.4 categories sysutils revision 0 pwgen 441 variants universal depends_build bin:grep:grep portdir sysutils/pwgen description {password generator} homepage http://sourceforge.net/projects/pwgen/ epoch 0 platforms darwin name pwgen maintainers {raimue openmaintainer} long_description {This program spits out passwords which are virtually guaranteed not to be found in the dictionary, but are (usually) pronounceable to speakers of English.} version 2.06 categories sysutils revision 1 -python_select 492 -variants {universal darwin_7 darwin_8 darwin_9} description {Switch the default python interpreter} portdir sysutils/python_select homepage http://svn.macports.org/repository/macports/users/mww/select/ epoch 0 platforms darwin name python_select long_description {python_select lets you switch the default python interpreter. python_select symlinks the standard python executables in the MacPorts prefix to the selected version.} maintainers raimue categories sysutils version 0.1 revision 4 +python_select 490 +variants {universal darwin_7 darwin_8 darwin_9} description {Switch the default python interpreter} portdir sysutils/python_select homepage http://svn.macports.org/repository/macports/contrib/select/ epoch 0 platforms darwin name python_select long_description {python_select lets you switch the default python interpreter. python_select symlinks the standard python executables in the MacPorts prefix to the selected version.} maintainers raimue categories sysutils version 0.1 revision 4 remap-bad-apple-keys 466 variants universal portdir sysutils/remap-bad-apple-keys description {A utility to remap some bad keys in Apple's X11} homepage http://ranger.befunk.com/fink/ epoch 0 depends_run bin:xmodmap:XFree86 platforms darwin name remap-bad-apple-keys maintainers nomaintainer long_description {Some keys are incorrectly mapped in Apple's X11 (and possibly others), making it impossible to use navigation keys in some applications.} version 1.0 categories sysutils revision 0 repoview 564 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/e51e1d66/attachment-0001.html From raimue at macports.org Sun Aug 3 01:05:44 2008 From: raimue at macports.org (raimue at macports.org) Date: Sun, 3 Aug 2008 01:05:44 -0700 (PDT) Subject: [38940] trunk/base/src/pextlib1.0 Message-ID: <20080803080544.5A13F1B86D8@beta.macosforge.org> Revision: 38940 http://trac.macosforge.org/projects/macports/changeset/38940 Author: raimue at macports.org Date: 2008-08-03 01:05:42 -0700 (Sun, 03 Aug 2008) Log Message: ----------- pextlib1.0: Add a wrapper for isatty(3). Add term_get_size to find the size of a connected terminal for a channel using ioctl(2). Modified Paths: -------------- trunk/base/src/pextlib1.0/Makefile trunk/base/src/pextlib1.0/Pextlib.c Added Paths: ----------- trunk/base/src/pextlib1.0/tty.c trunk/base/src/pextlib1.0/tty.h Modified: trunk/base/src/pextlib1.0/Makefile =================================================================== --- trunk/base/src/pextlib1.0/Makefile 2008-08-03 07:51:56 UTC (rev 38939) +++ trunk/base/src/pextlib1.0/Makefile 2008-08-03 08:05:42 UTC (rev 38940) @@ -1,7 +1,7 @@ OBJS= Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o \ fs-traverse.o strcasecmp.o vercomp.o filemap.o \ sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o\ - tracelib.o + tracelib.o tty.o SHLIB_NAME= Pextlib${SHLIB_SUFFIX} INSTALLDIR= ${DESTDIR}${datadir}/macports/Tcl/pextlib1.0 export MACOSX_DEPLOYMENT_TARGET=10.3 Modified: trunk/base/src/pextlib1.0/Pextlib.c =================================================================== --- trunk/base/src/pextlib1.0/Pextlib.c 2008-08-03 07:51:56 UTC (rev 38939) +++ trunk/base/src/pextlib1.0/Pextlib.c 2008-08-03 08:05:42 UTC (rev 38940) @@ -114,6 +114,7 @@ #include "readline.h" #include "uid.h" #include "tracelib.h" +#include "tty.h" #if HAVE_CRT_EXTERNS_H #include @@ -1214,6 +1215,8 @@ Tcl_CreateObjCommand(interp, "gid_to_name", gid_to_nameCmd, NULL, NULL); Tcl_CreateObjCommand(interp, "tracelib", TracelibCmd, NULL, NULL); + Tcl_CreateObjCommand(interp, "isatty", IsattyCmd, NULL, NULL); + Tcl_CreateObjCommand(interp, "term_get_size", TermGetSizeCmd, NULL, NULL); if (Tcl_PkgProvide(interp, "Pextlib", "1.0") != TCL_OK) return TCL_ERROR; Added: trunk/base/src/pextlib1.0/tty.c =================================================================== --- trunk/base/src/pextlib1.0/tty.c (rev 0) +++ trunk/base/src/pextlib1.0/tty.c 2008-08-03 08:05:42 UTC (rev 38940) @@ -0,0 +1,124 @@ +/* + * tty.c + * $Id$ + * Tcl wrappers for tty control functions + * + * Author: Rainer Mueller + * + * Copyright (c) 2008 Rainer Mueller + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of Apple Computer, Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#if HAVE_CONFIG_H +#include +#endif + +#if HAVE_UNISTD_H +#include +#endif + +#include + +#include + +int IsattyCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) +{ + Tcl_Obj *tcl_result; + Tcl_Channel chan; + int dir; + int fd; + int rval; + + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "channel"); + return TCL_ERROR; + } + + chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); + if (chan == NULL) { + Tcl_SetResult(interp, "no such channel", TCL_STATIC); + return TCL_ERROR; + } + + if (Tcl_GetChannelHandle(chan, + dir & TCL_READABLE ? TCL_READABLE : TCL_WRITABLE, + (ClientData*) &fd) == TCL_ERROR) { + return TCL_ERROR; + } + + rval = isatty(fd); + + tcl_result = Tcl_NewIntObj(rval); + Tcl_SetObjResult(interp, tcl_result); + + return TCL_OK; +} + +int TermGetSizeCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) +{ + Tcl_Obj *tcl_result; + Tcl_Channel chan; + int dir; + int fd; + Tcl_Obj *robjv[2]; + struct winsize ws = {0, 0, 0, 0}; + + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "channel"); + return TCL_ERROR; + } + + chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); + if (chan == NULL) { + Tcl_SetResult(interp, "no such channel", TCL_STATIC); + return TCL_ERROR; + } + + if (Tcl_GetChannelHandle(chan, + dir & TCL_READABLE ? TCL_READABLE : TCL_WRITABLE, + (ClientData*) &fd) == TCL_ERROR) { + return TCL_ERROR; + } + + if (!isatty(fd)) { + Tcl_SetResult(interp, "channel is not connected to a tty", TCL_STATIC); + return TCL_ERROR; + } + + if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == -1) { + Tcl_SetResult(interp, "ioctl failed", TCL_STATIC); + return TCL_ERROR; + } + + robjv[0] = Tcl_NewIntObj(ws.ws_row); + robjv[1] = Tcl_NewIntObj(ws.ws_col); + + tcl_result = Tcl_NewListObj(2, robjv); + Tcl_SetObjResult(interp, tcl_result); + + return TCL_OK; +} Property changes on: trunk/base/src/pextlib1.0/tty.c ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Added: trunk/base/src/pextlib1.0/tty.h =================================================================== --- trunk/base/src/pextlib1.0/tty.h (rev 0) +++ trunk/base/src/pextlib1.0/tty.h 2008-08-03 08:05:42 UTC (rev 38940) @@ -0,0 +1,53 @@ +/* + * tty.h + * $Id$ + * Tcl wrappers for tty control functions + * + * Author: Rainer Mueller + * + * Copyright (c) 2008 Rainer Mueller + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of Apple Computer, Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _PEXTLIB_TTY_H +#define _PEXTLIB_TTY_H + +#include + +/** + * A wrapper for isatty(3) + */ +int IsattyCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]); + +/** + * Determines current size of tty + * + * @returns list with 2 elements, rows and columns + */ +int TermGetSizeCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]); + +#endif /* _PEXTLIB_TTY_H */ Property changes on: trunk/base/src/pextlib1.0/tty.h ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/257dd73e/attachment.html From raimue at macports.org Sun Aug 3 01:10:26 2008 From: raimue at macports.org (raimue at macports.org) Date: Sun, 3 Aug 2008 01:10:26 -0700 (PDT) Subject: [38941] trunk/base/src/port/port.tcl Message-ID: <20080803081026.D7B311B8720@beta.macosforge.org> Revision: 38941 http://trac.macosforge.org/projects/macports/changeset/38941 Author: raimue at macports.org Date: 2008-08-03 01:10:26 -0700 (Sun, 03 Aug 2008) Log Message: ----------- port/port.tcl: Use isatty and term_get_size from pextlib to determine the size of the connected terminal. This requires the Pextlib package. Modified Paths: -------------- trunk/base/src/port/port.tcl Modified: trunk/base/src/port/port.tcl =================================================================== --- trunk/base/src/port/port.tcl 2008-08-03 08:05:42 UTC (rev 38940) +++ trunk/base/src/port/port.tcl 2008-08-03 08:10:26 UTC (rev 38941) @@ -41,6 +41,7 @@ catch {source \ [file join "@TCL_PACKAGE_DIR@" macports1.0 macports_fastload.tcl]} package require macports +package require Pextlib 1.0 # Standard procedures @@ -400,14 +401,20 @@ ## # Makes sure we get the current terminal size -proc set_term_size {} { +proc term_init_size {} { global env if {![info exists env(COLUMNS)] || ![info exists env(LINES)]} { - if {![catch {exec stty size} err]} { - regexp {(\d+) (\d+)} $err -> rows cols - set env(COLUMNS) $cols - set env(LINES) $rows + if {[isatty stdout]} { + set size [term_get_size stdout] + + if {![info exists env(LINES)]} { + set env(LINES) [lindex $size 0] + } + + if {![info exists env(COLUMNS)]} { + set env(COLUMNS) [lindex $size 1] + } } } } @@ -3143,7 +3150,7 @@ # Make sure we get the size of the terminal # We do this here to save it in the boot_env, in case we determined it manually -set_term_size +term_init_size # Save off a copy of the environment before mportinit monkeys with it global env boot_env -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/2aa880f8/attachment.html From raimue at macports.org Sun Aug 3 01:19:05 2008 From: raimue at macports.org (raimue at macports.org) Date: Sun, 3 Aug 2008 01:19:05 -0700 (PDT) Subject: [38942] trunk/base/src/pextlib1.0/tty.c Message-ID: <20080803081905.AE74D1B8777@beta.macosforge.org> Revision: 38942 http://trac.macosforge.org/projects/macports/changeset/38942 Author: raimue at macports.org Date: 2008-08-03 01:19:05 -0700 (Sun, 03 Aug 2008) Log Message: ----------- pextlib1.0/tty.c: Tabs to spaces Modified Paths: -------------- trunk/base/src/pextlib1.0/tty.c Modified: trunk/base/src/pextlib1.0/tty.c =================================================================== --- trunk/base/src/pextlib1.0/tty.c 2008-08-03 08:10:26 UTC (rev 38941) +++ trunk/base/src/pextlib1.0/tty.c 2008-08-03 08:19:05 UTC (rev 38942) @@ -47,16 +47,16 @@ int IsattyCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { - Tcl_Obj *tcl_result; + Tcl_Obj *tcl_result; Tcl_Channel chan; int dir; int fd; - int rval; + int rval; - if (objc != 2) { + if (objc != 2) { Tcl_WrongNumArgs(interp, 1, objv, "channel"); return TCL_ERROR; - } + } chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); if (chan == NULL) { @@ -72,25 +72,25 @@ rval = isatty(fd); - tcl_result = Tcl_NewIntObj(rval); - Tcl_SetObjResult(interp, tcl_result); + tcl_result = Tcl_NewIntObj(rval); + Tcl_SetObjResult(interp, tcl_result); - return TCL_OK; + return TCL_OK; } int TermGetSizeCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { - Tcl_Obj *tcl_result; + Tcl_Obj *tcl_result; Tcl_Channel chan; int dir; - int fd; - Tcl_Obj *robjv[2]; + int fd; + Tcl_Obj *robjv[2]; struct winsize ws = {0, 0, 0, 0}; - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "channel"); - return TCL_ERROR; - } + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "channel"); + return TCL_ERROR; + } chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); if (chan == NULL) { @@ -117,8 +117,8 @@ robjv[0] = Tcl_NewIntObj(ws.ws_row); robjv[1] = Tcl_NewIntObj(ws.ws_col); - tcl_result = Tcl_NewListObj(2, robjv); - Tcl_SetObjResult(interp, tcl_result); + tcl_result = Tcl_NewListObj(2, robjv); + Tcl_SetObjResult(interp, tcl_result); - return TCL_OK; + return TCL_OK; } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/6b689599/attachment.html From jmr at macports.org Sun Aug 3 02:46:59 2008 From: jmr at macports.org (jmr at macports.org) Date: Sun, 3 Aug 2008 02:46:59 -0700 (PDT) Subject: [38943] trunk/dports/math/R/Portfile Message-ID: <20080803094700.0FEB51B8AF4@beta.macosforge.org> Revision: 38943 http://trac.macosforge.org/projects/macports/changeset/38943 Author: jmr at macports.org Date: 2008-08-03 02:46:58 -0700 (Sun, 03 Aug 2008) Log Message: ----------- R: fix crashing C++ extensions due to CoreFoundation/NLS (#16166) Modified Paths: -------------- trunk/dports/math/R/Portfile Modified: trunk/dports/math/R/Portfile =================================================================== --- trunk/dports/math/R/Portfile 2008-08-03 08:19:05 UTC (rev 38942) +++ trunk/dports/math/R/Portfile 2008-08-03 09:46:58 UTC (rev 38943) @@ -4,6 +4,7 @@ name R version 2.7.1 +revision 1 categories math science maintainers kjell.konis at epfl.ch platforms darwin @@ -67,8 +68,8 @@ configure.args --mandir=\\\${prefix}/share/man \ --enable-R-shlib \ - --with-blas='-framework vecLib' \ - --with-lapack \ + --disable-nls \ + --without-libintl-prefix \ --disable-R-framework \ --without-aqua \ --with-tcl-config=${prefix}/lib/tclConfig.sh \ @@ -88,7 +89,19 @@ system "install_name_tool -id ${prefix}/lib/R/lib/libR.dylib \ ${destroot}${prefix}/lib/R/lib/libR.dylib" + system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \ + ${destroot}${prefix}/lib/R/lib/libR.dylib" + system "install_name_tool -id ${prefix}/lib/R/lib/libRblas.dylib \ + ${destroot}${prefix}/lib/R/lib/libRblas.dylib" + + system "install_name_tool -id ${prefix}/lib/R/lib/libRlapack.dylib \ + ${destroot}${prefix}/lib/R/lib/libRlapack.dylib" + system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \ + ${destroot}${prefix}/lib/R/lib/libRlapack.dylib" + system "install_name_tool -change libR.dylib ${prefix}/lib/R/lib/libR.dylib \ + ${destroot}${prefix}/lib/R/lib/libRlapack.dylib" + foreach so [ exec find ${destroot}${prefix}/lib/R -name "\*.so" ] { regsub ":$" ${so} "" destroot_so_path regsub ${destroot} ${destroot_so_path} "" so_path -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/df3c77c9/attachment.html From toby at macports.org Sun Aug 3 03:02:28 2008 From: toby at macports.org (toby at macports.org) Date: Sun, 3 Aug 2008 03:02:28 -0700 (PDT) Subject: [38944] trunk/dports/devel/boost/Portfile Message-ID: <20080803100228.E428D1B8C36@beta.macosforge.org> Revision: 38944 http://trac.macosforge.org/projects/macports/changeset/38944 Author: toby at macports.org Date: 2008-08-03 03:02:28 -0700 (Sun, 03 Aug 2008) Log Message: ----------- We should probably use bjam, since we declare it as a dependency. Modified Paths: -------------- trunk/dports/devel/boost/Portfile Modified: trunk/dports/devel/boost/Portfile =================================================================== --- trunk/dports/devel/boost/Portfile 2008-08-03 09:46:58 UTC (rev 38943) +++ trunk/dports/devel/boost/Portfile 2008-08-03 10:02:28 UTC (rev 38944) @@ -96,7 +96,7 @@ LIBDIR=${destroot}${prefix}/lib INCLUDEDIR=${destroot}${prefix}/include \ install -configure.args --without-libraries=python --without-icu +configure.args --without-libraries=python --without-icu --with-bjam=${prefix}/bin/bjam variant python24 conflicts python25 { set pyversion 2.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/9ceae6ac/attachment-0001.html From toby at macports.org Sun Aug 3 03:29:48 2008 From: toby at macports.org (toby at macports.org) Date: Sun, 3 Aug 2008 03:29:48 -0700 (PDT) Subject: [38945] trunk/dports/devel/monotone/Portfile Message-ID: <20080803102949.317081B8D1F@beta.macosforge.org> Revision: 38945 http://trac.macosforge.org/projects/macports/changeset/38945 Author: toby at macports.org Date: 2008-08-03 03:29:47 -0700 (Sun, 03 Aug 2008) Log Message: ----------- monotone 0.40 Modified Paths: -------------- trunk/dports/devel/monotone/Portfile Modified: trunk/dports/devel/monotone/Portfile =================================================================== --- trunk/dports/devel/monotone/Portfile 2008-08-03 10:02:28 UTC (rev 38944) +++ trunk/dports/devel/monotone/Portfile 2008-08-03 10:29:47 UTC (rev 38945) @@ -2,10 +2,9 @@ PortSystem 1.0 name monotone -version 0.39 -revision 1 +version 0.40 categories devel -maintainers nomaintainer +maintainers toby description A distributed version control system long_description \ monotone is a free distributed version control system. It provides \ @@ -16,9 +15,9 @@ homepage http://monotone.ca/ platforms darwin master_sites ${homepage}downloads/${version}/ -checksums md5 522c90c99e18a35c31e3dfa5f8499034 \ - sha1 b34c7e25871ddff1e30d15b733c1f3283ec16de9 \ - rmd160 d559c318e18f801513a170936fb56b6e1ac41235 +checksums md5 4d90776beaff7445e7a2d8774378fbba \ + sha1 f1fda6b1d75a359488d09599995526e71a5ef481 \ + rmd160 142ae0723337bff0cec5701d50fdd0eb41659e6c depends_lib port:zlib \ port:libiconv \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/2695a272/attachment.html From ryandesign at macports.org Sun Aug 3 03:42:50 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Sun, 3 Aug 2008 03:42:50 -0700 (PDT) Subject: [38946] trunk/dports/graphics/cairo/Portfile Message-ID: <20080803104251.005A11B8DEE@beta.macosforge.org> Revision: 38946 http://trac.macosforge.org/projects/macports/changeset/38946 Author: ryandesign at macports.org Date: 2008-08-03 03:42:50 -0700 (Sun, 03 Aug 2008) Log Message: ----------- cairo: use ${universal_archs}; don't assume "i386 ppc"; see #16007 Modified Paths: -------------- trunk/dports/graphics/cairo/Portfile Modified: trunk/dports/graphics/cairo/Portfile =================================================================== --- trunk/dports/graphics/cairo/Portfile 2008-08-03 10:29:47 UTC (rev 38945) +++ trunk/dports/graphics/cairo/Portfile 2008-08-03 10:42:50 UTC (rev 38946) @@ -111,19 +111,21 @@ } } -set my_universal_archs {i386 ppc} -set first_arch [lindex ${my_universal_archs} 0] +if {![info exists universal_archs]} { + set universal_archs {i386 ppc} +} +set first_arch [lindex ${universal_archs} 0] set my_worksrcpaths ${worksrcpath} variant universal { set my_worksrcpaths {} - foreach arch ${my_universal_archs} { + foreach arch ${universal_archs} { lappend my_worksrcpaths ${workpath}/${arch} } post-patch { - foreach arch ${my_universal_archs} { + foreach arch ${universal_archs} { if {[string equal ${arch} ${first_arch}]} { move ${worksrcpath} ${workpath}/${first_arch} } else { @@ -133,7 +135,7 @@ } configure { - foreach arch ${my_universal_archs} { + foreach arch ${universal_archs} { set my_arch_flag "-arch ${arch}" set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag}" set my_ldflags "${configure.ldflags} ${my_arch_flag}" @@ -142,7 +144,7 @@ } build { - foreach arch ${my_universal_archs} { + foreach arch ${universal_archs} { system "cd ${workpath}/${arch} && ${build.cmd} ${build.pre_args}" } } @@ -152,7 +154,7 @@ foreach lib [list [file readlink ${workpath}/${first_arch}/src/.libs/libcairo.dylib] libcairo.a] { set output_lib ${destroot}${prefix}/lib/${lib} set lipo_args {} - foreach arch ${my_universal_archs} { + foreach arch ${universal_archs} { lappend lipo_args -arch ${arch} ${workpath}/${arch}/src/.libs/${lib} } lappend lipo_args -create -output ${output_lib} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/1256a12f/attachment.html From mww at macports.org Sun Aug 3 04:54:11 2008 From: mww at macports.org (mww at macports.org) Date: Sun, 3 Aug 2008 04:54:11 -0700 (PDT) Subject: [38947] trunk/dports/lang/gcc44/Portfile Message-ID: <20080803115411.3A30F1B8FD2@beta.macosforge.org> Revision: 38947 http://trac.macosforge.org/projects/macports/changeset/38947 Author: mww at macports.org Date: 2008-08-03 04:54:09 -0700 (Sun, 03 Aug 2008) Log Message: ----------- version 4.4-20080801, add 'java' variant Modified Paths: -------------- trunk/dports/lang/gcc44/Portfile Modified: trunk/dports/lang/gcc44/Portfile =================================================================== --- trunk/dports/lang/gcc44/Portfile 2008-08-03 10:42:50 UTC (rev 38946) +++ trunk/dports/lang/gcc44/Portfile 2008-08-03 11:54:09 UTC (rev 38947) @@ -3,7 +3,7 @@ PortSystem 1.0 name gcc44 -version 4.4-20080725 +version 4.4-20080801 platforms darwin categories lang maintainers mww @@ -25,11 +25,11 @@ set dobjc gcc-objc-${version}.tar.bz2 distfiles ${dcore} ${dfort} ${dcxx} ${djava} ${dobjc} -checksums ${dcore} sha1 563666727d35c8dbd2095f1b978c3092cfc3c21e \ - ${dfort} sha1 4cd88ec559c2880e300b036ab4b9a9bafe2c0315 \ - ${dcxx} sha1 35fb2026903eddb31cb9dd67941ffb904c8008c8 \ - ${djava} sha1 59148a1a7de07f7bf826c1f7cc269a1b89d623f6 \ - ${dobjc} sha1 7dbbfb8bedc8606c66106e55b108e8bdb513b9e2 +checksums ${dcore} sha1 d9bd44a78fddb54da0fa920f158e541588840292 \ + ${dfort} sha1 4cdb57bf5371985504346aa02f3284692df765ea \ + ${dcxx} sha1 0b0402544686634d2a540602291a4636035fe818 \ + ${djava} sha1 98384f01f5564206b44435e6439bcf3dab651466 \ + ${dobjc} sha1 817a3c5eae3395b26634621c12bbd6a8210eaa33 use_bzip2 yes @@ -106,12 +106,19 @@ } # due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly -variant gfortran \ - description "Enables fortran; this language will be enabled in the final version - this variant is completely untested!" { +variant gfortran conflicts java \ + description "Enables Fortran/gfortran; this language will be enabled in the final version - this variant is completely untested!" { configure.args-delete --enable-languages=c,c++,objc,obj-c++ configure.args-append --enable-languages=c,c++,objc,obj-c++,fortran } +# due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly +variant java conflicts gfortran \ + description "Enables Java/gcj; this language will be enabled in the final version - this variant is completely untested!" { + configure.args-delete --enable-languages=c,c++,objc,obj-c++ + configure.args-append --enable-languages=c,c++,objc,obj-c++,java +} + livecheck.check regex livecheck.url ftp://gcc.gnu.org/pub/gcc/snapshots/ livecheck.regex LATEST-4.4 -> (4.4-\[0-9\]+) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/24d284b1/attachment.html From raimue at macports.org Sun Aug 3 06:34:34 2008 From: raimue at macports.org (raimue at macports.org) Date: Sun, 3 Aug 2008 06:34:34 -0700 (PDT) Subject: [38948] trunk/dports/graphics Message-ID: <20080803133434.A315E1B924F@beta.macosforge.org> Revision: 38948 http://trac.macosforge.org/projects/macports/changeset/38948 Author: raimue at macports.org Date: 2008-08-03 06:34:32 -0700 (Sun, 03 Aug 2008) Log Message: ----------- graphics/dcmtk: New port, closes #16163. Added Paths: ----------- trunk/dports/graphics/dcmtk/ trunk/dports/graphics/dcmtk/Portfile trunk/dports/graphics/dcmtk/files/ trunk/dports/graphics/dcmtk/files/patch-config-configure.in.diff Added: trunk/dports/graphics/dcmtk/Portfile =================================================================== --- trunk/dports/graphics/dcmtk/Portfile (rev 0) +++ trunk/dports/graphics/dcmtk/Portfile 2008-08-03 13:34:32 UTC (rev 38948) @@ -0,0 +1,50 @@ +# $Id$ + +PortSystem 1.0 + +name dcmtk +version 3.5.4 +categories graphics +platforms darwin +maintainers uni-koblenz.de:guidolorenz +description The DICOM Toolkit. +long_description DCMTK is a collection of libraries and applications implementing \ + large parts of the DICOM standard. It includes software for examining, \ + constructing and converting DICOM image files, handling offline \ + media, sending and receiving images over a network connection, as \ + well as demonstrative image storage and worklist servers. + +homepage http://dicom.offis.de/dcmtk + +master_sites ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/ +checksums md5 0afd971cdf976a5b336722ef2f68e6d7 \ + sha1 169056874947083e68eb941fcd53faaebc862ae5 \ + rmd160 d1558c9c68e53e0ea3b080fd2fb50b9d8e30eeba + +depends_lib port:zlib \ + port:tiff \ + port:libpng \ + port:libxml2 + +platform darwin 9 { + # See http://forum.dcmtk.org/viewtopic.php?t=1372 + + patchfiles patch-config-configure.in.diff + + post-patch { + # Usually, we would system "cd ${worksrcpath}/config && ./autoall" here, but due to a + # conflict with the MacPorts installation of autoconf, we must make sure that the + # original autoconf distrubuted with Leopard (from /usr/bin) is used. + system "cd ${worksrcpath}/config && /usr/bin/autoheader" + system "cd ${worksrcpath}/config && /usr/bin/autoconf" + system "cd ${worksrcpath}/config && /usr/bin/autoconf confmod.in > confmod" + } +} + +variant lib description {Install libraries and include files.} { + destroot.target-append install-lib +} + +default_variants +lib + +use_parallel_build no Property changes on: trunk/dports/graphics/dcmtk/Portfile ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Added: trunk/dports/graphics/dcmtk/files/patch-config-configure.in.diff =================================================================== --- trunk/dports/graphics/dcmtk/files/patch-config-configure.in.diff (rev 0) +++ trunk/dports/graphics/dcmtk/files/patch-config-configure.in.diff 2008-08-03 13:34:32 UTC (rev 38948) @@ -0,0 +1,24 @@ +--- config/configure.in.orig 2005-12-14 18:33:38.000000000 +0100 ++++ config/configure.in 2008-07-28 20:26:15.000000000 +0200 +@@ -496,6 +496,10 @@ + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" + ;; ++ *-*-darwin9.*) ++ CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" ++ CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" ++ ;; + *) + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L $CXXFLAGS" + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L $CFLAGS" +@@ -532,6 +536,10 @@ + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" + ;; ++ *-*-darwin9.*) ++ CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" ++ CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" ++ ;; + *) + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L $CXXFLAGS" + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L $CFLAGS" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/ad6b50c1/attachment.html From raimue at macports.org Sun Aug 3 10:59:51 2008 From: raimue at macports.org (raimue at macports.org) Date: Sun, 3 Aug 2008 10:59:51 -0700 (PDT) Subject: [38949] trunk/dports/python/py25-libgmail/Portfile Message-ID: <20080803175952.440FC1BB184@beta.macosforge.org> Revision: 38949 http://trac.macosforge.org/projects/macports/changeset/38949 Author: raimue at macports.org Date: 2008-08-03 10:59:49 -0700 (Sun, 03 Aug 2008) Log Message: ----------- py25-libgmail: Update to version 0.1.10 Modified Paths: -------------- trunk/dports/python/py25-libgmail/Portfile Modified: trunk/dports/python/py25-libgmail/Portfile =================================================================== --- trunk/dports/python/py25-libgmail/Portfile 2008-08-03 13:34:32 UTC (rev 38948) +++ trunk/dports/python/py25-libgmail/Portfile 2008-08-03 17:59:49 UTC (rev 38949) @@ -4,7 +4,7 @@ PortGroup python25 1.0 name py25-libgmail -version 0.1.9 +version 0.1.10 categories python mail platforms darwin maintainers raimue openmaintainer @@ -15,13 +15,13 @@ homepage http://libgmail.sourceforge.net/ master_sites sourceforge:libgmail distname libgmail-${version} -checksums md5 4a19c030920a030eb5217cfe8bb85a60 \ - sha1 9c6116a0885c438a18925daa1d0fbb91b9be1063 \ - rmd160 95228dcd284e3f6e6c79cc71796e2d581013f18c +checksums md5 2835f66b8ef5a83e8a52dc80e878f492 \ + sha1 e87f028c312dad889c5e5032c02db73f96a57d64 \ + rmd160 8ce9104c228fa337e894f720c8331ba6e0197e65 depends_lib-append \ port:py25-setuptools \ - port:py25-clientcookie + port:py25-mechanize post-destroot { xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYING PKG-INFO README \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/bf49d72c/attachment.html From armahg at macports.org Sun Aug 3 11:17:36 2008 From: armahg at macports.org (armahg at macports.org) Date: Sun, 3 Aug 2008 11:17:36 -0700 (PDT) Subject: [38950] branches/gsoc08-framework/MacPorts_Framework Message-ID: <20080803181736.9B3B91BB775@beta.macosforge.org> Revision: 38950 http://trac.macosforge.org/projects/macports/changeset/38950 Author: armahg at macports.org Date: 2008-08-03 11:17:36 -0700 (Sun, 03 Aug 2008) Log Message: ----------- Unable to get Distributed Objects working properly. Committing what I have for now Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperCommon.h 2008-08-03 18:17:36 UTC (rev 38950) @@ -36,12 +36,11 @@ //Actually hold off doing errors for now //NSError object we are passing - #define kNSErrorString "NSErrorString" //Am I allowed to pass in an NSError object? + #define kNSError "NSError" //Am I allowed to pass in an NSError object? //Lets make it a string for now - //user Data will be a pointer to a Tcl interpreter - //do I have to do some casting ? we'll see - //const void * _userDataInterp = NULL; + //Key for Testing Distributed Object implementation + #define kMPInterpreterDistObj "MPInterpreterDistObj" extern const BASCommandSpec kMPHelperCommandSet[]; Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-03 18:17:36 UTC (rev 38950) @@ -12,11 +12,11 @@ //#include #include +#import #include - #include "BetterAuthorizationSampleLib.h" - #include "MPHelperCommon.h" +#import "MPInterpreterProtocol.h" static OSStatus DoEvaluateTclString ( AuthorizationRef auth, @@ -29,8 +29,7 @@ { OSStatus retval = noErr; - //CFStringRef result; - //CFAllocatorRef alloc_default = kCFAllocatorDefault; + //Pre conditions assert(auth != NULL); @@ -47,30 +46,54 @@ retval = coreFoundationUnknownErr; } - /* - //Now retrieve the pointer to the Tcl_Interp that was passed to us - Tcl_Interp * _userDataInterp = (Tcl_Interp *) userData; - if(Tcl_Eval(_userDataInterp, CFStringGetCStringPtr(cTclCmd, kCFStringEncodingUTF8)) == TCL_ERROR) { - //Should do some kind of error handling here + //Testing Distributed Objects Implementation + NSString * tclCmd = (NSString *) cTclCmd; + id distributedMPInterpreterObject = nil; + NSConnection * mpConn = [NSConnection connectionWithRegisteredName:MP_DOSERVER + host:nil]; + distributedMPInterpreterObject = [mpConn rootProxy]; + + + //CFDictionaryAddValue(response, CFSTR("NSConnection stats"), [[NSConnection defaultConnection] statistics]); + if ( distributedMPInterpreterObject == nil ) { + CFDictionaryAddValue(response, CFSTR(kMPInterpreterDistObj), CFSTR("NO")); retval = coreFoundationUnknownErr; } - else { - result = CFStringCreateWithCString(alloc_default, Tcl_GetStringResult(_userDataInterp), kCFStringEncodingUTF8); + else { //We successfully obtained the distObj + NSLog(@"IN HERE"); + CFDictionaryAddValue(response, CFSTR(kMPInterpreterDistObj), CFSTR("YES")); + [distributedMPInterpreterObject setProtocolForProxy:@protocol(MPInterpreterProtocol)]; + NSString * result = [distributedMPInterpreterObject + evaluateStringFromMPHelperTool:tclCmd]; + + if (result != nil) { //successful execution + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed not")); + retval = noErr; + } + else { + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed")); + retval = coreFoundationUnknownErr; + } } - */ - + unsigned int numcon = [[NSConnection allConnections] count]; + CFDictionaryAddValue(response, CFSTR("NSConnections"), CFStringCreateWithFormat(kCFAllocatorDefault , NULL, CFSTR("%u"),numcon) ); + + CFDictionaryAddValue(response, CFSTR("NSConnection Stats"), [[NSConnection defaultConnection] statistics]); + /* if( retval == noErr) { + CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), cTclCmd); } else{ //Try setting the user data pointer to the error CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("BAAD")); - } + }*/ assert(response != NULL); //I think I should release cTclCmd //CFRelease(cTclCmd); + //CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed not")); return retval; } @@ -95,12 +118,17 @@ //just retrieve the string to be evaluated as a tcl command? int main(int argc, char const * argv[]) { + NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + [[NSRunLoop currentRunLoop] run]; // Go directly into BetterAuthorizationSampleLib code. // IMPORTANT // BASHelperToolMain doesn't clean up after itself, so once it returns // we must quit. - return BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); + int result = BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); + [pool release]; + + return result; } Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-03 18:17:36 UTC (rev 38950) @@ -42,6 +42,7 @@ #import #include #import "MPNotifications.h" +#import "MPInterpreterProtocol.h" //Defining some flags for MPHelperTool @@ -56,6 +57,8 @@ #define TCL_RETURN_STRING @"return string" #define MPFrameworkErrorDomain @"MacPortsFrameworkErrorDomain" + + /*! @class MPInterpreter @abstract Tcl interpreter object @@ -63,7 +66,7 @@ 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. */ - at interface MPInterpreter : NSObject { + at interface MPInterpreter : NSObject { Tcl_Interp* _interpreter; NSString * helperToolInterpCommand; Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-03 18:17:36 UTC (rev 38950) @@ -201,6 +201,36 @@ #pragma mark - + +#pragma mark MPInterpreterProtocol + +- (BOOL) vendSelfForServer { + NSConnection * defaultConn; + defaultConn = [NSConnection defaultConnection]; + NSLog(@"Creating connection ..."); + + [defaultConn setRootObject:self]; + + NSLog(@"Connection Created ... %@, %@", defaultConn, [defaultConn statistics]); + return [defaultConn registerName:MP_DOSERVER]; + +} + +- (bycopy NSString *) evaluateStringFromMPHelperTool:(in bycopy NSString *)statement { +//- (NSString *) evaluateStringFromMPHelperTool:(NSString *)statement { + //TO DO -> error:(inout NSError **)evalError { + //NSError * evalError; + NSString * result = [self evaluateStringAsString:statement error:nil]; + + //TO DO : WORK ON ERROR STUFF AFTER GETTING BASIC FUNCTIONALITY WORKING + //For now ... Perhaps I might now have to take jberry's advice on ... Oh wait + //I should be able to pass by reference duh! + //return @"returning from evaluateStringFromMPHelperTool"; + return result; +} + +#pragma mark - + #pragma mark MPInterpreter Code - (id) init { @@ -229,7 +259,6 @@ Tcl_CreateObjCommand(_interpreter, "notifications", Notifications_Command, NULL, NULL); - if (Tcl_PkgProvide(_interpreter, "notifications", "1.0") != TCL_OK) { NSLog(@"Error in Tcl_PkgProvide: %s", Tcl_GetStringResult(_interpreter)); Tcl_DeleteInterp(_interpreter); @@ -240,7 +269,7 @@ Tcl_DeleteInterp(_interpreter); }*/ - if( Tcl_EvalFile(_interpreter, [[[NSBundle bundleForClass:[self class]] + if( Tcl_EvalFile(_interpreter, [[[NSBundle bundleWithIdentifier:@"org.macports.frameworks.macports"] pathForResource:@"init" ofType:@"tcl"] UTF8String]) != TCL_OK) { NSLog(@"Error in Tcl_EvalFile init.tcl: %s", Tcl_GetStringResult(_interpreter)); @@ -250,9 +279,22 @@ //Initialize helperToolInterpCommand helperToolInterpCommand = @""; - //Initialize Authorization stuff should probably check for errors .... - //[self initializeAuthorization]; + //Initialize the Run Loop because we don't know if framework will be + //run in a Foundation Kit or App Kit. Hopefully this won't hurt if the + //run loop is already running. We are doing this so that our NSConnection + //object is able to handle Distributed Object messages + //NOTE: Since MPinterpreter instances are created per thread, we don't have to + //worry (I hope) about running loops for different threads + //[[NSRunLoop currentRunLoop] run]; + if (![self vendSelfForServer]) { + NSLog(@"Failed To initialize NSConnection server "); + //Should probably do some more error handling over here + } + else + NSLog(@"MPInterpreter Initialized ..."); + + } return self; } @@ -329,6 +371,8 @@ */ - (NSString *)evaluateStringAsString:(NSString *)statement error:(NSError**)mportError{ + NSLog(@"Calling evaluateStringAsString with argument %@", statement); + int return_code = Tcl_Eval(_interpreter, [statement UTF8String]); //Should I check for (return_code != TCL_Ok && return_code != TCL_RETURN) instead ? @@ -435,7 +479,7 @@ assert(request != NULL); bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; - //NSLog(@" %@ , %@", bundleID, request); + assert(bundleID != NULL); @@ -443,12 +487,14 @@ //method below [self initializeAuthorization]; + NSLog(@"BEFORE Tool Execution request is %@ , resonse is %@ \n\n", request, response); err = BASExecuteRequestInHelperTool(mpAuth, kMPHelperCommandSet, (CFStringRef) bundleID, (CFDictionaryRef) request, &response); + //Try to recover if ( (err != noErr) && (err != userCanceledErr) ) { failCode = BASDiagnoseFailure(mpAuth, (CFStringRef) bundleID); @@ -472,11 +518,18 @@ } assert(response != NULL); - CFStringRef result = CFDictionaryGetValue(response, CFSTR(kTclStringEvaluationResult)); - return (NSString *) result; + CFStringRef newresult = CFDictionaryGetValue(response, CFSTR(kTclStringEvaluationResult)); + NSLog(@"AFTER Tool Execution request is %@ , resonse is %@ \n\n", request, response); + //NSLog(@"response dictionary is %@", response); + return (NSString *) newresult; - /*//Read from file and see if it was written to + + /* + NSString * fakeResult = @"Frustrated"; + return fakeResult; + + //Read from file and see if it was written to NSString * testFilePath = [[NSBundle bundleForClass:[self class]] pathForResource:@"TestFile" ofType:@"test"]; NSError * readError = nil; Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-03 18:17:36 UTC (rev 38950) @@ -40,6 +40,7 @@ - (void)setUp { interp = [MPInterpreter sharedInterpreter]; + //[[NSRunLoop currentRunLoop] run]; } - (void)tearDown { Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-03 18:17:36 UTC (rev 38950) @@ -101,6 +101,8 @@ #pragma MacPorts API + + - (id)sync:(NSError**)sError { NSString * result = nil; @@ -108,8 +110,11 @@ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPortsSyncStarted" object:nil]; [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_sync"]; - result = [interpreter evaluateStringAsString:@"mportsync" error:sError]; + //result = [interpreter evaluateStringAsString:@"mportsync" error:sError]; + //Testing DO implementation + result = [interpreter evaluateStringWithMPHelperTool:@"mportsync"]; + [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPortsSyncFinished" object:nil]; Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-03 17:59:49 UTC (rev 38949) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-03 18:17:36 UTC (rev 38950) @@ -48,6 +48,9 @@ 6EB6FA460E43ECD60057962C /* MPHelperInstallTool in Resources */ = {isa = PBXBuildFile; fileRef = 6EC260870E426FF10013BC48 /* MPHelperInstallTool */; }; 6EB6FB270E448EE20057962C /* TestFile.test in Resources */ = {isa = PBXBuildFile; fileRef = 6EB6FB260E448EE20057962C /* TestFile.test */; }; 6EB6FB630E44AF140057962C /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EB6FB620E44AF140057962C /* MPHelperTool.m */; }; + 6EB6FC6A0E45AC610057962C /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; }; + 6EB6FC6B0E45AC610057962C /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6EB6FC910E45DEA80057962C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EB6FC900E45DEA80057962C /* Foundation.framework */; }; 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */; }; 6EC260760E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */; }; @@ -127,6 +130,8 @@ 6EAFD8B70DEC614E00E97270 /* dummycommit.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dummycommit.test; sourceTree = ""; }; 6EB6FB260E448EE20057962C /* TestFile.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TestFile.test; sourceTree = ""; }; 6EB6FB620E44AF140057962C /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; + 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPInterpreterProtocol.h; 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 = ""; }; 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = BetterAuthorizationSampleLibInstallTool.c; sourceTree = ""; }; @@ -135,7 +140,6 @@ 6EC260960E4272D20013BC48 /* MPHelperCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MPHelperCommon.c; sourceTree = ""; }; 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; 6ED12A4A0E3E552F0026773D /* MPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; - 6ED12A4E0E3E55660026773D /* MPHelperTool.m.old */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MPHelperTool.m.old; sourceTree = ""; }; 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; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; @@ -165,6 +169,7 @@ 6ED12A550E3E55DF0026773D /* Security.framework in Frameworks */, 6ED12AF10E3E9E210026773D /* Tcl.framework in Frameworks */, 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */, + 6EB6FC910E45DEA80057962C /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -207,6 +212,7 @@ 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */, 6ED12AA60E3E7E900026773D /* Cocoa.framework */, 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */, + 6EB6FC900E45DEA80057962C /* Foundation.framework */, ); name = "MacPorts Foundation"; sourceTree = ""; @@ -251,6 +257,7 @@ 487679680C98C55E00577C59 /* MPPort.m */, 48F811BE0CE4636A009630DE /* MPRegistry.h */, 48F811BF0CE4638C009630DE /* MPRegistry.m */, + 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */, ); name = Classes; sourceTree = ""; @@ -318,7 +325,6 @@ 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */, 6EC260710E426FC80013BC48 /* BetterAuthorizationSampleLib.h */, 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */, - 6ED12A4E0E3E55660026773D /* MPHelperTool.m.old */, 6EC260950E4272D20013BC48 /* MPHelperCommon.h */, 6EC260960E4272D20013BC48 /* MPHelperCommon.c */, 6EB6FB620E44AF140057962C /* MPHelperTool.m */, @@ -335,6 +341,7 @@ files = ( 6EC260740E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */, 6EC260970E4272D20013BC48 /* MPHelperCommon.h in Headers */, + 6EB6FC6A0E45AC610057962C /* MPInterpreterProtocol.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -353,6 +360,7 @@ 6E270D090E158CED00BAE687 /* MPNotifications.h in Headers */, 6EC260770E426FC80013BC48 /* BetterAuthorizationSampleLib.h in Headers */, 6EC260990E4272D20013BC48 /* MPHelperCommon.h in Headers */, + 6EB6FC6B0E45AC610057962C /* MPInterpreterProtocol.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -501,7 +509,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n\n#rm -rf notifications.dylib"; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n\n#rm -rf notifications.dylib\necho removing BAStuff\n\ncd ~\nsh mptooluninstall.sh\n\necho done removing BAStuff"; }; 6E49F4F40E00DD520030C3AF /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -514,7 +522,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#This script is to copy the build product to a subfolder \"build\"\n#of the project directory so that whoever checks out this plugin will have\n#access to the built MacPorts.framework\n#Do I really need it since build products go to your default / project / target\n#specific Build Products path?\n\nditto $CONFIGURATION_BUILD_DIR/MacPorts.framework build/MacPorts.framework\n"; + shellScript = "#This script is to copy the build product to a subfolder \"build\"\n#of the project directory so that whoever checks out this plugin will have\n#access to the built MacPorts.framework\n#Do I really need it since build products go to your default / project / target\n#specific Build Products path?\n\nditto $CONFIGURATION_BUILD_DIR/MacPorts.framework build/MacPorts.framework\n\n"; }; DFE353640CFB8F0C003BACFC /* ShellScript */ = { isa = PBXShellScriptBuildPhase; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/3b56abdd/attachment-0001.html From portindex at macports.org Sun Aug 3 12:52:09 2008 From: portindex at macports.org (portindex at macports.org) Date: Sun, 3 Aug 2008 12:52:09 -0700 (PDT) Subject: [38951] trunk/dports/PortIndex Message-ID: <20080803195211.1F7EA1BCE4E@beta.macosforge.org> Revision: 38951 http://trac.macosforge.org/projects/macports/changeset/38951 Author: portindex at macports.org Date: 2008-08-03 12:52:08 -0700 (Sun, 03 Aug 2008) Log Message: ----------- Total number of ports parsed: 4946 Ports successfully parsed: 4946 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-03 18:17:36 UTC (rev 38950) +++ trunk/dports/PortIndex 2008-08-03 19:52:08 UTC (rev 38951) @@ -1448,8 +1448,8 @@ variants universal depends_build port:pkgconfig portdir devel/mono-addins description {Mono.Addins is a framework for creating extensible applications} homepage http://www.mono-project.com/Mono.Addins epoch 0 platforms darwin depends_lib {port:mono port:gtk-sharp2} name mono-addins maintainers nox long_description {Mono.Addins is a framework for creating extensible applications, and for creating libraries which extend those applications. Mono.Addins has been designed to be easy to use and useful for a wide range of applications: from simple applications with small extensibility needs, to complex applications which need support for large add-in structures. This new framework intends to set an standard for building extensible applications and add-ins in Mono.} version 0.3 categories devel revision 0 monodoc 414 variants universal depends_build port:pkgconfig portdir devel/monodoc description {Documentation for the Mono .NET Development Framework} homepage http://go-mono.com/ epoch 0 platforms darwin depends_lib port:mono name monodoc maintainers nomaintainer long_description {This is the documentation for Mono, an open source implementation of the .NET Development Framework.} version 1.2.6 categories devel revision 0 -monotone 626 -variants universal portdir devel/monotone description {A distributed version control system} homepage http://monotone.ca/ epoch 0 platforms darwin name monotone depends_lib {port:zlib port:libiconv port:gettext port:boost} maintainers nomaintainer long_description {monotone is a free distributed version control system. It provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. It understands history-sensitive merging, lightweight branches, integrated code review and 3rd party testing.} version 0.39 categories devel revision 1 +monotone 618 +variants universal portdir devel/monotone description {A distributed version control system} homepage http://monotone.ca/ epoch 0 platforms darwin name monotone depends_lib {port:zlib port:libiconv port:gettext port:boost} maintainers toby long_description {monotone is a free distributed version control system. It provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. It understands history-sensitive merging, lightweight branches, integrated code review and 3rd party testing.} version 0.40 categories devel revision 0 mpfr 657 variants {universal darwin_x86 darwin_i386} portdir devel/mpfr description {C library for multiple-precision floating-point computations} homepage http://www.mpfr.org/ epoch 0 platforms darwin name mpfr depends_lib port:gmp maintainers vincent-opdarw at vinc17.org long_description {MPFR is a portable C library for arbitrary-precision binary floating-point computation with correct rounding, based on the GMP multiple-precision library. The computation is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic.} version 2.3.1 categories {devel math} revision 0 nant 379 @@ -2648,6 +2648,8 @@ variants universal depends_build port:pkgconfig portdir graphics/clutter-cairo description {An experimental clutter cairo 'drawable' actor.} homepage http://www.clutter-project.org/ epoch 0 platforms darwin depends_lib {port:clutter port:cairo} name clutter-cairo maintainers pixane.net:idan long_description {Allows creation of actors in clutter which are drawn using the cairo graphics library.} version 0.6.2 categories graphics revision 0 compface 455 variants universal description {Utility to convert to and from the X-Face format} portdir graphics/compface homepage http://freshmeat.net/projects/compface/ epoch 0 platforms darwin name compface long_description {Compface provides utilities and a library for converting to and from the X-Face format, a 48x48 bitmap format used to carry thumbnails of email authors in a mail header.} maintainers nomaintainer categories graphics version 1.5.2 revision 1 +dcmtk 707 +variants {universal darwin_9 lib} variant_desc {lib {Install libraries and include files.}} portdir graphics/dcmtk description {The DICOM Toolkit.} homepage http://dicom.offis.de/dcmtk epoch 0 platforms darwin name dcmtk depends_lib {port:zlib port:tiff port:libpng port:libxml2} maintainers uni-koblenz.de:guidolorenz long_description {DCMTK is a collection of libraries and applications implementing large parts of the DICOM standard. It includes software for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers.} version 3.5.4 categories graphics revision 0 dcraw 392 variants universal portdir graphics/dcraw description {Raw Digital Photo Decoding, supporting 209 cameras} homepage http://www.cybercom.net/~dcoffin/dcraw/ epoch 0 platforms darwin name dcraw depends_lib {port:gettext port:libiconv port:jpeg port:lcms} maintainers ryandesign long_description {{Raw Digital Photo Decoding, supporting 209 cameras}} version 8.86 categories graphics revision 2 djvulibre 659 @@ -3596,8 +3598,8 @@ variants {universal odcctools} portdir lang/gcc42 description {The GNU compiler collection} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name gcc42 depends_lib {port:gmp port:mpfr port:libiconv} maintainers mww long_description {The GNU compiler collection, including front ends for C, C++, Objective-C, Objective-C++, Java and Fortran95.} version 4.2.4 categories lang revision 1 gcc43 397 variants {universal powerpc darwin_8} portdir lang/gcc43 description {The GNU compiler collection} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name gcc43 depends_lib {port:gmp port:mpfr port:libiconv} maintainers mww long_description {The GNU compiler collection, including front ends for C, C++, Objective-C, Objective-C++, Java and Fortran95.} version 4.3.1 categories lang revision 1 -gcc44 743 -variants {universal powerpc odcctools gfortran} variant_desc {odcctools {Use the odcctools instead of the system provided ones - does not work for x64 currently!} gfortran {Enables fortran; this language will be enabled in the final version - this variant is completely untested!}} portdir lang/gcc44 description {The GNU compiler collection, prerelease BETA} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name gcc44 depends_lib {port:gmp port:mpfr port:libiconv} maintainers mww long_description {The GNU compiler collection, including front ends for C, C++, Objective-C and Objective-C++. This is a prerelease BETA version and does not have all available language front ends enabled.} version 4.4-20080725 categories lang revision 0 +gcc44 872 +variants {universal powerpc odcctools gfortran java} variant_desc {odcctools {Use the odcctools instead of the system provided ones - does not work for x64 currently!} gfortran {Enables Fortran/gfortran; this language will be enabled in the final version - this variant is completely untested!} java {Enables Java/gcj; this language will be enabled in the final version - this variant is completely untested!}} portdir lang/gcc44 description {The GNU compiler collection, prerelease BETA} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name gcc44 depends_lib {port:gmp port:mpfr port:libiconv} maintainers mww long_description {The GNU compiler collection, including front ends for C, C++, Objective-C and Objective-C++. This is a prerelease BETA version and does not have all available language front ends enabled.} version 4.4-20080801 categories lang revision 0 gccxml 351 variants universal depends_build port:cmake portdir lang/gccxml description {generates XML description of C++ code} homepage http://www.gccxml.org/ epoch 0 platforms darwin name gccxml maintainers nomaintainer long_description {generates an XML description of a C++ program from GCC's internal representation} version 0.6.0 categories lang revision 0 gcj34 546 @@ -4051,7 +4053,7 @@ ProofGeneral 585 variants universal description {An emacs mode for interactive prooving} portdir math/ProofGeneral homepage http://proofgeneral.inf.ed.ac.uk/ epoch 0 platforms darwin name ProofGeneral long_description {The aim of Proof General is to provide powerful and configurable interfaces which help user-interaction with proof assistants. Proof General targets power users rather than novices, but is designed to be useful to both. Proof General leads to an environment for serious proof engineering of interactively-constructed proofs.} maintainers mww categories math version 3.7.1 revision 0 R 899 -variants {universal gcc42 gcc43} variant_desc {gcc42 {Build with gcc42} gcc43 {Build with gcc43 (default)}} portdir math/R description {R is GNU S - an interpreted language for statistical computing} homepage http://www.r-project.org/ epoch 0 platforms darwin name R depends_lib {port:cairo port:expat port:fontconfig port:freetype port:gettext port:glib2 port:jpeg port:libiconv port:libpixman port:libpng port:pango port:readline port:tcl port:tk port:tiff port:xrender port:zlib lib:libX11.6:XFree86 port:gcc43} maintainers kjell.konis at epfl.ch long_description {R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.} version 2.7.1 categories {math science} revision 0 +variants {universal gcc42 gcc43} variant_desc {gcc42 {Build with gcc42} gcc43 {Build with gcc43 (default)}} portdir math/R description {R is GNU S - an interpreted language for statistical computing} homepage http://www.r-project.org/ epoch 0 platforms darwin name R depends_lib {port:cairo port:expat port:fontconfig port:freetype port:gettext port:glib2 port:jpeg port:libiconv port:libpixman port:libpng port:pango port:readline port:tcl port:tk port:tiff port:xrender port:zlib lib:libX11.6:XFree86 port:gcc43} maintainers kjell.konis at epfl.ch long_description {R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.} version 2.7.1 categories {math science} revision 1 SuiteSparse 396 variants universal depends_build port:metis portdir math/SuiteSparse description {Sparse matrix routines} homepage http://www.cise.ufl.edu/research/sparse/SuiteSparse/ epoch 0 platforms darwin name SuiteSparse maintainers stechert at macports.org long_description {SuiteSparse is a single archive that contains all packages authored by Tim Davis.} version 2.4.0 categories {math science} revision 0 aamath 482 @@ -7294,8 +7296,8 @@ variants universal depends_build port:py25-setuptools portdir python/py25-kid description {A simple and pythonic XML template language} homepage http://www.kid-templating.org/ epoch 0 platforms darwin depends_lib {port:python25 port:py25-celementtree} name py25-kid maintainers {afb at macports.org openmaintainer} long_description {Kid is a simple, Python-based template language for generating and transforming XML vocabularies.} categories python version 0.9.6 revision 0 py25-kqueue 333 variants universal portdir python/py25-kqueue description {This is a kqueue package} homepage ftp://ftp.netbsd.org/pub/NetBSD/misc/jdolecek/ epoch 0 platforms darwin depends_lib port:python25 name py25-kqueue maintainers {akira openmaintainer} long_description {{This is a kqueue package}} categories python version 2.0.1 revision 0 -py25-libgmail 460 -variants universal portdir python/py25-libgmail description {Python binding for accessing Gmail} homepage http://libgmail.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:py25-setuptools port:py25-clientcookie} name py25-libgmail maintainers {raimue openmaintainer} long_description {The libgmail project is a pure Python binding to provide access to Google's Gmail web-mail service.} categories {python mail} version 0.1.9 revision 0 +py25-libgmail 458 +variants universal portdir python/py25-libgmail description {Python binding for accessing Gmail} homepage http://libgmail.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python25 port:py25-setuptools port:py25-mechanize} name py25-libgmail maintainers {raimue openmaintainer} long_description {The libgmail project is a pure Python binding to provide access to Google's Gmail web-mail service.} categories {python mail} version 0.1.10 revision 0 py25-libxml2 363 variants universal portdir python/py25-libxml2 description {Python bindings for libxml2} homepage http://xmlsoft.org/python.html epoch 0 platforms darwin depends_lib {port:python25 port:libxml2 port:zlib} name py25-libxml2 maintainers {sfiera openmaintainer} long_description {{Python bindings for libxml2}} categories {python textproc} version 2.6.21 revision 1 py25-libxslt 359 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/1a251a93/attachment.html From ram at macports.org Sun Aug 3 13:42:10 2008 From: ram at macports.org (ram at macports.org) Date: Sun, 3 Aug 2008 13:42:10 -0700 (PDT) Subject: [38952] trunk/dports/python Message-ID: <20080803204210.C05861BDA2E@beta.macosforge.org> Revision: 38952 http://trac.macosforge.org/projects/macports/changeset/38952 Author: ram at macports.org Date: 2008-08-03 13:42:09 -0700 (Sun, 03 Aug 2008) Log Message: ----------- py-matplotlib/py25-matplotlib: update to 0.98.3 Modified Paths: -------------- trunk/dports/python/py-matplotlib/Portfile trunk/dports/python/py25-matplotlib/Portfile Modified: trunk/dports/python/py-matplotlib/Portfile =================================================================== --- trunk/dports/python/py-matplotlib/Portfile 2008-08-03 19:52:08 UTC (rev 38951) +++ trunk/dports/python/py-matplotlib/Portfile 2008-08-03 20:42:09 UTC (rev 38952) @@ -5,7 +5,7 @@ categories-append graphics math name py-matplotlib -version 0.98.2 +version 0.98.3 maintainers ram openmaintainer platforms darwin @@ -21,9 +21,9 @@ master_sites sourceforge:matplotlib distname matplotlib-${version} -checksums md5 6cca271dd906b3fa9b5c144af0f330ea \ - sha1 7a72e8ffa0beeda7bb948ad8379ed823d66dd146 \ - rmd160 6589d6652651a05199da6fcbfe577d25f0688e0a +checksums md5 d6b579f52705df584650fb6f61302f92 \ + sha1 9d3ded193cdbebf7d02aaf48372359eb3621a3eb \ + rmd160 960356e1822aec9f196f60337730c0bc6d3531d6 depends_lib-append port:freetype \ port:libpng \ @@ -33,7 +33,7 @@ patchfiles patch-setupext.py.diff -build.env MPLIB_BASE="${prefix}" CFLAGS="-Os" +build.env MPLIB_BASE="${prefix}" post-extract { if {[variant_isset gtk2]} { Modified: trunk/dports/python/py25-matplotlib/Portfile =================================================================== --- trunk/dports/python/py25-matplotlib/Portfile 2008-08-03 19:52:08 UTC (rev 38951) +++ trunk/dports/python/py25-matplotlib/Portfile 2008-08-03 20:42:09 UTC (rev 38952) @@ -5,7 +5,7 @@ categories-append graphics math name py25-matplotlib -version 0.98.2 +version 0.98.3 maintainers ram openmaintainer platforms darwin @@ -21,9 +21,9 @@ master_sites sourceforge:matplotlib distname matplotlib-${version} -checksums md5 6cca271dd906b3fa9b5c144af0f330ea \ - sha1 7a72e8ffa0beeda7bb948ad8379ed823d66dd146 \ - rmd160 6589d6652651a05199da6fcbfe577d25f0688e0a +checksums md5 d6b579f52705df584650fb6f61302f92 \ + sha1 9d3ded193cdbebf7d02aaf48372359eb3621a3eb \ + rmd160 960356e1822aec9f196f60337730c0bc6d3531d6 depends_lib-append port:freetype \ port:libpng \ @@ -33,7 +33,7 @@ patchfiles patch-setupext.py.diff -build.env MPLIB_BASE="${prefix}" CFLAGS="-Os" +build.env MPLIB_BASE="${prefix}" post-extract { if {[variant_isset gtk2]} { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/c3450783/attachment.html From ram at macports.org Sun Aug 3 13:42:18 2008 From: ram at macports.org (ram at macports.org) Date: Sun, 3 Aug 2008 13:42:18 -0700 (PDT) Subject: [38953] trunk/dports/python Message-ID: <20080803204218.DE0A61BDB90@beta.macosforge.org> Revision: 38953 http://trac.macosforge.org/projects/macports/changeset/38953 Author: ram at macports.org Date: 2008-08-03 13:42:18 -0700 (Sun, 03 Aug 2008) Log Message: ----------- py-matplotlib-basemap/py2-matplotlib-basemap: fix lint warnings Modified Paths: -------------- trunk/dports/python/py-matplotlib-basemap/Portfile trunk/dports/python/py25-matplotlib-basemap/Portfile Added Paths: ----------- trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py.diff trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c.diff trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py.diff trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c.diff Removed Paths: ------------- trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c Modified: trunk/dports/python/py-matplotlib-basemap/Portfile =================================================================== --- trunk/dports/python/py-matplotlib-basemap/Portfile 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py-matplotlib-basemap/Portfile 2008-08-03 20:42:18 UTC (rev 38953) @@ -27,8 +27,8 @@ universal_variant no -patchfiles patch-setup.py \ - patch-src_geoslib.c +patchfiles patch-setup.py.diff \ + patch-src_geoslib.c.diff post-destroot { delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py Deleted: trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py =================================================================== --- trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py 2008-08-03 20:42:18 UTC (rev 38953) @@ -1,20 +0,0 @@ ---- setup.py.orig 2008-07-31 22:20:38.000000000 -0700 -+++ setup.py 2008-07-31 22:41:58.000000000 -0700 -@@ -37,7 +37,7 @@ - def checkversion(GEOS_dir): - """check geos C-API header file (geos_c.h)""" - try: -- f = open(os.path.join(GEOS_dir,'include/geos_c.h')) -+ f = open(os.path.join(GEOS_dir,'include/geos2_c.h')) - except IOError: - return None - geos_version = None -@@ -96,7 +96,7 @@ - library_dirs=geos_library_dirs, - runtime_library_dirs=geos_library_dirs, - include_dirs=geos_include_dirs, -- libraries=['geos_c','geos'])) -+ libraries=['geos2_c','geos2'])) - - # install shapelib and dbflib. - packages = packages + ['shapelib','dbflib'] Copied: trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py.diff (from rev 38952, trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py) =================================================================== --- trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py.diff (rev 0) +++ trunk/dports/python/py-matplotlib-basemap/files/patch-setup.py.diff 2008-08-03 20:42:18 UTC (rev 38953) @@ -0,0 +1,20 @@ +--- setup.py.orig 2008-07-31 22:20:38.000000000 -0700 ++++ setup.py 2008-07-31 22:41:58.000000000 -0700 +@@ -37,7 +37,7 @@ + def checkversion(GEOS_dir): + """check geos C-API header file (geos_c.h)""" + try: +- f = open(os.path.join(GEOS_dir,'include/geos_c.h')) ++ f = open(os.path.join(GEOS_dir,'include/geos2_c.h')) + except IOError: + return None + geos_version = None +@@ -96,7 +96,7 @@ + library_dirs=geos_library_dirs, + runtime_library_dirs=geos_library_dirs, + include_dirs=geos_include_dirs, +- libraries=['geos_c','geos'])) ++ libraries=['geos2_c','geos2'])) + + # install shapelib and dbflib. + packages = packages + ['shapelib','dbflib'] Deleted: trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c =================================================================== --- trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c 2008-08-03 20:42:18 UTC (rev 38953) @@ -1,11 +0,0 @@ ---- src/_geoslib.c.orig 2008-07-31 22:26:20.000000000 -0700 -+++ src/_geoslib.c 2008-07-31 22:26:30.000000000 -0700 -@@ -31,7 +31,7 @@ - #endif - #include - #include "numpy/arrayobject.h" --#include "geos_c.h" -+#include "geos2_c.h" - - - #ifdef __GNUC__ Copied: trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c.diff (from rev 38952, trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c) =================================================================== --- trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c.diff (rev 0) +++ trunk/dports/python/py-matplotlib-basemap/files/patch-src_geoslib.c.diff 2008-08-03 20:42:18 UTC (rev 38953) @@ -0,0 +1,11 @@ +--- src/_geoslib.c.orig 2008-07-31 22:26:20.000000000 -0700 ++++ src/_geoslib.c 2008-07-31 22:26:30.000000000 -0700 +@@ -31,7 +31,7 @@ + #endif + #include + #include "numpy/arrayobject.h" +-#include "geos_c.h" ++#include "geos2_c.h" + + + #ifdef __GNUC__ Modified: trunk/dports/python/py25-matplotlib-basemap/Portfile =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/Portfile 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py25-matplotlib-basemap/Portfile 2008-08-03 20:42:18 UTC (rev 38953) @@ -27,8 +27,8 @@ universal_variant no -patchfiles patch-setup.py \ - patch-src_geoslib.c +patchfiles patch-setup.py.diff \ + patch-src_geoslib.c.diff post-destroot { delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py Deleted: trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py 2008-08-03 20:42:18 UTC (rev 38953) @@ -1,20 +0,0 @@ ---- setup.py.orig 2008-07-31 22:20:38.000000000 -0700 -+++ setup.py 2008-07-31 22:41:58.000000000 -0700 -@@ -37,7 +37,7 @@ - def checkversion(GEOS_dir): - """check geos C-API header file (geos_c.h)""" - try: -- f = open(os.path.join(GEOS_dir,'include/geos_c.h')) -+ f = open(os.path.join(GEOS_dir,'include/geos2_c.h')) - except IOError: - return None - geos_version = None -@@ -96,7 +96,7 @@ - library_dirs=geos_library_dirs, - runtime_library_dirs=geos_library_dirs, - include_dirs=geos_include_dirs, -- libraries=['geos_c','geos'])) -+ libraries=['geos2_c','geos2'])) - - # install shapelib and dbflib. - packages = packages + ['shapelib','dbflib'] Copied: trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py.diff (from rev 38952, trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py) =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py.diff (rev 0) +++ trunk/dports/python/py25-matplotlib-basemap/files/patch-setup.py.diff 2008-08-03 20:42:18 UTC (rev 38953) @@ -0,0 +1,20 @@ +--- setup.py.orig 2008-07-31 22:20:38.000000000 -0700 ++++ setup.py 2008-07-31 22:41:58.000000000 -0700 +@@ -37,7 +37,7 @@ + def checkversion(GEOS_dir): + """check geos C-API header file (geos_c.h)""" + try: +- f = open(os.path.join(GEOS_dir,'include/geos_c.h')) ++ f = open(os.path.join(GEOS_dir,'include/geos2_c.h')) + except IOError: + return None + geos_version = None +@@ -96,7 +96,7 @@ + library_dirs=geos_library_dirs, + runtime_library_dirs=geos_library_dirs, + include_dirs=geos_include_dirs, +- libraries=['geos_c','geos'])) ++ libraries=['geos2_c','geos2'])) + + # install shapelib and dbflib. + packages = packages + ['shapelib','dbflib'] Deleted: trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c 2008-08-03 20:42:09 UTC (rev 38952) +++ trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c 2008-08-03 20:42:18 UTC (rev 38953) @@ -1,11 +0,0 @@ ---- src/_geoslib.c.orig 2008-07-31 22:26:20.000000000 -0700 -+++ src/_geoslib.c 2008-07-31 22:26:30.000000000 -0700 -@@ -31,7 +31,7 @@ - #endif - #include - #include "numpy/arrayobject.h" --#include "geos_c.h" -+#include "geos2_c.h" - - - #ifdef __GNUC__ Copied: trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c.diff (from rev 38952, trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c) =================================================================== --- trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c.diff (rev 0) +++ trunk/dports/python/py25-matplotlib-basemap/files/patch-src_geoslib.c.diff 2008-08-03 20:42:18 UTC (rev 38953) @@ -0,0 +1,11 @@ +--- src/_geoslib.c.orig 2008-07-31 22:26:20.000000000 -0700 ++++ src/_geoslib.c 2008-07-31 22:26:30.000000000 -0700 +@@ -31,7 +31,7 @@ + #endif + #include + #include "numpy/arrayobject.h" +-#include "geos_c.h" ++#include "geos2_c.h" + + + #ifdef __GNUC__ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/8ea0d73c/attachment-0001.html From ram at macports.org Sun Aug 3 13:42:24 2008 From: ram at macports.org (ram at macports.org) Date: Sun, 3 Aug 2008 13:42:24 -0700 (PDT) Subject: [38954] trunk/dports/python Message-ID: <20080803204224.396DC1BDC47@beta.macosforge.org> Revision: 38954 http://trac.macosforge.org/projects/macports/changeset/38954 Author: ram at macports.org Date: 2008-08-03 13:42:23 -0700 (Sun, 03 Aug 2008) Log Message: ----------- drop maintainership of python24 ports, no longer use Modified Paths: -------------- trunk/dports/python/py-matplotlib/Portfile trunk/dports/python/py-matplotlib-basemap/Portfile trunk/dports/python/py-numpy/Portfile Modified: trunk/dports/python/py-matplotlib/Portfile =================================================================== --- trunk/dports/python/py-matplotlib/Portfile 2008-08-03 20:42:18 UTC (rev 38953) +++ trunk/dports/python/py-matplotlib/Portfile 2008-08-03 20:42:23 UTC (rev 38954) @@ -6,7 +6,7 @@ categories-append graphics math name py-matplotlib version 0.98.3 -maintainers ram openmaintainer +maintainers nomaintainer platforms darwin description matlab-like syntax for creating plots in python Modified: trunk/dports/python/py-matplotlib-basemap/Portfile =================================================================== --- trunk/dports/python/py-matplotlib-basemap/Portfile 2008-08-03 20:42:18 UTC (rev 38953) +++ trunk/dports/python/py-matplotlib-basemap/Portfile 2008-08-03 20:42:23 UTC (rev 38954) @@ -8,7 +8,7 @@ revision 1 categories python graphics math platforms darwin -maintainers ram openmaintainer +maintainers nomaintainer description matplotlib toolkit for plotting data on map projections long_description Matplotlib basemap is a matplotlib toolkit python library \ Modified: trunk/dports/python/py-numpy/Portfile =================================================================== --- trunk/dports/python/py-numpy/Portfile 2008-08-03 20:42:18 UTC (rev 38953) +++ trunk/dports/python/py-numpy/Portfile 2008-08-03 20:42:23 UTC (rev 38954) @@ -7,7 +7,7 @@ version 1.1.1 categories python platforms darwin -maintainers ram openmaintainer +maintainers nomaintainer description The core utilities for the scientific library scipy for Python long_description ${description} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/c60a0201/attachment.html From noreply at macports.org Sun Aug 3 13:49:50 2008 From: noreply at macports.org (MacPorts) Date: Sun, 03 Aug 2008 20:49:50 -0000 Subject: [MacPorts] Notification: ram modified In-Reply-To: <050.1bff478d9510c3d32f93d82a7fa0cb30@macports.org> References: <050.1bff478d9510c3d32f93d82a7fa0cb30@macports.org> Message-ID: <059.721326589e74b6a68a549af177b59d39@macports.org> Changed page "ram" by ram at macports.org from 67.53.238.179* Page URL: Diff URL: Revision 22 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: ram ========================================================================= --- ram (version: 21) +++ ram (version: 22) @@ -19,9 +19,6 @@ * [source:trunk/dports/graphics/plotutils graphics/plotutils] * [source:trunk/dports/math/fftw-3-single math/fftw-3-single] * [source:trunk/dports/net/yafc net/yafc] - * [source:trunk/dports/python/py-matplotlib python/py-matplotlib] - * [source:trunk/dports/python/py-matplotlib-basemap python/py-matplotlib-basemap] - * [source:trunk/dports/python/py-numpy python/py-numpy] * [source:trunk/dports/python/py25-baz python/py25-baz] * [source:trunk/dports/python/py25-boto python/py25-boto] * [source:trunk/dports/python/py25-curl python/py25-curl] @@ -34,6 +31,7 @@ * [source:trunk/dports/python/py25-pexpect python/py25-pexpect] * [source:trunk/dports/python/py25-scipy python/py25-scipy] * [source:trunk/dports/science/geos science/geos] + * [source:trunk/dports/science/geos2 science/geos2] * [source:trunk/dports/science/glue science/glue] * [source:trunk/dports/science/lal science/lal] * [source:trunk/dports/science/lalapps science/lalapps] -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From toby at macports.org Sun Aug 3 14:01:52 2008 From: toby at macports.org (toby at macports.org) Date: Sun, 3 Aug 2008 14:01:52 -0700 (PDT) Subject: [38955] trunk/dports/devel/monotone/Portfile Message-ID: <20080803210152.569891BE157@beta.macosforge.org> Revision: 38955 http://trac.macosforge.org/projects/macports/changeset/38955 Author: toby at macports.org Date: 2008-08-03 14:01:51 -0700 (Sun, 03 Aug 2008) Log Message: ----------- lint Modified Paths: -------------- trunk/dports/devel/monotone/Portfile Modified: trunk/dports/devel/monotone/Portfile =================================================================== --- trunk/dports/devel/monotone/Portfile 2008-08-03 20:42:23 UTC (rev 38954) +++ trunk/dports/devel/monotone/Portfile 2008-08-03 21:01:51 UTC (rev 38955) @@ -1,6 +1,7 @@ # $Id$ PortSystem 1.0 + name monotone version 0.40 categories devel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/2daea678/attachment.html From noreply at macports.org Sun Aug 3 16:17:16 2008 From: noreply at macports.org (MacPorts) Date: Sun, 03 Aug 2008 23:17:16 -0000 Subject: [MacPorts] Notification: MPAB modified In-Reply-To: <050.33cb360428469a7ae8de109b8c295762@macports.org> References: <050.33cb360428469a7ae8de109b8c295762@macports.org> Message-ID: <059.fd6974d7721e5dcaf5e3ba23a766795f@macports.org> Changed page "MPAB" by blb at macports.org from 75.163.224.149* Page URL: Diff URL: Revision 3 Comment: Change 'using it' text to not reference archive now that it comes from subversion -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: MPAB ========================================================================= --- MPAB (version: 2) +++ MPAB (version: 3) @@ -12,4 +12,4 @@ }}} === Using it === -Once you've downloaded the latest version, extract it and have a look at the ReadMe.txt file within, which should answer most questions. +Once you've grabbed it from subversion, have a look at the ReadMe.txt file within, which should answer most questions. -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From noreply at macports.org Sun Aug 3 16:58:27 2008 From: noreply at macports.org (MacPorts) Date: Sun, 03 Aug 2008 23:58:27 -0000 Subject: [MacPorts] Notification: ProblemHotlist modified In-Reply-To: <064.0ca8c30d71422d9c2c4c6a9288729d47@macports.org> References: <064.0ca8c30d71422d9c2c4c6a9288729d47@macports.org> Message-ID: <073.24272e82708e26048aa777fe5a235522@macports.org> Changed page "ProblemHotlist" by raimue at macports.org from 91.11.227.252* Page URL: Diff URL: Revision 31 Comment: Remove sudo from the postflight script command, see #16199 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: ProblemHotlist ========================================================================= --- ProblemHotlist (version: 30) +++ ProblemHotlist (version: 31) @@ -100,7 +100,7 @@ To work around the problem, download the postflight script and run it manually, like this: {{{ -$ curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmgr/dmg/postflight && sudo bash postflight +$ curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmgr/dmg/postflight && bash postflight }}} '''Note:''' Reopen your Terminal window after running the command! -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From wsiegrist at apple.com Sun Aug 3 23:07:51 2008 From: wsiegrist at apple.com (wsiegrist at apple.com) Date: Sun, 3 Aug 2008 23:07:51 -0700 (PDT) Subject: [38956] trunk/dports/net/openssh/Portfile Message-ID: <20080804060751.B74C71BF5CB@beta.macosforge.org> Revision: 38956 http://trac.macosforge.org/projects/macports/changeset/38956 Author: wsiegrist at apple.com Date: 2008-08-03 23:07:51 -0700 (Sun, 03 Aug 2008) Log Message: ----------- Adding openmaintainer to openssh Modified Paths: -------------- trunk/dports/net/openssh/Portfile Modified: trunk/dports/net/openssh/Portfile =================================================================== --- trunk/dports/net/openssh/Portfile 2008-08-03 21:01:51 UTC (rev 38955) +++ trunk/dports/net/openssh/Portfile 2008-08-04 06:07:51 UTC (rev 38956) @@ -5,7 +5,7 @@ name openssh version 5.0p1 categories net -maintainers wms +maintainers wms openmaintainer description OpenSSH secure login server long_description OpenSSH is a FREE version of the SSH protocol suite of \ network connectivity tools that increasing numbers of people on the \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/45c8c55c/attachment.html From wsiegrist at apple.com Sun Aug 3 23:08:58 2008 From: wsiegrist at apple.com (wsiegrist at apple.com) Date: Sun, 3 Aug 2008 23:08:58 -0700 (PDT) Subject: [38957] trunk/dports Message-ID: <20080804060858.4751E1BF755@beta.macosforge.org> Revision: 38957 http://trac.macosforge.org/projects/macports/changeset/38957 Author: wsiegrist at apple.com Date: 2008-08-03 23:08:57 -0700 (Sun, 03 Aug 2008) Log Message: ----------- Releasing maintainership Modified Paths: -------------- trunk/dports/archivers/p7zip/Portfile trunk/dports/databases/pqa/Portfile trunk/dports/devel/bugzilla/Portfile trunk/dports/lang/lisp-hyperspec/Portfile trunk/dports/mail/mailman/Portfile trunk/dports/mail/postfix/Portfile trunk/dports/python/py25-psycopg2/Portfile trunk/dports/www/awstats/Portfile trunk/dports/www/mediawiki/Portfile Modified: trunk/dports/archivers/p7zip/Portfile =================================================================== --- trunk/dports/archivers/p7zip/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/archivers/p7zip/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -6,7 +6,7 @@ version 4.57 revision 1 categories archivers -maintainers wms +maintainers nomaintainer platforms darwin description 7-Zip implementation Modified: trunk/dports/databases/pqa/Portfile =================================================================== --- trunk/dports/databases/pqa/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/databases/pqa/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -6,7 +6,7 @@ version 1.6 categories databases platforms darwin -maintainers wms +maintainers nomaintainer description pqa is a PostgreSQL SQL analysis tool long_description PostgreSQL Query Analyzer produces HTML reports on the \ most frequent queries, slowest queries, queries by \ Modified: trunk/dports/devel/bugzilla/Portfile =================================================================== --- trunk/dports/devel/bugzilla/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/devel/bugzilla/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -5,7 +5,7 @@ name bugzilla version 2.22.3 categories devel www databases -maintainers wms +maintainers nomaintainer platforms darwin description popular and extensive bug-tracking system long_description Bugzilla is a Defect Tracking System or \ Modified: trunk/dports/lang/lisp-hyperspec/Portfile =================================================================== --- trunk/dports/lang/lisp-hyperspec/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/lang/lisp-hyperspec/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -1,10 +1,11 @@ # $Id$ PortSystem 1.0 + name lisp-hyperspec version 7.0 categories lang -maintainers wms +maintainers nomaintainer platforms darwin description The Common Lisp HyperSpec long_description \ Modified: trunk/dports/mail/mailman/Portfile =================================================================== --- trunk/dports/mail/mailman/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/mail/mailman/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -6,7 +6,7 @@ version 2.1.9 revision 1 categories mail -maintainers wms +maintainers nomaintainer description Mailman, the GNU Mailing List Manager long_description Mailman is free software for managing electronic \ mail discussion and e-newsletter lists. Mailman is \ Modified: trunk/dports/mail/postfix/Portfile =================================================================== --- trunk/dports/mail/postfix/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/mail/postfix/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -5,7 +5,7 @@ name postfix version 2.5.2 categories mail -maintainers wms openmaintainer +maintainers nomaintainer description Fast and robust mail transfer agent long_description Postfix attempts to be fast, easy to administer, and \ secure, while at the same time being \ Modified: trunk/dports/python/py25-psycopg2/Portfile =================================================================== --- trunk/dports/python/py25-psycopg2/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/python/py25-psycopg2/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -7,7 +7,7 @@ version 2.0.5.1 revision 1 categories python databases -maintainers wms +maintainers nomaintainer platforms darwin freebsd description A python DBAPI-2.0 ompliant database adapter for postgresql long_description Psycopg2 is a postgresql database adapter for python. \ Modified: trunk/dports/www/awstats/Portfile =================================================================== --- trunk/dports/www/awstats/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/www/awstats/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -5,7 +5,7 @@ name awstats version 6.5 categories www -maintainers wms +maintainers nomaintainer description Free real-time logfile analyzer to get advanced web statistics long_description AWStats is short for Advanced Web Statistics. It's a free tool that \ generates advanced web (but also ftp or mail) server statistics, \ Modified: trunk/dports/www/mediawiki/Portfile =================================================================== --- trunk/dports/www/mediawiki/Portfile 2008-08-04 06:07:51 UTC (rev 38956) +++ trunk/dports/www/mediawiki/Portfile 2008-08-04 06:08:57 UTC (rev 38957) @@ -6,7 +6,7 @@ set major_version 1.12 version ${major_version}.0 categories www php -maintainers wms +maintainers nomaintainer description The wiki engine used by Wikipedia long_description MediaWiki is the collaborative editing software that runs Wikipedia, \ the free encyclopedia, and other projects. It's designed to \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/88512079/attachment-0001.html From toby at macports.org Sun Aug 3 23:36:37 2008 From: toby at macports.org (toby at macports.org) Date: Sun, 3 Aug 2008 23:36:37 -0700 (PDT) Subject: [38958] trunk/dports/net/adns/Portfile Message-ID: <20080804063638.4CEF81BFA7A@beta.macosforge.org> Revision: 38958 http://trac.macosforge.org/projects/macports/changeset/38958 Author: toby at macports.org Date: 2008-08-03 23:36:37 -0700 (Sun, 03 Aug 2008) Log Message: ----------- untested panther fix Modified Paths: -------------- trunk/dports/net/adns/Portfile Modified: trunk/dports/net/adns/Portfile =================================================================== --- trunk/dports/net/adns/Portfile 2008-08-04 06:08:57 UTC (rev 38957) +++ trunk/dports/net/adns/Portfile 2008-08-04 06:36:37 UTC (rev 38958) @@ -26,3 +26,7 @@ test.run yes test.target check + +platform darwin 7 { + configure.args-append --disable-dynamic +} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/2fcaa0da/attachment.html From portindex at macports.org Mon Aug 4 00:51:27 2008 From: portindex at macports.org (portindex at macports.org) Date: Mon, 4 Aug 2008 00:51:27 -0700 (PDT) Subject: [38959] trunk/dports/PortIndex Message-ID: <20080804075128.3A38D1BFCBA@beta.macosforge.org> Revision: 38959 http://trac.macosforge.org/projects/macports/changeset/38959 Author: portindex at macports.org Date: 2008-08-04 00:51:25 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Total number of ports parsed: 4946 Ports successfully parsed: 4946 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-04 06:36:37 UTC (rev 38958) +++ trunk/dports/PortIndex 2008-08-04 07:51:25 UTC (rev 38959) @@ -216,8 +216,8 @@ variants {universal darwin_9} description {Real-time data compression library} portdir archivers/lzo2 homepage http://www.oberhumer.com/opensource/lzo/ epoch 0 platforms darwin name lzo2 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 yunzheng.hu at gmail.com categories archivers version 2.02 revision 2 makeself 488 portdir archivers/makeself platforms darwin description {A small shell script that generates a self-extractable archives} name makeself version 2.1.4 categories archivers homepage http://www.megastep.org/makeself/ revision 0 epoch 0 maintainers nomaintainer long_description {makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is.} -p7zip 307 -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 wms categories archivers version 4.57 revision 1 +p7zip 316 +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 nomaintainer categories archivers version 4.57 revision 1 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 @@ -716,8 +716,8 @@ variants universal portdir databases/postgresql83-server description {run postgresql83 as server} homepage http://www.postgresql.org/ epoch 0 depends_run port:postgresql83 platforms darwin name postgresql83-server maintainers {mww jwa} long_description {{run postgresql83 as server}} version 8.3.3 categories databases revision 0 postgresql_autodoc 518 variants universal portdir databases/postgresql_autodoc description {Automatic documentation generator for postgresql databases} homepage http://www.rbt.ca/autodoc/ epoch 0 platforms darwin name postgresql_autodoc depends_lib {port:perl5.8 port:p5-dbi port:p5-dbd-pg port:p5-html-template} maintainers nomaintainer long_description {Automatic documentation generator for postgresql databases. It supports output in HTML, GraphViz, SGML DocBook and DIA formats.} version 1.25 categories {databases textproc} revision 0 -pqa 424 -variants universal portdir databases/pqa description {pqa is a PostgreSQL SQL analysis tool} homepage http://pqa.projects.postgresql.org/ epoch 0 platforms darwin name pqa depends_lib port:ruby maintainers wms long_description {PostgreSQL Query Analyzer produces HTML reports on the most frequent queries, slowest queries, queries by type select/insert/update/delete), and more.} version 1.6 categories databases revision 0 +pqa 433 +variants universal portdir databases/pqa description {pqa is a PostgreSQL SQL analysis tool} homepage http://pqa.projects.postgresql.org/ epoch 0 platforms darwin name pqa depends_lib port:ruby maintainers nomaintainer long_description {PostgreSQL Query Analyzer produces HTML reports on the most frequent queries, slowest queries, queries by type select/insert/update/delete), and more.} version 1.6 categories databases revision 0 qdbm 745 variants {universal macosx debug bzip2 lzo} portdir databases/qdbm description {QDBM is a library of routines for managing a database.} homepage http://qdbm.sourceforge.net/ epoch 0 platforms darwin name qdbm depends_lib {port:libiconv port:zlib} maintainers {rsky0711 at gmail.com pelopor at nifty.com} long_description {QDBM is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree.} version 1.8.76 categories databases revision 0 shsql 834 @@ -838,8 +838,8 @@ variants universal portdir devel/bsdiff description {Generates and applies patches to binary files} homepage http://www.daemonology.net/bsdiff/ epoch 0 platforms darwin name bsdiff depends_lib port:bzip2 maintainers nomaintainer long_description {This is a pair of tools for building (bsdiff) and applying (bspatch) binary patches. When applied to two versions of the same executable the patches produced are significantly smaller than those generated by other binary diff tools (eg, xdelta).} version 4.3 categories devel revision 1 buddha 597 variants universal depends_build bin:ghc:ghc portdir devel/buddha description {A declarative debugger for Haskell 98 programs.} homepage http://www.cs.mu.oz.au/~bjpop/buddha/ epoch 0 platforms darwin depends_lib lib:readline:readline name buddha maintainers nomaintainer long_description {Buddha is a debugger for Haskell 98 programs. To be more precise, it is a declarative debugger. It presents the evaluation of a Haskell program as a series of equivalences, rather than the more traditional stepwise presentation of debuggers for imperative languages.} version 1.2 categories devel revision 0 -bugzilla 1121 -variants {universal mysql5} variant_desc {mysql5 {Use mysql5 instead of mysql4}} portdir devel/bugzilla description {popular and extensive bug-tracking system} homepage http://www.bugzilla.org/ epoch 0 platforms darwin name bugzilla depends_lib {port:apache2 port:mysql4 port:perl5.8 port:p5-appconfig port:p5-timedate port:p5-dbi port:p5-dbd-mysql port:p5-xml-parser port:p5-patchreader port:p5-gd port:p5-gdtextutil port:p5-gdgraph port:p5-chart port:p5-template-toolkit port:p5-mime-tools port:patchutils port:p5-cgi port:p5-perl-ldap port:p5-patchreader port:p5-xml-twig} maintainers wms long_description {Bugzilla is a Defect Tracking System or Bug-Tracking System. Defect Tracking Systems allow individual or groups of developers to keep track of outstanding bugs in their product effectively. Most commercial defect-tracking software vendors charge enormous licensing fees. Despite being free, Bugzilla has many features its expensive counterparts lack. Consequently, Bugzilla has q uickly become a favorite of hundreds of organizations across the globe.} version 2.22.3 categories {devel www databases} revision 0 +bugzilla 1130 +variants {universal mysql5} variant_desc {mysql5 {Use mysql5 instead of mysql4}} portdir devel/bugzilla description {popular and extensive bug-tracking system} homepage http://www.bugzilla.org/ epoch 0 platforms darwin name bugzilla depends_lib {port:apache2 port:mysql4 port:perl5.8 port:p5-appconfig port:p5-timedate port:p5-dbi port:p5-dbd-mysql port:p5-xml-parser port:p5-patchreader port:p5-gd port:p5-gdtextutil port:p5-gdgraph port:p5-chart port:p5-template-toolkit port:p5-mime-tools port:patchutils port:p5-cgi port:p5-perl-ldap port:p5-patchreader port:p5-xml-twig} maintainers nomaintainer long_description {Bugzilla is a Defect Tracking System or Bug-Tracking System. Defect Tracking Systems allow individual or groups of developers to keep track of outstanding bugs in their product effectively. Most commercial defect-tracking software vendors charge enormous licensing fees. Despite being free, Bugzilla has many features its expensive counterparts lack. Consequently, Bugzi lla has quickly become a favorite of hundreds of organizations across the globe.} version 2.22.3 categories {devel www databases} revision 0 buildbot 463 variants universal portdir devel/buildbot description {compile/test cycle automation system} homepage http://buildbot.net/ epoch 0 platforms darwin depends_lib {port:python25 port:py25-twisted port:py25-hashlib port:py25-zlib} name buildbot maintainers olv.bonnet at free.fr long_description {The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes.} categories {devel python} version 0.7.7 revision 0 byacc 405 @@ -3664,8 +3664,8 @@ variants universal description {An LALR(1) parser generator like yacc or bison.} portdir lang/lemon homepage http://www.hwaci.com/sw/lemon/ epoch 0 platforms darwin name lemon long_description {{An LALR(1) parser generator like yacc or bison.}} maintainers mww categories {lang devel} version 1.39 revision 1 librep 587 variants {universal darwin_8_powerpc} description {A shared library implementing a Lisp dialect} portdir lang/librep homepage http://librep.sourceforge.net epoch 0 depends_lib {port:gdbm port:gmp} name librep long_description {librep is a shared library implementing a Lisp dialect that is lightweight, reasonably fast, and highly extensible. It contains an interpreter, byte-code compiler and virtual machine. Applications may use the interpreter as an extension language, or it may be used for standalone scripts.} maintainers lloyd at hilaiel.com categories lang version 0.17 revision 0 -lisp-hyperspec 1227 -variants universal description {The Common Lisp HyperSpec} portdir lang/lisp-hyperspec homepage http://www.lispworks.com/reference/HyperSpec/index.html epoch 0 platforms darwin name lisp-hyperspec long_description {This is an HTML document derived from the ANSI Common Lisp standard (X3.226-1994), with permission from ANSI and NCITS (previously known as X3). The Common Lisp HyperSpec was prepared by Kent Pitman at Harlequin, who as Project Editor of X3J13 managed the completion of the document which became the ANSI Common Lisp Standard. In hardcopy, the ANSI Common Lisp standard is nearly 1100 printed pages describing nearly a thousand functions and variables in sufficient detail to accommodate hosting of the language on a wide variety of hardware and operating system platforms. While the paper version remains the official standard, we think that in practice you'll find the Common Lisp HyperSpec much easier to navigate and use than its paper alternative. In addition to the Co mmon Lisp standard itself, the Common Lisp HyperSpec also incorporates interesting and useful cross references to other materials of the Common Lisp committee, J13 (formerly X3J13).} maintainers wms categories lang version 7.0 revision 0 +lisp-hyperspec 1236 +variants universal description {The Common Lisp HyperSpec} portdir lang/lisp-hyperspec homepage http://www.lispworks.com/reference/HyperSpec/index.html epoch 0 platforms darwin name lisp-hyperspec long_description {This is an HTML document derived from the ANSI Common Lisp standard (X3.226-1994), with permission from ANSI and NCITS (previously known as X3). The Common Lisp HyperSpec was prepared by Kent Pitman at Harlequin, who as Project Editor of X3J13 managed the completion of the document which became the ANSI Common Lisp Standard. In hardcopy, the ANSI Common Lisp standard is nearly 1100 printed pages describing nearly a thousand functions and variables in sufficient detail to accommodate hosting of the language on a wide variety of hardware and operating system platforms. While the paper version remains the official standard, we think that in practice you'll find the Common Lisp HyperSpec much easier to navigate and use than its paper alternative. In addition to the Co mmon Lisp standard itself, the Common Lisp HyperSpec also incorporates interesting and useful cross references to other materials of the Common Lisp committee, J13 (formerly X3J13).} maintainers nomaintainer categories lang version 7.0 revision 0 llvm 403 variants universal depends_build {bin:flex:flex bin:bison:bison} portdir lang/llvm description {llvm is a next generation compiler infrastructure} homepage http://llvm.org/ epoch 0 platforms darwin name 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 2 llvm-devel 503 @@ -3952,8 +3952,8 @@ variants universal portdir mail/lurker description {Not just another mailing list archiver.} homepage http://lurker.sourceforge.net/ epoch 0 platforms darwin name lurker depends_lib {lib:libiconv:libiconv lib:libxslt.1:libxslt} maintainers {jmpp openmaintainer} long_description {After being subscribed to interesting mailing lists, lurker archives all incoming mail into a database. Old mail can also be imported. Once mail is in the database, lurker can help you search the unending noise for those gems you need to read. A web-browser is used to interact with lurker. This makes lurker useful for mailing list administrators, who can deploy lurker on the host of several related lists. Among some of the interesting features lurker offers you can find: full keyword search by body, subject, author, {...;} a graphical representation of message {relationships;} charts of the current activity about a {topic;} searching lists or queries around an estimated {time;} signature verification to confirm the {author;} messages markup to find related {information;} etc.} version 1.2 categories mail revision 0 maildrop 456 variants {universal vpopmail qmail} variant_desc {vpopmail {For use with vpopmail} qmail {For use with qmail-spamcontrol}} portdir mail/maildrop description {Mail delivery agent (MDA) with filtering abilities} homepage http://www.courier-mta.org/maildrop/ epoch 0 platforms darwin name maildrop depends_lib port:pcre maintainers matt at tnpi.biz long_description {{Mail delivery agent (MDA) with filtering abilities}} version 2.0.4 categories mail revision 1 -mailman 610 -variants universal portdir mail/mailman description {Mailman, the GNU Mailing List Manager} homepage http://www.list.org/ epoch 0 platforms darwin name mailman depends_lib port:python24 maintainers wms long_description {Mailman is free software for managing electronic mail discussion and e-newsletter lists. Mailman is integrated with the web, making it easy for users to manage their accounts and for list owners to administer their lists. Mailman supports built-in archiving, automatic bounce processing, content filtering, digest delivery, spam filters, and more.} version 2.1.9 categories mail revision 1 +mailman 619 +variants universal portdir mail/mailman description {Mailman, the GNU Mailing List Manager} homepage http://www.list.org/ epoch 0 platforms darwin name mailman depends_lib port:python24 maintainers nomaintainer long_description {Mailman is free software for managing electronic mail discussion and e-newsletter lists. Mailman is integrated with the web, making it easy for users to manage their accounts and for list owners to administer their lists. Mailman supports built-in archiving, automatic bounce processing, content filtering, digest delivery, spam filters, and more.} version 2.1.9 categories mail revision 1 mailqfmt 254 portdir mail/mailqfmt variants {universal apple_postfix} description {Postfix mailq file reformatter} platforms darwin name mailqfmt depends_lib {port:p5-libwww-perl port:postfix} version 0.6 categories mail revision 0 epoch 0 maintainers cbellot at sky.fr mailsync 435 @@ -3996,8 +3996,8 @@ variants universal description {application level gateway for the POP3 protocol} portdir mail/pop3proxy homepage http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/Pop3Proxy epoch 0 platforms darwin name pop3proxy long_description {pop3.proxy is an application level gateway for the POP3 protocol. Unlike generic TCP proxys (like tcpproxy) it looks into the data stream watching that client and server fullfill the protocol specification. pop3.proxy is based on RFC 1939.} maintainers nomaintainer categories mail version 1.3.0-beta3 revision 0 postal 469 variants universal description {Benchmark SMTP/POP servers} portdir mail/postal homepage http://www.coker.com.au/postal/ epoch 0 platforms darwin name postal long_description {Postal is a SMTP benchmark. Postal-list will list all the possible expansions for an account name (used for creating a list of accounts to create on your test server). Rabid is the mad Biff, it is a POP benchmark.} maintainers nomaintainer categories {mail benchmarks} version 0.62 revision 0 -postfix 716 -variants {universal darwin_9 pcre tls sasl ldap mysql5} variant_desc {pcre {add pcre support} tls {add tls supporti via openssl} sasl {add sasl support via cyrus-sasl2} ldap {add ldap support via openldap} mysql5 {add mysql support via mysql5}} portdir mail/postfix description {Fast and robust mail transfer agent} homepage http://www.postfix.org/ epoch 0 platforms darwin name postfix maintainers {wms openmaintainer} long_description {Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail-compatible enough to not upset existing users. It also offers QMQP and VERP support to let Postfix act as delivery daemon for ezmlm-idx.} version 2.5.2 categories mail revision 0 +postfix 708 +variants {universal darwin_9 pcre tls sasl ldap mysql5} variant_desc {pcre {add pcre support} tls {add tls supporti via openssl} sasl {add sasl support via cyrus-sasl2} ldap {add ldap support via openldap} mysql5 {add mysql support via mysql5}} portdir mail/postfix description {Fast and robust mail transfer agent} homepage http://www.postfix.org/ epoch 0 platforms darwin name postfix maintainers nomaintainer long_description {Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail-compatible enough to not upset existing users. It also offers QMQP and VERP support to let Postfix act as delivery daemon for ezmlm-idx.} version 2.5.2 categories mail revision 0 postgrey 717 variants universal portdir mail/postgrey description {Postfix policy server implementing greylisting} homepage http://postgrey.schweikert.ch/ epoch 0 platforms darwin name postgrey depends_lib {port:p5-io-multiplex port:p5-net-server port:p5-berkeleydb} maintainers cbellot at sky.fr long_description {When a request for delivery of a mail is received by Postfix via SMTP, the triplet CLIENT_IP / SENDER / RECIPIENT is built. If it is the first time that this triplet is seen, or if the triplet was first seen, less than 5 minutes ago, then the mail gets rejected with a temporary error. Hopefully spammers or viruses will not try again later, as it is however required per RFC.} version 1.31 categories mail revision 2 procmail 1199 @@ -4422,8 +4422,8 @@ variants universal portdir net/GTorrentViewer description {GTK2 based viewer for .torrent files.} homepage http://gtorrentviewer.sourceforge.net/ epoch 0 platforms darwin name GTorrentViewer depends_lib {lib:libgtk.2:gtk2 port:curl port:p5-xml-parser} maintainers {jmpp openmaintainer} long_description {GTorrentViewer is a GTK2-based viewer/editor for BitTorrent meta files for UNIX like operating systems. It gathers information from trackers, checks files, shows detailed information about .torrents and even modifies some of it.} version 0.2b categories {net x11} revision 1 adium 537 variants universal depends_build bin:svn:subversion portdir net/adium description {a multiple protocol instant messaging client} homepage http://www.adiumx.com epoch 0 platforms macosx depends_lib port:Growl name adium maintainers {rhwood openmaintainer} long_description {Adium is a free instant messaging application. With Adium, you can connect to any number of messaging accounts on any combination of supported messaging services and then chat with other people using those services.} version 1.2.5 categories {net aqua} revision 0 -adns 349 -variants universal description {asynchronous DNS client library} portdir net/adns homepage http://www.chiark.greenend.org.uk/~ian/adns/ epoch 0 platforms darwin name adns long_description {adns is a resolver library for C (and C++) programs, and a collection of useful DNS resolver utilities.} maintainers toby categories net version 1.4 revision 0 +adns 360 +variants {universal darwin_7} description {asynchronous DNS client library} portdir net/adns homepage http://www.chiark.greenend.org.uk/~ian/adns/ epoch 0 platforms darwin name adns long_description {adns is a resolver library for C (and C++) programs, and a collection of useful DNS resolver utilities.} maintainers toby categories net version 1.4 revision 0 aget 337 variants universal description {multithreaded HTTP download accelerator} portdir net/aget homepage http://www.enderunix.org/aget/ epoch 0 platforms darwin name aget long_description {Aget is a multithreaded HTTP download accelerator, similar to the Win32 Project Flashget.} maintainers nomaintainer categories net version 0.4 revision 0 airctl 498 @@ -4900,8 +4900,8 @@ variants universal description {free, easy to use implementation of the Network Time Protocol} portdir net/openntpd homepage http://www.openntpd.org/ epoch 0 platforms darwin name openntpd long_description {OpenNTPD is a free, easy to use implementation of the Network Time Protocol. It provides the ability to sync the local clock to remote NTP servers and can act as NTP server itself, redistributing the local clock.} maintainers nomaintainer categories net version 3.9p1 revision 0 openradius 310 variants universal description {RADIUS server with various back ends} portdir net/openradius homepage http://www.xs4all.nl/~evbergen/openradius/ epoch 0 platforms darwin name openradius long_description {{RADIUS server with various back ends}} maintainers nomaintainer categories net version 0.9.10 revision 0 -openssh 970 -variants {universal apple_x11 hpn darwin darwin_9} variant_desc {apple_x11 {use (apple's) X11 for forwarding} hpn {apply high performance patch}} portdir net/openssh description {OpenSSH secure login server} homepage http://www.openssh.com/ epoch 0 platforms darwin name openssh depends_lib {port:openssl port:zlib} maintainers wms long_description {OpenSSH is a FREE version of the SSH protocol suite of network connectivity tools that increasing numbers of people on the Internet are coming to rely on. Many users of telnet, rlogin, ftp, and other such programs might not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other network-level attacks. Additionally, OpenSSH provides a myriad of secure tunneling capabilities, as well as a variety of authentication methods.} version 5.0p1 categories net revision 0 +openssh 987 +variants {universal apple_x11 hpn darwin darwin_9} variant_desc {apple_x11 {use (apple's) X11 for forwarding} hpn {apply high performance patch}} portdir net/openssh description {OpenSSH secure login server} homepage http://www.openssh.com/ epoch 0 platforms darwin name openssh depends_lib {port:openssl port:zlib} maintainers {wms openmaintainer} long_description {OpenSSH is a FREE version of the SSH protocol suite of network connectivity tools that increasing numbers of people on the Internet are coming to rely on. Many users of telnet, rlogin, ftp, and other such programs might not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other network-level attacks. Additionally, OpenSSH provides a myriad of secure tunneling capabilities, as well as a variety of authentication methods.} version 5.0p1 categories net revision 0 openvpn 541 variants {universal no_lzo} portdir net/openvpn description {easy-to-use, robust, and highly configurable VPN} homepage http://openvpn.sourceforge.net/ epoch 0 platforms {darwin openbsd} name openvpn depends_lib lib:liblzo:lzo maintainers julien.touche at touche.fr.st long_description {OpenVPN is an easy-to-use, robust, and highly configurable VPN (Virtual Private Network) daemon which can be used to securely link two or more private networks using an encrypted tunnel over the internet.} version 1.6.0 categories {net security} revision 0 openvpn2 523 @@ -6748,10 +6748,10 @@ variants universal portdir python/py-markdown description {python implementation of markdown} homepage http://atox.sf.net/ epoch 0 platforms darwin depends_lib port:python24 name py-markdown maintainers erickt at macports.org long_description {{python implementation of markdown}} categories {python textproc} version 1.6a revision 1 py-mathdom 390 variants universal portdir python/py-mathdom description {DOM library for Content MathML written in Python} homepage http://py-mathdom.sourceforge.net/ depends_run port:py-parsing epoch 0 platforms darwin depends_lib port:python24 name py-mathdom maintainers nomaintainer long_description {{DOM library for Content MathML written in Python}} categories {python math} version 0.7 revision 0 -py-matplotlib 961 -variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:freetype port:libpng port:py-dateutil port:py-tz port:py-numpy port:py-tkinter} name py-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.2 revision 0 -py-matplotlib-basemap 465 -description {matplotlib toolkit for plotting data on map projections} portdir python/py-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:py-matplotlib port:geos2} name py-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 1 +py-matplotlib 953 +variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:freetype port:libpng port:py-dateutil port:py-tz port:py-numpy port:py-tkinter} name py-matplotlib maintainers nomaintainer long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.3 revision 0 +py-matplotlib-basemap 457 +description {matplotlib toolkit for plotting data on map projections} portdir python/py-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python24 port:py-matplotlib port:geos2} name py-matplotlib-basemap maintainers nomaintainer long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 1 py-mecab 340 variants universal portdir python/py-mecab description {a Python module for MeCab} homepage http://mecab.sourceforge.net/ epoch 0 platforms darwin depends_lib {port:python24 port:mecab} name py-mecab maintainers rsky0711 at gmail.com long_description {{a Python module for MeCab}} categories {python textproc japanese} version 0.96 revision 0 py-mechanize 426 @@ -6804,8 +6804,8 @@ variants {universal darwin_8 smp} portdir python/py-numarray description {array manipulation and computational library for python} homepage http://www.stsci.edu/resources/software_hardware/numarray epoch 0 platforms darwin depends_lib port:python24 name py-numarray maintainers nomaintainer long_description {Numarray provides array manipulation and computational capabilities similar to those found in IDL, Matlab, or Octave. Using numarray, it is possible to write many efficient numerical data processing applications directly in Python without using any C, C++ or Fortran code.} categories {python devel math} version 1.5.2 revision 0 py-numeric 445 variants {universal darwin_8 macosx puredarwin} portdir python/py-numeric description {fast numerical array language for python} homepage http://www.pfdubois.com/numpy/ epoch 0 platforms darwin depends_lib port:python24 name py-numeric maintainers trashmail.net:macports_dharland long_description {Numerical Python adds a fast, compact, multidimensional array language facility to Python.} categories {python devel math} version 24.2 revision 2 -py-numpy 392 -variants universal portdir python/py-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python24 port:fftw-3} name py-numpy maintainers {ram openmaintainer} long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.1 revision 0 +py-numpy 384 +variants universal portdir python/py-numpy description {The core utilities for the scientific library scipy for Python} homepage http://numpy.scipy.org/ epoch 0 platforms darwin depends_lib {port:python24 port:fftw-3} name py-numpy maintainers nomaintainer long_description {{The core utilities for the scientific library scipy for Python}} categories python version 1.1.1 revision 0 py-ogg 496 variants universal portdir python/py-ogg description {Python module for the ogg multimedia interface} homepage http://ekyo.nerim.net/software/pyogg/ epoch 0 platforms darwin depends_lib {port:python24 lib:libogg:libogg} name py-ogg maintainers nomaintainer long_description {py-ogg is an interface to the ogg multimedia standard. You cant do much with this module on its own, you will also need specific Python modules for audio, etc.} categories {python audio multimedia} version 1.3 revision 1 py-omniORBpy 389 @@ -7317,7 +7317,7 @@ py25-mako 934 variants universal portdir python/py25-mako description {A super-fast templating language that borrows the best ideas from the existing templating languages.} homepage http://www.makotemplates.org/ epoch 0 platforms darwin depends_lib port:python25 name py25-mako maintainers stechert at macports.org long_description {Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.} categories {python www} version 0.1.10 revision 0 py25-matplotlib 973 -variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py25-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:freetype port:libpng port:py25-dateutil port:py25-tz port:py25-numpy port:py25-tkinter} name py25-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.2 revision 0 +variants {universal cairo gtk2 tkinter wxpython} variant_desc {cairo {Allow to use cairo for interactive plotting} gtk2 {Use GTKAgg for interactive plotting} tkinter {Use tkAgg for interactive plotting} wxpython {Use wxAgg for interactive plotting}} portdir python/py25-matplotlib description {matlab-like syntax for creating plots in python} homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:freetype port:libpng port:py25-dateutil port:py25-tz port:py25-numpy port:py25-tkinter} name py25-matplotlib maintainers {ram openmaintainer} long_description {Matplotlib is a pure python plotting library with the goal of making publication quality plots using a syntax familiar to matlab users. The library uses numpy for handling large data sets and supports a variety of output backends. This port provides variants for the different GUIs (gtk2, tkinter, wxpython).} categories {python graphics math} version 0.98.3 revision 0 py25-matplotlib-basemap 471 description {matplotlib toolkit for plotting data on map projections} portdir python/py25-matplotlib-basemap homepage http://matplotlib.sourceforge.net epoch 0 platforms darwin depends_lib {port:python25 port:py25-matplotlib port:geos2} name py25-matplotlib-basemap maintainers {ram openmaintainer} long_description {Matplotlib basemap is a matplotlib toolkit python library for plotting data on map projections} categories {python graphics math} version 0.99 revision 1 py25-mecab 344 @@ -7390,8 +7390,8 @@ variants universal portdir python/py25-processing description {Using processes which mimics the threading module} homepage http://developer.berlios.de/projects/pyprocessing epoch 0 platforms darwin depends_lib port:python25 name py25-processing maintainers blair long_description {Processing is a package for the Python language which supports the spawning of processes using the API of the standard library's threading module. Objects can be transferred between processes using pipes or multi-producer/multi-consumer queues. Objects can be shared between processes using a server process or (for simple data) shared memory. Equivalents of all the synchronization primitives in threading are available. A Pool class makes it easy to submit tasks to a pool of worker processes.} categories python version 0.52 revision 0 py25-psyco 401 variants {universal darwin_i386} portdir python/py25-psyco description {a python specializing compiler} homepage http://psyco.sourceforge.net/ epoch 0 platforms darwin depends_lib port:python25 name py25-psyco maintainers {jmr openmaintainer} long_description {Psyco is a Python extension module which can massively speed up the execution of any Python code.} categories python version 1.6 revision 0 -py25-psycopg2 679 -variants {universal postgresql82 postgresql83} variant_desc {postgresql82 {Build using postgresql v8.2} postgresql83 {Build using postgresql v8.3}} portdir python/py25-psycopg2 description {A python DBAPI-2.0 ompliant database adapter for postgresql} homepage http://www.initd.org/software/initd/psycopg/ epoch 0 platforms {darwin freebsd} depends_lib {port:python25 port:openssl} name py25-psycopg2 maintainers wms long_description {Psycopg2 is a postgresql database adapter for python. It's fully compliant to pythons DBAPI-2.0. psycopg is designed for heavily multi-threaded applications featuring connection pooling.} categories {python databases} version 2.0.5.1 revision 1 +py25-psycopg2 688 +variants {universal postgresql82 postgresql83} variant_desc {postgresql82 {Build using postgresql v8.2} postgresql83 {Build using postgresql v8.3}} portdir python/py25-psycopg2 description {A python DBAPI-2.0 ompliant database adapter for postgresql} homepage http://www.initd.org/software/initd/psycopg/ epoch 0 platforms {darwin freebsd} depends_lib {port:python25 port:openssl} name py25-psycopg2 maintainers nomaintainer long_description {Psycopg2 is a postgresql database adapter for python. It's fully compliant to pythons DBAPI-2.0. psycopg is designed for heavily multi-threaded applications featuring connection pooling.} categories {python databases} version 2.0.5.1 revision 1 py25-py 430 variants universal portdir python/py25-py description {py lib: agile development and test support library} homepage http://codespeak.net/py epoch 0 platforms darwin depends_lib port:python25 name py25-py maintainers {akira openmaintainer} long_description {the py lib is a development support library featuring py.test, ad-hoc distributed execution, micro-threads and svn abstractions.} categories python version 0.9.1 revision 0 py25-py2app 629 @@ -9094,8 +9094,8 @@ variants {universal darwin darwin_7 openbsd openldap preforkmpm workermpm no_startupitem} portdir www/apache20 description {The extremely popular second version of the Apache http server} homepage http://httpd.apache.org/ epoch 0 platforms {darwin freebsd openbsd} name apache20 depends_lib {port:apr0 port:apr-util0 port:expat port:openssl port:pcre} maintainers blair long_description {Apache is an HTTP server designed as a plug-in replacement for the NCSA server version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and includes many frequently requested new features, and has an API which allows it to be extended to meet users' needs more easily. This Portfile is not the latest version of the Apache web server, see the apache2 port. Besides having a Port for the Apache 2.0.x line, this Port was built to allow Apache 2.x.y on Mac OS X 10.3 to serve PHP Zend encoded files using the Zend Optimizer. The Zend Optimizer is distributed only in binary form as an Apache modu le that enables the server to serve optimized and obfuscated PHP code from third party vendors. Since the Optimizer is a binary module, it must run in a binary compatible OS and Apache environment. While newer versions of the Zend Optimizer do work with Apache 2.2.x, it appears that these binary modules are compiled on 10.4 and trying to load the module into Apache on 10.3 results in missing symbol errors. When older versions of the Zend Optimizer that work on 10.3 are loaded into Apache 2.2.x, then the error_log will contain messages about double free memory errors. So the only combination that works on 10.3 is with Apache 2.0.x.} version 2.0.63 categories www revision 0 autobench 808 variants universal portdir www/autobench description {automatic webserver benchmark tool} homepage http://www.xenoclast.org/autobench/ epoch 0 depends_run bin:httperf:httperf platforms darwin name autobench maintainers nomaintainer long_description {Autobench is a simple Perl script for automating the process of benchmarking a web server (or for conducting a comparative test of two different web servers). The script is a wrapper around httperf. Autobench runs httperf a number of times against each host, increasing the number of requested connections per second on each iteration, and extracts the significant data from the httperf output, delivering a CSV or TSV format file which can be imported directly into a spreadsheet for analysis/graphing.} version 2.1.2 categories {www benchmarks} revision 0 -awstats 983 -variants {universal apache} variant_desc {apache {use apache instead of apache2}} portdir www/awstats description {Free real-time logfile analyzer to get advanced web statistics} homepage http://www.awstats.org epoch 0 platforms {darwin freebsd} name awstats depends_lib {port:perl5.8 port:apache2} maintainers wms long_description {AWStats is short for Advanced Web Statistics. It's a free tool that generates advanced web (but also ftp or mail) server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information that your logs contain, in a few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from IIS (W3C log format), Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar and most of all web, proxy, WAP, and streaming servers (and FTP servers or mail logs).} version 6.5 categories www revision 0 +awstats 992 +variants {universal apache} variant_desc {apache {use apache instead of apache2}} portdir www/awstats description {Free real-time logfile analyzer to get advanced web statistics} homepage http://www.awstats.org epoch 0 platforms {darwin freebsd} name awstats depends_lib {port:perl5.8 port:apache2} maintainers nomaintainer long_description {AWStats is short for Advanced Web Statistics. It's a free tool that generates advanced web (but also ftp or mail) server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information that your logs contain, in a few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from IIS (W3C log format), Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar and most of all web, proxy, WAP, and streaming servers (and FTP servers or mail logs).} version 6.5 categories www revision 0 cadaver 506 variants {universal darwin_6} portdir www/cadaver description {Commandline client for DAV} homepage http://www.webdav.org/cadaver/ epoch 0 platforms darwin name cadaver depends_lib {port:expat port:openssl port:neon} maintainers landonf at macports.org long_description {cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.} version 0.22.5 categories www revision 0 cgilib 374 @@ -9172,8 +9172,8 @@ variants {universal ssl gnutls} variant_desc {ssl {Support for secure connections via OpenSSL (default)} gnutls {Experimental support for secure connections via GnuTLS}} portdir www/lynx description {Text-based web browser} homepage http://lynx.isc.org/ epoch 0 platforms darwin name lynx depends_lib {port:ncurses port:openssl} maintainers nomaintainer long_description {lynx is a program which allows a user to access World-Wide Web servers and other information servers. It uses only ascii representation so that it can be used from ascii-terminals and dial-in lines.} version 2.8.6rel.5 categories www revision 1 mathopd 477 variants universal description {small, yet very fast HTTP server} portdir www/mathopd homepage http://www.mathopd.org/ epoch 0 platforms darwin name mathopd long_description {Mathopd is a very small, yet very fast HTTP server for UN*X systems. Mathopd is designed specifically to handle a large number of connections with minimal fuss. It contains no unnecessary add-ons, but it does the trick for most things.} maintainers nomaintainer categories www version 1.5p4 revision 0 -mediawiki 822 -variants {universal php4 mysql4} variant_desc {php4 {use php4 instead of php5} mysql4 {use mysql4 instead of mysql5}} portdir www/mediawiki description {The wiki engine used by Wikipedia} homepage http://www.mediawiki.org epoch 0 depends_run {port:libiconv port:jpeg port:jasper port:tiff port:lcms port:libpng port:freetype port:libxml2 port:jbigkit port:expat port:fontconfig port:ghostscript port:ImageMagick port:pkgconfig port:aspell} platforms {darwin freebsd} depends_lib {port:php5 port:mysql5} name mediawiki maintainers wms long_description {MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a structure or workflow.} categories {www php} version 1.12.0 revision 0 +mediawiki 831 +variants {universal php4 mysql4} variant_desc {php4 {use php4 instead of php5} mysql4 {use mysql4 instead of mysql5}} portdir www/mediawiki description {The wiki engine used by Wikipedia} homepage http://www.mediawiki.org epoch 0 depends_run {port:libiconv port:jpeg port:jasper port:tiff port:lcms port:libpng port:freetype port:libxml2 port:jbigkit port:expat port:fontconfig port:ghostscript port:ImageMagick port:pkgconfig port:aspell} platforms {darwin freebsd} depends_lib {port:php5 port:mysql5} name mediawiki maintainers nomaintainer long_description {MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a structure or workflow.} categories {www php} version 1.12.0 revision 0 midgard-apache2 396 variants universal portdir www/midgard-apache2 description {A content management system} homepage http://www.midgard-project.org/ epoch 0 platforms darwin name midgard-apache2 depends_lib {port:midgard-core port:apache2 port:apr port:apr-util} maintainers jwa long_description {Midgard is a content management system platform using Apache, PHP and MySQL.} version 1.8.8 categories www revision 0 midgard-core 479 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/36428c4a/attachment-0001.html From afb at macports.org Mon Aug 4 02:23:02 2008 From: afb at macports.org (afb at macports.org) Date: Mon, 4 Aug 2008 02:23:02 -0700 (PDT) Subject: [38960] trunk/base Message-ID: <20080804092302.8E0891BFEEB@beta.macosforge.org> Revision: 38960 http://trac.macosforge.org/projects/macports/changeset/38960 Author: afb at macports.org Date: 2008-08-04 02:23:00 -0700 (Mon, 04 Aug 2008) Log Message: ----------- add use_lzma for .tar.lzma support Modified Paths: -------------- trunk/base/doc/portfile.7 trunk/base/src/port1.0/portextract.tcl trunk/base/src/port1.0/portfetch.tcl Modified: trunk/base/doc/portfile.7 =================================================================== --- trunk/base/doc/portfile.7 2008-08-04 07:51:25 UTC (rev 38959) +++ trunk/base/doc/portfile.7 2008-08-04 09:23:00 UTC (rev 38960) @@ -621,6 +621,18 @@ .br .Sy Example: .Dl use_bzip2 yes +.It Ic use_lzma +Use lzma. +.br +Sets extract.suffix to: .lzma +.br +Sets extract.cmd to: lzma +.br +.Sy Type: +.Em optional +.br +.Sy Example: +.Dl use_lzma yes .It Ic dist_subdir Create a sub-directory in .Ic distpath Modified: trunk/base/src/port1.0/portextract.tcl =================================================================== --- trunk/base/src/port1.0/portextract.tcl 2008-08-04 07:51:25 UTC (rev 38959) +++ trunk/base/src/port1.0/portextract.tcl 2008-08-04 09:23:00 UTC (rev 38960) @@ -58,7 +58,7 @@ set_ui_prefix proc extract_init {args} { - global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_zip use_dmg workpath + global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_lzma use_zip use_dmg workpath # should the distfiles be extracted to worksrcpath instead? if {[tbool extract.mkdir]} { @@ -70,6 +70,8 @@ if {[tbool use_bzip2]} { option extract.cmd [binaryInPath "bzip2"] + } elseif {[tbool use_lzma]} { + option extract.cmd [binaryInPath "lzma"] } elseif {[tbool use_zip]} { option extract.cmd [binaryInPath "unzip"] option extract.pre_args -q Modified: trunk/base/src/port1.0/portfetch.tcl =================================================================== --- trunk/base/src/port1.0/portfetch.tcl 2008-08-04 07:51:25 UTC (rev 38959) +++ trunk/base/src/port1.0/portfetch.tcl 2008-08-04 09:23:00 UTC (rev 38960) @@ -100,6 +100,7 @@ # Option-executed procedures option_proc use_bzip2 fix_extract_suffix +option_proc use_lzma fix_extract_suffix option_proc use_zip fix_extract_suffix option_proc use_dmg fix_extract_suffix @@ -110,6 +111,9 @@ use_bzip2 { set extract.suffix .tar.bz2 } + use_lzma { + set extract.suffix .tar.lzma + } use_zip { set extract.suffix .zip } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/dc4c34d9/attachment.html From afb at macports.org Mon Aug 4 02:29:01 2008 From: afb at macports.org (afb at macports.org) Date: Mon, 4 Aug 2008 02:29:01 -0700 (PDT) Subject: [38961] trunk/base/doc/portfile.7 Message-ID: <20080804092901.A44141BFF2D@beta.macosforge.org> Revision: 38961 http://trac.macosforge.org/projects/macports/changeset/38961 Author: afb at macports.org Date: 2008-08-04 02:29:00 -0700 (Mon, 04 Aug 2008) Log Message: ----------- fix typo Modified Paths: -------------- trunk/base/doc/portfile.7 Modified: trunk/base/doc/portfile.7 =================================================================== --- trunk/base/doc/portfile.7 2008-08-04 09:23:00 UTC (rev 38960) +++ trunk/base/doc/portfile.7 2008-08-04 09:29:00 UTC (rev 38961) @@ -612,7 +612,7 @@ .It Ic use_bzip2 Use bzip2. .br -Sets extract.suffix to: .bzip2 +Sets extract.suffix to: .bz2 .br Sets extract.cmd to: bzip2 .br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/079fc831/attachment.html From jochen at macports.org Mon Aug 4 02:29:08 2008 From: jochen at macports.org (jochen at macports.org) Date: Mon, 4 Aug 2008 02:29:08 -0700 (PDT) Subject: [38962] trunk/dports/science/molden/Portfile Message-ID: <20080804092909.486CA1BFF5B@beta.macosforge.org> Revision: 38962 http://trac.macosforge.org/projects/macports/changeset/38962 Author: jochen at macports.org Date: 2008-08-04 02:29:08 -0700 (Mon, 04 Aug 2008) Log Message: ----------- follow stealth maintainer upgrade Modified Paths: -------------- trunk/dports/science/molden/Portfile Modified: trunk/dports/science/molden/Portfile =================================================================== --- trunk/dports/science/molden/Portfile 2008-08-04 09:29:00 UTC (rev 38961) +++ trunk/dports/science/molden/Portfile 2008-08-04 09:29:08 UTC (rev 38962) @@ -12,16 +12,16 @@ name molden version 4.6 -revision 9 +revision 10 categories science graphics maintainers openmaintainer jochen homepage http://www.cmbi.ru.nl/molden/molden.html master_sites ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/ distname molden${version} dist_subdir ${name}/${version}_${revision} -checksums md5 7bf282698b0244b8e9a25ded6ea8a383 \ - sha1 46e37561980ee2f540cd049eac998506986334f4 \ - rmd160 b22043c49b3292dba60ecab44fe701bbe7d96c20 +checksums md5 d5a9a5229b48f9e0f4a2646276ca768b \ + sha1 bbed28f2a2262c8984f4880aed53f8ef2fccf634 \ + rmd160 ea86de970683d14aa28b6c1024898a5afc9a97c6 description Molecular graphics visualisation tool long_description Molden is a package for displaying Molecular Density from \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/af288f66/attachment.html From mww at macports.org Mon Aug 4 03:32:13 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 4 Aug 2008 03:32:13 -0700 (PDT) Subject: [38963] trunk/dports/math/mathomatic/Portfile Message-ID: <20080804103214.2D6361C01A2@beta.macosforge.org> Revision: 38963 http://trac.macosforge.org/projects/macports/changeset/38963 Author: mww at macports.org Date: 2008-08-04 03:32:12 -0700 (Mon, 04 Aug 2008) Log Message: ----------- version 14.1.1 Modified Paths: -------------- trunk/dports/math/mathomatic/Portfile Modified: trunk/dports/math/mathomatic/Portfile =================================================================== --- trunk/dports/math/mathomatic/Portfile 2008-08-04 09:29:08 UTC (rev 38962) +++ trunk/dports/math/mathomatic/Portfile 2008-08-04 10:32:12 UTC (rev 38963) @@ -3,7 +3,7 @@ PortSystem 1.0 name mathomatic -version 14.1.0 +version 14.1.1 categories math platforms darwin maintainers mww @@ -15,7 +15,7 @@ homepage http://mathomatic.orgserve.de/math/ master_sites http://www.panix.com/~gesslein/ -checksums sha1 aa22109af3940a0ff493ad1c15ef785dfa4f4bf8 +checksums sha1 46dbf302d7e7812ed2b2d9086ad63ffdaee505c3 use_bzip2 yes patchfiles patch-makefile.diff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/7498cc25/attachment.html From mww at macports.org Mon Aug 4 03:46:13 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 4 Aug 2008 03:46:13 -0700 (PDT) Subject: [38964] trunk/dports/mail/msmtp/Portfile Message-ID: <20080804104613.76F5B1C025B@beta.macosforge.org> Revision: 38964 http://trac.macosforge.org/projects/macports/changeset/38964 Author: mww at macports.org Date: 2008-08-04 03:46:12 -0700 (Mon, 04 Aug 2008) Log Message: ----------- version 1.4.16 Modified Paths: -------------- trunk/dports/mail/msmtp/Portfile Modified: trunk/dports/mail/msmtp/Portfile =================================================================== --- trunk/dports/mail/msmtp/Portfile 2008-08-04 10:32:12 UTC (rev 38963) +++ trunk/dports/mail/msmtp/Portfile 2008-08-04 10:46:12 UTC (rev 38964) @@ -3,7 +3,7 @@ PortSystem 1.0 name msmtp -version 1.4.15 +version 1.4.16 categories mail platforms darwin maintainers mww @@ -17,7 +17,7 @@ homepage http://msmtp.sourceforge.net/ master_sites sourceforge -checksums sha1 fbbd6e0f818ab0c0ffd2eeb1e3843114481ae5ca +checksums sha1 784ee281cee05e4a312629efaa4ea892bb98a51f use_bzip2 yes depends_lib port:openssl port:gettext port:gnutls port:libgcrypt \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/1e7abbff/attachment.html From mww at macports.org Mon Aug 4 04:38:33 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 4 Aug 2008 04:38:33 -0700 (PDT) Subject: [38965] trunk/dports/mail/getmail/Portfile Message-ID: <20080804113833.BE0BD1C03DA@beta.macosforge.org> Revision: 38965 http://trac.macosforge.org/projects/macports/changeset/38965 Author: mww at macports.org Date: 2008-08-04 04:38:32 -0700 (Mon, 04 Aug 2008) Log Message: ----------- version 4.8.2 Modified Paths: -------------- trunk/dports/mail/getmail/Portfile Modified: trunk/dports/mail/getmail/Portfile =================================================================== --- trunk/dports/mail/getmail/Portfile 2008-08-04 10:46:12 UTC (rev 38964) +++ trunk/dports/mail/getmail/Portfile 2008-08-04 11:38:32 UTC (rev 38965) @@ -4,7 +4,7 @@ PortGroup python25 1.0 name getmail -version 4.8.1 +version 4.8.2 categories mail python platforms darwin maintainers mww @@ -17,7 +17,7 @@ homepage http://pyropus.ca/software/getmail/ master_sites ${homepage}/old-versions/ -checksums sha1 fd2bd324831977b22dddf96d373279a87c9b15b0 +checksums sha1 9a5ebf25b0721a5c04ea12d8ae4a1351b48ab293 dist_subdir ${name} patchfiles patch-setup.py.diff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/ed1c6dfc/attachment.html From mww at macports.org Mon Aug 4 04:39:39 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 4 Aug 2008 04:39:39 -0700 (PDT) Subject: [38966] trunk/dports/audio/abcMIDI/Portfile Message-ID: <20080804113939.1838E1C0463@beta.macosforge.org> Revision: 38966 http://trac.macosforge.org/projects/macports/changeset/38966 Author: mww at macports.org Date: 2008-08-04 04:39:38 -0700 (Mon, 04 Aug 2008) Log Message: ----------- version 2008-07-21 Modified Paths: -------------- trunk/dports/audio/abcMIDI/Portfile Modified: trunk/dports/audio/abcMIDI/Portfile =================================================================== --- trunk/dports/audio/abcMIDI/Portfile 2008-08-04 11:38:32 UTC (rev 38965) +++ trunk/dports/audio/abcMIDI/Portfile 2008-08-04 11:39:38 UTC (rev 38966) @@ -3,7 +3,7 @@ PortSystem 1.0 name abcMIDI -version 2008-07-02 +version 2008-07-21 categories audio platforms darwin maintainers mww @@ -13,7 +13,7 @@ homepage http://ifdo.pugmarks.com/~seymour/runabc/top.html master_sites http://ifdo.pugmarks.com/~seymour/runabc/ -checksums sha1 e5097f93875e0275335bae5a09fcf5774a124951 +checksums sha1 19b809c12637a7930897ab3cc82edde547534701 patchfiles patch-makefile.diff worksrcdir abcmidi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/a170e729/attachment-0001.html From mww at macports.org Mon Aug 4 04:44:56 2008 From: mww at macports.org (mww at macports.org) Date: Mon, 4 Aug 2008 04:44:56 -0700 (PDT) Subject: [38967] trunk/dports/net/aria2/Portfile Message-ID: <20080804114456.61A7A1C050E@beta.macosforge.org> Revision: 38967 http://trac.macosforge.org/projects/macports/changeset/38967 Author: mww at macports.org Date: 2008-08-04 04:44:55 -0700 (Mon, 04 Aug 2008) Log Message: ----------- version 0.15.1 Modified Paths: -------------- trunk/dports/net/aria2/Portfile Modified: trunk/dports/net/aria2/Portfile =================================================================== --- trunk/dports/net/aria2/Portfile 2008-08-04 11:39:38 UTC (rev 38966) +++ trunk/dports/net/aria2/Portfile 2008-08-04 11:44:55 UTC (rev 38967) @@ -3,7 +3,7 @@ PortSystem 1.0 name aria2 -version 0.13.2 +version 0.15.1 categories net platforms darwin maintainers mww @@ -13,7 +13,7 @@ homepage http://aria2.sourceforge.net/ master_sites sourceforge -checksums sha1 cfe8aefc324b4541eab9fd4af7f2271c1a4439fa +checksums sha1 2a2b6a6c3abe16d38f44a9050ee80c12e0fea0c5 distname ${name}c-${version} use_bzip2 yes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/7684f8a8/attachment.html From pmagrath at macports.org Mon Aug 4 05:54:37 2008 From: pmagrath at macports.org (pmagrath at macports.org) Date: Mon, 4 Aug 2008 05:54:37 -0700 (PDT) Subject: [38968] branches/gsoc08-privileges/base/src/port1.0/portutil.tcl Message-ID: <20080804125437.5686E1C068E@beta.macosforge.org> Revision: 38968 http://trac.macosforge.org/projects/macports/changeset/38968 Author: pmagrath at macports.org Date: 2008-08-04 05:54:36 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Fix bug with errorisprivileges variables Modified Paths: -------------- branches/gsoc08-privileges/base/src/port1.0/portutil.tcl Modified: branches/gsoc08-privileges/base/src/port1.0/portutil.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-04 11:44:55 UTC (rev 38967) +++ branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-04 12:54:36 UTC (rev 38968) @@ -1359,8 +1359,9 @@ proc eval_targets {target} { - global targets target_state_fd portname + global targets target_state_fd portname errorisprivileges set dlist $targets + set errorisprivileges "no" # Select the subset of targets under $target if {$target != ""} { @@ -1390,7 +1391,6 @@ } # start gsoc08-privileges - global errorisprivileges if { $result == 1 && $errorisprivileges == "yes" } { set result 2 } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/954190c1/attachment.html From dluke at macports.org Mon Aug 4 06:21:10 2008 From: dluke at macports.org (dluke at macports.org) Date: Mon, 4 Aug 2008 06:21:10 -0700 (PDT) Subject: [38969] trunk/dports/net/nmap/Portfile Message-ID: <20080804132110.7BA981C075C@beta.macosforge.org> Revision: 38969 http://trac.macosforge.org/projects/macports/changeset/38969 Author: dluke at macports.org Date: 2008-08-04 06:21:09 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Fix nmap build failure while lua port is installed by forcing use of nmap's included lua. fixes #16194 Modified Paths: -------------- trunk/dports/net/nmap/Portfile Modified: trunk/dports/net/nmap/Portfile =================================================================== --- trunk/dports/net/nmap/Portfile 2008-08-04 12:54:36 UTC (rev 38968) +++ trunk/dports/net/nmap/Portfile 2008-08-04 13:21:09 UTC (rev 38969) @@ -40,7 +40,8 @@ --mandir=\\\${prefix}/share/man \ --infodir=\\\${prefix}/share/info \ --with-openssl=${prefix} \ - --with-libpcre=${prefix} + --with-libpcre=${prefix} \ + --with-liblua=included use_parallel_build no configure.ccache no -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/de296e1b/attachment.html From acho at macports.org Mon Aug 4 07:11:01 2008 From: acho at macports.org (acho at macports.org) Date: Mon, 4 Aug 2008 07:11:01 -0700 (PDT) Subject: [38970] trunk/dports/multimedia/ffmpeg/Portfile Message-ID: <20080804141101.848E51C0925@beta.macosforge.org> Revision: 38970 http://trac.macosforge.org/projects/macports/changeset/38970 Author: acho at macports.org Date: 2008-08-04 07:11:00 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Change default back to no mmx, add mmx variant for people with a compatible compiler. Closes #16157 Modified Paths: -------------- trunk/dports/multimedia/ffmpeg/Portfile Modified: trunk/dports/multimedia/ffmpeg/Portfile =================================================================== --- trunk/dports/multimedia/ffmpeg/Portfile 2008-08-04 13:21:09 UTC (rev 38969) +++ trunk/dports/multimedia/ffmpeg/Portfile 2008-08-04 14:11:00 UTC (rev 38970) @@ -4,7 +4,7 @@ name ffmpeg version 0.4.9-pre1 -revision 9 +revision 10 categories multimedia maintainers acho at macports.org openmaintainer description Digital VCR and streaming server @@ -39,6 +39,7 @@ worksrcdir trunk depends_build bin:svn:subversion port:gmake build.cmd gmake +configure.compiler gcc-4.0 set svn_rev 14381 @@ -58,7 +59,8 @@ configure.cflags-append -DHAVE_LRINTF ${configure.cppflags} configure.args --disable-vhook \ --mandir=${prefix}/share/man \ - --enable-shared --enable-pthreads + --enable-shared --enable-pthreads \ + --disable-mmx --cc=gcc-4.0 default_variants +a52 @@ -76,13 +78,18 @@ } platform darwin i386 { - # Fix Leopard problems by disabling the cavs decoder for now; see #13019. - configure.args-append --disable-decoder=cavs post-patch { reinplace "s|defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\)|defined\(ARCH_X86\) \\\&\\\& defined\(CONFIG_GPL\) \\\&\\\& \\\!defined\(__APPLE__\)|g" ${worksrcpath}/libswscale/rgb2rgb.c } } +variant mmx description {enable mmx support, experimental; does not build in gcc-4.2 or xcode 3.0 gcc-4.0} { +# make no-mmx default and allow mmx enabling for the brave. + configure.args-delete --disable-mmx +# Fix Leopard problems by disabling the cavs decoder for now + configure.args-append --disable-decoder=cavs +} + variant gpl description {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} { configure.args-append --enable-gpl } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/78f11e06/attachment.html From ryandesign at macports.org Mon Aug 4 08:29:11 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 4 Aug 2008 08:29:11 -0700 (PDT) Subject: [38971] trunk/dports/devel Message-ID: <20080804152911.89D591C0BC0@beta.macosforge.org> Revision: 38971 http://trac.macosforge.org/projects/macports/changeset/38971 Author: ryandesign at macports.org Date: 2008-08-04 08:29:10 -0700 (Mon, 04 Aug 2008) Log Message: ----------- glib2, glib2-devel: disable ftp.gtk.org mirror which doesn't have files for the 2.16 or 2.17 branches; closes #16161 Modified Paths: -------------- trunk/dports/devel/glib2/Portfile trunk/dports/devel/glib2-devel/Portfile Modified: trunk/dports/devel/glib2/Portfile =================================================================== --- trunk/dports/devel/glib2/Portfile 2008-08-04 14:11:00 UTC (rev 38970) +++ trunk/dports/devel/glib2/Portfile 2008-08-04 15:29:10 UTC (rev 38971) @@ -23,8 +23,8 @@ many other things. master_sites \ - ftp://ftp.gtk.org/pub/${my_name}/${branch}/ \ gnome:sources/${my_name}/${branch}/ +# ftp://ftp.gtk.org/pub/${my_name}/${branch}/ checksums \ md5 039f02d47d4071322a3f00abf031e5d9 \ Modified: trunk/dports/devel/glib2-devel/Portfile =================================================================== --- trunk/dports/devel/glib2-devel/Portfile 2008-08-04 14:11:00 UTC (rev 38970) +++ trunk/dports/devel/glib2-devel/Portfile 2008-08-04 15:29:10 UTC (rev 38971) @@ -24,8 +24,8 @@ many other things. master_sites \ - ftp://ftp.gtk.org/pub/${my_name}/${branch}/ \ gnome:sources/${my_name}/${branch}/ +# ftp://ftp.gtk.org/pub/${my_name}/${branch}/ checksums \ md5 9692116d39c2bd00c53a9b469711e3fc \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/e0f2402c/attachment.html From vinc17 at macports.org Mon Aug 4 08:33:02 2008 From: vinc17 at macports.org (vinc17 at macports.org) Date: Mon, 4 Aug 2008 08:33:02 -0700 (PDT) Subject: [38972] trunk/dports/textproc/texinfo/Portfile Message-ID: <20080804153302.5FEA11C0D01@beta.macosforge.org> Revision: 38972 http://trac.macosforge.org/projects/macports/changeset/38972 Author: vinc17 at macports.org Date: 2008-08-04 08:33:02 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Bump to texinfo 4.12 (fixes bug 15970). Changes: * switched to lzma tarball (bzip2 tarballs are no longer provided); * removed pre-patch (bug fixed in 4.12). Modified Paths: -------------- trunk/dports/textproc/texinfo/Portfile Modified: trunk/dports/textproc/texinfo/Portfile =================================================================== --- trunk/dports/textproc/texinfo/Portfile 2008-08-04 15:29:10 UTC (rev 38971) +++ trunk/dports/textproc/texinfo/Portfile 2008-08-04 15:33:02 UTC (rev 38972) @@ -3,7 +3,7 @@ PortSystem 1.0 name texinfo -version 4.11 +version 4.12 categories textproc platforms darwin maintainers vincent-opdarw at vinc17.org @@ -16,20 +16,20 @@ a printed manual, you need write only one document. homepage http://www.gnu.org/software/texinfo/ master_sites gnu -use_bzip2 yes -checksums md5 c6bf13df4fbeff8ce874aacd6a51e814 \ - sha1 915a42e1278860b0fa64e4ef9d5ad4488d3b23a0 \ - rmd160 d07dbc50f98dd8f9f4088b58781abdebfb7f5781 +# Replace the following by "use_lzma yes" when MacPorts 1.6.1 is released. +# The unlzma command is provided by lzmautils. +extract.suffix .tar.lzma +extract.cmd unlzma + +checksums md5 81bcbc7b647f2741e7d84a842e47eeb5 \ + sha1 7fee7f9c9c98e0d69b4b00090708b02ed75e42f5 \ + rmd160 b72d1994480acd217d0a7cff648d0bbc78ad9010 + depends_lib port:gettext \ port:libiconv \ port:ncurses -# Needed if the coreutils port isn't installed (this is an upstream bug). -pre-patch { - file attributes ${worksrcpath}/build-aux/install-sh -permissions ugo+x -} - pre-destroot { xinstall -d "${destroot}${prefix}/share/doc/${name}" xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/85ce0175/attachment.html From jmr at macports.org Mon Aug 4 09:11:28 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 09:11:28 -0700 (PDT) Subject: [38973] trunk/base/src/port1.0/resources/fetch/mirror_sites.tcl Message-ID: <20080804161128.AC1021C0E79@beta.macosforge.org> Revision: 38973 http://trac.macosforge.org/projects/macports/changeset/38973 Author: jmr at macports.org Date: 2008-08-04 09:11:28 -0700 (Mon, 04 Aug 2008) Log Message: ----------- mirror sites: order sourceforge mirrors more or less geographically Modified Paths: -------------- trunk/base/src/port1.0/resources/fetch/mirror_sites.tcl Modified: trunk/base/src/port1.0/resources/fetch/mirror_sites.tcl =================================================================== --- trunk/base/src/port1.0/resources/fetch/mirror_sites.tcl 2008-08-04 15:33:02 UTC (rev 38972) +++ trunk/base/src/port1.0/resources/fetch/mirror_sites.tcl 2008-08-04 16:11:28 UTC (rev 38973) @@ -258,21 +258,25 @@ set portfetch::mirror_sites::sites(sourceforge) { http://downloads.sourceforge.net/ - http://internode.dl.sourceforge.net/ http://easynews.dl.sourceforge.net/ + http://internap.dl.sourceforge.net/ + http://superb-east.dl.sourceforge.net/ + http://superb-west.dl.sourceforge.net/ + http://voxel.dl.sourceforge.net/ http://ufpr.dl.sourceforge.net/ + http://dfn.dl.sourceforge.net/ + http://garr.dl.sourceforge.net/ + http://heanet.dl.sourceforge.net/ http://kent.dl.sourceforge.net/ - http://jaist.dl.sourceforge.net/ - http://optusnet.dl.sourceforge.net/ - http://nchc.dl.sourceforge.net/ - http://switch.dl.sourceforge.net/ + http://mesh.dl.sourceforge.net/ http://puzzle.dl.sourceforge.net/ - http://garr.dl.sourceforge.net/ http://surfnet.dl.sourceforge.net/ - http://internap.dl.sourceforge.net/ - http://superb-east.dl.sourceforge.net/ - http://superb-west.dl.sourceforge.net/ + http://switch.dl.sourceforge.net/ + http://nchc.dl.sourceforge.net/ + http://jaist.dl.sourceforge.net/ + http://internode.dl.sourceforge.net/ http://transact.dl.sourceforge.net/ + http://optusnet.dl.sourceforge.net/ } set portfetch::mirror_sites::sites(sourceforge_jp) { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/c3608805/attachment.html From jmr at macports.org Mon Aug 4 10:18:11 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 10:18:11 -0700 (PDT) Subject: [38974] trunk/dports/python Message-ID: <20080804171812.01D671C102D@beta.macosforge.org> Revision: 38974 http://trac.macosforge.org/projects/macports/changeset/38974 Author: jmr at macports.org Date: 2008-08-04 10:18:11 -0700 (Mon, 04 Aug 2008) Log Message: ----------- New port: py25-gdata (#15896) Added Paths: ----------- trunk/dports/python/py25-gdata/ trunk/dports/python/py25-gdata/Portfile Added: trunk/dports/python/py25-gdata/Portfile =================================================================== --- trunk/dports/python/py25-gdata/Portfile (rev 0) +++ trunk/dports/python/py25-gdata/Portfile 2008-08-04 17:18:11 UTC (rev 38974) @@ -0,0 +1,43 @@ +# $Id$ + +PortSystem 1.0 +PortGroup python25 1.0 + +name py25-gdata +version 1.1.1 +categories-append devel +maintainers gmail.com:aecollins1 +description Google Data API Python Client Library +long_description \ + The Google Data Python Client Library provides a library that makes it \ + easy to access data through the Google Data APIs. Many Google services \ + (such as Google Calendar and Documents) support the Google Data API \ + protocol. +platforms darwin +homepage http://code.google.com/p/gdata-python-client/ +master_sites http://gdata-python-client.googlecode.com/files/ +distname gdata.py-${version} + +checksums md5 8addbac38dabdc7e00701d7b60685d4d \ + sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \ + rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717 + +depends_lib port:py25-setuptools \ + port:py25-elementtree \ + port:py25-socket-ssl + +post-destroot { + + eval reinplace \ + "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.5/site-packages|g" \ + [glob ${worksrcpath}/pydocs/*.html] + + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + eval file copy [glob ${worksrcpath}/pydocs/*.html] \ + ${destroot}${prefix}/share/doc/${name} + + eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.5|g" \ + [glob ${worksrcpath}/samples/*/*.py] + file copy ${worksrcpath}/samples \ + ${destroot}${prefix}/share/doc/${name}/ +} Property changes on: trunk/dports/python/py25-gdata/Portfile ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/416a7bea/attachment.html From jmr at macports.org Mon Aug 4 10:20:07 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 10:20:07 -0700 (PDT) Subject: [38975] trunk/dports/python Message-ID: <20080804172007.D80F31C10C9@beta.macosforge.org> Revision: 38975 http://trac.macosforge.org/projects/macports/changeset/38975 Author: jmr at macports.org Date: 2008-08-04 10:20:07 -0700 (Mon, 04 Aug 2008) Log Message: ----------- New port: py-gdata (#15897) Added Paths: ----------- trunk/dports/python/py-gdata/ trunk/dports/python/py-gdata/Portfile Added: trunk/dports/python/py-gdata/Portfile =================================================================== --- trunk/dports/python/py-gdata/Portfile (rev 0) +++ trunk/dports/python/py-gdata/Portfile 2008-08-04 17:20:07 UTC (rev 38975) @@ -0,0 +1,43 @@ +# $Id$ + +PortSystem 1.0 +PortGroup python24 1.0 + +name py-gdata +version 1.1.1 +categories-append devel +maintainers gmail.com:aecollins1 +description Google Data API Python Client Library +long_description \ + The Google Data Python Client Library provides a library that makes it \ + easy to access data through the Google Data APIs. Many Google services \ + (such as Google Calendar and Documents) support the Google Data API \ + protocol. +platforms darwin +homepage http://code.google.com/p/gdata-python-client/ +master_sites http://gdata-python-client.googlecode.com/files/ +distname gdata.py-${version} + +checksums md5 8addbac38dabdc7e00701d7b60685d4d \ + sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \ + rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717 + +depends_lib port:py-setuptools \ + port:py-elementtree + +post-destroot { + + eval reinplace \ + "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.4/site-packages|g" \ + [glob ${worksrcpath}/pydocs/*.html] + + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + eval file copy [glob ${worksrcpath}/pydocs/*.html] \ + ${destroot}${prefix}/share/doc/${name} + + eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.4|g" \ + [glob ${worksrcpath}/samples/*/*.py] + + file copy ${worksrcpath}/samples \ + ${destroot}${prefix}/share/doc/${name}/ +} Property changes on: trunk/dports/python/py-gdata/Portfile ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/c10a54c2/attachment-0001.html From jmr at macports.org Mon Aug 4 10:37:42 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 10:37:42 -0700 (PDT) Subject: [38976] trunk/dports/www/raptor/Portfile Message-ID: <20080804173742.9D3C51C1195@beta.macosforge.org> Revision: 38976 http://trac.macosforge.org/projects/macports/changeset/38976 Author: jmr at macports.org Date: 2008-08-04 10:37:42 -0700 (Mon, 04 Aug 2008) Log Message: ----------- raptor: update to 1.4.18 and update maintainer address (#15915) Modified Paths: -------------- trunk/dports/www/raptor/Portfile Modified: trunk/dports/www/raptor/Portfile =================================================================== --- trunk/dports/www/raptor/Portfile 2008-08-04 17:20:07 UTC (rev 38975) +++ trunk/dports/www/raptor/Portfile 2008-08-04 17:37:42 UTC (rev 38976) @@ -1,21 +1,22 @@ # $Id$ PortSystem 1.0 + name raptor -version 1.4.17 +version 1.4.18 description Raptor RDF Parser Toolkit long_description Raptor is an open source C library that provides a set of \ parsers and serializers that generate Resource Description \ Framework (RDF) triples by parsing syntaxes or serializing \ the triples into a syntax. -maintainers lyle.johnson at gmail.com +maintainers lylejohnson.name:lyle categories www platforms darwin homepage http://librdf.org/raptor/ master_sites http://download.librdf.org/source/ -checksums md5 1cf4627c91fbe5f7ab3c358351a27f79 \ - sha1 44db419540bf364aba76db84f6ce9ff739020b0f \ - rmd160 2c5a74ff98f9a461617679f0dd6cba4ee5d70335 +checksums md5 284e768eeda0e2898b0d5bf7e26a016e \ + sha1 d55390a4242ad61f034291f1c854ab037e508272 \ + rmd160 00d43701b92a6b7befacf082bbf01a4ecfe71275 depends_lib port:curl \ port:libiconv \ port:libxml2 \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/3f15fac9/attachment.html From jmr at macports.org Mon Aug 4 10:44:16 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 10:44:16 -0700 (PDT) Subject: [38977] trunk/dports/math/glpk/Portfile Message-ID: <20080804174416.5F6A21C1241@beta.macosforge.org> Revision: 38977 http://trac.macosforge.org/projects/macports/changeset/38977 Author: jmr at macports.org Date: 2008-08-04 10:44:15 -0700 (Mon, 04 Aug 2008) Log Message: ----------- glpk: update to 4.29 (#15940) Modified Paths: -------------- trunk/dports/math/glpk/Portfile Modified: trunk/dports/math/glpk/Portfile =================================================================== --- trunk/dports/math/glpk/Portfile 2008-08-04 17:37:42 UTC (rev 38976) +++ trunk/dports/math/glpk/Portfile 2008-08-04 17:44:15 UTC (rev 38977) @@ -3,7 +3,7 @@ PortSystem 1.0 name glpk -version 4.28 +version 4.29 categories math lang platforms darwin maintainers lutz.horn at fastmail.fm @@ -19,9 +19,9 @@ homepage http://www.gnu.org/software/${name}/ master_sites gnu -checksums md5 6e4f30c37fb189aec6c71b27f0a57449 \ - sha1 0297add513bb2007eebfb03a956615d9f0db4e5a \ - rmd160 d99f7e055c10dee4dc41f13abec746d440e59bc4 +checksums md5 1e2d341619162499bbdebc96ca1d99a4 \ + sha1 69559f51c7ecd36a4c23fe01fdb9897116231f5d \ + rmd160 26ce81f0a9a907af0ed11e30cb7a9822ceb53db1 depends_lib port:gmp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/4a7a7f9f/attachment.html From jmr at macports.org Mon Aug 4 11:04:40 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 11:04:40 -0700 (PDT) Subject: [38978] trunk/dports/gnome/planner/Portfile Message-ID: <20080804180440.D2EC51C132B@beta.macosforge.org> Revision: 38978 http://trac.macosforge.org/projects/macports/changeset/38978 Author: jmr at macports.org Date: 2008-08-04 11:04:40 -0700 (Mon, 04 Aug 2008) Log Message: ----------- planner: whitespace fixes, modeline (#16090) Modified Paths: -------------- trunk/dports/gnome/planner/Portfile Modified: trunk/dports/gnome/planner/Portfile =================================================================== --- trunk/dports/gnome/planner/Portfile 2008-08-04 17:44:15 UTC (rev 38977) +++ trunk/dports/gnome/planner/Portfile 2008-08-04 18:04:40 UTC (rev 38978) @@ -1,44 +1,45 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name planner -version 0.14.2 -revision 1 -categories gnome -maintainers billitch at gmail.com -description Project management application for GNOME 2 +name planner +version 0.14.2 +revision 1 +categories gnome +maintainers billitch at gmail.com +description Project management application for GNOME 2 long_description \ - Planner is a tool for planning, scheduling and tracking \ - projects for the GNOME Desktop. Planner is an open source \ - project aiming at being a better alternative than the \ - available proprietary tools. \ - Planner is part of GNOME Office, a productivity suite \ - composed of entirely free software, integrated with the \ - GNOME Desktop. + Planner is a tool for planning, scheduling and tracking \ + projects for the GNOME Desktop. Planner is an open source \ + project aiming at being a better alternative than the \ + available proprietary tools. \ + Planner is part of GNOME Office, a productivity suite \ + composed of entirely free software, integrated with the \ + GNOME Desktop. homepage http://live.gnome.org/Planner platforms darwin -master_sites gnome:sources/planner/0.14/ +master_sites gnome:sources/planner/0.14/ checksums md5 d03081c6562a94b64628689500f55195 distname planner-${version} use_bzip2 yes depends_build port:pkgconfig \ - port:shared-mime-info + port:shared-mime-info depends_lib port:gtk2 \ - port:gconf \ - port:libgnomeui \ + port:gconf \ + port:libgnomeui \ port:libgnomeprintui \ - port:rarian \ - port:libxslt \ - port:p5-xml-parser \ - port:evolution-data-server + port:rarian \ + port:libxslt \ + port:p5-xml-parser \ + port:evolution-data-server configure.args --disable-python \ --disable-dotnet \ - --disable-update-mimedb \ - --enable-eds \ - --mandir=${prefix}/share/man + --disable-update-mimedb \ + --enable-eds \ + --mandir=${prefix}/share/man variant debug description {Enable debug} { configure.cflags-delete -O2 @@ -46,5 +47,5 @@ } post-activate { - system "update-mime-database ${prefix}/share/mime" + system "update-mime-database ${prefix}/share/mime" } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/5ce77740/attachment.html From jmr at macports.org Mon Aug 4 11:10:33 2008 From: jmr at macports.org (jmr at macports.org) Date: Mon, 4 Aug 2008 11:10:33 -0700 (PDT) Subject: [38979] trunk/dports/gnome/planner/Portfile Message-ID: <20080804181033.A13431C13CF@beta.macosforge.org> Revision: 38979 http://trac.macosforge.org/projects/macports/changeset/38979 Author: jmr at macports.org Date: 2008-08-04 11:10:33 -0700 (Mon, 04 Aug 2008) Log Message: ----------- planner: update to 0.14.3 (#16090) Modified Paths: -------------- trunk/dports/gnome/planner/Portfile Modified: trunk/dports/gnome/planner/Portfile =================================================================== --- trunk/dports/gnome/planner/Portfile 2008-08-04 18:04:40 UTC (rev 38978) +++ trunk/dports/gnome/planner/Portfile 2008-08-04 18:10:33 UTC (rev 38979) @@ -4,8 +4,8 @@ PortSystem 1.0 name planner -version 0.14.2 -revision 1 +version 0.14.3 +revision 0 categories gnome maintainers billitch at gmail.com description Project management application for GNOME 2 @@ -20,7 +20,10 @@ homepage http://live.gnome.org/Planner platforms darwin master_sites gnome:sources/planner/0.14/ -checksums md5 d03081c6562a94b64628689500f55195 +checksums md5 9aee1307f8b9d643241473791f0efa64 \ + sha1 aacdca51a16ef9e7024fbb674d5e8b1c24d088f1 \ + rmd160 8e91c0afac14e7a6ac1f80d209a44bef5d1e1eb8 + distname planner-${version} use_bzip2 yes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/69a9d9da/attachment.html From portindex at macports.org Mon Aug 4 12:52:14 2008 From: portindex at macports.org (portindex at macports.org) Date: Mon, 4 Aug 2008 12:52:14 -0700 (PDT) Subject: [38980] trunk/dports/PortIndex Message-ID: <20080804195215.38EA31C17BB@beta.macosforge.org> Revision: 38980 http://trac.macosforge.org/projects/macports/changeset/38980 Author: portindex at macports.org Date: 2008-08-04 12:52:13 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Total number of ports parsed: 4948 Ports successfully parsed: 4948 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-04 18:10:33 UTC (rev 38979) +++ trunk/dports/PortIndex 2008-08-04 19:52:13 UTC (rev 38980) @@ -269,7 +269,7 @@ aacgain 382 variants {universal darwin} portdir audio/aacgain description {AAC/MP3 normalisation tool} homepage http://altosdesign.com/aacgain/ epoch 0 platforms darwin name aacgain depends_lib {port:mpeg4ip port:faad2} maintainers tristan at cs.dartmouth.edu long_description {A modification of mp3gain to normalise the volume of MP3 and AAC audio files.} version 1.7 categories audio revision 0 abcMIDI 368 -variants universal description {ABC to midi and vice versa converter} portdir audio/abcMIDI homepage http://ifdo.pugmarks.com/~seymour/runabc/top.html epoch 0 platforms darwin name abcMIDI long_description {ABC is a text-based music notation language. These tools can convert ABC to midi and vice versa.} maintainers mww categories audio version 2008-07-02 revision 0 +variants universal description {ABC to midi and vice versa converter} portdir audio/abcMIDI homepage http://ifdo.pugmarks.com/~seymour/runabc/top.html epoch 0 platforms darwin name abcMIDI long_description {ABC is a text-based music notation language. These tools can convert ABC to midi and vice versa.} maintainers mww categories audio version 2008-07-21 revision 0 abcde 550 description {A Better CD Encoder} portdir audio/abcde homepage http://www.hispalinux.es/~data/abcde.php epoch 0 platforms darwin name abcde depends_lib {port:vorbis-tools port:lame port:flac port:cd-discid port:cdparanoia port:id3v2 port:normalize} maintainers jrdittmann at wisc.edu long_description {abcde is a frontend command-line utility (actually, a shell script) that grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+(Musepack) format, and tags them, all in one go.} version 2.3.3 categories audio revision 0 alac_decoder 768 @@ -2497,7 +2497,7 @@ pessulus 680 variants universal depends_build {port:p5-xml-parser port:pkgconfig} portdir gnome/pessulus description {A lockdown editor for GNOME.} homepage http://www.gnome.org/~vuntz/pessulus/ epoch 0 name pessulus depends_lib {port:gconf port:gettext {path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:libiconv port:py25-gnome port:py25-gobject port:py25-numeric port:python25} maintainers nomaintainer long_description {pessulus enables administrators to set mandatory settings in GConf. The users can not change these settings. Use of pessulus can be useful on computers that are open to use by everyone, e.g. in an internet cafe.} version 2.16.2 categories {gnome python} revision 1 planner 830 -variants {universal debug} depends_build {port:pkgconfig port:shared-mime-info} variant_desc {debug {Enable debug}} portdir gnome/planner description {Project management application for GNOME 2} homepage http://live.gnome.org/Planner epoch 0 platforms darwin depends_lib {port:gtk2 port:gconf port:libgnomeui port:libgnomeprintui port:rarian port:libxslt port:p5-xml-parser port:evolution-data-server} name planner maintainers billitch at gmail.com long_description {Planner is a tool for planning, scheduling and tracking projects for the GNOME Desktop. Planner is an open source project aiming at being a better alternative than the available proprietary tools. Planner is part of GNOME Office, a productivity suite composed of entirely free software, integrated with the GNOME Desktop.} categories gnome version 0.14.2 revision 1 +variants {universal debug} depends_build {port:pkgconfig port:shared-mime-info} variant_desc {debug {Enable debug}} portdir gnome/planner description {Project management application for GNOME 2} homepage http://live.gnome.org/Planner epoch 0 platforms darwin depends_lib {port:gtk2 port:gconf port:libgnomeui port:libgnomeprintui port:rarian port:libxslt port:p5-xml-parser port:evolution-data-server} name planner maintainers billitch at gmail.com long_description {Planner is a tool for planning, scheduling and tracking projects for the GNOME Desktop. Planner is an open source project aiming at being a better alternative than the available proprietary tools. Planner is part of GNOME Office, a productivity suite composed of entirely free software, integrated with the GNOME Desktop.} categories gnome version 0.14.3 revision 0 regexxer 484 variants universal portdir gnome/regexxer description {A search and replace tool for GNOME.} homepage http://regexxer.sourceforge.net epoch 0 platforms darwin name regexxer depends_lib {lib:libpcre:pcre port:gconfmm port:libglademm} long_description {regexxer is a nifty search/replace tool for the desktop user. It features recursive search through directory trees and Perl-style regular expressions (using libpcre).} maintainers nomaintainer version 0.9 categories gnome revision 0 seahorse 606 @@ -3905,7 +3905,7 @@ gensig 312 variants universal description {A random .signature generator} portdir mail/gensig homepage http://www.geekthing.com/~robf/ware/gensig/ epoch 0 platforms darwin name gensig long_description {Gensig is a random signature generator.} maintainers andrea+darwinports at webcom.it categories mail version 2.3 revision 0 getmail 563 -variants universal portdir mail/getmail description {extensible mail retrieval system with POP3, IMAP4, SSL support} homepage http://pyropus.ca/software/getmail/ epoch 0 platforms darwin depends_lib port:python25 name getmail maintainers mww long_description {getmail version 4 is a flexible, extensible mail retrieval system with support for POP3, IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs, arbitrary message filtering, single-user and domain-mailboxes, and many other useful features.} categories {mail python} version 4.8.1 revision 0 +variants universal portdir mail/getmail description {extensible mail retrieval system with POP3, IMAP4, SSL support} homepage http://pyropus.ca/software/getmail/ epoch 0 platforms darwin depends_lib port:python25 name getmail maintainers mww long_description {getmail version 4 is a flexible, extensible mail retrieval system with support for POP3, IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs, arbitrary message filtering, single-user and domain-mailboxes, and many other useful features.} categories {mail python} version 4.8.2 revision 0 gmime 631 variants universal portdir mail/gmime description {MIME mail utilities} homepage http://spruce.sourceforge.net/gmime/ epoch 0 platforms darwin name gmime depends_lib {port:pkgconfig port:libiconv {path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:gettext port:zlib} long_description {The GMime suite provides a core library and set of utilities which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME) configurable and incorporating all the features you would expect in a robust mail client.} maintainers {boeyms openmaintainer} version 2.2.18 categories mail revision 0 gnupg 562 @@ -3969,7 +3969,7 @@ mpop 390 variants universal portdir mail/mpop description {small and fast POP3 client} homepage http://mpop.sourceforge.net/ epoch 0 platforms darwin name mpop depends_lib {port:openssl port:libiconv port:zlib port:gettext port:libgsasl} maintainers mww long_description {mpop is a small and fast POP3 client with header based mail filtering capabilities.} version 1.0.14 categories mail revision 0 msmtp 698 -variants universal portdir mail/msmtp description {SMTP client that can be used as an SMTP plugin for Mutt} homepage http://msmtp.sourceforge.net/ epoch 0 platforms darwin name msmtp depends_lib {port:openssl port:gettext port:gnutls port:libgcrypt port:libgpg-error port:libgsasl port:libiconv port:libtasn1} maintainers mww long_description {msmtp is an SMTP client that can be used as an SMTP plugin for Mutt and probably other MUAs (mail user agents). It forwards mails to an SMTP server which does the delivery. To use this program, create a configuration file with your mail account(s) and tell your MUA to call msmtp instead of /usr/sbin/sendmail.} version 1.4.15 categories mail revision 0 +variants universal portdir mail/msmtp description {SMTP client that can be used as an SMTP plugin for Mutt} homepage http://msmtp.sourceforge.net/ epoch 0 platforms darwin name msmtp depends_lib {port:openssl port:gettext port:gnutls port:libgcrypt port:libgpg-error port:libgsasl port:libiconv port:libtasn1} maintainers mww long_description {msmtp is an SMTP client that can be used as an SMTP plugin for Mutt and probably other MUAs (mail user agents). It forwards mails to an SMTP server which does the delivery. To use this program, create a configuration file with your mail account(s) and tell your MUA to call msmtp instead of /usr/sbin/sendmail.} version 1.4.16 categories mail revision 0 mutt 951 variants {universal darwin linux pop imap ssl debug buffy compress imap_headercache nntp} variant_desc {pop {POP support} imap {IMAP support} ssl {Secure Sockets Layer support} debug {Debugging support} compress {Compressed folders} nntp {NNTP support}} portdir mail/mutt description {Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc)} homepage http://www.mutt.org/ epoch 0 platforms {darwin linux} name mutt depends_lib port:gettext maintainers {simon openmaintainer} long_description {Mutt -- {The Mongrel of Mail User Agents} (part Elm, part Pine, part mh, part slrn, part everything else) is an interactive screen-oriented mailer program that supersedes Elm, Pine, mail and mailx. Features include color support, message threading, MIME support (including RFC1522 support for encoded headers), customizable key bindings, POP3, Delivery Status Notification (DSN) support, PGP/MIME, and S/MIME.} version 1.4.2.3 categories mail revision 1 mutt-devel 1713 @@ -4107,7 +4107,7 @@ gexpr 455 variants universal description {A shell calculator} portdir math/gexpr homepage http://gexpr.sourceforge.net/ epoch 0 platforms darwin name gexpr long_description {Gexpr is a shell calculator with floating point, standard C functions, relational operators, and output in base 2/8/10/16. It is a light alternative to bc(1). It can also be used to add floating point math to shell scripts.} maintainers nomaintainer categories math version 2.0.2 revision 0 glpk 551 -variants {universal examples doc} portdir math/glpk description {GNU Linear Programming Kit} homepage http://www.gnu.org/software/glpk/ epoch 0 platforms darwin name glpk depends_lib port:gmp maintainers lutz.horn at fastmail.fm long_description {The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.} version 4.28 categories {math lang} revision 0 +variants {universal examples doc} portdir math/glpk description {GNU Linear Programming Kit} homepage http://www.gnu.org/software/glpk/ epoch 0 platforms darwin name glpk depends_lib port:gmp maintainers lutz.horn at fastmail.fm long_description {The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.} version 4.29 categories {math lang} revision 0 gmp-ecm 387 variants universal portdir math/gmp-ecm description {Factor integers using the Elliptic Curve Method} homepage http://gforge.inria.fr/projects/ecm/ epoch 0 platforms darwin name gmp-ecm depends_lib port:gmp maintainers vincent-opdarw at vinc17.org long_description {Free implementation of the Elliptic Curve Method (ECM) for integer factorization.} version 6.1.3 categories math revision 0 gmtl 322 @@ -4155,7 +4155,7 @@ lp_solve 520 variants universal description {Linear Programming Solver} portdir math/lp_solve homepage http://lpsolve.sourceforge.net/5.5/ epoch 0 platforms darwin name lp_solve long_description {Mixed Integer Linear Programming (MILP) solver. lp_solve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. lp_solve is written in ANSI C and can be compiled on many different platforms like Mac OS X, Linux and Windows.} maintainers nomaintainer categories math version 5.5.0.9 revision 0 mathomatic 483 -variants universal portdir math/mathomatic description {small, portable symbolic math program} homepage http://mathomatic.orgserve.de/math/ epoch 0 platforms darwin name mathomatic depends_lib port:readline maintainers mww long_description {Mathomatic is a small, portable symbolic math program that can automatically solve, simplify, differentiate, combine, and compare algebraic equations, perform polynomial and complex arithmetic, etc.} version 14.1.0 categories math revision 0 +variants universal portdir math/mathomatic description {small, portable symbolic math program} homepage http://mathomatic.orgserve.de/math/ epoch 0 platforms darwin name mathomatic depends_lib port:readline maintainers mww long_description {Mathomatic is a small, portable symbolic math program that can automatically solve, simplify, differentiate, combine, and compare algebraic equations, perform polynomial and complex arithmetic, etc.} version 14.1.1 categories math revision 0 maxima 857 variants {universal clisp test printable_doc} variant_desc {clisp {Use CLISP instead of SBCL for Lisp} test {Run tests} printable_doc {Build printable documentation}} portdir math/maxima description {The Maxima computer algebra system} homepage http://maxima.sourceforge.net/ depends_run {port:tk port:recode port:gnuplot} epoch 0 platforms darwin name maxima depends_lib port:sbcl maintainers nomaintainer long_description {The Maxima computer algebra system is a descendant of DOE Macsyma, a version of MIT's Macsyma whose development was supported by the U.S. Department of Energy. Through the effort of the late William Shelter of the University of Texas, it was released under the GNU General Public License. It is one of the more comprehensive and powerful computer algebra systems available as open source.} categories math version 5.15.0 revision 0 metis 621 @@ -4352,8 +4352,8 @@ variants universal portdir multimedia/dvdrip description {perl front end for transcode} homepage http://www2.exit1.org/dvdrip/ epoch 0 platforms darwin name dvdrip depends_lib {port:p5-libintl-perl port:transcode port:p5-gtk2} maintainers marioscheel at web.de long_description {dvd::rip is a full featured DVD copy program written in Perl. It provides an easy to use but feature-rich Gtk+ GUI to control almost all aspects of the ripping and transcoding process. It uses the widely known video processing swissknife transcode and many other Open Source tools.} version 0.98.8 categories multimedia revision 0 emotion 755 variants universal portdir multimedia/emotion description {A Evas smart-object library for video capabilities.} homepage http://evidence.sf.net epoch 0 platforms darwin name emotion depends_lib {lib:libX11.6:XFree86 lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libtiff.3:tiff lib:libImlib2:imlib2 lib:libesd:esound lib:libintl:gettext lib:libxine:xine-lib lib:libevas:evas lib:libecore:ecore} long_description {Emotion is an Evas smart-object library providing video capabilities. Emotion leverages libxine 1.0 and integrates seemlessly with the rest of the EFL. Because its based on libxine, any format that it supports (Theora, DiVX, MPEG2, etc) is avalible using Emotion.} maintainers nomaintainer version 0.0.1 categories {multimedia devel} revision 0 -ffmpeg 1845 -variants {universal darwin_i386 gpl postproc lame extvorbis theora faac faad xvid x264 a52 avfilter} depends_build {bin:svn:subversion port:gmake} variant_desc {gpl {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} postproc {enable GPLed postprocessing support} lame {enable MP3 encoding via libmp3lame} extvorbis {enable Vorbis encoding via libvorbis, native implementation exists} theora {enable Theora encoding via libtheora} faac {enable FAAC support via libfaac} faad {enable FAAD support via libfaad} xvid {enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists} x264 {enable H.264 encoding via x264} a52 {enable GPLed liba52 support} avfilter {video filter support (replaces vhook)}} portdir multimedia/ffmpeg description {Digital VCR and streaming server} homepage http://ffmpeg.sourceforge.net/ epoch 0 platforms darwin depends_lib port:a52dec name ffmpeg maintainers {acho at macports.org openmaintainer} long_description {FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. The project is made of several components: ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card. ffserver is an HTTP (RTSP is being developped) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported. ffplay is a simple media player based on SDL and on the ffmpeg libraries. libavcodec is a library containing all the ffmpeg audio/video encoders and decoders. Most codecs were developped from scratch to ensure best performances and high code reusability. libavformat is a library containing parsers and generators for all common audio/video formats.} categories multimedia version 0.4.9-pre1 revision 9 +ffmpeg 1937 +variants {universal darwin_i386 mmx gpl postproc lame extvorbis theora faac faad xvid x264 a52 avfilter} depends_build {bin:svn:subversion port:gmake} variant_desc {mmx {enable mmx support, experimental; does not build in gcc-4.2 or xcode 3.0 gcc-4.0} gpl {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} postproc {enable GPLed postprocessing support} lame {enable MP3 encoding via libmp3lame} extvorbis {enable Vorbis encoding via libvorbis, native implementation exists} theora {enable Theora encoding via libtheora} faac {enable FAAC support via libfaac} faad {enable FAAD support via libfaad} xvid {enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists} x264 {enable H.264 encoding via x264} a52 {enable GPLed liba52 support} avfilter {video filter support (replaces vhook)}} portdir multimedia/ffmpeg description {Digital VCR and streaming server} homepage http://ffmpeg.sourceforge.net/ epoch 0 platforms darwin depends_lib port:a52dec name f fmpeg maintainers {acho at macports.org openmaintainer} long_description {FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. The project is made of several components: ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card. ffserver is an HTTP (RTSP is being developped) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported. ffplay is a simple media player based on SDL and on the ffmpeg libraries. libavcodec is a library containing all the ffmpeg audio/video encoders and decoders. Most codecs were developped from scratch to ensure best performances and high code reusability. libavformat is a library containing parsers and generators for all common audio/video formats.} categories multimedia version 0.4.9-pre1 revision 10 gnupod 666 variants {universal all_decoders} variant_desc {all_decoders {Install helpers to transcode the multimedia files}} portdir multimedia/gnupod description {gnuPod is a collection of tools which allow you to use your iPod with UNIX-like operating systems.} homepage http://blinkenlights.ch/gnupod epoch 0 platforms darwin name gnupod depends_lib {port:perl5.8 port:p5-mp3-info port:p5-digest-md5 port:p5-xml-parser port:p5-unicode-string port:p5-libwww-perl port:p5-digest-sha1} maintainers pmq long_description {{gnuPod is a collection of tools which allow you to use your iPod with UNIX-like operating systems.}} version 0.99.6 categories {multimedia perl} revision 0 libartnet 377 @@ -4445,7 +4445,7 @@ argus-monitor 621 variants {universal apple_postfix} portdir net/argus-monitor description {The All Seeing System and Network Monitoring Software} homepage http://argus.tcp4me.com/ epoch 0 platforms darwin name argus-monitor depends_lib {port:perl5.8 port:postfix port:openssl port:freetype port:gd2 port:fping port:db44 port:p5-dbi port:p5-berkeleydb port:p5-socket6 port:p5-gd port:p5-time-hires port:p5-net-ssleay port:p5-digest-hmac port:p5-digest-md5 port:p5-digest-sha1 port:p5-crypt-des} maintainers markd at macports.org long_description {{The All Seeing System and Network Monitoring Software}} version 3.5 categories net revision 0 aria2 445 -variants universal portdir net/aria2 description {download utility with resuming and segmented downloading} homepage http://aria2.sourceforge.net/ epoch 0 platforms darwin name aria2 depends_lib {port:gettext port:libiconv port:gnutls port:libxml2} maintainers mww long_description {aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent.} version 0.13.2 categories net revision 0 +variants universal portdir net/aria2 description {download utility with resuming and segmented downloading} homepage http://aria2.sourceforge.net/ epoch 0 platforms darwin name aria2 depends_lib {port:gettext port:libiconv port:gnutls port:libxml2} maintainers mww long_description {aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent.} version 0.15.1 categories net revision 0 arla 544 variants {universal krbafs} portdir net/arla description {free AFS implementation from KTH} homepage http://www.stacken.kth.se/projekt/arla/ epoch 0 platforms darwin name arla depends_lib lib:krbafs:krbafs maintainers nomaintainer long_description {Arla is a free AFS client implementation. The main goal of the Arla project is to make a fully functional client with all capabilities of commercial AFS. Other planned and implemented things are all the normal management tools and a server.} version 0.35.11 categories {net security} revision 1 arpd 339 @@ -6624,6 +6624,8 @@ variants {universal darwin_9} portdir python/py-game description {Python modules for writing games} homepage http://www.pygame.org/ epoch 0 platforms darwin depends_lib {port:python24 port:libsdl port:libsdl_mixer port:libsdl_image port:libsdl_ttf port:smpeg port:py-numeric port:py-pyobjc2 port:py-pyobjc2-cocoa} name py-game maintainers nomaintainer long_description {Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.} categories {python devel multimedia graphics} version 1.8.0 revision 0 py-gd 503 variants universal portdir python/py-gd description {py-gd is a python wrapper for the GD library} homepage http://newcenturycomputers.net/projects/gdmodule.html epoch 0 platforms darwin depends_lib {port:python24 lib:libgd.2:gd2} name py-gd maintainers nomaintainer long_description {py-gd is a python wrapper for the graphics library GD so you can use python to create/manipulate images (png, jpeg) by drawing lines, text, doing flood-fills, etc.} categories {python graphics} version 0.53 revision 1 +py-gdata 565 +variants universal portdir python/py-gdata description {Google Data API Python Client Library} homepage http://code.google.com/p/gdata-python-client/ epoch 0 platforms darwin depends_lib {port:py-setuptools port:py-elementtree} name py-gdata maintainers gmail.com:aecollins1 long_description {The Google Data Python Client Library provides a library that makes it easy to access data through the Google Data APIs. Many Google services (such as Google Calendar and Documents) support the Google Data API protocol.} categories {python devel} version 1.1.1 revision 0 py-gdbm 366 variants universal portdir python/py-gdbm description {Python bindings to the GNU dbm library} homepage http://www.python.org/doc/current/lib/module-gdbm.html epoch 0 platforms darwin depends_lib {port:python24 port:gdbm} name py-gdbm maintainers mww long_description {{Python bindings to the GNU dbm library}} categories {python databases} version 2.4.5 revision 0 py-geoip 380 @@ -7252,6 +7254,8 @@ variants universal portdir python/py25-formencode description {FormEncode is a validation and form generation package} homepage http://formencode.org epoch 0 platforms darwin depends_lib {port:py25-hashlib port:py25-setuptools} name py25-formencode maintainers {stechert akira openmaintainer} long_description {{FormEncode is a validation and form generation package}} categories {python devel} version 1.0.1 revision 0 py25-game 750 variants {universal darwin_9} portdir python/py25-game description {Python modules for writing games} homepage http://www.pygame.org/ epoch 0 platforms darwin depends_lib {port:python25 port:libsdl port:libsdl_mixer port:libsdl_image port:libsdl_ttf port:smpeg port:py25-numeric port:py25-pyobjc2 port:py25-pyobjc2-cocoa} name py25-game maintainers {jmr openmaintainer} long_description {Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.} categories {python devel multimedia graphics} version 1.8.0 revision 0 +py25-gdata 594 +variants universal portdir python/py25-gdata description {Google Data API Python Client Library} homepage http://code.google.com/p/gdata-python-client/ epoch 0 platforms darwin depends_lib {port:py25-setuptools port:py25-elementtree port:py25-socket-ssl} name py25-gdata maintainers gmail.com:aecollins1 long_description {The Google Data Python Client Library provides a library that makes it easy to access data through the Google Data APIs. Many Google services (such as Google Calendar and Documents) support the Google Data API protocol.} categories {python devel} version 1.1.1 revision 0 py25-gdbm 370 variants universal portdir python/py25-gdbm description {Python bindings to the GNU dbm library} homepage http://www.python.org/doc/current/lib/module-gdbm.html epoch 0 platforms darwin depends_lib {port:python25 port:gdbm} name py25-gdbm maintainers mww long_description {{Python bindings to the GNU dbm library}} categories {python databases} version 2.5.2 revision 0 py25-genshi 442 @@ -7962,8 +7966,8 @@ variants universal portdir science/metaio description {LIGO Light-Weight XML Library} homepage http://www.lsc-group.phys.uwm.edu/daswg/projects/metaio.html epoch 0 platforms darwin name metaio depends_lib port:zlib maintainers ram long_description {This code implements a simple recursive-descent parsing scheme for LIGO_LW files, based on the example in Chapter 2 of {Compilers: Principles, Techniques and Tools} by Aho, Sethi and Ullman.} version 7.2 categories science revision 1 minc 853 variants {universal darwin_8} description {This package contains tools to manipulate MINC files.} portdir science/minc homepage http://www.bic.mni.mcgill.ca/software/ epoch 0 depends_lib port:netcdf name minc long_description {The Minc file format is a highly flexible medical image file format built on top of the NetCDF generalized data format. The format is simple, self-describing, extensible, portable and N-dimensional, with programming interfaces for both low-level data access and high-level volume manipulation. On top of the libraries is a suite of generic image-file manipulation tools. The format, libraries and tools are designed for use in a medical-imaging research environment: they are simple and powerful and make no attempt to provide a pretty interface to users.} maintainers mhough at mac.com categories science version 1.4 revision 0 -molden 838 -variants {universal opengl} depends_build port:gmake variant_desc {opengl {Install moldenogl OpenGL helper program}} portdir science/molden description {Molecular graphics visualisation tool} homepage http://www.cmbi.ru.nl/molden/molden.html epoch 0 platforms darwin depends_lib {port:gcc43 lib:libX11.6:XFree86} name molden maintainers {openmaintainer jochen} long_description {Molden is a package for displaying Molecular Density from the Ab Initio packages GAMESS-UK , GAMESS-US and GAUSSIAN and the Semi-Empirical packages Mopac/Ampac, it also supports a number of other programs via the Molden Format. In order to keep up support for Molden, proof that it is being used outside the CMBI is required. Please register your copy of molden at: http://www.cmbi.ru.nl/molden/form.html} categories {science graphics} version 4.6 revision 9 +molden 839 +variants {universal opengl} depends_build port:gmake variant_desc {opengl {Install moldenogl OpenGL helper program}} portdir science/molden description {Molecular graphics visualisation tool} homepage http://www.cmbi.ru.nl/molden/molden.html epoch 0 platforms darwin depends_lib {port:gcc43 lib:libX11.6:XFree86} name molden maintainers {openmaintainer jochen} long_description {Molden is a package for displaying Molecular Density from the Ab Initio packages GAMESS-UK , GAMESS-US and GAUSSIAN and the Semi-Empirical packages Mopac/Ampac, it also supports a number of other programs via the Molden Format. In order to keep up support for Molden, proof that it is being used outside the CMBI is required. Please register your copy of molden at: http://www.cmbi.ru.nl/molden/form.html} categories {science graphics} version 4.6 revision 10 mpich 661 variants universal description {Message Passing Interface (MPI) Library} portdir science/mpich homepage http://www-unix.mcs.anl.gov/mpi/mpich/ epoch 0 platforms darwin name mpich long_description {MPICH is a portable implementation of the MPI (Message Passing Interface) standard. The goal of MPI, simply stated, is to develop a widely used standard for writing message-passing programs. As such the interface should establish a practical, portable, efficient, and flexible standard for message passing. Included are a full set of documents and parallel programming examples.} maintainers nomaintainer categories {net science parallel} version 1.2.7 revision 0 mpich2 679 @@ -9015,7 +9019,7 @@ texi2html 361 variants universal description {A Perl script which converts Texinfo source files to HTML output.} portdir textproc/texi2html homepage http://www.nongnu.org/texi2html epoch 0 platforms darwin name texi2html long_description {A Perl script which converts Texinfo source files to HTML output.} maintainers nomaintainer categories textproc version 1.76 revision 3 texinfo 697 -variants universal portdir textproc/texinfo description {Texinfo is the official documentation format of the GNU project} homepage http://www.gnu.org/software/texinfo/ epoch 0 platforms darwin name texinfo depends_lib {port:gettext port:libiconv port:ncurses} maintainers vincent-opdarw at vinc17.org long_description {Texinfo is the official documentation format of the GNU project. It uses a single source file to produce output in a number of formats, both online and printed (dvi, info, html, xml, etc.). This means that instead of writing different documents for online information and another for a printed manual, you need write only one document.} version 4.11 categories textproc revision 0 +variants universal portdir textproc/texinfo description {Texinfo is the official documentation format of the GNU project} homepage http://www.gnu.org/software/texinfo/ epoch 0 platforms darwin name texinfo depends_lib {port:gettext port:libiconv port:ncurses} maintainers vincent-opdarw at vinc17.org long_description {Texinfo is the official documentation format of the GNU project. It uses a single source file to produce output in a number of formats, both online and printed (dvi, info, html, xml, etc.). This means that instead of writing different documents for online information and another for a printed manual, you need write only one document.} version 4.12 categories textproc revision 0 texml 499 variants universal portdir textproc/texml description {XML syntax for TeX} homepage http://getfo.org/texml/ epoch 0 platforms darwin depends_lib port:python24 name texml maintainers xmlhack.ru:olpa long_description {TeXML is an XML vocabulary for TeX. The processor transforms the TeXML markup into the TeX markup, escaping special and out-of-encoding characters. The intended audience is developers who automatically generate (La)TeX or ConTeXt files.} categories textproc version 2.0.1 revision 0 tkman 459 @@ -9268,8 +9272,8 @@ variants {universal socks5 darwin} variant_desc {socks5 {Support for SOCKS5 (experimental)}} portdir www/privoxy description {Advanced filtering web proxy} homepage http://www.privoxy.org/ epoch 0 platforms darwin name privoxy depends_lib {port:pcre port:zlib} maintainers nomaintainer long_description {Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, modifying web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user networks.} version 3.0.8 categories {www security net} revision 1 pserv 280 variants universal description {Pico Server is a small web server.} portdir www/pserv homepage http://pserv.sourceforge.net/ epoch 0 platforms darwin name pserv long_description {{Pico Server is a small web server.}} maintainers nomaintainer categories www version 3.0 revision 0 -raptor 535 -variants universal portdir www/raptor description {Raptor RDF Parser Toolkit} homepage http://librdf.org/raptor/ epoch 0 platforms darwin name raptor depends_lib {port:curl port:libiconv port:libxml2 port:libxslt port:openssl port:zlib} long_description {Raptor is an open source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serializing the triples into a syntax.} maintainers lyle.johnson at gmail.com version 1.4.17 categories www revision 0 +raptor 534 +variants universal portdir www/raptor description {Raptor RDF Parser Toolkit} homepage http://librdf.org/raptor/ epoch 0 platforms darwin name raptor depends_lib {port:curl port:libiconv port:libxml2 port:libxslt port:openssl port:zlib} long_description {Raptor is an open source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serializing the triples into a syntax.} maintainers lylejohnson.name:lyle version 1.4.18 categories www revision 0 rasqal 560 variants universal portdir www/rasqal description {Raptor RDF Query Library} homepage http://librdf.org/rasqal/ epoch 0 platforms darwin name rasqal depends_lib {port:curl port:libiconv port:libxml2 port:libxslt port:openssl port:raptor port:zlib} long_description {Rasqal is an open source C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings. The supported query languages are SPARQL and RDQL.} maintainers lyle at lylejohnson.name version 0.9.16 categories www revision 0 redland 563 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/8bd72ea7/attachment-0001.html From macsforever2000 at macports.org Mon Aug 4 13:47:42 2008 From: macsforever2000 at macports.org (macsforever2000 at macports.org) Date: Mon, 4 Aug 2008 13:47:42 -0700 (PDT) Subject: [38981] trunk/dports/python/py25-pmw/Portfile Message-ID: <20080804204743.008B51C1B42@beta.macosforge.org> Revision: 38981 http://trac.macosforge.org/projects/macports/changeset/38981 Author: macsforever2000 at macports.org Date: 2008-08-04 13:47:42 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Whitespace fixes. Modified Paths: -------------- trunk/dports/python/py25-pmw/Portfile Modified: trunk/dports/python/py25-pmw/Portfile =================================================================== --- trunk/dports/python/py25-pmw/Portfile 2008-08-04 19:52:13 UTC (rev 38980) +++ trunk/dports/python/py25-pmw/Portfile 2008-08-04 20:47:42 UTC (rev 38981) @@ -1,22 +1,25 @@ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 -PortGroup python25 1.0 +PortSystem 1.0 +PortGroup python25 1.0 name py25-pmw version 1.3.2 maintainers boulder.nist.gov:schimaf openmaintainer platforms darwin freebsd + description high-level compound widget toolkit long_description Pmw is a toolkit for building high-level compound widgets in Python using \ - the Tkinter module. + the Tkinter module. homepage http://pmw.sourceforge.net/ master_sites sourceforge:pmw distname Pmw.${version} -checksums md5 7f30886fe9885ab3cf85dac6ce1fbda5 \ - sha1 e2d8dd6eed7378acf8723c860107a12d7e808227 + +checksums md5 7f30886fe9885ab3cf85dac6ce1fbda5 \ + sha1 e2d8dd6eed7378acf8723c860107a12d7e808227 + worksrcdir ${distname}/src -depends_lib-append port:py25-tkinter +depends_lib-append port:py25-tkinter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/bf72c18b/attachment.html From macsforever2000 at macports.org Mon Aug 4 13:50:18 2008 From: macsforever2000 at macports.org (macsforever2000 at macports.org) Date: Mon, 4 Aug 2008 13:50:18 -0700 (PDT) Subject: [38982] trunk/dports/python/py25-pmw/Portfile Message-ID: <20080804205018.774971C1BF6@beta.macosforge.org> Revision: 38982 http://trac.macosforge.org/projects/macports/changeset/38982 Author: macsforever2000 at macports.org Date: 2008-08-04 13:50:18 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Updated maintainer to use my macports name. Added rmd160 checksum. Modified Paths: -------------- trunk/dports/python/py25-pmw/Portfile Modified: trunk/dports/python/py25-pmw/Portfile =================================================================== --- trunk/dports/python/py25-pmw/Portfile 2008-08-04 20:47:42 UTC (rev 38981) +++ trunk/dports/python/py25-pmw/Portfile 2008-08-04 20:50:18 UTC (rev 38982) @@ -6,7 +6,7 @@ name py25-pmw version 1.3.2 -maintainers boulder.nist.gov:schimaf openmaintainer +maintainers macsforever2000 platforms darwin freebsd description high-level compound widget toolkit @@ -18,7 +18,8 @@ distname Pmw.${version} checksums md5 7f30886fe9885ab3cf85dac6ce1fbda5 \ - sha1 e2d8dd6eed7378acf8723c860107a12d7e808227 + sha1 e2d8dd6eed7378acf8723c860107a12d7e808227 \ + rmd160 ad3fca73405a8c8a7e2ec81096b00665e2937964 worksrcdir ${distname}/src -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/d870af5f/attachment.html From markd at macports.org Mon Aug 4 15:06:04 2008 From: markd at macports.org (markd at macports.org) Date: Mon, 4 Aug 2008 15:06:04 -0700 (PDT) Subject: [38983] trunk/dports/mail/postfix/Portfile Message-ID: <20080804220604.A22F11C1EF5@beta.macosforge.org> Revision: 38983 http://trac.macosforge.org/projects/macports/changeset/38983 Author: markd at macports.org Date: 2008-08-04 15:06:03 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Update to 2.5.3. Modified Paths: -------------- trunk/dports/mail/postfix/Portfile Modified: trunk/dports/mail/postfix/Portfile =================================================================== --- trunk/dports/mail/postfix/Portfile 2008-08-04 20:50:18 UTC (rev 38982) +++ trunk/dports/mail/postfix/Portfile 2008-08-04 22:06:03 UTC (rev 38983) @@ -3,7 +3,7 @@ PortSystem 1.0 name postfix -version 2.5.2 +version 2.5.3 categories mail maintainers nomaintainer description Fast and robust mail transfer agent @@ -14,8 +14,8 @@ Postfix act as delivery daemon for ezmlm-idx. homepage http://www.postfix.org/ platforms darwin -checksums md5 b0965aea4d548d9bd231af7143aa6942 \ - sha1 6589c590b2e2a955bce5615bde1a86c37c572ce0 +checksums md5 4c0f8fece828c9bac14f351fc34d15b3 \ + sha1 95d511c003ef89cc334c90b73396c4d366c74923 master_sites http://www.swissrave.ch/mirror/postfix-source/official/ \ ftp://ftp.its.cz/MIRRORS/ftp.porcupine.org/mirrors/postfix-release/official/ \ ftp://ftp.club-internet.fr/pub/mirrors/ftp.porcupine.org/postfix-release/official/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/6830ccd2/attachment.html From noreply at macports.org Mon Aug 4 16:53:41 2008 From: noreply at macports.org (MacPorts) Date: Mon, 04 Aug 2008 23:53:41 -0000 Subject: [MacPorts] Notification: raimue modified In-Reply-To: <055.09fb9c10bc56b75e9d430ee28f35820c@macports.org> References: <055.09fb9c10bc56b75e9d430ee28f35820c@macports.org> Message-ID: <064.bdc54dd466703986b3167d3b0735d2e0@macports.org> Changed page "raimue" by raimue at macports.org from 91.11.241.26* Page URL: Diff URL: Revision 7 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: raimue ========================================================================= --- raimue (version: 6) +++ raimue (version: 7) @@ -7,13 +7,13 @@ If you have problems with the umlaut in my name, just write ''Mueller''; I don't care much about that. Actually, having a name with non-ASCII characters sucks on the net. You won't believe how many big websites get this wrong, especially when sending mails. -== Tickets for base == +== Tickets for base, guide, website, ... == === [query:reporter=raimue at macports.org|raimue at codingfarm.de Reported Tickets] === -[[TicketQuery(reporter=raimue at macports.org|raimue at codingfarm.de&component=base&status=new|assigned|reopened)]] +[[TicketQuery(reporter=raimue at macports.org|raimue at codingfarm.de&component!=ports&status=new|assigned|reopened)]] === [query:owner=raimue at macports Assigned Tickets] === -[[TicketQuery(owner=raimue at macports.org&component=base&status=new|assigned|reopened)]] +[[TicketQuery(owner=raimue at macports.org&component!=ports&status=new|assigned|reopened)]] === [query:cc=raimue at macports On CC] === -[[TicketQuery(cc~=raimue at macports.org&component=base&status=new|assigned|reopened)]] +[[TicketQuery(cc~=raimue at macports.org&component!=ports&status=new|assigned|reopened)]] == Tickets for ports == === [query:reporter=raimue at macports.org|raimue at codingfarm.de Reported Tickets] === -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From ryandesign at macports.org Mon Aug 4 17:41:16 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 4 Aug 2008 17:41:16 -0700 (PDT) Subject: [38984] trunk/dports/devel/bsdiff/Portfile Message-ID: <20080805004116.92DF81C2398@beta.macosforge.org> Revision: 38984 http://trac.macosforge.org/projects/macports/changeset/38984 Author: ryandesign at macports.org Date: 2008-08-04 17:41:16 -0700 (Mon, 04 Aug 2008) Log Message: ----------- bsdiff: fix compilation on Leopard; closes #15336 Modified Paths: -------------- trunk/dports/devel/bsdiff/Portfile Modified: trunk/dports/devel/bsdiff/Portfile =================================================================== --- trunk/dports/devel/bsdiff/Portfile 2008-08-04 22:06:03 UTC (rev 38983) +++ trunk/dports/devel/bsdiff/Portfile 2008-08-05 00:41:16 UTC (rev 38984) @@ -18,7 +18,9 @@ master_sites ${homepage} checksums md5 e6d812394f0e0ecc8d5df255aa1db22a -patch { +patchfiles patch-bspatch.c.diff + +post-patch { reinplace s|/man/man1|/share/man/man1| ${worksrcpath}/Makefile } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/3cd329e6/attachment.html From ryandesign at macports.org Mon Aug 4 17:41:46 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 4 Aug 2008 17:41:46 -0700 (PDT) Subject: [38985] trunk/dports/devel/bsdiff Message-ID: <20080805004146.740BC1C2412@beta.macosforge.org> Revision: 38985 http://trac.macosforge.org/projects/macports/changeset/38985 Author: ryandesign at macports.org Date: 2008-08-04 17:41:46 -0700 (Mon, 04 Aug 2008) Log Message: ----------- bsdiff: add patchfile that goes with r38984; see #15366 Added Paths: ----------- trunk/dports/devel/bsdiff/files/ trunk/dports/devel/bsdiff/files/patch-bspatch.c.diff Added: trunk/dports/devel/bsdiff/files/patch-bspatch.c.diff =================================================================== --- trunk/dports/devel/bsdiff/files/patch-bspatch.c.diff (rev 0) +++ trunk/dports/devel/bsdiff/files/patch-bspatch.c.diff 2008-08-05 00:41:46 UTC (rev 38985) @@ -0,0 +1,10 @@ +--- bspatch.c 2005-08-16 17:14:00.000000000 -0500 ++++ bspatch.c 2008-08-04 19:38:14.000000000 -0500 +@@ -28,6 +28,7 @@ + __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59:06 cperciva Exp $"); + #endif + ++#include + #include + #include + #include -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/5eb2a0cb/attachment.html From ryandesign at macports.org Mon Aug 4 17:43:39 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Mon, 4 Aug 2008 17:43:39 -0700 Subject: propchange - r38984 svn:log Message-ID: <20080805004339.40ADF280D1@relay13.apple.com> Author: ryandesign at macports.org (original author: ryandesign at macports.org) Revision: 38984 Property Name: svn:log @@ -1 +1 @@ -bsdiff: fix compilation on Leopard; closes #15336 +bsdiff: fix compilation on Leopard; closes #15336. The referenced patchfile was added in r38985. From vinc17 at macports.org Mon Aug 4 18:04:45 2008 From: vinc17 at macports.org (vinc17 at macports.org) Date: Mon, 4 Aug 2008 18:04:45 -0700 (PDT) Subject: [38986] trunk/dports/textproc/texinfo/Portfile Message-ID: <20080805010446.3CEEE1C2565@beta.macosforge.org> Revision: 38986 http://trac.macosforge.org/projects/macports/changeset/38986 Author: vinc17 at macports.org Date: 2008-08-04 18:04:45 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Output a useful informational message to avoid bug reports like #16220. Modified Paths: -------------- trunk/dports/textproc/texinfo/Portfile Modified: trunk/dports/textproc/texinfo/Portfile =================================================================== --- trunk/dports/textproc/texinfo/Portfile 2008-08-05 00:41:46 UTC (rev 38985) +++ trunk/dports/textproc/texinfo/Portfile 2008-08-05 01:04:45 UTC (rev 38986) @@ -22,6 +22,14 @@ extract.suffix .tar.lzma extract.cmd unlzma +# The following message is useful because MacPorts doesn't test whether +# the extract target fails, and unless the -v option has been used, the +# error message "sh: line 1: unlzma: command not found" is filtered out +# and the user doesn't know the cause of the problem. +pre-extract { + ui_msg "If you get an error with configure, please install lzmautils." +} + checksums md5 81bcbc7b647f2741e7d84a842e47eeb5 \ sha1 7fee7f9c9c98e0d69b4b00090708b02ed75e42f5 \ rmd160 b72d1994480acd217d0a7cff648d0bbc78ad9010 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/e31e1926/attachment-0001.html From vinc17 at macports.org Mon Aug 4 18:44:21 2008 From: vinc17 at macports.org (vinc17 at macports.org) Date: Mon, 4 Aug 2008 18:44:21 -0700 (PDT) Subject: [38987] trunk/dports/textproc/texinfo/Portfile Message-ID: <20080805014422.2ABEE1C26CC@beta.macosforge.org> Revision: 38987 http://trac.macosforge.org/projects/macports/changeset/38987 Author: vinc17 at macports.org Date: 2008-08-04 18:44:21 -0700 (Mon, 04 Aug 2008) Log Message: ----------- Added "depends_build bin:unlzma:lzmautils" (see bug #16220). Modified Paths: -------------- trunk/dports/textproc/texinfo/Portfile Modified: trunk/dports/textproc/texinfo/Portfile =================================================================== --- trunk/dports/textproc/texinfo/Portfile 2008-08-05 01:04:45 UTC (rev 38986) +++ trunk/dports/textproc/texinfo/Portfile 2008-08-05 01:44:21 UTC (rev 38987) @@ -27,9 +27,11 @@ # error message "sh: line 1: unlzma: command not found" is filtered out # and the user doesn't know the cause of the problem. pre-extract { - ui_msg "If you get an error with configure, please install lzmautils." + ui_msg "If you get an error with configure, please install/activate lzmautils." } +depends_build bin:unlzma:lzmautils + checksums md5 81bcbc7b647f2741e7d84a842e47eeb5 \ sha1 7fee7f9c9c98e0d69b4b00090708b02ed75e42f5 \ rmd160 b72d1994480acd217d0a7cff648d0bbc78ad9010 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/e657e306/attachment.html From vinc17 at macports.org Tue Aug 5 00:28:58 2008 From: vinc17 at macports.org (vinc17 at macports.org) Date: Tue, 5 Aug 2008 00:28:58 -0700 (PDT) Subject: [38988] trunk/dports/www/firefox-x11 Message-ID: <20080805072858.9A4B41C3193@beta.macosforge.org> Revision: 38988 http://trac.macosforge.org/projects/macports/changeset/38988 Author: vinc17 at macports.org Date: 2008-08-05 00:28:57 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Bump to 2.0.0.16 (fixes #16225); patch-configure.diff removed as already applied. Use empty .mozconfig file (fixes #16224). Modified Paths: -------------- trunk/dports/www/firefox-x11/Portfile Removed Paths: ------------- trunk/dports/www/firefox-x11/files/patch-configure.diff Modified: trunk/dports/www/firefox-x11/Portfile =================================================================== --- trunk/dports/www/firefox-x11/Portfile 2008-08-05 01:44:21 UTC (rev 38987) +++ trunk/dports/www/firefox-x11/Portfile 2008-08-05 07:28:57 UTC (rev 38988) @@ -4,8 +4,7 @@ name firefox-x11 categories www x11 -version 2.0.0.13 -revision 1 +version 2.0.0.16 platforms darwin maintainers nomaintainer description Mozilla.org's popular stand-alone web browser @@ -19,9 +18,9 @@ distname firefox-${version}-source use_bzip2 yes -checksums md5 2c778aa46525e0f63efbedad0654ed47 \ - sha1 45e804fe96119af6ce1ca39da07b107eaf3a1d54 \ - rmd160 3452d5bffd14e8e230c400191c78c431305bd2b2 +checksums md5 90e0b7996a14fdbe6d4e6e4d87980647 \ + sha1 ae1d451ce85a5515b37d73d2c4b7cb1377206d86 \ + rmd160 485c5d7c3c3fc9c462ee348802742905d3becfdf worksrcdir mozilla @@ -34,8 +33,7 @@ patch-browser-app-mozilla.in \ patch-xptcall_x86.diff \ patch-pthread.diff \ - patch-executable_path.diff \ - patch-configure.diff + patch-executable_path.diff depends_build port:pkgconfig @@ -49,6 +47,8 @@ port:nspr +configure.env MOZCONFIG="${workpath}/.mozconfig" + configure.args --enable-application=browser \ --disable-official-branding \ --with-distribution-id=org.macports \ @@ -80,15 +80,19 @@ configure.args-delete --disable-debug \ --enable-optimize='-O2' \ --enable-strip - + configure.args-append --enable-debug \ --disable-optimize \ --disable-strip } +pre-configure { + system "touch ${workpath}/.mozconfig" +} + post-destroot { file mkdir ${destroot}${prefix}/share/applications - + copy \ ${filespath}/share-applications-firefox.desktop \ ${destroot}${prefix}/share/applications/firefox.desktop Deleted: trunk/dports/www/firefox-x11/files/patch-configure.diff =================================================================== --- trunk/dports/www/firefox-x11/files/patch-configure.diff 2008-08-05 01:44:21 UTC (rev 38987) +++ trunk/dports/www/firefox-x11/files/patch-configure.diff 2008-08-05 07:28:57 UTC (rev 38988) @@ -1,12 +0,0 @@ ---- configure.orig 2007-12-18 22:42:55.000000000 +0100 -+++ configure 2008-04-19 16:12:36.000000000 +0200 -@@ -3914,8 +3914,7 @@ - case "$PBBUILD" in - *xcodebuild*) - -- XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'` -- -+ XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | xargs | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'` - if test -n "$XCODEBUILD_VERSION" && test "$XCODEBUILD_VERSION" -ge 620 ; then - HAS_XCODE_2_1=1; - fi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/0d45ffd4/attachment.html From noreply at macports.org Tue Aug 5 00:33:51 2008 From: noreply at macports.org (MacPorts) Date: Tue, 05 Aug 2008 07:33:51 -0000 Subject: [MacPorts] Notification: LeopardProblems modified In-Reply-To: <068.ff979090f2bca86ea1faf7d74f12690c@macports.org> References: <068.ff979090f2bca86ea1faf7d74f12690c@macports.org> Message-ID: <077.e7def9ca40182f66f0a317036932fe73@macports.org> Changed page "LeopardProblems" by ryandesign at macports.org from 75.54.90.155* Page URL: Diff URL: Revision 9 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: LeopardProblems ========================================================================= --- LeopardProblems (version: 8) +++ LeopardProblems (version: 9) @@ -7,7 +7,7 @@ Here is [http://lists.macosforge.org/pipermail/macports-users/2008-April/009991.html an analysis of the problem] by Bryan Blackburn. -With r36719 and r36722 this should be fixed on trunk, but the fix hasn't yet made it to the 1.6 release. +With r36719 and r36722 this should be partially fixed on trunk, but some problems remain, and the partial fix isn't part of MacPorts 1.6.0. == `ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib` == This is the result of a misfeature in Leopard's linker. See Apple's Technical Q&A on the subject [http://developer.apple.com/qa/qa2007/qa1567.html here]. It can generally be fixed by adding the following to the portfile inside a `platform darwin 9` block: -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user 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 MacPorts. If it was not you, please report to http://www.macports.org/. From portindex at macports.org Tue Aug 5 00:51:13 2008 From: portindex at macports.org (portindex at macports.org) Date: Tue, 5 Aug 2008 00:51:13 -0700 (PDT) Subject: [38989] trunk/dports/PortIndex Message-ID: <20080805075114.9E35E1C3301@beta.macosforge.org> Revision: 38989 http://trac.macosforge.org/projects/macports/changeset/38989 Author: portindex at macports.org Date: 2008-08-05 00:51:13 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Total number of ports parsed: 4948 Ports successfully parsed: 4948 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-05 07:28:57 UTC (rev 38988) +++ trunk/dports/PortIndex 2008-08-05 07:51:13 UTC (rev 38989) @@ -3997,7 +3997,7 @@ postal 469 variants universal description {Benchmark SMTP/POP servers} portdir mail/postal homepage http://www.coker.com.au/postal/ epoch 0 platforms darwin name postal long_description {Postal is a SMTP benchmark. Postal-list will list all the possible expansions for an account name (used for creating a list of accounts to create on your test server). Rabid is the mad Biff, it is a POP benchmark.} maintainers nomaintainer categories {mail benchmarks} version 0.62 revision 0 postfix 708 -variants {universal darwin_9 pcre tls sasl ldap mysql5} variant_desc {pcre {add pcre support} tls {add tls supporti via openssl} sasl {add sasl support via cyrus-sasl2} ldap {add ldap support via openldap} mysql5 {add mysql support via mysql5}} portdir mail/postfix description {Fast and robust mail transfer agent} homepage http://www.postfix.org/ epoch 0 platforms darwin name postfix maintainers nomaintainer long_description {Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail-compatible enough to not upset existing users. It also offers QMQP and VERP support to let Postfix act as delivery daemon for ezmlm-idx.} version 2.5.2 categories mail revision 0 +variants {universal darwin_9 pcre tls sasl ldap mysql5} variant_desc {pcre {add pcre support} tls {add tls supporti via openssl} sasl {add sasl support via cyrus-sasl2} ldap {add ldap support via openldap} mysql5 {add mysql support via mysql5}} portdir mail/postfix description {Fast and robust mail transfer agent} homepage http://www.postfix.org/ epoch 0 platforms darwin name postfix maintainers nomaintainer long_description {Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail-compatible enough to not upset existing users. It also offers QMQP and VERP support to let Postfix act as delivery daemon for ezmlm-idx.} version 2.5.3 categories mail revision 0 postgrey 717 variants universal portdir mail/postgrey description {Postfix policy server implementing greylisting} homepage http://postgrey.schweikert.ch/ epoch 0 platforms darwin name postgrey depends_lib {port:p5-io-multiplex port:p5-net-server port:p5-berkeleydb} maintainers cbellot at sky.fr long_description {When a request for delivery of a mail is received by Postfix via SMTP, the triplet CLIENT_IP / SENDER / RECIPIENT is built. If it is the first time that this triplet is seen, or if the triplet was first seen, less than 5 minutes ago, then the mail gets rejected with a temporary error. Hopefully spammers or viruses will not try again later, as it is however required per RFC.} version 1.31 categories mail revision 2 procmail 1199 @@ -7388,8 +7388,8 @@ variants universal portdir python/py25-pil description {Python Imaging Library} homepage http://www.pythonware.com/ epoch 0 platforms {darwin freebsd} depends_lib {port:python25 port:jpeg port:freetype port:zlib} name py25-pil maintainers stechert at macports.org long_description {The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.} categories {python graphics} version 1.1.6 revision 0 py25-ply 327 variants universal portdir python/py25-ply description {lex and yacc implementation for Python} homepage http://www.dabeaz.com/ply/ epoch 0 platforms darwin depends_lib port:python25 name py25-ply maintainers nox long_description {{lex and yacc implementation for Python}} categories {python lang devel} version 2.3 revision 0 -py25-pmw 434 -variants universal portdir python/py25-pmw description {high-level compound widget toolkit} homepage http://pmw.sourceforge.net/ epoch 0 platforms {darwin freebsd} depends_lib {port:python25 port:py25-tkinter} name py25-pmw maintainers {boulder.nist.gov:schimaf openmaintainer} long_description {Pmw is a toolkit for building high-level compound widgets in Python using the Tkinter module.} categories python version 1.3.2 revision 0 +py25-pmw 408 +variants universal portdir python/py25-pmw description {high-level compound widget toolkit} homepage http://pmw.sourceforge.net/ epoch 0 platforms {darwin freebsd} depends_lib {port:python25 port:py25-tkinter} name py25-pmw maintainers macsforever2000 long_description {Pmw is a toolkit for building high-level compound widgets in Python using the Tkinter module.} categories python version 1.3.2 revision 0 py25-processing 820 variants universal portdir python/py25-processing description {Using processes which mimics the threading module} homepage http://developer.berlios.de/projects/pyprocessing epoch 0 platforms darwin depends_lib port:python25 name py25-processing maintainers blair long_description {Processing is a package for the Python language which supports the spawning of processes using the API of the standard library's threading module. Objects can be transferred between processes using pipes or multi-producer/multi-consumer queues. Objects can be shared between processes using a server process or (for simple data) shared memory. Equivalents of all the synchronization primitives in threading are available. A Pool class makes it easy to submit tasks to a pool of worker processes.} categories python version 0.52 revision 0 py25-psyco 401 @@ -9018,8 +9018,8 @@ variants universal portdir textproc/tesseract description {Open source OCR engine} homepage http://code.google.com/p/tesseract-ocr/ epoch 0 platforms darwin name tesseract depends_lib port:tiff maintainers emer at emer.net long_description {The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV Accuracy test. Between 1995 and 2006 it had little work done on it, but it is probably one of the most accurate open source OCR engines available. The source code will read a binary, grey or color image and output text. A tiff reader is built in that will read uncompressed TIFF images, or libtiff can be added to read compressed images.} version 2.01 categories {textproc graphics pdf} revision 0 texi2html 361 variants universal description {A Perl script which converts Texinfo source files to HTML output.} portdir textproc/texi2html homepage http://www.nongnu.org/texi2html epoch 0 platforms darwin name texi2html long_description {A Perl script which converts Texinfo source files to HTML output.} maintainers nomaintainer categories textproc version 1.76 revision 3 -texinfo 697 -variants universal portdir textproc/texinfo description {Texinfo is the official documentation format of the GNU project} homepage http://www.gnu.org/software/texinfo/ epoch 0 platforms darwin name texinfo depends_lib {port:gettext port:libiconv port:ncurses} maintainers vincent-opdarw at vinc17.org long_description {Texinfo is the official documentation format of the GNU project. It uses a single source file to produce output in a number of formats, both online and printed (dvi, info, html, xml, etc.). This means that instead of writing different documents for online information and another for a printed manual, you need write only one document.} version 4.12 categories textproc revision 0 +texinfo 732 +variants universal depends_build bin:unlzma:lzmautils portdir textproc/texinfo description {Texinfo is the official documentation format of the GNU project} homepage http://www.gnu.org/software/texinfo/ epoch 0 platforms darwin depends_lib {port:gettext port:libiconv port:ncurses} name texinfo maintainers vincent-opdarw at vinc17.org long_description {Texinfo is the official documentation format of the GNU project. It uses a single source file to produce output in a number of formats, both online and printed (dvi, info, html, xml, etc.). This means that instead of writing different documents for online information and another for a printed manual, you need write only one document.} version 4.12 categories textproc revision 0 texml 499 variants universal portdir textproc/texml description {XML syntax for TeX} homepage http://getfo.org/texml/ epoch 0 platforms darwin depends_lib port:python24 name texml maintainers xmlhack.ru:olpa long_description {TeXML is an XML vocabulary for TeX. The processor transforms the TeXML markup into the TeX markup, escaping special and out-of-encoding characters. The intended audience is developers who automatically generate (La)TeX or ConTeXt files.} categories textproc version 2.0.1 revision 0 tkman 459 @@ -9131,7 +9131,7 @@ fcgi 413 variants universal description {The FastCGI development kit in C} portdir www/fcgi homepage http://www.fastcgi.com/ epoch 0 platforms darwin name fcgi long_description {FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs. This is the C development kit.} maintainers nomaintainer categories www version 2.4.0 revision 1 firefox-x11 622 -variants {universal debug} depends_build port:pkgconfig variant_desc {debug {build with debugging symbols}} portdir www/firefox-x11 description {Mozilla.org's popular stand-alone web browser} homepage http://www.mozilla.com/firefox/ epoch 0 platforms darwin depends_lib {port:libidl {path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:zip port:gtk2 port:gnome-vfs port:gnome-icon-theme port:cairo port:nspr} name firefox-x11 maintainers nomaintainer long_description {Firefox empowers you to browse faster, more safely and more efficiently than with any other browser.} version 2.0.0.13 categories {www x11} revision 1 +variants {universal debug} depends_build port:pkgconfig variant_desc {debug {build with debugging symbols}} portdir www/firefox-x11 description {Mozilla.org's popular stand-alone web browser} homepage http://www.mozilla.com/firefox/ epoch 0 platforms darwin depends_lib {port:libidl {path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} port:zip port:gtk2 port:gnome-vfs port:gnome-icon-theme port:cairo port:nspr} name firefox-x11 maintainers nomaintainer long_description {Firefox empowers you to browse faster, more safely and more efficiently than with any other browser.} version 2.0.0.16 categories {www x11} revision 0 flood 426 variants universal portdir www/flood description {profile-driven HTTP load tester} homepage http://httpd.apache.org/test/flood/ epoch 0 platforms {darwin freebsd} name flood depends_lib {port:apr port:apr-util port:expat} maintainers nomaintainer long_description {Flood is a profile-driven HTTP load tester. It can be used to gather important performance metrics for your website.} version 20041105 categories www revision 0 furl 379 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/7e239aa5/attachment.html From ryandesign at macports.org Tue Aug 5 00:57:32 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Tue, 5 Aug 2008 00:57:32 -0700 (PDT) Subject: [38990] trunk/dports/devel/glib2-devel/Portfile Message-ID: <20080805075732.DE1CA1C3363@beta.macosforge.org> Revision: 38990 http://trac.macosforge.org/projects/macports/changeset/38990 Author: ryandesign at macports.org Date: 2008-08-05 00:57:32 -0700 (Tue, 05 Aug 2008) Log Message: ----------- glib2-devel: update to 2.17.6 Modified Paths: -------------- trunk/dports/devel/glib2-devel/Portfile Modified: trunk/dports/devel/glib2-devel/Portfile =================================================================== --- trunk/dports/devel/glib2-devel/Portfile 2008-08-05 07:51:13 UTC (rev 38989) +++ trunk/dports/devel/glib2-devel/Portfile 2008-08-05 07:57:32 UTC (rev 38990) @@ -4,7 +4,7 @@ name glib2-devel set my_name glib -version 2.17.4 +version 2.17.6 set branch [join [lrange [split ${version} .] 0 1] .] categories devel maintainers ryandesign @@ -28,9 +28,9 @@ # ftp://ftp.gtk.org/pub/${my_name}/${branch}/ checksums \ - md5 9692116d39c2bd00c53a9b469711e3fc \ - sha1 03d007ead29321283095f6dd91dc8e10a92a6bc9 \ - rmd160 3f8278285b62bceda95a27c39c0d57cbd6560f75 + md5 b596b80ec89bbcc7ddb77fbf0e4db056 \ + sha1 c320d98fe8bd5991455c848801875d198d8d5494 \ + rmd160 0526d7615cc4816e39c706a88eb4519f7cd8e9ab patchfiles \ patch-glib-2.0.pc.in.diff \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/9e773b8c/attachment-0001.html From ryandesign at macports.org Tue Aug 5 01:02:47 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Tue, 5 Aug 2008 01:02:47 -0700 (PDT) Subject: [38991] trunk/dports/graphics/graphviz-devel/Portfile Message-ID: <20080805080247.B27A61C344A@beta.macosforge.org> Revision: 38991 http://trac.macosforge.org/projects/macports/changeset/38991 Author: ryandesign at macports.org Date: 2008-08-05 01:02:47 -0700 (Tue, 05 Aug 2008) Log Message: ----------- graphviz-devel: update to 2.21.20080805.0445 Modified Paths: -------------- trunk/dports/graphics/graphviz-devel/Portfile Modified: trunk/dports/graphics/graphviz-devel/Portfile =================================================================== --- trunk/dports/graphics/graphviz-devel/Portfile 2008-08-05 07:57:32 UTC (rev 38990) +++ trunk/dports/graphics/graphviz-devel/Portfile 2008-08-05 08:02:47 UTC (rev 38991) @@ -4,7 +4,7 @@ name graphviz-devel set my_name graphviz -version 2.21.20080730.1741 +version 2.21.20080805.0445 categories graphics maintainers ryandesign homepage http://www.graphviz.org/ @@ -35,9 +35,9 @@ checksums \ ${distname}${extract.suffix} \ - md5 c6985745a8aab3f89df1c5abbaf4fd77 \ - sha1 b7cb5b8bac62d9beea85bf4ec1260f0b855ba058 \ - rmd160 f14f9259eb3a043c4935c8e21cfcf1efe4644344 + md5 5063c3aed680229e2a8286ae54677e21 \ + sha1 5691c49bb51487db9e4c7b1fef1a12b4b77e2cd4 \ + rmd160 f042d2c2e8613ab0aaf66d40c0b38d27925392fe platform darwin 6 { pre-fetch { -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/35251f65/attachment.html From ryandesign at macports.org Tue Aug 5 01:28:55 2008 From: ryandesign at macports.org (ryandesign at macports.org) Date: Tue, 5 Aug 2008 01:28:55 -0700 (PDT) Subject: [38992] trunk/dports/graphics/ImageMagick Message-ID: <20080805082855.F39591C354C@beta.macosforge.org> Revision: 38992 http://trac.macosforge.org/projects/macports/changeset/38992 Author: ryandesign at macports.org Date: 2008-08-05 01:28:54 -0700 (Tue, 05 Aug 2008) Log Message: ----------- ImageMagick: update to 6.4.2-6 and remove patch which has been integrated upstream All 699 tests behaved as expected (33 expected failures) Modified Paths: -------------- trunk/dports/graphics/ImageMagick/Portfile Removed Paths: ------------- trunk/dports/graphics/ImageMagick/files/ Modified: trunk/dports/graphics/ImageMagick/Portfile =================================================================== --- trunk/dports/graphics/ImageMagick/Portfile 2008-08-05 08:02:47 UTC (rev 38991) +++ trunk/dports/graphics/ImageMagick/Portfile 2008-08-05 08:28:54 UTC (rev 38992) @@ -3,8 +3,7 @@ PortSystem 1.0 name ImageMagick -version 6.4.2-5 -revision 1 +version 6.4.2-6 homepage http://www.imagemagick.org/ categories graphics devel maintainers ryandesign @@ -38,9 +37,9 @@ # ftp://ftp.nluug.nl/pub/${name}/ \ checksums \ - md5 cb36948b10c7e5d8cc580174c1c3eae4 \ - sha1 d164f2996a53b55c2210d40c8c5d627166c300e6 \ - rmd160 e454845a9fa89fe8e149c140d190e1d8ced6122c + md5 95fbb79e22e5f217a578c9c8d379ac5c \ + sha1 e2a9c16f7240de2dc7ba80a5869246df9a2a02fe \ + rmd160 4e452351f048b77cac58d2dd70cb7e32a1a04a3a depends_lib \ lib:libX11.6:XFree86 \ @@ -58,9 +57,6 @@ depends_build \ port:pkgconfig -patchfiles \ - patch-magick-distort.h.diff - configure.args \ --enable-shared \ --enable-static \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/26a56dfd/attachment.html From jmr at macports.org Tue Aug 5 02:33:28 2008 From: jmr at macports.org (jmr at macports.org) Date: Tue, 5 Aug 2008 02:33:28 -0700 (PDT) Subject: [38993] trunk/dports/sysutils Message-ID: <20080805093328.D0FA01C374F@beta.macosforge.org> Revision: 38993 http://trac.macosforge.org/projects/macports/changeset/38993 Author: jmr at macports.org Date: 2008-08-05 02:33:27 -0700 (Tue, 05 Aug 2008) Log Message: ----------- New port: mtools (#16132) Added Paths: ----------- trunk/dports/sysutils/mtools/ trunk/dports/sysutils/mtools/Portfile Added: trunk/dports/sysutils/mtools/Portfile =================================================================== --- trunk/dports/sysutils/mtools/Portfile (rev 0) +++ trunk/dports/sysutils/mtools/Portfile 2008-08-05 09:33:27 UTC (rev 38993) @@ -0,0 +1,20 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name mtools +version 3.9.11 +categories sysutils +maintainers goudal.net:francois +description MS-DOS disk access utilities +long_description Utilities to access MS-DOS disks from Unix without \ + mounting them +homepage http://mtools.linux.lu/ +platforms darwin +master_sites ${homepage} +checksums md5 3c0ae05b0d98a5d3bd06d3d72fcaf80d \ + sha1 964b8af11ac6441e832f2bc4737f35cc3ed0226e \ + rmd160 f8498768a432f28689a58840baa11d80a2ba8532 +configure.args --mandir=${prefix}/share/man \ + --infodir=${prefix}/share/info Property changes on: trunk/dports/sysutils/mtools/Portfile ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/9e936f9d/attachment.html From css at macports.org Tue Aug 5 02:37:35 2008 From: css at macports.org (css at macports.org) Date: Tue, 5 Aug 2008 02:37:35 -0700 (PDT) Subject: [38994] trunk/dports/devel/cmake/Portfile Message-ID: <20080805093735.B46EF1C37E0@beta.macosforge.org> Revision: 38994 http://trac.macosforge.org/projects/macports/changeset/38994 Author: css at macports.org Date: 2008-08-05 02:37:35 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Updated CMake version and checksums to 2.6.1. (refs #16211) Modified Paths: -------------- trunk/dports/devel/cmake/Portfile Modified: trunk/dports/devel/cmake/Portfile =================================================================== --- trunk/dports/devel/cmake/Portfile 2008-08-05 09:33:27 UTC (rev 38993) +++ trunk/dports/devel/cmake/Portfile 2008-08-05 09:37:35 UTC (rev 38994) @@ -3,8 +3,7 @@ PortSystem 1.0 name cmake -version 2.6.0 -revision 1 +version 2.6.1 categories devel maintainers css at macports.org description Cross-platform make @@ -16,12 +15,10 @@ homepage http://www.cmake.org/ platforms darwin freebsd master_sites http://www.cmake.org/files/v2.6/ -checksums md5 e95ae003672dfc6c8151a1ee49a0d4a6 \ - sha1 e99ee84f413bd1c728fe6def1eb5e27d0471bd27 \ - rmd160 491aa0f7eedd3c43364bcfe675ba5526e5140361 +checksums md5 6717f4bc3cfcced4172ad98660ce7599 \ + sha1 a0bcdffbbd03b877f8e13c250ed6fa5d290e16d0 \ + rmd160 534d2d6e43724fd316d50f5fb9d189ea060a8d74 configure.args --mandir=/share/man --docdir=/share/doc/cmake -# Apply bugfix http://www.cmake.org/Bug/view.php?id=7011 -patchfiles patch-cmake_bug_7011_fix.diff post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/3d49f348/attachment.html From jwa at macports.org Tue Aug 5 05:08:47 2008 From: jwa at macports.org (jwa at macports.org) Date: Tue, 5 Aug 2008 05:08:47 -0700 (PDT) Subject: [38995] trunk/dports/www/php5-devel/Portfile Message-ID: <20080805120848.2C1F01C3C46@beta.macosforge.org> Revision: 38995 http://trac.macosforge.org/projects/macports/changeset/38995 Author: jwa at macports.org Date: 2008-08-05 05:08:46 -0700 (Tue, 05 Aug 2008) Log Message: ----------- version bump to 5.3.0alpha1 Modified Paths: -------------- trunk/dports/www/php5-devel/Portfile Modified: trunk/dports/www/php5-devel/Portfile =================================================================== --- trunk/dports/www/php5-devel/Portfile 2008-08-05 09:37:35 UTC (rev 38994) +++ trunk/dports/www/php5-devel/Portfile 2008-08-05 12:08:46 UTC (rev 38995) @@ -3,7 +3,7 @@ PortSystem 1.0 name php5-devel -version 5.2.6RC5 +version 5.3.0alpha1 revision 1 categories www lang php maintainers ryandesign jwa @@ -24,12 +24,13 @@ be used for command-line scripting. master_sites \ - http://downloads.php.net/ilia/ + http://downloads.php.net/ilia/ \ + http://downloads.php.net/johannes/ checksums \ - md5 96f1454a55c3f5a62a8b133cdb800cd9 \ - sha1 69c1d1b5e123a18661fb6a85951f6dd33f9b49b7 \ - rmd160 19910215753fc6249a875bbafa6288d95cf562b0 + md5 8e22907201809c06ba6b6177df925b29 \ + sha1 4f9ec2637f2bce84775605658ecccde5cf1be8a2 \ + rmd160 27ea92dae3490c495803fd55786c3dfd4535010b depends_lib \ port:libxml2 \ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/a7760b03/attachment.html From jwa at macports.org Tue Aug 5 05:14:21 2008 From: jwa at macports.org (jwa at macports.org) Date: Tue, 5 Aug 2008 05:14:21 -0700 (PDT) Subject: [38996] trunk/dports/www/php5-devel/Portfile Message-ID: <20080805121422.234A31C3D01@beta.macosforge.org> Revision: 38996 http://trac.macosforge.org/projects/macports/changeset/38996 Author: jwa at macports.org Date: 2008-08-05 05:14:20 -0700 (Tue, 05 Aug 2008) Log Message: ----------- oops, forgot to drop revision Modified Paths: -------------- trunk/dports/www/php5-devel/Portfile Modified: trunk/dports/www/php5-devel/Portfile =================================================================== --- trunk/dports/www/php5-devel/Portfile 2008-08-05 12:08:46 UTC (rev 38995) +++ trunk/dports/www/php5-devel/Portfile 2008-08-05 12:14:20 UTC (rev 38996) @@ -4,7 +4,6 @@ name php5-devel version 5.3.0alpha1 -revision 1 categories www lang php maintainers ryandesign jwa homepage http://qa.php.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/78817366/attachment.html From armahg at macports.org Tue Aug 5 07:03:08 2008 From: armahg at macports.org (armahg at macports.org) Date: Tue, 5 Aug 2008 07:03:08 -0700 (PDT) Subject: [38997] branches/gsoc08-framework/MacPorts_Framework Message-ID: <20080805140308.CB11A1C401D@beta.macosforge.org> Revision: 38997 http://trac.macosforge.org/projects/macports/changeset/38997 Author: armahg at macports.org Date: 2008-08-05 07:03:08 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Rewrote Notifications_Send function for MPInterpreter class. Added some dubgging code to init.tcl file Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.h branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.m branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj branches/gsoc08-framework/MacPorts_Framework/MacPorts.h branches/gsoc08-framework/MacPorts_Framework/init.tcl Modified: branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPHelperTool.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -1,134 +1,47 @@ /* - * MPHelperTool.c - * MacPorts.Framework + * $Id$ + * MacPorts.Framework * - * Created by George Armah on 8/2/08. - * Copyright 2008 Lafayette College. All rights reserved. + * Authors: + * George Armah * + * Copyright (c) 2008 George Armah + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright owner nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ -//#include -#include -//#include -#include +#import -#import -#include -#include "BetterAuthorizationSampleLib.h" -#include "MPHelperCommon.h" -#import "MPInterpreterProtocol.h" -static OSStatus DoEvaluateTclString ( - AuthorizationRef auth, - const void * userData, - CFDictionaryRef request, - CFMutableDictionaryRef response, - aslclient asl, - aslmsg aslMsg -) -{ - - OSStatus retval = noErr; - - - //Pre conditions - assert(auth != NULL); - //userData may be NULL - assert(request != NULL); - assert(response != NULL); - //asl may be null - //aslMsg may be null - - //Get the string that was passed in the request dictionary - CFStringRef cTclCmd = (CFStringRef)CFDictionaryGetValue(request, CFSTR(kTclStringToBeEvaluated)); - //cTclCmd = CFRetain(cTclCmd); - if (cTclCmd == NULL) { - retval = coreFoundationUnknownErr; - } - - //Testing Distributed Objects Implementation - NSString * tclCmd = (NSString *) cTclCmd; - id distributedMPInterpreterObject = nil; - NSConnection * mpConn = [NSConnection connectionWithRegisteredName:MP_DOSERVER - host:nil]; - distributedMPInterpreterObject = [mpConn rootProxy]; - - - //CFDictionaryAddValue(response, CFSTR("NSConnection stats"), [[NSConnection defaultConnection] statistics]); - if ( distributedMPInterpreterObject == nil ) { - CFDictionaryAddValue(response, CFSTR(kMPInterpreterDistObj), CFSTR("NO")); - retval = coreFoundationUnknownErr; - } - else { //We successfully obtained the distObj - NSLog(@"IN HERE"); - CFDictionaryAddValue(response, CFSTR(kMPInterpreterDistObj), CFSTR("YES")); - [distributedMPInterpreterObject setProtocolForProxy:@protocol(MPInterpreterProtocol)]; - NSString * result = [distributedMPInterpreterObject - evaluateStringFromMPHelperTool:tclCmd]; - - if (result != nil) { //successful execution - CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed not")); - retval = noErr; - } - else { - CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed")); - retval = coreFoundationUnknownErr; - } - } - - unsigned int numcon = [[NSConnection allConnections] count]; - CFDictionaryAddValue(response, CFSTR("NSConnections"), CFStringCreateWithFormat(kCFAllocatorDefault , NULL, CFSTR("%u"),numcon) ); - - CFDictionaryAddValue(response, CFSTR("NSConnection Stats"), [[NSConnection defaultConnection] statistics]); - /* - if( retval == noErr) { - - CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), cTclCmd); - } - else{ - //Try setting the user data pointer to the error - CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("BAAD")); - }*/ - - assert(response != NULL); - //I think I should release cTclCmd - //CFRelease(cTclCmd); - //CFDictionaryAddValue(response, CFSTR(kTclStringEvaluationResult), CFSTR("Port operation Failed not")); - - return retval; -} -///////////////////////////////////////////////////////////////// -#pragma mark ***** Tool Infrastructure - -/* - IMPORTANT - --------- - This array must be exactly parallel to the kMPHelperCommandSet array - in "MPHelperCommon.c". - */ - -static const BASCommandProc kMPHelperCommandProcs[] = { - DoEvaluateTclString, - NULL -}; - - -//Should I just do stuff in main and use the above method to -//just retrieve the string to be evaluated as a tcl command? - int main(int argc, char const * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - [[NSRunLoop currentRunLoop] run]; - // Go directly into BetterAuthorizationSampleLib code. - - // IMPORTANT - // BASHelperToolMain doesn't clean up after itself, so once it returns - // we must quit. - int result = BASHelperToolMain(kMPHelperCommandSet, kMPHelperCommandProcs); + [pool release]; - return result; -} - + return 0; +} \ No newline at end of file Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -70,6 +70,7 @@ Tcl_Interp* _interpreter; NSString * helperToolInterpCommand; + NSString * helperToolCommandResult; } @@ -176,6 +177,7 @@ - (NSString *)getVariableAsString:(NSString *)variable; -//For testing helper tool +//For testing helper tools -(NSString *)evaluateStringWithMPHelperTool:(NSString *)statement; +-(NSString *)evaluateStringWithSimpleMPDOPHelperTool:(NSString *)statement; @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -49,18 +49,23 @@ #pragma mark Notifications Code int Notifications_Send(int objc, Tcl_Obj *CONST objv[], int global, Tcl_Interp *interpreter) { - NSString *name; NSMutableString *msg; - NSMutableDictionary *info = nil; + + //Our info dictionary is of size 4 and contains the following keys + //Channel - eg. stdout, stderr + //Prefix - prefix string for this message e.g. DEBUG: + //Function - the function whose operation led to this notification eg. sync, selfupdate + //Message - the message logged to channel + NSMutableDictionary *info = [NSMutableDictionary dictionaryWithCapacity:4]; MPNotifications *mln = [MPNotifications sharedListener]; int tclCount; int tclResult; - int i; const char **tclElements; name = [NSString stringWithUTF8String:Tcl_GetString(*objv)]; + NSLog(@"name is %@", name); //Name and Notification constants should match. Convention //used is MPPriorityNotification. Is it ok to just return TCL_OK ? @@ -68,20 +73,32 @@ return TCL_OK; } - ++objv; --objc; + tclResult = Tcl_SplitList(interpreter, Tcl_GetString(*objv), &tclCount, &tclElements); + //NSLog(@"tclElements is %S and tclCount is %i", &tclElements, tclCount); - tclResult = Tcl_SplitList(interpreter, Tcl_GetString(*objv), &tclCount, &tclElements); if (tclResult == TCL_OK) { - info = [NSMutableDictionary dictionaryWithCapacity:(tclCount / 2)]; - for (i = 0; i < tclCount; i +=2) { - [info setObject:[NSString stringWithUTF8String:tclElements[i + 1]] forKey:[NSString stringWithUTF8String:tclElements[i]]]; + + //I have sacrificed generality for simplicity in the code below + if (tclElements > 0) { + [info setObject:[NSString stringWithUTF8String:tclElements[0]] forKey:@"Channel"]; + + if(tclElements[1]) + [info setObject:[NSString stringWithUTF8String:tclElements[1]] forKey:@"Prefix"]; + else + [info setObject:@"None" forKey:@"Prefix"]; } + else { + [info setObject:@"None" forKey:@"Channel"]; + [info setObject:@"None" forKey:@"Prefix"]; + } - //Get ui_* message separately + + //Get ui_* message separately Hopefully this should never be null ++objv; --objc; if(objv != NULL) { msg = [NSMutableString stringWithUTF8String:Tcl_GetString(*objv)]; + //NSLog(@"Message is %@", msg); //strip off "--->" over here NSArray * temp = [msg componentsSeparatedByString:@"--->"]; @@ -96,7 +113,7 @@ //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])); + //NSLog(@"Class type is %@", NSStringFromClass([[cmd objectAtIndex:0] class])); if( [[cmd objectAtIndex:0] isEqualToString:@"YES"]) { [info setObject:[cmd objectAtIndex:1] forKey:@"Function"]; @@ -179,8 +196,8 @@ AuthorizationFlags envFlags; envFlags = kAuthorizationFlagDefaults | - kAuthorizationFlagExtendRights | - kAuthorizationFlagPreAuthorize; + kAuthorizationFlagExtendRights | + kAuthorizationFlagPreAuthorize; junk = AuthorizationCreate(NULL, &env, envFlags, &mpAuth); @@ -211,14 +228,14 @@ [defaultConn setRootObject:self]; - NSLog(@"Connection Created ... %@, %@", defaultConn, [defaultConn statistics]); + NSLog(@"Connection Created ... "); //%@, %@", defaultConn, [defaultConn statistics]); return [defaultConn registerName:MP_DOSERVER]; } - (bycopy NSString *) evaluateStringFromMPHelperTool:(in bycopy NSString *)statement { -//- (NSString *) evaluateStringFromMPHelperTool:(NSString *)statement { - //TO DO -> error:(inout NSError **)evalError { + //- (NSString *) evaluateStringFromMPHelperTool:(NSString *)statement { + //TO DO -> error:(inout NSError **)evalError { //NSError * evalError; NSString * result = [self evaluateStringAsString:statement error:nil]; @@ -229,6 +246,32 @@ return result; } + +- (void) setTclCommand:(in bycopy NSString *)tclCmd { + if (![helperToolInterpCommand isEqualToString:tclCmd]) { + + [helperToolInterpCommand release]; + helperToolInterpCommand = [tclCmd copy]; + } + +} +- (bycopy NSString *)getTclCommand { + return helperToolInterpCommand; +} + +- (void) setTclCommandResult:(in bycopy NSString *)tclCmdResult { + if (![helperToolCommandResult isEqualToString:tclCmdResult]) { + [helperToolCommandResult release]; + helperToolCommandResult = [tclCmdResult copy]; + } +} +- (bycopy NSString *) getTclCommandResult { + return helperToolCommandResult; +} + +- (void) log :(in bycopy id) logOutput { + NSLog(@"MPInterpreterProtocol Logging : %@", logOutput); +} #pragma mark - #pragma mark MPInterpreter Code @@ -265,9 +308,9 @@ } /*if( Tcl_EvalFile(_interpreter, [[[NSBundle bundleWithIdentifier:@"org.macports.frameworks.macports"] pathForResource:@"init" ofType:@"tcl"] UTF8String]) != TCL_OK) { - NSLog(@"Error in Tcl_EvalFile init.tcl: %s", Tcl_GetStringResult(_interpreter)); - Tcl_DeleteInterp(_interpreter); - }*/ + NSLog(@"Error in Tcl_EvalFile init.tcl: %s", Tcl_GetStringResult(_interpreter)); + Tcl_DeleteInterp(_interpreter); + }*/ if( Tcl_EvalFile(_interpreter, [[[NSBundle bundleWithIdentifier:@"org.macports.frameworks.macports"] pathForResource:@"init" @@ -278,6 +321,7 @@ //Initialize helperToolInterpCommand helperToolInterpCommand = @""; + helperToolCommandResult = @""; //Initialize the Run Loop because we don't know if framework will be //run in a Foundation Kit or App Kit. Hopefully this won't hurt if the @@ -293,8 +337,8 @@ } else NSLog(@"MPInterpreter Initialized ..."); - + } return self; } @@ -366,17 +410,17 @@ } /*- (NSDictionary *)evaluateArrayAsString:(NSArray *)statement { - return [self evaluateStringAsString:[statement componentsJoinedByString:@" "]]; -} - -*/ + return [self evaluateStringAsString:[statement componentsJoinedByString:@" "]]; + } + + */ - (NSString *)evaluateStringAsString:(NSString *)statement error:(NSError**)mportError{ - NSLog(@"Calling evaluateStringAsString with argument %@", statement); + //NSLog(@"Calling evaluateStringAsString with argument %@", statement); int return_code = Tcl_Eval(_interpreter, [statement UTF8String]); //Should I check for (return_code != TCL_Ok && return_code != TCL_RETURN) instead ? - if (return_code == TCL_ERROR) { + if (return_code != TCL_OK) { Tcl_Obj * interpObj = Tcl_GetObjResult(_interpreter); int length, errCode; @@ -413,13 +457,13 @@ /* -- (NSDictionary *)evaluateStringAsString:(NSString *)statement { - int return_code = Tcl_Eval(_interpreter, [statement UTF8String]); - return [NSDictionary dictionaryWithObjectsAndKeys: - [NSNumber numberWithInt:return_code], TCL_RETURN_CODE, - [NSString stringWithUTF8String:Tcl_GetStringResult(_interpreter)], TCL_RETURN_STRING, nil]; -} -*/ + - (NSDictionary *)evaluateStringAsString:(NSString *)statement { + int return_code = Tcl_Eval(_interpreter, [statement UTF8String]); + return [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithInt:return_code], TCL_RETURN_CODE, + [NSString stringWithUTF8String:Tcl_GetStringResult(_interpreter)], TCL_RETURN_STRING, nil]; + } + */ - (NSArray *)arrayFromTclListAsString:(NSString *)list { NSMutableArray *array; @@ -464,6 +508,8 @@ return [NSString stringWithUTF8String:Tcl_GetVar(_interpreter, [variable UTF8String], 0)]; } +#pragma mark - +#pragma mark Helper Tool(s) Code - (NSString *) evaluateStringWithMPHelperTool:(NSString *) statement { OSStatus err; BASFailCode failCode; @@ -479,7 +525,7 @@ assert(request != NULL); bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; - + assert(bundleID != NULL); @@ -526,30 +572,48 @@ /* - NSString * fakeResult = @"Frustrated"; - return fakeResult; + NSString * fakeResult = @"Frustrated"; + return fakeResult; + + //Read from file and see if it was written to + NSString * testFilePath = [[NSBundle bundleForClass:[self class]] + pathForResource:@"TestFile" ofType:@"test"]; + NSError * readError = nil; + NSString * result = [NSString stringWithContentsOfFile:testFilePath + encoding:NSUTF8StringEncoding + error:&readError]; + if (readError) { + NSLog(@"Error is %@", [readError description]); + return @"There was an error Reading"; + } + else if ([result isEqualToString:@""]) { + return @"An empty string was read"; + } + else if (result == nil) { + return @"Resulting String is NIL"; + } + else + return result; + + return @"This shouldn't happen"; + */ +} - //Read from file and see if it was written to - NSString * testFilePath = [[NSBundle bundleForClass:[self class]] - pathForResource:@"TestFile" ofType:@"test"]; - NSError * readError = nil; - NSString * result = [NSString stringWithContentsOfFile:testFilePath - encoding:NSUTF8StringEncoding - error:&readError]; - if (readError) { - NSLog(@"Error is %@", [readError description]); - return @"There was an error Reading"; - } - else if ([result isEqualToString:@""]) { - return @"An empty string was read"; - } - else if (result == nil) { - return @"Resulting String is NIL"; - } - else - return result; + +-(NSString *) evaluateStringWithSimpleMPDOPHelperTool:(NSString *)statement { + NSTask * task = [[NSTask alloc] init]; + [task setLaunchPath:[[NSBundle bundleForClass:[MPInterpreter class]] + pathForResource:@"SimpleDOMPHelperTool" + ofType:nil]]; + [task setArguments:[NSArray arrayWithObjects:statement, nil]]; + [task launch]; - return @"This shouldn't happen"; - */ + [task waitUntilExit]; + + [task terminationStatus]; + + return [self getTclCommandResult]; } + + @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -43,7 +43,7 @@ - (void)testInitialization; - (void)testGetVariableAsArray; -- (void)testMPHelperTool; +//- (void)testMPHelperTool; //- (void)testMutableDictionaryFromTclListAsString; //- (void)testEvaluateStringAsString; Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterTest.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -59,7 +59,7 @@ } - +/* - (void)testMPHelperTool { //Here goes nothing Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -173,7 +173,7 @@ - (NSString *)version; -//Notifications stuff +//Notifications stuff for private use and testing purposes -(void)registerForLocalNotifications; -(void)respondToLocalNotification:(NSNotification *) notification; Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -113,8 +113,11 @@ //result = [interpreter evaluateStringAsString:@"mportsync" error:sError]; //Testing DO implementation - result = [interpreter evaluateStringWithMPHelperTool:@"mportsync"]; + //result = [interpreter evaluateStringWithMPHelperTool:@"mportsync"]; + [interpreter evaluateStringWithSimpleMPDOPHelperTool:@"mportsync"]; + result = [interpreter getTclCommandResult]; + [[MPNotifications sharedListener] setPerformingTclCommand:@""]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPortsSyncFinished" object:nil]; @@ -247,10 +250,10 @@ #pragma mark Testing MacPorts Notifications -(void) registerForLocalNotifications { - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(respondToLocalNotification:) - name:MPINFO - object:nil]; + //[[NSNotificationCenter defaultCenter] addObserver:self +// selector:@selector(respondToLocalNotification:) +// name:MPINFO +// object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToLocalNotification:) @@ -269,6 +272,16 @@ [[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]; } @@ -278,9 +291,9 @@ //Just NSLog it for now if(sentDict == nil) - NSLog(@"Looooocaaaaal"); + NSLog(@"MPMacPorts received notification with empty userInfo Dictionary"); else - NSLog(@"%@" , [sentDict description]); + NSLog(@"MPMacPorts received notification with userInfo %@" , [sentDict description]); } @end Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -49,7 +49,7 @@ -(void) testPathToPortIndex; //-(void) testDepends; //-(void) testSearch; -//-(void) testSync; +-(void) testSync; -(void) testVersion; //-(void) testInstall; //-(void) testMPHelperTool; Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPortsTest.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -74,7 +74,7 @@ STAssertNotNil(searchResults, @"This dictionary should have at least %d key value pairs", [searchResults count]); } -/* + -(void) testSync { NSError * syncError = nil; [testPort sync:&syncError]; @@ -89,7 +89,7 @@ } - +/* -(void) testSelfupdate { //The only way to test this that I know of is to listen for the posted notifications //and take actions as appropriate Modified: branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -1,10 +1,37 @@ -// -// MPMutableDictionary.h -// MacPorts.Framework -// -// Created by Randall Hansen Wood on 26/9/2007. -// Copyright 2007 __MyCompanyName__. All rights reserved. -// +/* + * $Id$ + * MacPorts.Framework + * + * Authors: + * Randall H. Wood + * + * Copyright (c) 2007 Randall H. Wood + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright owner nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ /*! @header Modified: branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.m 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPMutableDictionary.m 2008-08-05 14:03:08 UTC (rev 38997) @@ -1,10 +1,37 @@ -// -// MPMutableDictionary.m -// MacPorts.Framework -// -// Created by Randall Hansen Wood on 26/9/2007. -// Copyright 2007 __MyCompanyName__. All rights reserved. -// +/* + * $Id$ + * MacPorts.Framework + * + * Authors: + * Randall H. Wood + * + * Copyright (c) 2007 Randall H. Wood + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright owner nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ #import "MPMutableDictionary.h" Modified: branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -56,6 +56,7 @@ #import +#define MPDEFAULT @"MPDefaultNotification" #define MPMSG @"MPMsgNotification" #define MPINFO @"MPInfoNotification" #define MPWARN @"MPWarnNotification" Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-05 14:03:08 UTC (rev 38997) @@ -47,7 +47,6 @@ 6EB6FA420E43ECCE0057962C /* MPHelperTool in Resources */ = {isa = PBXBuildFile; fileRef = 6ED12A4A0E3E552F0026773D /* MPHelperTool */; }; 6EB6FA460E43ECD60057962C /* MPHelperInstallTool in Resources */ = {isa = PBXBuildFile; fileRef = 6EC260870E426FF10013BC48 /* MPHelperInstallTool */; }; 6EB6FB270E448EE20057962C /* TestFile.test in Resources */ = {isa = PBXBuildFile; fileRef = 6EB6FB260E448EE20057962C /* TestFile.test */; }; - 6EB6FB630E44AF140057962C /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EB6FB620E44AF140057962C /* MPHelperTool.m */; }; 6EB6FC6A0E45AC610057962C /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; }; 6EB6FC6B0E45AC610057962C /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6EB6FC910E45DEA80057962C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EB6FC900E45DEA80057962C /* Foundation.framework */; }; @@ -61,6 +60,14 @@ 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260960E4272D20013BC48 /* MPHelperCommon.c */; }; 6EC2609B0E4273920013BC48 /* BetterAuthorizationSampleLibInstallTool.c in Sources */ = {isa = PBXBuildFile; fileRef = 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */; }; 6EC2609E0E42950C0013BC48 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */; }; + 6ECD96FB0E465BF100488335 /* SimpleDOMPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ECD96F90E465BF100488335 /* SimpleDOMPHelperTool.m */; }; + 6ECD97090E465C2A00488335 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EB6FC900E45DEA80057962C /* Foundation.framework */; }; + 6ECD970E0E465C7800488335 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6ECD970D0E465C7800488335 /* Security.framework */; }; + 6ECD970F0E465C7800488335 /* Tcl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EA0F56E0DFEB55E00C15082 /* Tcl.framework */; }; + 6ECD97120E465C8500488335 /* SimpleDOMPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ECD96F90E465BF100488335 /* SimpleDOMPHelperTool.m */; }; + 6ECD97180E465CB300488335 /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; }; + 6ECD973F0E465F6A00488335 /* SimpleDOMPHelperTool in Resources */ = {isa = PBXBuildFile; fileRef = 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */; }; + 6ECD98110E484E8400488335 /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ECD98100E484E8400488335 /* MPHelperTool.m */; }; 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 */; }; @@ -83,6 +90,13 @@ remoteGlobalIDString = 6EC260860E426FF10013BC48; remoteInfo = MPHelperInstallTool; }; + 6ECD97400E465F7400488335 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6ECD97040E465C0F00488335 /* SimpleDOMPHelperTool */; + remoteInfo = SimpleDOMPHelperTool; + }; 6ED12A520E3E55A50026773D /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; @@ -129,7 +143,7 @@ 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 = ""; }; 6EB6FB260E448EE20057962C /* TestFile.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TestFile.test; sourceTree = ""; }; - 6EB6FB620E44AF140057962C /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; + 6EB6FB620E44AF140057962C /* MPHelperTool.m.old2 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MPHelperTool.m.old2; sourceTree = ""; }; 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPInterpreterProtocol.h; 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 = ""; }; @@ -139,6 +153,10 @@ 6EC260950E4272D20013BC48 /* MPHelperCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPHelperCommon.h; sourceTree = ""; }; 6EC260960E4272D20013BC48 /* MPHelperCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MPHelperCommon.c; sourceTree = ""; }; 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; + 6ECD96F90E465BF100488335 /* SimpleDOMPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleDOMPHelperTool.m; sourceTree = ""; }; + 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SimpleDOMPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; + 6ECD970D0E465C7800488335 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; + 6ECD98100E484E8400488335 /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; 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; }; @@ -162,6 +180,16 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 6ECD97030E465C0F00488335 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6ECD97090E465C2A00488335 /* Foundation.framework in Frameworks */, + 6ECD970E0E465C7800488335 /* Security.framework in Frameworks */, + 6ECD970F0E465C7800488335 /* Tcl.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 6ED12A480E3E552F0026773D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -193,6 +221,7 @@ 489DD8F40C94365F00595506 /* Test.octest */, 6ED12A4A0E3E552F0026773D /* MPHelperTool */, 6EC260870E426FF10013BC48 /* MPHelperInstallTool */, + 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */, ); name = Products; sourceTree = ""; @@ -200,7 +229,7 @@ 0867D691FE84028FC02AAC07 /* MacPorts Foundation */ = { isa = PBXGroup; children = ( - 6ED12A460E3E54A80026773D /* MPHelperTool */, + 6ED12A460E3E54A80026773D /* MPHelperTools */, 6EA293540E05C8C600902D12 /* Tcl Notifications */, 6E88D1760DF46A2600684E9F /* Tests */, 08FB77AEFE84172EC02AAC07 /* Classes */, @@ -213,6 +242,7 @@ 6ED12AA60E3E7E900026773D /* Cocoa.framework */, 6EC2609D0E42950C0013BC48 /* CoreFoundation.framework */, 6EB6FC900E45DEA80057962C /* Foundation.framework */, + 6ECD970D0E465C7800488335 /* Security.framework */, ); name = "MacPorts Foundation"; sourceTree = ""; @@ -319,7 +349,7 @@ name = "Tcl Notifications "; sourceTree = ""; }; - 6ED12A460E3E54A80026773D /* MPHelperTool */ = { + 6ED12A460E3E54A80026773D /* MPHelperTools */ = { isa = PBXGroup; children = ( 6EC260700E426FC80013BC48 /* BetterAuthorizationSampleLib.c */, @@ -327,14 +357,24 @@ 6EC260720E426FC80013BC48 /* BetterAuthorizationSampleLibInstallTool.c */, 6EC260950E4272D20013BC48 /* MPHelperCommon.h */, 6EC260960E4272D20013BC48 /* MPHelperCommon.c */, - 6EB6FB620E44AF140057962C /* MPHelperTool.m */, + 6EB6FB620E44AF140057962C /* MPHelperTool.m.old2 */, + 6ECD96F90E465BF100488335 /* SimpleDOMPHelperTool.m */, + 6ECD98100E484E8400488335 /* MPHelperTool.m */, ); - name = MPHelperTool; + name = MPHelperTools; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 6ECD97190E465CD100488335 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 6ECD97180E465CB300488335 /* MPInterpreterProtocol.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 6ED12AD30E3E9AE10026773D /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -402,6 +442,23 @@ productReference = 6EC260870E426FF10013BC48 /* MPHelperInstallTool */; productType = "com.apple.product-type.tool"; }; + 6ECD97040E465C0F00488335 /* SimpleDOMPHelperTool */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6ECD970A0E465C4900488335 /* Build configuration list for PBXNativeTarget "SimpleDOMPHelperTool" */; + buildPhases = ( + 6ECD97190E465CD100488335 /* Headers */, + 6ECD97020E465C0F00488335 /* Sources */, + 6ECD97030E465C0F00488335 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SimpleDOMPHelperTool; + productName = SimpleDOMPHelperTool; + productReference = 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */; + productType = "com.apple.product-type.tool"; + }; 6ED12A490E3E552F0026773D /* MPHelperTool */ = { isa = PBXNativeTarget; buildConfigurationList = 6ED12A500E3E55660026773D /* Build configuration list for PBXNativeTarget "MPHelperTool" */; @@ -435,6 +492,7 @@ dependencies = ( 6ED12A530E3E55A50026773D /* PBXTargetDependency */, 6EC2608C0E4270110013BC48 /* PBXTargetDependency */, + 6ECD97410E465F7400488335 /* PBXTargetDependency */, ); name = MacPorts; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -458,6 +516,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( + 6ECD97040E465C0F00488335 /* SimpleDOMPHelperTool */, 6EC260860E426FF10013BC48 /* MPHelperInstallTool */, 6ED12A490E3E552F0026773D /* MPHelperTool */, 8DC2EF4F0486A6940098B216 /* MacPorts */, @@ -486,6 +545,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 6ECD973F0E465F6A00488335 /* SimpleDOMPHelperTool in Resources */, 6EB6FA460E43ECD60057962C /* MPHelperInstallTool in Resources */, 6EB6FA420E43ECCE0057962C /* MPHelperTool in Resources */, 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, @@ -509,7 +569,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n\n#rm -rf notifications.dylib\necho removing BAStuff\n\ncd ~\nsh mptooluninstall.sh\n\necho done removing BAStuff"; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n\n#rm -rf notifications.dylib\n\n\n\ncd ~\nif [ -f /Library/LaunchDaemons/org.macports.frameworks.macports.plist ]\nthen\n\techo removing BAStuff\n\tsh mptooluninstall.sh\n\techo done removing BAStuff\nelse\n\techo nothing to Remove\nfi"; }; 6E49F4F40E00DD520030C3AF /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -557,13 +617,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 6ECD97020E465C0F00488335 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6ECD97120E465C8500488335 /* SimpleDOMPHelperTool.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 6ED12A470E3E552F0026773D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 6EC260730E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */, 6EC260980E4272D20013BC48 /* MPHelperCommon.c in Sources */, - 6EB6FB630E44AF140057962C /* MPHelperTool.m in Sources */, + 6ECD98110E484E8400488335 /* MPHelperTool.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -581,6 +649,7 @@ 6E270D0A0E158CED00BAE687 /* MPNotifications.m in Sources */, 6EC260760E426FC80013BC48 /* BetterAuthorizationSampleLib.c in Sources */, 6EC2609A0E4272D20013BC48 /* MPHelperCommon.c in Sources */, + 6ECD96FB0E465BF100488335 /* SimpleDOMPHelperTool.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -597,6 +666,11 @@ target = 6EC260860E426FF10013BC48 /* MPHelperInstallTool */; targetProxy = 6EC2608B0E4270110013BC48 /* PBXContainerItemProxy */; }; + 6ECD97410E465F7400488335 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6ECD97040E465C0F00488335 /* SimpleDOMPHelperTool */; + targetProxy = 6ECD97400E465F7400488335 /* PBXContainerItemProxy */; + }; 6ED12A530E3E55A50026773D /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 6ED12A490E3E552F0026773D /* MPHelperTool */; @@ -791,6 +865,36 @@ }; name = Release; }; + 6ECD97070E465C1100488335 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = /usr/local/bin; + PREBINDING = NO; + PRODUCT_NAME = SimpleDOMPHelperTool; + }; + name = Debug; + }; + 6ECD97080E465C1100488335 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = /usr/local/bin; + PREBINDING = NO; + PRODUCT_NAME = SimpleDOMPHelperTool; + ZERO_LINK = NO; + }; + name = Release; + }; 6ED12A4C0E3E55300026773D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -881,6 +985,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 6ECD970A0E465C4900488335 /* Build configuration list for PBXNativeTarget "SimpleDOMPHelperTool" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6ECD97070E465C1100488335 /* Debug */, + 6ECD97080E465C1100488335 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 6ED12A500E3E55660026773D /* Build configuration list for PBXNativeTarget "MPHelperTool" */ = { isa = XCConfigurationList; buildConfigurations = ( Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.h 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.h 2008-08-05 14:03:08 UTC (rev 38997) @@ -42,3 +42,5 @@ //Including this file for testing the Notifications listener #import ; +//for testing Distributed objects +#import ; Modified: branches/gsoc08-framework/MacPorts_Framework/init.tcl =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/init.tcl 2008-08-05 12:14:20 UTC (rev 38996) +++ branches/gsoc08-framework/MacPorts_Framework/init.tcl 2008-08-05 14:03:08 UTC (rev 38997) @@ -10,6 +10,12 @@ package require macports package require notifications + +#Set ui_options to log all messages to stdout and notify system +#filtering is done on the Obj-C side of things +set ui_options(ports_debug) "yes" +set ui_options(ports_verbose) "yes" + # ui_options accessor proc ui_isset {val} { global ui_options @@ -79,6 +85,7 @@ #This is currently under works ... a reasonable solution #should be coming up soon proc ui_init {priority prefix channels message} { + puts "INSIDE ui_init priority with prefix $prefix and message $message" switch $priority { msg { @@ -86,15 +93,18 @@ } debug { set "MPDebugNotification" + #puts "Recieved Debug" } warn { set nottype "MPWarnNotification" } error { set nottype "MPErrorNotification" + #puts "Recieved Error" } info { set nottype "MPInfoNotification" + #puts "Recieved Info" } default { set nottype "MPDefaultNotification" @@ -107,12 +117,14 @@ } catch * { set channels [ui_channels_default $priority] } - + + #set channels [ui_channels $priority] + # Simplify ui_$priority. set nbchans [llength $channels] if {$nbchans == 0} { proc ::ui_$priority {str} [subst { - notifications send $nottype "Channel $chan Prefix $prefix" "\$str" + notifications send $nottype "$chan $prefix" "\$str" }] } else { try { @@ -120,19 +132,21 @@ } catch * { set prefix [ui_prefix_default $priority] } - + + #set prefix [ui_prefix $priority] + if {$nbchans == 1} { set chan [lindex $channels 0] proc ::ui_$priority {str} [subst { puts $chan "$prefix\$str" - notifications send $nottype "Channel $chan Prefix $prefix" "\$str" + notifications send $nottype "$chan $prefix" "\$str" }] } else { proc ::ui_$priority {str} [subst { foreach chan \$channels { puts $chan "$prefix\$str" - notifications send $nottype "Channel $chan Prefix $prefix" "\$str" + notifications send $nottype "$chan $prefix" "\$str" } }] } @@ -177,6 +191,7 @@ } + # Initialize dport # This must be done following parse of global options, as some options are # evaluated by dportinit. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/06ef7cea/attachment-0001.html From portindex at macports.org Tue Aug 5 12:51:44 2008 From: portindex at macports.org (portindex at macports.org) Date: Tue, 5 Aug 2008 12:51:44 -0700 (PDT) Subject: [38998] trunk/dports/PortIndex Message-ID: <20080805195144.D8B201C4B26@beta.macosforge.org> Revision: 38998 http://trac.macosforge.org/projects/macports/changeset/38998 Author: portindex at macports.org Date: 2008-08-05 12:51:43 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Total number of ports parsed: 4949 Ports successfully parsed: 4949 Ports failed: 0 Modified Paths: -------------- trunk/dports/PortIndex Modified: trunk/dports/PortIndex =================================================================== --- trunk/dports/PortIndex 2008-08-05 14:03:08 UTC (rev 38997) +++ trunk/dports/PortIndex 2008-08-05 19:51:43 UTC (rev 38998) @@ -909,7 +909,7 @@ clucene 459 variants universal description {Clucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java.} portdir devel/clucene homepage http://clucene.sourceforge.net/ epoch 0 platforms darwin name clucene long_description {{Clucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java.}} maintainers {dinh.viet.hoa at free.fr openmaintainer} categories devel version 0.9.20 revision 0 cmake 476 -variants universal description {Cross-platform make} portdir devel/cmake homepage http://www.cmake.org/ epoch 0 platforms {darwin freebsd} name cmake long_description {An extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment.} maintainers css at macports.org categories devel version 2.6.0 revision 1 +variants universal description {Cross-platform make} portdir devel/cmake homepage http://www.cmake.org/ epoch 0 platforms {darwin freebsd} name cmake long_description {An extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment.} maintainers css at macports.org categories devel version 2.6.1 revision 0 cmunge 403 variants universal description {tool for encrypting and compacting C source code} portdir devel/cmunge homepage http://www.vcpc.univie.ac.at/~jhm/cmunge/ epoch 0 platforms darwin name cmunge long_description {cmunge is a simple tool for encrypting and compacting C source code, while leaving it syntactically and semantically unchanged.} maintainers nomaintainer categories devel version 1.0 revision 0 cocoa-sharp 420 @@ -1081,7 +1081,7 @@ glib2 507 variants {universal puredarwin darwin powerpc darwin_6 darwin_9} depends_build port:pkgconfig portdir devel/glib2 description {Library with data structure functions and other constructs} homepage http://www.gtk.org/ epoch 0 platforms darwin depends_lib {port:gettext port:libiconv} name glib2 maintainers ryandesign long_description {Glib is a library which includes support routines for C, such as lists, trees, hashes, memory allocation, and many other things.} version 2.16.5 categories devel revision 0 glib2-devel 519 -variants {universal puredarwin darwin powerpc darwin_6 darwin_9} depends_build port:pkgconfig portdir devel/glib2-devel description {Library with data structure functions and other constructs} homepage http://www.gtk.org/ epoch 0 platforms darwin depends_lib {port:gettext port:libiconv} name glib2-devel maintainers ryandesign long_description {Glib is a library which includes support routines for C, such as lists, trees, hashes, memory allocation, and many other things.} version 2.17.4 categories devel revision 0 +variants {universal puredarwin darwin powerpc darwin_6 darwin_9} depends_build port:pkgconfig portdir devel/glib2-devel description {Library with data structure functions and other constructs} homepage http://www.gtk.org/ epoch 0 platforms darwin depends_lib {port:gettext port:libiconv} name glib2-devel maintainers ryandesign long_description {Glib is a library which includes support routines for C, such as lists, trees, hashes, memory allocation, and many other things.} version 2.17.6 categories devel revision 0 glibmm 350 variants universal portdir devel/glibmm description {C++ interface to glib} homepage http://www.gtkmm.org/ epoch 0 platforms darwin name glibmm depends_lib {{path:\${prefix}/lib/pkgconfig/glib-2.0.pc:glib2} lib:libsigc-2:libsigcxx2} long_description {{C++ interface to glib}} maintainers nomaintainer version 2.16.1 categories {devel x11} revision 0 global 629 @@ -2599,7 +2599,7 @@ GraphicsMagick 664 variants universal portdir graphics/GraphicsMagick description {image processing tools collection} homepage http://www.graphicsmagick.org/ epoch 0 platforms darwin name GraphicsMagick depends_lib {port:libxml2 port:bzip2 port:zlib port:libpng port:tiff port:freetype port:libiconv port:jpeg} maintainers nomaintainer long_description {GraphicsMagick is the swiss army knife of image processing. It provides a robust collection of tools and libraries which support reading, writing, and manipulating an image in over 88 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, SVG, and TIFF.} version 1.2.3 categories graphics revision 0 ImageMagick 1776 -variants {universal rsvg perl gs lcms wmf mpeg jbig jpeg2 graphviz hdri q8 q16 q32 no_x11 no_plus_plus darwin_6} depends_build port:pkgconfig variant_desc {rsvg {Support SVG using librsvg} perl {Install PerlMagick} gs {Include Ghostscript library support} lcms {Support the Little Color Management System} wmf {Support the Windows Metafile Format} mpeg {Support MPEG-1 and MPEG-2 video} jbig {Support JBIG} jpeg2 {Support JPEG-2000 using JasPer} graphviz {Support Graphviz} hdri {Support High Dynamic Range Imaging using OpenEXR} q8 {Use 8 bits per pixel quantum} q16 {Use 16 bits per pixel quantum (default)} q32 {Use 32 bits per pixel quantum} no_x11 {Disable X11 support} no_plus_plus {Do not install Magick++}} portdir graphics/ImageMagick description {Tools and libraries to manipulate images in many formats} homepage http://www.imagemagick.org/ epoch 0 platforms darwin name ImageMagick depends_lib {lib:libX11.6:XFree86 port:bzip2 port:jpeg port:libpng port:tiff port:zlib port:fre etype port:fontconfig port:libiconv port:expat port:libxml2} maintainers ryandesign long_description {ImageMagick is a robust collection of tools and libraries to create, edit and compose bitmap images in a wide variety of formats. You can crop, resize, rotate, sharpen, color reduce or add effects or text or straight or curved lines to an image or image sequence and save your completed work in the same or differing image format. You can even create images from scratch. Image processing operations are available from the command line as well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk programming interfaces. Over 90 image formats are supported, including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF.} categories {graphics devel} version 6.4.2-5 revision 1 +variants {universal rsvg perl gs lcms wmf mpeg jbig jpeg2 graphviz hdri q8 q16 q32 no_x11 no_plus_plus darwin_6} depends_build port:pkgconfig variant_desc {rsvg {Support SVG using librsvg} perl {Install PerlMagick} gs {Include Ghostscript library support} lcms {Support the Little Color Management System} wmf {Support the Windows Metafile Format} mpeg {Support MPEG-1 and MPEG-2 video} jbig {Support JBIG} jpeg2 {Support JPEG-2000 using JasPer} graphviz {Support Graphviz} hdri {Support High Dynamic Range Imaging using OpenEXR} q8 {Use 8 bits per pixel quantum} q16 {Use 16 bits per pixel quantum (default)} q32 {Use 32 bits per pixel quantum} no_x11 {Disable X11 support} no_plus_plus {Do not install Magick++}} portdir graphics/ImageMagick description {Tools and libraries to manipulate images in many formats} homepage http://www.imagemagick.org/ epoch 0 platforms darwin name ImageMagick depends_lib {lib:libX11.6:XFree86 port:bzip2 port:jpeg port:libpng port:tiff port:zlib port:fre etype port:fontconfig port:libiconv port:expat port:libxml2} maintainers ryandesign long_description {ImageMagick is a robust collection of tools and libraries to create, edit and compose bitmap images in a wide variety of formats. You can crop, resize, rotate, sharpen, color reduce or add effects or text or straight or curved lines to an image or image sequence and save your completed work in the same or differing image format. You can even create images from scratch. Image processing operations are available from the command line as well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk programming interfaces. Over 90 image formats are supported, including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF.} categories {graphics devel} version 6.4.2-6 revision 0 OpenSceneGraph 499 depends_build port:cmake portdir graphics/OpenSceneGraph description {high-performance 3D graphics toolkit} homepage http://www.openscenegraph.org/ epoch 0 platforms darwin depends_lib {port:freetype port:gdal} name OpenSceneGraph maintainers {ryandesign openmaintainer} long_description {OpenSceneGraph is a high-performance 3D graphics toolkit useful in fields such as visual simulation, games, virtual reality, scientific visualization and modelling} version 2.4.0 categories graphics revision 0 Renaissance-Framework 622 @@ -2727,7 +2727,7 @@ graphviz 1612 variants {universal darwin_6 darwin_7 darwin_8 darwin_9 guile lua ocaml perl php python ruby tcl smyrna no_pangocairo no_x11 gui} depends_build port:pkgconfig variant_desc {guile {Include Guile language bindings} lua {Include Lua language bindings} ocaml {Include Objective Caml language bindings} perl {Include PERL 5.8 language bindings} php {Include PHP 4 language bindings} python {Include Python 2.4 language bindings} ruby {Include Ruby language bindings} tcl {Include Tcl language bindings} smyrna {Include the Smyrna large graph viewer} no_pangocairo {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} no_x11 {Remove X11 support (removes lefty; implies no_pangocairo)} gui {Include the Pixelglow graph viewer}} portdir graphics/graphviz description {Graph visualization software from AT&T and Bell Labs} homepage http://www.graphviz.org/ depends_run port:urw-fonts epoch 0 platforms darwin name graphviz depends_lib {lib:libX11.6:XFree86 port:cairo {path: \${prefix}/lib/pkgconfig/pango.pc:pango} port:jpeg port:libpng port:freetype port:expat port:zlib port:gettext} maintainers ryandesign long_description {Graph Visualization Software from AT&T Laboratories and Bell Laboratories (Lucent Technologies). The package contains: dot - batch program for drawing directed graphs as hierarchies neato - batch program for drawing undirected graphs using Kamada-Kawai spring models. Users wishing to have only the graph layout programs (for non-interactive use) can use the +no_x11 variant to build graphviz without its display routines.} categories graphics version 2.20.2 revision 1 graphviz-devel 1636 -variants {universal darwin_6 darwin_7 darwin_8 darwin_9 guile lua ocaml perl php python ruby tcl smyrna no_pangocairo no_x11 gui} depends_build port:pkgconfig variant_desc {guile {Include Guile language bindings} lua {Include Lua language bindings} ocaml {Include Objective Caml language bindings} perl {Include PERL 5.8 language bindings} php {Include PHP 4 language bindings} python {Include Python 2.4 language bindings} ruby {Include Ruby language bindings} tcl {Include Tcl language bindings} smyrna {Include the Smyrna large graph viewer} no_pangocairo {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} no_x11 {Remove X11 support (removes lefty; implies no_pangocairo)} gui {Include the Pixelglow graph viewer}} portdir graphics/graphviz-devel description {Graph visualization software from AT&T and Bell Labs} homepage http://www.graphviz.org/ depends_run port:urw-fonts epoch 0 platforms darwin name graphviz-devel depends_lib {lib:libX11.6:XFree86 port: cairo {path:\${prefix}/lib/pkgconfig/pango.pc:pango} port:jpeg port:libpng port:freetype port:expat port:zlib port:gettext} maintainers ryandesign long_description {Graph Visualization Software from AT&T Laboratories and Bell Laboratories (Lucent Technologies). The package contains: dot - batch program for drawing directed graphs as hierarchies neato - batch program for drawing undirected graphs using Kamada-Kawai spring models. Users wishing to have only the graph layout programs (for non-interactive use) can use the +no_x11 variant to build graphviz without its display routines.} categories graphics version 2.21.20080730.1741 revision 0 +variants {universal darwin_6 darwin_7 darwin_8 darwin_9 guile lua ocaml perl php python ruby tcl smyrna no_pangocairo no_x11 gui} depends_build port:pkgconfig variant_desc {guile {Include Guile language bindings} lua {Include Lua language bindings} ocaml {Include Objective Caml language bindings} perl {Include PERL 5.8 language bindings} php {Include PHP 4 language bindings} python {Include Python 2.4 language bindings} ruby {Include Ruby language bindings} tcl {Include Tcl language bindings} smyrna {Include the Smyrna large graph viewer} no_pangocairo {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} no_x11 {Remove X11 support (removes lefty; implies no_pangocairo)} gui {Include the Pixelglow graph viewer}} portdir graphics/graphviz-devel description {Graph visualization software from AT&T and Bell Labs} homepage http://www.graphviz.org/ depends_run port:urw-fonts epoch 0 platforms darwin name graphviz-devel depends_lib {lib:libX11.6:XFree86 port: cairo {path:\${prefix}/lib/pkgconfig/pango.pc:pango} port:jpeg port:libpng port:freetype port:expat port:zlib port:gettext} maintainers ryandesign long_description {Graph Visualization Software from AT&T Laboratories and Bell Laboratories (Lucent Technologies). The package contains: dot - batch program for drawing directed graphs as hierarchies neato - batch program for drawing undirected graphs using Kamada-Kawai spring models. Users wishing to have only the graph layout programs (for non-interactive use) can use the +no_x11 variant to build graphviz without its display routines.} categories graphics version 2.21.20080805.0445 revision 0 greycstoration 708 variants universal portdir graphics/greycstoration description {Open source algorithm for image denoising and interpolation} homepage http://www.greyc.ensicaen.fr/~dtschump/greycstoration/ epoch 0 platforms darwin name greycstoration depends_lib port:gimp2 long_description {GREYCstoration is an image regularization algorithm which processes an image by locally removing small variations of pixel intensities while preserving significant global image features, such as sharp edges and corners. The most direct application of image regularization is denoising. By extension, it can also be used to inpaint or resize images.} maintainers julien.lusson at gmail.com version 2.5.2.1 categories graphics revision 0 gtksee 407 @@ -8442,6 +8442,8 @@ variants {universal freebsd netbsd openbsd} depends_build {bin:flex:flex bin:bison:bison} portdir sysutils/monit description {monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system.} homepage http://www.tildeslash.com/monit/ epoch 0 platforms {darwin freebsd linux netbsd openbsd solaris} depends_lib port:openssl name monit maintainers eridius at macports.org long_description {Monit can start a process if it does not run, restart a process if it does not respond and stop a process if it uses too many resources. You can use monit to monitor files, directories and devices for changes, such as timestamp changes, checksum changes or size changes. You can also monitor remote {hosts;} monit can ping a remote host and can check TCP/IP port connections and server protocols. Monit is controlled via an easy to use control file based on a free-format, token-oriented syntax. Monit logs to syslog or to its own log file and notifies you abou t error conditions and recovery status via customizable alert.} version 4.10.1 categories sysutils revision 0 moreutils 951 variants {universal doc} variant_desc {doc {Install man pages}} portdir sysutils/moreutils description {a collection of the unix tools that nobody thought to write thirty years ago.} homepage http://packages.debian.org/unstable/utils/moreutils epoch 0 depends_run port:perl5.8 platforms darwin name moreutils maintainers {milosh openmaintainer} long_description {moreutils includes the following utilities: - isutf8: check if a file or standard input is utf-8, - sponge: soak up standard input and write to a file, - ts: timestamp standard input, - vidir: edit a directory in your text editor, - vipe: insert a text editor into a pipe, - combine: combine the lines in two files using boolean operations, - pee: tee standard input to pipes, - zrun: automatically uncompress arguments to command, - mispipe: pipe two commands, returning the exit status of the first, - lckdo: run a program with a lock held.} version 0.31 categories sysutils revision 1 +mtools 318 +variants universal description {MS-DOS disk access utilities} portdir sysutils/mtools homepage http://mtools.linux.lu/ epoch 0 platforms darwin name mtools long_description {Utilities to access MS-DOS disks from Unix without mounting them} maintainers goudal.net:francois categories sysutils version 3.9.11 revision 0 multitail 968 portdir sysutils/multitail variants universal description {Tail multiple files in one terminal at once} name multitail version 5.2.0 categories sysutils homepage http://www.vanheusden.com/multitail/ revision 0 epoch 0 maintainers luc at honk-honk.com long_description {MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). Merging of 2 or even more logfiles is possible. It can also use colors while displaying the logfiles (through regular expressions), for faster recognition of what is important and what not. It can also filter lines (again with regular expressions). It has interactive menus for editing given regular expressions and deleting and adding windows. One can also have windows with the output of shell scripts and other software. When viewing the output of external software, MultiTail can mimic the functionality of tools like 'watch' and such.} nrg2iso 346 @@ -9244,8 +9246,8 @@ variants {universal darwin_6 darwin_7 macosx apache apache2 apache20 crypt curl mysql3 mysql4 mysql5 postgresql8 ldap gmp dbase imap pspell xslt readline t1lib} variant_desc {apache {for Apple Apache} apache2 {for current Apache} apache20 {for Apache 2.0.59} crypt {interface to mcrypt library} curl {connect to servers using different protocols} mysql3 {MySQL 3 functions} mysql4 {MySQL 4 functions} mysql5 {MySQL 5 functions} postgresql8 {add support for PostgreSQL databases} ldap {enable LDAP support} gmp {Add GNU MP functions} dbase {Add dBase file format support} imap {enable operatin with IMAP protocol} pspell {Add pspell spell-checking functions} xslt {a processor independent API to XSLT transformations} readline {Add GNU readline functions} t1lib {Add PostScript Type 1 font support with t1lib}} portdir www/php4 description {PHP: Hypertext Preprocessor} homepage http://www.php.net/ epoch 0 platforms {darwin freebsd} name php4 depends_lib {port:libiconv port:expat port:get text port:zlib port:openssl port:tiff port:libxml2 port:libtool port:gd2 port:jpeg port:libpng port:freetype} maintainers {jwa ryandesign} long_description {PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.} version 4.4.8 categories {www php lang} revision 1 php5 1693 variants {universal darwin_6 darwin_7 macosx apache apache2 fastcgi gmp dbase imap pspell tidy mssql snmp macports_snmp mysql3 mysql4 mysql5 oracle postgresql82 postgresql83 sqlite ipc pcntl pear readline sockets t1lib} variant_desc {apache {for Apple Apache} apache2 {for current Apache} fastcgi {add fastcgi binary} gmp {Add GNU MP functions} dbase {Add dBase file format support} imap {enable operation with IMAP protocol} pspell {Add pspell spell-checking functions} tidy {add Tidy support} mssql {add support for MS-SQL server} snmp {use Apple snmp} macports_snmp {use MacPorts snmp} mysql3 {build MySQL 3 support} mysql4 {build MySQL 4 support} mysql5 {build MySQL 5 support} oracle {Add Oracle oci8 database functions with the Oracle Instant Client} postgresql82 {provide postgresql82 support} postgresql83 {provide postgresql83 support} sqlite {build sqlite support} ipc {build IPC support} pcntl {provide process control} pear {add pear stuff} readline {Add GNU readline functions } sockets {Add socket communication functions} t1lib {Add PostScript Type 1 font support with t1lib}} portdir www/php5 description {PHP: Hypertext Preprocessor} homepage http://www.php.net/ epoch 0 platforms {darwin freebsd} name php5 depends_lib {port:libxml2 port:libxslt port:openssl port:zlib port:bzip2 port:libiconv port:expat port:gettext port:tiff port:mhash port:libmcrypt port:curl port:pcre port:gd2 port:jpeg port:libpng port:freetype} maintainers {ryandesign jwa} long_description {PHP is a widely-used general-purpose scripting language that is especially suited for developing web sites, but can also be used for command-line scripting.} version 5.2.6 categories {www lang php} revision 1 -php5-devel 1707 -variants {universal darwin_6 darwin_7 macosx apache apache2 fastcgi gmp dbase imap pspell tidy mssql snmp macports_snmp mysql3 mysql4 mysql5 oracle postgresql82 postgresql83 sqlite ipc pcntl pear readline sockets t1lib} variant_desc {apache {for Apple Apache} apache2 {for current Apache} fastcgi {add fastcgi binary} gmp {Add GNU MP functions} dbase {Add dBase file format support} imap {enable operation with IMAP protocol} pspell {Add pspell spell-checking functions} tidy {add Tidy support} mssql {add support for MS-SQL server} snmp {use Apple snmp} macports_snmp {use MacPorts snmp} mysql3 {build MySQL 3 support} mysql4 {build MySQL 4 support} mysql5 {build MySQL 5 support} oracle {Add Oracle oci8 database functions with the Oracle Instant Client} postgresql82 {provide postgresql82 support} postgresql83 {provide postgresql83 support} sqlite {build sqlite support} ipc {build IPC support} pcntl {provide process control} pear {add pear stuff} readline {Add GNU readline functions } sockets {Add socket communication functions} t1lib {Add PostScript Type 1 font support with t1lib}} portdir www/php5-devel description {PHP: Hypertext Preprocessor} homepage http://qa.php.net/ epoch 0 platforms {darwin freebsd} name php5-devel depends_lib {port:libxml2 port:libxslt port:openssl port:zlib port:bzip2 port:libiconv port:expat port:gettext port:tiff port:mhash port:libmcrypt port:curl port:pcre port:gd2 port:jpeg port:libpng port:freetype} maintainers {ryandesign jwa} long_description {PHP is a widely-used general-purpose scripting language that is especially suited for developing web sites, but can also be used for command-line scripting.} version 5.2.6RC5 categories {www lang php} revision 1 +php5-devel 1710 +variants {universal darwin_6 darwin_7 macosx apache apache2 fastcgi gmp dbase imap pspell tidy mssql snmp macports_snmp mysql3 mysql4 mysql5 oracle postgresql82 postgresql83 sqlite ipc pcntl pear readline sockets t1lib} variant_desc {apache {for Apple Apache} apache2 {for current Apache} fastcgi {add fastcgi binary} gmp {Add GNU MP functions} dbase {Add dBase file format support} imap {enable operation with IMAP protocol} pspell {Add pspell spell-checking functions} tidy {add Tidy support} mssql {add support for MS-SQL server} snmp {use Apple snmp} macports_snmp {use MacPorts snmp} mysql3 {build MySQL 3 support} mysql4 {build MySQL 4 support} mysql5 {build MySQL 5 support} oracle {Add Oracle oci8 database functions with the Oracle Instant Client} postgresql82 {provide postgresql82 support} postgresql83 {provide postgresql83 support} sqlite {build sqlite support} ipc {build IPC support} pcntl {provide process control} pear {add pear stuff} readline {Add GNU readline functions } sockets {Add socket communication functions} t1lib {Add PostScript Type 1 font support with t1lib}} portdir www/php5-devel description {PHP: Hypertext Preprocessor} homepage http://qa.php.net/ epoch 0 platforms {darwin freebsd} name php5-devel depends_lib {port:libxml2 port:libxslt port:openssl port:zlib port:bzip2 port:libiconv port:expat port:gettext port:tiff port:mhash port:libmcrypt port:curl port:pcre port:gd2 port:jpeg port:libpng port:freetype} maintainers {ryandesign jwa} long_description {PHP is a widely-used general-purpose scripting language that is especially suited for developing web sites, but can also be used for command-line scripting.} version 5.3.0alpha1 categories {www lang php} revision 0 php5-eaccelerator 1139 variants {universal shared_memory sessions content_caching disassembler} variant_desc {shared_memory {Enable shared memory access functions [only enable in trusted environments]} sessions {Enable session handler [only enable in trusted environments]} content_caching {Enable content caching support [may be obsoleted in a future version of eAccelerator]} disassembler {Include a disassembler}} portdir www/php5-eaccelerator description {php5 extension for PHP acceleration, optimization, and dynamic content caching} homepage http://eaccelerator.net/ epoch 0 platforms {darwin freebsd openbsd} name php5-eaccelerator depends_lib port:php5 maintainers melix.net:alakazam long_description {eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAcc elerator typically reduces server load and increases the speed of your PHP code by 1-10 times.} version 0.9.5.3 categories {www net devel} revision 0 php5-memcache 593 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/299b5ba2/attachment.html From pmagrath at macports.org Tue Aug 5 13:21:10 2008 From: pmagrath at macports.org (pmagrath at macports.org) Date: Tue, 5 Aug 2008 13:21:10 -0700 (PDT) Subject: [38999] branches/gsoc08-privileges/base/src Message-ID: <20080805202110.965661C4BE1@beta.macosforge.org> Revision: 38999 http://trac.macosforge.org/projects/macports/changeset/38999 Author: pmagrath at macports.org Date: 2008-08-05 13:21:10 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Use ui_msg instead of ui_error for privileges error. Improve commenting re: Portfile copying. Modified Paths: -------------- branches/gsoc08-privileges/base/src/port/port.tcl branches/gsoc08-privileges/base/src/port1.0/portutil.tcl Modified: branches/gsoc08-privileges/base/src/port/port.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-05 19:51:43 UTC (rev 38998) +++ branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-05 20:21:10 UTC (rev 38999) @@ -2475,7 +2475,7 @@ # start gsoc08-privileges if { [geteuid] != 0 && $result == 2} { # mportexec will return an error result code 2 if eval_targets fails due to insufficient privileges. - ui_warn "Attempting re-run with 'sudo port'. Executing: 'sudo port $target $portname'." + ui_warn "Attempting port action with 'sudo port': 'sudo port $target $portname'." set result 0 ui_msg [exec sudo port $target $portname] ui_debug "'sudo port $target $portname' has completed." Modified: branches/gsoc08-privileges/base/src/port1.0/portutil.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-05 19:51:43 UTC (rev 38998) +++ branches/gsoc08-privileges/base/src/port1.0/portutil.tcl 2008-08-05 20:21:10 UTC (rev 38999) @@ -1110,7 +1110,7 @@ ########### Internal Dependency Manipulation Procedures ########### proc target_run {ditem} { - global target_state_fd portpath portname portversion portrevision portvariants ports_force variations workpath ports_trace PortInfo + global target_state_fd portpath portname portversion portrevision portvariants ports_force variations workpath ports_trace PortInfo errorisprivileges set result 0 set skipped 0 set procedure [ditem_key $ditem procedure] @@ -1309,7 +1309,11 @@ write_statefile target $name $target_state_fd } } else { - ui_error "Target $name returned: $errstr" + if {$errorisprivileges != "yes"} { + ui_error "Target $name returned: $errstr" + } else { + ui_msg "Target $name returned: $errstr" + } set result 1 } @@ -1472,8 +1476,11 @@ set sourcepath [string map {"work" ""} $worksymlink] set newsourcepath "$altprefix/[ string range $sourcepath 1 end ]" - # copy Portfile (and files) if not there already - # note to self: should this be done always in case existing Portfile is out of date? + # copy Portfile (and patch files) if not there already + # note to maintainers/devs: the original portfile in /opt is ALWAYS the one that will be + # read by macports. The copying of the portfile is done to preserve the symlink provided + # historically by macports from the portfile directory to the work directory. + # It is NOT read by MacPorts. if {![file exists ${newsourcepath}Portfile] } { file mkdir $newsourcepath ui_debug "$newsourcepath created" @@ -2334,7 +2341,7 @@ if { [getuid] != 0 } { set errorisprivileges yes - return -code error "You can not run this port without elevated privileges. You need to re-run with 'sudo port'."; + return -code error "port requires root privileges for this action and needs you to type your password for sudo."; } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/4ae39c17/attachment-0001.html From pmagrath at macports.org Tue Aug 5 13:25:51 2008 From: pmagrath at macports.org (pmagrath at macports.org) Date: Tue, 5 Aug 2008 13:25:51 -0700 (PDT) Subject: [39000] branches/gsoc08-privileges/base Message-ID: <20080805202552.632251C4CB3@beta.macosforge.org> Revision: 39000 http://trac.macosforge.org/projects/macports/changeset/39000 Author: pmagrath at macports.org Date: 2008-08-05 13:25:51 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Merged revisions 38683-38684,38753,38756,38765,38835,38883,38940-38942,38960-38961,38973 via svnmerge from https://svn.macosforge.org/repository/macports/trunk/base ........ r38683 | febeling at macports.org | 2008-07-28 22:21:33 +0100 (Mon, 28 Jul 2008) | 9 lines Support for ruby19 ports in the ruby port group. The command ruby.setup accepts an new optional parameter "implementation", which is ruby18 by default, and can also be ruby19. (As more ruby implementations appear these may be added as well.) Unit tests are in the new sub-directory tests/. ........ r38684 | febeling at macports.org | 2008-07-28 22:32:47 +0100 (Mon, 28 Jul 2008) | 2 lines ChangeLog for ruby group change, #15912. ........ r38753 | afb at macports.org | 2008-07-30 08:30:39 +0100 (Wed, 30 Jul 2008) | 2 lines update changelog for r38577 ........ r38756 | afb at macports.org | 2008-07-30 11:13:23 +0100 (Wed, 30 Jul 2008) | 2 lines unbreak test case when ruby19 is not installed or not running leopard ........ r38765 | toby at macports.org | 2008-07-30 20:59:14 +0100 (Wed, 30 Jul 2008) | 2 lines fix distclean ........ r38835 | febeling at macports.org | 2008-08-01 09:47:58 +0100 (Fri, 01 Aug 2008) | 2 lines remove hard-coded mp prefix in test case setup ........ r38883 | wsiegrist at apple.com | 2008-08-02 00:53:41 +0100 (Sat, 02 Aug 2008) | 2 lines Make the guide chunkier at ........ r38940 | raimue at macports.org | 2008-08-03 09:05:42 +0100 (Sun, 03 Aug 2008) | 4 lines pextlib1.0: Add a wrapper for isatty(3). Add term_get_size to find the size of a connected terminal for a channel using ioctl(2). ........ r38941 | raimue at macports.org | 2008-08-03 09:10:26 +0100 (Sun, 03 Aug 2008) | 4 lines port/port.tcl: Use isatty and term_get_size from pextlib to determine the size of the connected terminal. This requires the Pextlib package. ........ r38942 | raimue at macports.org | 2008-08-03 09:19:05 +0100 (Sun, 03 Aug 2008) | 3 lines pextlib1.0/tty.c: Tabs to spaces ........ r38960 | afb at macports.org | 2008-08-04 10:23:00 +0100 (Mon, 04 Aug 2008) | 2 lines add use_lzma for .tar.lzma support ........ r38961 | afb at macports.org | 2008-08-04 10:29:00 +0100 (Mon, 04 Aug 2008) | 2 lines fix typo ........ r38973 | jmr at macports.org | 2008-08-04 17:11:28 +0100 (Mon, 04 Aug 2008) | 2 lines mirror sites: order sourceforge mirrors more or less geographically ........ Modified Paths: -------------- branches/gsoc08-privileges/base/ChangeLog branches/gsoc08-privileges/base/Makefile.in branches/gsoc08-privileges/base/configure branches/gsoc08-privileges/base/configure.ac branches/gsoc08-privileges/base/doc/portfile.7 branches/gsoc08-privileges/base/portmgr/jobs/GuideRegen.sh branches/gsoc08-privileges/base/src/pextlib1.0/Makefile branches/gsoc08-privileges/base/src/pextlib1.0/Pextlib.c branches/gsoc08-privileges/base/src/port/port.tcl branches/gsoc08-privileges/base/src/port1.0/portextract.tcl branches/gsoc08-privileges/base/src/port1.0/portfetch.tcl branches/gsoc08-privileges/base/src/port1.0/resources/fetch/mirror_sites.tcl branches/gsoc08-privileges/base/src/port1.0/resources/group/Makefile branches/gsoc08-privileges/base/src/port1.0/resources/group/ruby-1.0.tcl Added Paths: ----------- branches/gsoc08-privileges/base/src/pextlib1.0/tty.c branches/gsoc08-privileges/base/src/pextlib1.0/tty.h branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl Removed Paths: ------------- branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl Property Changed: ---------------- branches/gsoc08-privileges/base/ Property changes on: branches/gsoc08-privileges/base ___________________________________________________________________ Name: svnmerge-integrated - /trunk/base:1-38640 + /trunk/base:1-38999 Modified: branches/gsoc08-privileges/base/ChangeLog =================================================================== --- branches/gsoc08-privileges/base/ChangeLog 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/ChangeLog 2008-08-05 20:25:51 UTC (rev 39000) @@ -5,6 +5,14 @@ Unreleased: + - Ruby port group now accepts a new (optional) last parameter for the + ruby.setup command, "implementation". It is "ruby" by default, and + can be set to "ruby19". It names the ruby-implementing port, and can + possibly support still other rubys in the future. (#15912, febeling + in 38683) + + - Don't use build.nice for complex build.cmd commands (#16091) + - The buildmakejobs setting now also affects ports using the scons build system, so now scons-based ports can be built in parallel too. Previously only automake-based ports were supported. (ryandesign in r38556) Modified: branches/gsoc08-privileges/base/Makefile.in =================================================================== --- branches/gsoc08-privileges/base/Makefile.in 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/Makefile.in 2008-08-05 20:25:51 UTC (rev 39000) @@ -57,6 +57,7 @@ rm -rf autom4te.cache ${DISTDIR} rm -f Makefile Mk/macports.autoconf.mk portmgr/fedora/macports.spec portmgr/freebsd/Makefile rm -f Doxyfile + rm -f setupenv.bash _gettag: cd ${DISTDIR}; svn co ${SVNURL}/tags/${SVNTAG} ${PKGNAME}-svn Modified: branches/gsoc08-privileges/base/configure =================================================================== --- branches/gsoc08-privileges/base/configure 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/configure 2008-08-05 20:25:51 UTC (rev 39000) @@ -12386,6 +12386,8 @@ test "x$mpprefix" = "xNONE" && mpprefix=$ac_default_prefix if false && test -d /etc/paths.d -a -d /etc/manpaths.d -a "$mpprefix" = "$ac_default_prefix"; then PATHCONF=pathconf + ac_config_files="$ac_config_files src/pathconf/Makefile src/pathconf/paths src/pathconf/manpaths" + { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else @@ -12474,7 +12476,7 @@ # Output -ac_config_files="$ac_config_files Doxyfile Makefile Mk/macports.autoconf.mk doc/prefix.mtree doc/macosx.mtree doc/macports.conf portmgr/freebsd/Makefile portmgr/fedora/macports.spec src/Makefile src/macports1.0/macports_autoconf.tcl src/tclobjc1.0/Makefile src/pathconf/Makefile src/pathconf/paths src/pathconf/manpaths src/port1.0/port_autoconf.tcl src/registry1.0/registry_autoconf.tcl src/programs/Makefile src/macports1.0/macports_fastload.tcl setupenv.bash" +ac_config_files="$ac_config_files Doxyfile Makefile Mk/macports.autoconf.mk doc/prefix.mtree doc/macosx.mtree doc/macports.conf portmgr/freebsd/Makefile portmgr/fedora/macports.spec src/Makefile src/macports1.0/macports_autoconf.tcl src/tclobjc1.0/Makefile src/port1.0/port_autoconf.tcl src/registry1.0/registry_autoconf.tcl src/programs/Makefile src/macports1.0/macports_fastload.tcl setupenv.bash" cat >confcache <<\_ACEOF @@ -13032,6 +13034,9 @@ case $ac_config_target in "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; "src/programs/daemondo/Makefile") CONFIG_FILES="$CONFIG_FILES src/programs/daemondo/Makefile" ;; + "src/pathconf/Makefile") CONFIG_FILES="$CONFIG_FILES src/pathconf/Makefile" ;; + "src/pathconf/paths") CONFIG_FILES="$CONFIG_FILES src/pathconf/paths" ;; + "src/pathconf/manpaths") CONFIG_FILES="$CONFIG_FILES src/pathconf/manpaths" ;; "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "Mk/macports.autoconf.mk") CONFIG_FILES="$CONFIG_FILES Mk/macports.autoconf.mk" ;; @@ -13043,9 +13048,6 @@ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/macports1.0/macports_autoconf.tcl") CONFIG_FILES="$CONFIG_FILES src/macports1.0/macports_autoconf.tcl" ;; "src/tclobjc1.0/Makefile") CONFIG_FILES="$CONFIG_FILES src/tclobjc1.0/Makefile" ;; - "src/pathconf/Makefile") CONFIG_FILES="$CONFIG_FILES src/pathconf/Makefile" ;; - "src/pathconf/paths") CONFIG_FILES="$CONFIG_FILES src/pathconf/paths" ;; - "src/pathconf/manpaths") CONFIG_FILES="$CONFIG_FILES src/pathconf/manpaths" ;; "src/port1.0/port_autoconf.tcl") CONFIG_FILES="$CONFIG_FILES src/port1.0/port_autoconf.tcl" ;; "src/registry1.0/registry_autoconf.tcl") CONFIG_FILES="$CONFIG_FILES src/registry1.0/registry_autoconf.tcl" ;; "src/programs/Makefile") CONFIG_FILES="$CONFIG_FILES src/programs/Makefile" ;; Modified: branches/gsoc08-privileges/base/configure.ac =================================================================== --- branches/gsoc08-privileges/base/configure.ac 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/configure.ac 2008-08-05 20:25:51 UTC (rev 39000) @@ -341,6 +341,7 @@ test "x$mpprefix" = "xNONE" && mpprefix=$ac_default_prefix if false && test -d /etc/paths.d -a -d /etc/manpaths.d -a "$mpprefix" = "$ac_default_prefix"; then PATHCONF=pathconf + AC_CONFIG_FILES([src/pathconf/Makefile src/pathconf/paths src/pathconf/manpaths]) AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -410,9 +411,6 @@ src/Makefile src/macports1.0/macports_autoconf.tcl src/tclobjc1.0/Makefile - src/pathconf/Makefile - src/pathconf/paths - src/pathconf/manpaths src/port1.0/port_autoconf.tcl src/registry1.0/registry_autoconf.tcl src/programs/Makefile Modified: branches/gsoc08-privileges/base/doc/portfile.7 =================================================================== --- branches/gsoc08-privileges/base/doc/portfile.7 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/doc/portfile.7 2008-08-05 20:25:51 UTC (rev 39000) @@ -612,7 +612,7 @@ .It Ic use_bzip2 Use bzip2. .br -Sets extract.suffix to: .bzip2 +Sets extract.suffix to: .bz2 .br Sets extract.cmd to: bzip2 .br @@ -621,6 +621,18 @@ .br .Sy Example: .Dl use_bzip2 yes +.It Ic use_lzma +Use lzma. +.br +Sets extract.suffix to: .lzma +.br +Sets extract.cmd to: lzma +.br +.Sy Type: +.Em optional +.br +.Sy Example: +.Dl use_lzma yes .It Ic dist_subdir Create a sub-directory in .Ic distpath Modified: branches/gsoc08-privileges/base/portmgr/jobs/GuideRegen.sh =================================================================== --- branches/gsoc08-privileges/base/portmgr/jobs/GuideRegen.sh 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/portmgr/jobs/GuideRegen.sh 2008-08-05 20:25:51 UTC (rev 39000) @@ -61,9 +61,13 @@ || { echo "Checking out the doc tree from $REPO_BASE/trunk/doc-new failed." >> $FAILURE_LOG; bail ; } fi -# (re)build +# build single html version { cd ${SRCTREE}/doc-new && $MAKE guide > $FAILURE_LOG 2>&1 ; } \ || { echo "make failed." >> $FAILURE_LOG ; bail ; } +# build chunked version +{ cd ${SRCTREE}/doc-new && $MAKE guide-chunked > $FAILURE_LOG 2>&1 ; } \ + || { echo "make failed." >> $FAILURE_LOG ; bail ; } + # At this point the guide was regen'd successfuly, so we cleanup before we exit. cleanup && exit 0 Modified: branches/gsoc08-privileges/base/src/pextlib1.0/Makefile =================================================================== --- branches/gsoc08-privileges/base/src/pextlib1.0/Makefile 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/pextlib1.0/Makefile 2008-08-05 20:25:51 UTC (rev 39000) @@ -1,7 +1,7 @@ OBJS= Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o \ fs-traverse.o strcasecmp.o vercomp.o filemap.o \ sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o\ - tracelib.o + tracelib.o tty.o SHLIB_NAME= Pextlib${SHLIB_SUFFIX} INSTALLDIR= ${DESTDIR}${datadir}/macports/Tcl/pextlib1.0 export MACOSX_DEPLOYMENT_TARGET=10.3 Modified: branches/gsoc08-privileges/base/src/pextlib1.0/Pextlib.c =================================================================== --- branches/gsoc08-privileges/base/src/pextlib1.0/Pextlib.c 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/pextlib1.0/Pextlib.c 2008-08-05 20:25:51 UTC (rev 39000) @@ -114,6 +114,7 @@ #include "readline.h" #include "uid.h" #include "tracelib.h" +#include "tty.h" #if HAVE_CRT_EXTERNS_H #include @@ -1214,6 +1215,8 @@ Tcl_CreateObjCommand(interp, "gid_to_name", gid_to_nameCmd, NULL, NULL); Tcl_CreateObjCommand(interp, "tracelib", TracelibCmd, NULL, NULL); + Tcl_CreateObjCommand(interp, "isatty", IsattyCmd, NULL, NULL); + Tcl_CreateObjCommand(interp, "term_get_size", TermGetSizeCmd, NULL, NULL); if (Tcl_PkgProvide(interp, "Pextlib", "1.0") != TCL_OK) return TCL_ERROR; Copied: branches/gsoc08-privileges/base/src/pextlib1.0/tty.c (from rev 38973, trunk/base/src/pextlib1.0/tty.c) =================================================================== --- branches/gsoc08-privileges/base/src/pextlib1.0/tty.c (rev 0) +++ branches/gsoc08-privileges/base/src/pextlib1.0/tty.c 2008-08-05 20:25:51 UTC (rev 39000) @@ -0,0 +1,124 @@ +/* + * tty.c + * $Id$ + * Tcl wrappers for tty control functions + * + * Author: Rainer Mueller + * + * Copyright (c) 2008 Rainer Mueller + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of Apple Computer, Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#if HAVE_CONFIG_H +#include +#endif + +#if HAVE_UNISTD_H +#include +#endif + +#include + +#include + +int IsattyCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) +{ + Tcl_Obj *tcl_result; + Tcl_Channel chan; + int dir; + int fd; + int rval; + + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "channel"); + return TCL_ERROR; + } + + chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); + if (chan == NULL) { + Tcl_SetResult(interp, "no such channel", TCL_STATIC); + return TCL_ERROR; + } + + if (Tcl_GetChannelHandle(chan, + dir & TCL_READABLE ? TCL_READABLE : TCL_WRITABLE, + (ClientData*) &fd) == TCL_ERROR) { + return TCL_ERROR; + } + + rval = isatty(fd); + + tcl_result = Tcl_NewIntObj(rval); + Tcl_SetObjResult(interp, tcl_result); + + return TCL_OK; +} + +int TermGetSizeCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) +{ + Tcl_Obj *tcl_result; + Tcl_Channel chan; + int dir; + int fd; + Tcl_Obj *robjv[2]; + struct winsize ws = {0, 0, 0, 0}; + + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "channel"); + return TCL_ERROR; + } + + chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), &dir); + if (chan == NULL) { + Tcl_SetResult(interp, "no such channel", TCL_STATIC); + return TCL_ERROR; + } + + if (Tcl_GetChannelHandle(chan, + dir & TCL_READABLE ? TCL_READABLE : TCL_WRITABLE, + (ClientData*) &fd) == TCL_ERROR) { + return TCL_ERROR; + } + + if (!isatty(fd)) { + Tcl_SetResult(interp, "channel is not connected to a tty", TCL_STATIC); + return TCL_ERROR; + } + + if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == -1) { + Tcl_SetResult(interp, "ioctl failed", TCL_STATIC); + return TCL_ERROR; + } + + robjv[0] = Tcl_NewIntObj(ws.ws_row); + robjv[1] = Tcl_NewIntObj(ws.ws_col); + + tcl_result = Tcl_NewListObj(2, robjv); + Tcl_SetObjResult(interp, tcl_result); + + return TCL_OK; +} Copied: branches/gsoc08-privileges/base/src/pextlib1.0/tty.h (from rev 38973, trunk/base/src/pextlib1.0/tty.h) =================================================================== --- branches/gsoc08-privileges/base/src/pextlib1.0/tty.h (rev 0) +++ branches/gsoc08-privileges/base/src/pextlib1.0/tty.h 2008-08-05 20:25:51 UTC (rev 39000) @@ -0,0 +1,53 @@ +/* + * tty.h + * $Id$ + * Tcl wrappers for tty control functions + * + * Author: Rainer Mueller + * + * Copyright (c) 2008 Rainer Mueller + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of Apple Computer, Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _PEXTLIB_TTY_H +#define _PEXTLIB_TTY_H + +#include + +/** + * A wrapper for isatty(3) + */ +int IsattyCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]); + +/** + * Determines current size of tty + * + * @returns list with 2 elements, rows and columns + */ +int TermGetSizeCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]); + +#endif /* _PEXTLIB_TTY_H */ Modified: branches/gsoc08-privileges/base/src/port/port.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port/port.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -41,6 +41,7 @@ catch {source \ [file join "@TCL_PACKAGE_DIR@" macports1.0 macports_fastload.tcl]} package require macports +package require Pextlib 1.0 # Standard procedures @@ -404,14 +405,20 @@ ## # Makes sure we get the current terminal size -proc set_term_size {} { +proc term_init_size {} { global env if {![info exists env(COLUMNS)] || ![info exists env(LINES)]} { - if {![catch {exec stty size} err]} { - regexp {(\d+) (\d+)} $err -> rows cols - set env(COLUMNS) $cols - set env(LINES) $rows + if {[isatty stdout]} { + set size [term_get_size stdout] + + if {![info exists env(LINES)]} { + set env(LINES) [lindex $size 0] + } + + if {![info exists env(COLUMNS)]} { + set env(COLUMNS) [lindex $size 1] + } } } } @@ -3161,7 +3168,7 @@ # Make sure we get the size of the terminal # We do this here to save it in the boot_env, in case we determined it manually -set_term_size +term_init_size # Save off a copy of the environment before mportinit monkeys with it global env boot_env Modified: branches/gsoc08-privileges/base/src/port1.0/portextract.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portextract.tcl 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port1.0/portextract.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -58,7 +58,7 @@ set_ui_prefix proc extract_init {args} { - global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_zip use_dmg workpath + global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_lzma use_zip use_dmg workpath # should the distfiles be extracted to worksrcpath instead? if {[tbool extract.mkdir]} { @@ -70,6 +70,8 @@ if {[tbool use_bzip2]} { option extract.cmd [binaryInPath "bzip2"] + } elseif {[tbool use_lzma]} { + option extract.cmd [binaryInPath "lzma"] } elseif {[tbool use_zip]} { option extract.cmd [binaryInPath "unzip"] option extract.pre_args -q Modified: branches/gsoc08-privileges/base/src/port1.0/portfetch.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/portfetch.tcl 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port1.0/portfetch.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -100,6 +100,7 @@ # Option-executed procedures option_proc use_bzip2 fix_extract_suffix +option_proc use_lzma fix_extract_suffix option_proc use_zip fix_extract_suffix option_proc use_dmg fix_extract_suffix @@ -110,6 +111,9 @@ use_bzip2 { set extract.suffix .tar.bz2 } + use_lzma { + set extract.suffix .tar.lzma + } use_zip { set extract.suffix .zip } Modified: branches/gsoc08-privileges/base/src/port1.0/resources/fetch/mirror_sites.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/resources/fetch/mirror_sites.tcl 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port1.0/resources/fetch/mirror_sites.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -258,21 +258,25 @@ set portfetch::mirror_sites::sites(sourceforge) { http://downloads.sourceforge.net/ - http://internode.dl.sourceforge.net/ http://easynews.dl.sourceforge.net/ + http://internap.dl.sourceforge.net/ + http://superb-east.dl.sourceforge.net/ + http://superb-west.dl.sourceforge.net/ + http://voxel.dl.sourceforge.net/ http://ufpr.dl.sourceforge.net/ + http://dfn.dl.sourceforge.net/ + http://garr.dl.sourceforge.net/ + http://heanet.dl.sourceforge.net/ http://kent.dl.sourceforge.net/ - http://jaist.dl.sourceforge.net/ - http://optusnet.dl.sourceforge.net/ - http://nchc.dl.sourceforge.net/ - http://switch.dl.sourceforge.net/ + http://mesh.dl.sourceforge.net/ http://puzzle.dl.sourceforge.net/ - http://garr.dl.sourceforge.net/ http://surfnet.dl.sourceforge.net/ - http://internap.dl.sourceforge.net/ - http://superb-east.dl.sourceforge.net/ - http://superb-west.dl.sourceforge.net/ + http://switch.dl.sourceforge.net/ + http://nchc.dl.sourceforge.net/ + http://jaist.dl.sourceforge.net/ + http://internode.dl.sourceforge.net/ http://transact.dl.sourceforge.net/ + http://optusnet.dl.sourceforge.net/ } set portfetch::mirror_sites::sites(sourceforge_jp) { Modified: branches/gsoc08-privileges/base/src/port1.0/resources/group/Makefile =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/resources/group/Makefile 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port1.0/resources/group/Makefile 2008-08-05 20:25:51 UTC (rev 39000) @@ -12,6 +12,7 @@ distclean: test: + ${TCLSH} tests/ruby-1.0.tcl install: $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR} Modified: branches/gsoc08-privileges/base/src/port1.0/resources/group/ruby-1.0.tcl =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/resources/group/ruby-1.0.tcl 2008-08-05 20:21:10 UTC (rev 38999) +++ branches/gsoc08-privileges/base/src/port1.0/resources/group/ruby-1.0.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -31,11 +31,14 @@ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Set some variables. -set ruby.bin ${prefix}/bin/ruby -set ruby.rdoc ${prefix}/bin/rdoc +# Define these variables assuming ruby1.8 to make them accessible in +# the portfile after port group declaration. They can be modified by +# ruby.setup, e.g. to use another ruby than 1.8. +set ruby.bin ${prefix}/bin/ruby +set ruby.rdoc ${prefix}/bin/rdoc +set ruby.gem ${prefix}/bin/gem + proc ruby.extract_config {var {default ""}} { global ruby.bin if {[catch {set val [exec ${ruby.bin} -e "require 'rbconfig';puts Config::CONFIG\[\"${var}\"\]"]}]} { @@ -51,19 +54,40 @@ set ruby.lib [ruby.extract_config vendorlibdir ${prefix}/lib/ruby/vendor_ruby/${ruby.version}] set ruby.archlib [ruby.extract_config vendorarchdir ${ruby.lib}/${ruby.arch}] -# define these empty initially, they are set by ruby.setup arguments set ruby.module "" set ruby.filename "" set ruby.project "" set ruby.docs {} set ruby.srcdir "" -# ruby group setup procedure -proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"}} { - global destroot prefix worksrcpath - global ruby.bin ruby.lib - global ruby.module ruby.project ruby.filename ruby.docs ruby.srcdir +# ruby group setup procedure; optional for ruby 1.8 if you want only +# basic variables, like ruby.lib and ruby.archlib. +proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {implementation "ruby"}} { + global destroot prefix worksrcpath os.platform + global ruby.bin ruby.rdoc ruby.gem + global ruby.version + global ruby.lib ruby.archlib + global ruby.module ruby.filename ruby.project ruby.docs ruby.srcdir + if {${implementation} eq "ruby19"} { + set ruby.bin ${prefix}/bin/ruby1.9 + set ruby.rdoc ${prefix}/bin/rdoc1.9 + set ruby.gem ${prefix}/bin/gem1.9 + set ruby.port_prefix rb19 + } elseif {${implementation} eq "ruby"} { + # ruby.bin, ruby.rdoc, and ruby.gem set to 1.8 by default + set ruby.port_prefix rb + } else { + ui_error "ruby.setup: unknown implementation '${implementation}' specified (ruby, ruby19 possible)" + return -code error "ruby.setup failed" + } + + # re-define variables to pick up possible implemantation change + set ruby.version [ruby.extract_config ruby_version] + set ruby.arch [ruby.extract_config arch ${os.platform}] + set ruby.lib [ruby.extract_config vendorlibdir ${prefix}/lib/ruby/vendor_ruby/${ruby.version}] + set ruby.archlib [ruby.extract_config vendorarchdir ${ruby.lib}/${ruby.arch}] + # define ruby global names and lists # check if module is a list or string if {[llength ${module}] > 1} { @@ -80,7 +104,7 @@ } set ruby.docs ${docs} - name rb-[string tolower ${ruby.module}] + name ${ruby.port_prefix}-[string tolower ${ruby.module}] version ${vers} categories ruby @@ -131,7 +155,7 @@ distname ${ruby.filename}-${vers} dist_subdir ruby - depends_lib path:${ruby.bin}:ruby + depends_lib port:${implementation} post-extract { # Create the work directory for gem-based ruby ports. @@ -275,7 +299,7 @@ } destroot { - system "cd ${worksrcpath} && ${prefix}/bin/gem install --local --force --install-dir ${destroot}${prefix}/lib/ruby/gems/${ruby.version} ${distpath}/${distname}" + system "cd ${worksrcpath} && ${ruby.gem} install --local --force --install-dir ${destroot}${prefix}/lib/ruby/gems/${ruby.version} ${distpath}/${distname}" set binDir ${destroot}${prefix}/lib/ruby/gems/${ruby.version}/bin if {[file isdirectory $binDir]} { Copied: branches/gsoc08-privileges/base/src/port1.0/resources/group/tests (from rev 38973, trunk/base/src/port1.0/resources/group/tests) Deleted: branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl =================================================================== --- trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl 2008-08-04 16:11:28 UTC (rev 38973) +++ branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -1,153 +0,0 @@ -#!/bin/sh -# This test needs macports to be installed to work -# start as tcl \ -exec tclsh "$0" "$@" - -set prefix [file dirname [file dirname [exec which port]]] -set os.platform i686-darwin - -# mock the commands the ruby group uses -proc name p0 { - global name.found - set name.found $p0 -} -proc version p0 { - global version.found - set version.found $p0 -} -proc categories p0 {} -proc distname p0 {} -proc dist_subdir p0 {} -proc depends_lib p0 { - global depends_lib.found - set depends_lib.found $p0 -} -proc post-extract p0 {} -proc configure.cmd {p0 p1 p2} {} -proc configure.pre_args p0 {} -proc build.target p0 { - global build.target.found - set build.target.found $p0 -} -proc build.cmd {p0 p1 p2} {} -proc pre-destroot p0 {} -proc destroot.cmd {p0 p1 p2} {} -proc destroot.target p0 {} -proc destroot.destdir {} {} -proc post-destroot p0 {} - -proc use_configure p0 {} -proc extract.suffix p0 {} -proc depends_lib-append p0 {} -proc extract p0 {} -proc build p0 {} -proc destroot p0 {} - -# directory which contains test file -set testdir [file dirname ${argv0}] - -namespace eval tests { - # Backwards compatible behaviour, assumes ruby1.8 - proc test_rubysetup_ruby18_default {} { - global prefix - global ruby.bin - global ruby.version - global ruby.module - global ruby.project - global ruby.filename - global ruby.docs - global ruby.lib ruby.archlib - - global build.target.found - global name.found - global version.found - global depends_lib.found - - ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} - - if {![file exists ${ruby.bin}]} { return } - if {"1.8" ne ${ruby.version}} { error "ruby.version failed: ${ruby.version}" } - if {"test_module" ne ${ruby.module}} { error "ruby.module failed" } - if {"tmod" ne ${ruby.project}} { error "ruby.project failed" } - if {"tmod" ne ${ruby.filename}} { error "ruby.filename failed" } - if {{README INSTALL} ne ${ruby.docs}} { error "ruby.docs failed"} - if {"setup" ne ${build.target.found}} { error "type-derived field build.target failed: ${build.target.found}"} - if {"rb-test_module" ne ${name.found}} { error "drived name failed: ${name.found}" } - if {"9.9" ne ${version.found}} { error "port version set failed" } - if {"port:ruby" ne ${depends_lib.found}} { error "depends_lib failed: ${depends_lib.found}" } - - if {"${prefix}/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "ruby.lib failed: ${ruby.lib}" } - if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.8/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } - } - - proc test_rubysetup_type_gem {} { - if {[catch {ruby.setup {test_module tmod} 9.9 gem {README INSTALL}}]} { - error "gem type port fails" - } - } - - proc test_rubysetup_ruby19 {} { - global prefix - global ruby.version - global ruby.module - global ruby.project - global ruby.filename - global ruby.bin - global ruby.docs - global ruby.lib ruby.archlib - - global build.target.found - global name.found - global version.found - global depends_lib.found - - ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} custom ruby19 - - # changed prefix - if {![file exists ${ruby.bin}]} { return } - if {![string equal "1.9.0" ${ruby.version}]} { error "ruby.version failed: '${ruby.version}'" } - if {![string equal "rb19-test_module" ${name.found}]} { error "drived name failed: ${name.found}" } - - if {![string equal "test_module" ${ruby.module}]} { error "ruby.module failed" } - if {![string equal "tmod" ${ruby.project}]} { error "ruby.project failed" } - if {![string equal "tmod" ${ruby.filename}]} { error "ruby.filename failed" } - if {![string equal {README INSTALL} ${ruby.docs}]} { error "ruby.docs failed"} - if {![string equal "setup" ${build.target.found}]} { error "type-derived field failed: ${build.target.found}"} - if {![string equal "9.9" ${version.found}]} { error "port version set failed" } - if {![string equal "port:ruby19" ${depends_lib.found}]} { error "depends_lib failed: ${depends_lib.found}" } - - if {![string equal "${prefix}/lib/ruby/vendor_ruby/1.9.0" ${ruby.lib}]} { error "ruby.lib failed: ${ruby.lib}" } - if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.9.0/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } - } - - proc test_setup_implementation_specifics {} { - if {![catch {ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} custom "rubz"}]} { - error "wrong implementation name signals error" - } - } - - proc test_variables_exported_without_rubysetup_call {} { - global prefix - global ruby.bin ruby.rdoc ruby.gem - global ruby.version ruby.arch ruby.lib ruby.archlib - if {"${prefix}/bin/ruby" ne ${ruby.bin}} { error "variable ruby.bin missing" } - if {"${prefix}/bin/rdoc" ne ${ruby.rdoc}} { error "variable ruby.rdoc missing" } - if {"${prefix}/bin/gem" ne ${ruby.gem}} { error "variable ruby.gem missing" } - if {"1.8" ne ${ruby.version}} { error "variable ruby.version missing" } - if {"" eq ${ruby.arch}} { error "variable ruby.arch missing" } - if {"${prefix}/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "variable ruby.lib missing" } - if {"" eq ${ruby.archlib}} { error "variable ruby.archlib missing" } - } - - # run all tests - if {![file executable $prefix/bin/ruby]} { - puts "WARNING: No ruby found, can't run ruby port group tests without installed ruby port; skipping." - } else { - foreach test [info procs test_*] { - # evaluate port group file in global context - # to reset global variables - uplevel {source "${testdir}/../ruby-1.0.tcl"} - $test - } - } -} Copied: branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl (from rev 38973, trunk/base/src/port1.0/resources/group/tests/ruby-1.0.tcl) =================================================================== --- branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl (rev 0) +++ branches/gsoc08-privileges/base/src/port1.0/resources/group/tests/ruby-1.0.tcl 2008-08-05 20:25:51 UTC (rev 39000) @@ -0,0 +1,153 @@ +#!/bin/sh +# This test needs macports to be installed to work +# start as tcl \ +exec tclsh "$0" "$@" + +set prefix [file dirname [file dirname [exec which port]]] +set os.platform i686-darwin + +# mock the commands the ruby group uses +proc name p0 { + global name.found + set name.found $p0 +} +proc version p0 { + global version.found + set version.found $p0 +} +proc categories p0 {} +proc distname p0 {} +proc dist_subdir p0 {} +proc depends_lib p0 { + global depends_lib.found + set depends_lib.found $p0 +} +proc post-extract p0 {} +proc configure.cmd {p0 p1 p2} {} +proc configure.pre_args p0 {} +proc build.target p0 { + global build.target.found + set build.target.found $p0 +} +proc build.cmd {p0 p1 p2} {} +proc pre-destroot p0 {} +proc destroot.cmd {p0 p1 p2} {} +proc destroot.target p0 {} +proc destroot.destdir {} {} +proc post-destroot p0 {} + +proc use_configure p0 {} +proc extract.suffix p0 {} +proc depends_lib-append p0 {} +proc extract p0 {} +proc build p0 {} +proc destroot p0 {} + +# directory which contains test file +set testdir [file dirname ${argv0}] + +namespace eval tests { + # Backwards compatible behaviour, assumes ruby1.8 + proc test_rubysetup_ruby18_default {} { + global prefix + global ruby.bin + global ruby.version + global ruby.module + global ruby.project + global ruby.filename + global ruby.docs + global ruby.lib ruby.archlib + + global build.target.found + global name.found + global version.found + global depends_lib.found + + ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} + + if {![file exists ${ruby.bin}]} { return } + if {"1.8" ne ${ruby.version}} { error "ruby.version failed: ${ruby.version}" } + if {"test_module" ne ${ruby.module}} { error "ruby.module failed" } + if {"tmod" ne ${ruby.project}} { error "ruby.project failed" } + if {"tmod" ne ${ruby.filename}} { error "ruby.filename failed" } + if {{README INSTALL} ne ${ruby.docs}} { error "ruby.docs failed"} + if {"setup" ne ${build.target.found}} { error "type-derived field build.target failed: ${build.target.found}"} + if {"rb-test_module" ne ${name.found}} { error "drived name failed: ${name.found}" } + if {"9.9" ne ${version.found}} { error "port version set failed" } + if {"port:ruby" ne ${depends_lib.found}} { error "depends_lib failed: ${depends_lib.found}" } + + if {"${prefix}/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "ruby.lib failed: ${ruby.lib}" } + if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.8/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } + } + + proc test_rubysetup_type_gem {} { + if {[catch {ruby.setup {test_module tmod} 9.9 gem {README INSTALL}}]} { + error "gem type port fails" + } + } + + proc test_rubysetup_ruby19 {} { + global prefix + global ruby.version + global ruby.module + global ruby.project + global ruby.filename + global ruby.bin + global ruby.docs + global ruby.lib ruby.archlib + + global build.target.found + global name.found + global version.found + global depends_lib.found + + ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} custom ruby19 + + # changed prefix + if {![file exists ${ruby.bin}]} { return } + if {![string equal "1.9.0" ${ruby.version}]} { error "ruby.version failed: '${ruby.version}'" } + if {![string equal "rb19-test_module" ${name.found}]} { error "drived name failed: ${name.found}" } + + if {![string equal "test_module" ${ruby.module}]} { error "ruby.module failed" } + if {![string equal "tmod" ${ruby.project}]} { error "ruby.project failed" } + if {![string equal "tmod" ${ruby.filename}]} { error "ruby.filename failed" } + if {![string equal {README INSTALL} ${ruby.docs}]} { error "ruby.docs failed"} + if {![string equal "setup" ${build.target.found}]} { error "type-derived field failed: ${build.target.found}"} + if {![string equal "9.9" ${version.found}]} { error "port version set failed" } + if {![string equal "port:ruby19" ${depends_lib.found}]} { error "depends_lib failed: ${depends_lib.found}" } + + if {![string equal "${prefix}/lib/ruby/vendor_ruby/1.9.0" ${ruby.lib}]} { error "ruby.lib failed: ${ruby.lib}" } + if {!(0 == [string first "${prefix}/lib/ruby/vendor_ruby/1.9.0/i686-darwin" ${ruby.archlib}])} { error "ruby.archlib failed: ${ruby.archlib}" } + } + + proc test_setup_implementation_specifics {} { + if {![catch {ruby.setup {test_module tmod} 9.9 setup.rb {README INSTALL} custom "rubz"}]} { + error "wrong implementation name signals error" + } + } + + proc test_variables_exported_without_rubysetup_call {} { + global prefix + global ruby.bin ruby.rdoc ruby.gem + global ruby.version ruby.arch ruby.lib ruby.archlib + if {"${prefix}/bin/ruby" ne ${ruby.bin}} { error "variable ruby.bin missing" } + if {"${prefix}/bin/rdoc" ne ${ruby.rdoc}} { error "variable ruby.rdoc missing" } + if {"${prefix}/bin/gem" ne ${ruby.gem}} { error "variable ruby.gem missing" } + if {"1.8" ne ${ruby.version}} { error "variable ruby.version missing" } + if {"" eq ${ruby.arch}} { error "variable ruby.arch missing" } + if {"${prefix}/lib/ruby/vendor_ruby/1.8" ne ${ruby.lib}} { error "variable ruby.lib missing" } + if {"" eq ${ruby.archlib}} { error "variable ruby.archlib missing" } + } + + # run all tests + if {![file executable $prefix/bin/ruby]} { + puts "WARNING: No ruby found, can't run ruby port group tests without installed ruby port; skipping." + } else { + foreach test [info procs test_*] { + # evaluate port group file in global context + # to reset global variables + uplevel {source "${testdir}/../ruby-1.0.tcl"} + $test + } + } +} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/9c7941cc/attachment-0001.html From armahg at macports.org Tue Aug 5 16:40:20 2008 From: armahg at macports.org (armahg at macports.org) Date: Tue, 5 Aug 2008 16:40:20 -0700 (PDT) Subject: [39001] branches/gsoc08-framework/MacPorts_Framework Message-ID: <20080805234020.CC5331C56BD@beta.macosforge.org> Revision: 39001 http://trac.macosforge.org/projects/macports/changeset/39001 Author: armahg at macports.org Date: 2008-08-05 16:40:20 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Completed implementation of Authorization for Framework. Framework Clients will now have to provide an initialized AuthorizationRef. Added SimplDOMHelperTool code: a helper tool that uses distributed objects. Remember to add checking for AuthorizationRef initialization before performing privileged operations Modified Paths: -------------- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h branches/gsoc08-framework/MacPorts_Framework/MPNotifications.m branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj branches/gsoc08-framework/MacPorts_Framework/init.tcl Added Paths: ----------- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterProtocol.h branches/gsoc08-framework/MacPorts_Framework/SimpleDOMPHelperTool.m Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.h 2008-08-05 23:40:20 UTC (rev 39001) @@ -40,6 +40,7 @@ */ #import +#import #include #import "MPNotifications.h" #import "MPInterpreterProtocol.h" @@ -58,7 +59,19 @@ #define MPFrameworkErrorDomain @"MacPortsFrameworkErrorDomain" +#define MPNOTIFICATION_NAME @"Notification" +#define MPCHANNEL @"Channel" +#define MPPREFIX @"Prefix" +#define MPMETHOD @"Method" +#define MPMESSAGE @"Message" + + +///////////////////////////////////////////////////////////////// +#pragma mark ***** Globals + + + /*! @class MPInterpreter @abstract Tcl interpreter object @@ -176,6 +189,9 @@ */ - (NSString *)getVariableAsString:(NSString *)variable; +// METHODS FOR INTERNAL USE ONLY +-(void)setAuthorizationRef:(AuthorizationRef)authRef; +-(BOOL)checkIfAuthorized; //For testing helper tools -(NSString *)evaluateStringWithMPHelperTool:(NSString *)statement; Modified: branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreter.m 2008-08-05 23:40:20 UTC (rev 39001) @@ -36,13 +36,10 @@ #import "MPInterpreter.h" #include "BetterAuthorizationSampleLib.h" #include "MPHelperCommon.h" +static AuthorizationRef internalMacPortsAuthRef; -///////////////////////////////////////////////////////////////// -#pragma mark ***** Globals -static AuthorizationRef mpAuth; - #pragma mark - @implementation MPInterpreter @@ -52,12 +49,13 @@ NSString *name; NSMutableString *msg; - //Our info dictionary is of size 4 and contains the following keys - //Channel - eg. stdout, stderr - //Prefix - prefix string for this message e.g. DEBUG: - //Function - the function whose operation led to this notification eg. sync, selfupdate - //Message - the message logged to channel - NSMutableDictionary *info = [NSMutableDictionary dictionaryWithCapacity:4]; + //Our info dictionary is of size 5 and contains the following keys + //NOTIFICATION_NAME - e.g. MPWARN, MPDEBUG etc. + //CHANNEL - eg. stdout, stderr + //PREFIX - prefix string for this message e.g. DEBUG: + //METHOD - the function whose operation led to this notification eg. sync, selfupdate + //MESSAGE - the message logged to channel + NSMutableDictionary *info = [NSMutableDictionary dictionaryWithCapacity:5]; MPNotifications *mln = [MPNotifications sharedListener]; int tclCount; @@ -65,7 +63,8 @@ const char **tclElements; name = [NSString stringWithUTF8String:Tcl_GetString(*objv)]; - NSLog(@"name is %@", name); + //NSLog(@"name is %@", name); + [info setObject:name forKey:MPNOTIFICATION_NAME]; //Name and Notification constants should match. Convention //used is MPPriorityNotification. Is it ok to just return TCL_OK ? @@ -81,16 +80,16 @@ //I have sacrificed generality for simplicity in the code below if (tclElements > 0) { - [info setObject:[NSString stringWithUTF8String:tclElements[0]] forKey:@"Channel"]; + [info setObject:[NSString stringWithUTF8String:tclElements[0]] forKey:MPCHANNEL]; if(tclElements[1]) - [info setObject:[NSString stringWithUTF8String:tclElements[1]] forKey:@"Prefix"]; + [info setObject:[NSString stringWithUTF8String:tclElements[1]] forKey:MPPREFIX]; else - [info setObject:@"None" forKey:@"Prefix"]; + [info setObject:@"None" forKey:MPPREFIX]; } else { - [info setObject:@"None" forKey:@"Channel"]; - [info setObject:@"None" forKey:@"Prefix"]; + [info setObject:@"None" forKey:MPCHANNEL]; + [info setObject:@"None" forKey:MPPREFIX]; } @@ -103,7 +102,7 @@ //strip off "--->" over here NSArray * temp = [msg componentsSeparatedByString:@"--->"]; [msg setString:[temp componentsJoinedByString:@""]]; - [info setObject:msg forKey:@"Message"]; + [info setObject:msg forKey:MPMESSAGE]; } //Get the Tcl function that called this method @@ -166,57 +165,23 @@ #pragma mark - #pragma mark Authorization Code -//Internal method for setting up Authorizatin Reference -//Called during initialization of interpreter object -//This is a bit weird: Since MPInterpreter is compiled twice First for the helper -//tool and then for the Framework, we want to call this method only when it is -//being compiled for the Framework ... hence we check that the main bundle name is -//MacPorts.Framework before initializing authorization --(void) initializeAuthorization { - //I'll probably regret doing this later on - //but whatever .... - char * username = "armahg"; - char * password = "200485"; - - OSStatus junk; - - //Create Environment specific to this machine for tesitng purposes - AuthorizationItem envItems[2]; - envItems[0].name = kAuthorizationEnvironmentPassword; - envItems[0].value = password; - envItems[0].valueLength = strlen(password); - envItems[0].flags = 0; - - envItems[1].name = kAuthorizationEnvironmentUsername; - envItems[1].value = username; - envItems[1].valueLength = strlen(username); - envItems[1].flags = 0; - - AuthorizationItemSet env = { 2 , envItems }; - - AuthorizationFlags envFlags; - envFlags = kAuthorizationFlagDefaults | - kAuthorizationFlagExtendRights | - kAuthorizationFlagPreAuthorize; - - - junk = AuthorizationCreate(NULL, &env, envFlags, &mpAuth); - assert(junk == noErr); - //assert (junk == noErr) == (mpAuth != NULL); - - NSString * bundleID = [[NSBundle bundleForClass:[self class]] bundleIdentifier]; - - //Set _userDataInterp over here - //kMPHelperCommandSet[0].userData = _interpreter; - - BASSetDefaultRules(mpAuth, - kMPHelperCommandSet, - (CFStringRef) bundleID, - NULL); - + +- (BOOL)checkIfAuthorized { + if (internalMacPortsAuthRef == NULL ) { + return NO; + } + return YES; } +-(void)setAuthorizationRef:(AuthorizationRef)authRef { + //I can do this since Framework client responsible + //for managing memory for Authorization + internalMacPortsAuthRef = authRef; +} + + + #pragma mark - #pragma mark MPInterpreterProtocol @@ -224,11 +189,11 @@ - (BOOL) vendSelfForServer { NSConnection * defaultConn; defaultConn = [NSConnection defaultConnection]; - NSLog(@"Creating connection ..."); + //NSLog(@"Creating connection ..."); [defaultConn setRootObject:self]; - NSLog(@"Connection Created ... "); //%@, %@", defaultConn, [defaultConn statistics]); + //NSLog(@"Connection Created ... "); //%@, %@", defaultConn, [defaultConn statistics]); return [defaultConn registerName:MP_DOSERVER]; } @@ -331,12 +296,12 @@ //worry (I hope) about running loops for different threads //[[NSRunLoop currentRunLoop] run]; - if (![self vendSelfForServer]) { - NSLog(@"Failed To initialize NSConnection server "); - //Should probably do some more error handling over here - } - else - NSLog(@"MPInterpreter Initialized ..."); + //if (![self vendSelfForServer]) { +// NSLog(@"Failed To initialize NSConnection server "); +// //Should probably do some more error handling over here +// } +// else +// NSLog(@"MPInterpreter Initialized ..."); } @@ -510,6 +475,10 @@ #pragma mark - #pragma mark Helper Tool(s) Code +//NOTE: We expect the Framework client to initialize the AuthorizationRef +//Completely before calling any privileged operation. Perhaps we +//should check for this and send an NSError ... rather than go +//through the trouble of initializing the call and erroring out? - (NSString *) evaluateStringWithMPHelperTool:(NSString *) statement { OSStatus err; BASFailCode failCode; @@ -528,13 +497,13 @@ assert(bundleID != NULL); + BASSetDefaultRules(internalMacPortsAuthRef, + kMPHelperCommandSet, + (CFStringRef) bundleID, + NULL); - //_userDataInterp points to _interpreter after the - //method below - [self initializeAuthorization]; - NSLog(@"BEFORE Tool Execution request is %@ , resonse is %@ \n\n", request, response); - err = BASExecuteRequestInHelperTool(mpAuth, + err = BASExecuteRequestInHelperTool(internalMacPortsAuthRef, kMPHelperCommandSet, (CFStringRef) bundleID, (CFDictionaryRef) request, @@ -543,16 +512,16 @@ //Try to recover if ( (err != noErr) && (err != userCanceledErr) ) { - failCode = BASDiagnoseFailure(mpAuth, (CFStringRef) bundleID); + failCode = BASDiagnoseFailure(internalMacPortsAuthRef, (CFStringRef) bundleID); - err = BASFixFailure(mpAuth, + err = BASFixFailure(internalMacPortsAuthRef, (CFStringRef) bundleID, CFSTR("MPHelperInstallTool"), CFSTR("MPHelperTool"), failCode); if (err == noErr) { - err = BASExecuteRequestInHelperTool(mpAuth, + err = BASExecuteRequestInHelperTool(internalMacPortsAuthRef, kMPHelperCommandSet, (CFStringRef) bundleID, (CFDictionaryRef) request, Added: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterProtocol.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPInterpreterProtocol.h (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/MPInterpreterProtocol.h 2008-08-05 23:40:20 UTC (rev 39001) @@ -0,0 +1,84 @@ +/* + * $Id$ + * MacPorts.Framework + * + * Authors: + * George Armah + * + * Copyright (c) 2008 George Armah + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright owner nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +//MPInterpreter needs to be exposed (in a controlled manner) +//to MPHelperTool. There are various reasons for doing this. + +//- The first is that, there is no way (that I know so far) to access +// the created Tcl interpreter from the Helper Tool. Even if we could +// access it, I doubt that the Notifications mechanism will still be +// able to work on a local level since MPHelperTool is a completely +// different process. For this reason I am adopting the following +// strategy + +// I'll illustrate with a port sync example. Note that all the necessary +// Distributed Objects stuff is assumed to have already been set up. +// 1) There is a [[MPMacPorts sharedInstance] sync] call +// 2) This calls an internal [interp evaluateStringWithMPHelperTool@"mportsync"] +// which then invokes MPHelperTool using BAS protocol. Passing the argument +// @"mportsync" within the request dictionary. +// 3) So now we are within MPHelperTool. We first obtain the vended of instance +// MPInterpreter (which invoked this all in the first place ... ha) and then +// call an this protocol's method [interp evaluateTclStringFromMPHelperTool: ] +// This takes us back to +// MacPorts.Framework space where everything happens as expected and then +// (hopefully without any hiccups) returns the string result and error object. +// 4) Now we can put the string returned into the response dictionary and pass +// it back as the return value for the message passed in 2) +// +// You can probably tell that the above solution is kind of clunky. But its a +// start. I'm not too worried about security being compromised since I am sure +// of what happens in MPInterpreter space. In any event, using this method is +// no more dangerous than running "sudo port -dv sync" from Terminal. +// +// I am still thinking of a way to implement error handling within the new set up. +// One possiblity would be to have MPInterpreter's evaluateStringWithMPHelperTool: +// message do an internal NSError creation depending on whether or not the +// response dictionary contians a value for kNSError. This is going to be a +// CFDictionaryRef object from which I'll have enough information to create +// a reasonably informative NSError object. Thats for later though .... for +// now lets get basic functionally going first. + +#define MP_DOSERVER @"MacPortsDistributedObjectServer" + + at protocol MPInterpreterProtocol + +- (bycopy NSString *)evaluateStringFromMPHelperTool:(in bycopy NSString *)statement; +- (void) setTclCommand:(in bycopy NSString *)tclCmd; +- (bycopy NSString *) getTclCommand; +- (void) setTclCommandResult:(in bycopy NSString *)tclCmdResult; +- (bycopy NSString *) getTclCommandResult; +- (void) log:(in bycopy id)logOutput; + at end Property changes on: branches/gsoc08-framework/MacPorts_Framework/MPInterpreterProtocol.h ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.h 2008-08-05 23:40:20 UTC (rev 39001) @@ -54,6 +54,14 @@ @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. */ @interface MPMacPorts : NSObject { @@ -63,6 +71,8 @@ NSArray *sources; NSString *version; + id macportsDelegate; + } /*! @@ -173,6 +183,22 @@ - (NSString *)version; +/*! + @brief Returns the delegate for this MPMacPorts object + @Discussion Delegates of MPMacPorts may opt to implement -setAuthoriztionRef: . + See (add link here to class discussion section) for more details. + */ +- (id)delegate; + +/*! + @brief Sets the delegate for this MPMacPorts object + @param mpDelegate 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; + + //Notifications stuff for private use and testing purposes -(void)registerForLocalNotifications; -(void)respondToLocalNotification:(NSNotification *) notification; Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m 2008-08-05 23:40:20 UTC (rev 39001) @@ -110,11 +110,11 @@ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPortsSyncStarted" object:nil]; [[MPNotifications sharedListener] setPerformingTclCommand:@"YES_sync"]; - //result = [interpreter evaluateStringAsString:@"mportsync" error:sError]; + result = [interpreter evaluateStringAsString:@"mportsync" error:sError]; //Testing DO implementation //result = [interpreter evaluateStringWithMPHelperTool:@"mportsync"]; - [interpreter evaluateStringWithSimpleMPDOPHelperTool:@"mportsync"]; + //[interpreter evaluateStringWithSimpleMPDOPHelperTool:@"mportsync"]; result = [interpreter getTclCommandResult]; @@ -248,12 +248,38 @@ return version; } +#pragma mark - +#pragma mark Delegate Methods + +-(id) delegate { + return macportsDelegate; +} + +-(void) setDelegate:(id)delegate { + [delegate retain]; + [macportsDelegate release]; + macportsDelegate = delegate; +} + +//Internal Method for setting our Authorization Reference +- (void) setAuthorizationRef { + if ([[self delegate] respondsToSelector:@selector(getAuthorizationRef)]) { + [interpreter setAuthorizationRef: + [[self delegate] performSelector:@selector(getAuthorizationRef)]]; + } + //else { //I think i'll iniitalizeAuthorization lazily .. i.e. right + //before using helper tool +// [interpreter initializeAuthorization]; +// } +} + +#pragma mark - #pragma mark Testing MacPorts Notifications -(void) registerForLocalNotifications { - //[[NSNotificationCenter defaultCenter] addObserver:self -// selector:@selector(respondToLocalNotification:) -// name:MPINFO -// object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(respondToLocalNotification:) + name:MPINFO + object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToLocalNotification:) Modified: branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPNotifications.h 2008-08-05 23:40:20 UTC (rev 39001) @@ -39,6 +39,14 @@ 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 Modified: branches/gsoc08-framework/MacPorts_Framework/MPNotifications.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MPNotifications.m 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MPNotifications.m 2008-08-05 23:40:20 UTC (rev 39001) @@ -84,7 +84,7 @@ blockOptions = [[NSMutableDictionary alloc] initWithObjectsAndKeys: [NSNumber numberWithInt:0], MPMSG, [NSNumber numberWithInt:0], MPINFO, [NSNumber numberWithInt:0], MPWARN, [NSNumber numberWithInt:0], MPERROR, - [NSNumber numberWithInt:1], MPDEBUG, [NSNumber numberWithInt:0], MPALL, nil]; + [NSNumber numberWithInt:0], MPDEBUG, [NSNumber numberWithInt:0], MPALL, nil]; //NSLog(@"Dictionary is %@ ", [blockOptions description]); } return self; Modified: branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj 2008-08-05 23:40:20 UTC (rev 39001) @@ -68,6 +68,7 @@ 6ECD97180E465CB300488335 /* MPInterpreterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EB6FC690E45AC610057962C /* MPInterpreterProtocol.h */; }; 6ECD973F0E465F6A00488335 /* SimpleDOMPHelperTool in Resources */ = {isa = PBXBuildFile; fileRef = 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */; }; 6ECD98110E484E8400488335 /* MPHelperTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ECD98100E484E8400488335 /* MPHelperTool.m */; }; + 6ECD99C60E48B91B00488335 /* MPHelperToolTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ECD99C50E48B91B00488335 /* MPHelperToolTest.m */; }; 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 */; }; @@ -157,6 +158,8 @@ 6ECD97050E465C0F00488335 /* SimpleDOMPHelperTool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SimpleDOMPHelperTool; sourceTree = BUILT_PRODUCTS_DIR; }; 6ECD970D0E465C7800488335 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; 6ECD98100E484E8400488335 /* MPHelperTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperTool.m; sourceTree = ""; }; + 6ECD99C40E48B91B00488335 /* MPHelperToolTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPHelperToolTest.h; sourceTree = ""; }; + 6ECD99C50E48B91B00488335 /* MPHelperToolTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPHelperToolTest.m; sourceTree = ""; }; 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; }; @@ -336,6 +339,8 @@ 489DD92E0C94674B00595506 /* MPInterpreterTest.m */, 6E88D1CA0DF4B90B00684E9F /* MPMacPortsTest.h */, 6E88D1CB0DF4B90B00684E9F /* MPMacPortsTest.m */, + 6ECD99C40E48B91B00488335 /* MPHelperToolTest.h */, + 6ECD99C50E48B91B00488335 /* MPHelperToolTest.m */, ); name = Tests; sourceTree = ""; @@ -606,6 +611,7 @@ files = ( 6EA294590E080DEB00902D12 /* MPMacPortsTest.m in Sources */, 6E49F37B0DFFAB0B0030C3AF /* MPInterpreterTest.m in Sources */, + 6ECD99C60E48B91B00488335 /* MPHelperToolTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; Added: branches/gsoc08-framework/MacPorts_Framework/SimpleDOMPHelperTool.m =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/SimpleDOMPHelperTool.m (rev 0) +++ branches/gsoc08-framework/MacPorts_Framework/SimpleDOMPHelperTool.m 2008-08-05 23:40:20 UTC (rev 39001) @@ -0,0 +1,39 @@ +// +// SimpleDOMPHelperTool.m +// MacPorts.Framework +// +// Created by George Armah on 8/3/08. +// Copyright 2008 Lafayette College. All rights reserved. +// + + + +#import +#import "MPInterpreterProtocol.h" + +int main(int argc, char const * argv[]) { + NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + NSString * tclCmd; + + id distObj = [NSConnection + rootProxyForConnectionWithRegisteredName:MP_DOSERVER + host:nil]; + [distObj setProtocolForProxy:@protocol(MPInterpreterProtocol)]; + + //[distObj log:[NSString stringWithFormat: +// @"Number of arguments are %u", argc]]; +// [distObj log:[NSString stringWithFormat: +// @"Arguments are %s and %s", argv[0], argv[1]]]; +// +// [distObj log:@"Getting tclCmd"]; + tclCmd = [NSString stringWithCString:argv[1] encoding:NSUTF8StringEncoding]; + //[distObj log:[NSString stringWithFormat: +// @"tclCmd is %@", tclCmd]]; + NSString * result = [distObj evaluateStringFromMPHelperTool:tclCmd]; + + [distObj setTclCommandResult:result]; + + [pool release]; + + return 0; +} \ No newline at end of file Property changes on: branches/gsoc08-framework/MacPorts_Framework/SimpleDOMPHelperTool.m ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Modified: branches/gsoc08-framework/MacPorts_Framework/init.tcl =================================================================== --- branches/gsoc08-framework/MacPorts_Framework/init.tcl 2008-08-05 20:25:51 UTC (rev 39000) +++ branches/gsoc08-framework/MacPorts_Framework/init.tcl 2008-08-05 23:40:20 UTC (rev 39001) @@ -85,7 +85,7 @@ #This is currently under works ... a reasonable solution #should be coming up soon proc ui_init {priority prefix channels message} { - puts "INSIDE ui_init priority with prefix $prefix and message $message" + #puts "INSIDE ui_init priority with prefix $prefix and message $message" switch $priority { msg { @@ -93,18 +93,18 @@ } debug { set "MPDebugNotification" - #puts "Recieved Debug" + puts "Recieved Debug" } warn { set nottype "MPWarnNotification" } error { set nottype "MPErrorNotification" - #puts "Recieved Error" + puts "Recieved Error" } info { set nottype "MPInfoNotification" - #puts "Recieved Info" + puts "Recieved Info" } default { set nottype "MPDefaultNotification" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/28277266/attachment-0001.html From vinc17 at macports.org Tue Aug 5 17:48:18 2008 From: vinc17 at macports.org (vinc17 at macports.org) Date: Tue, 5 Aug 2008 17:48:18 -0700 (PDT) Subject: [39002] trunk/dports/graphics/optipng/Portfile Message-ID: <20080806004818.8EF051C5A8E@beta.macosforge.org> Revision: 39002 http://trac.macosforge.org/projects/macports/changeset/39002 Author: vinc17 at macports.org Date: 2008-08-05 17:48:17 -0700 (Tue, 05 Aug 2008) Log Message: ----------- Bump to version 0.6.1 (gmake 3.81+ is now needed). Modified Paths: -------------- trunk/dports/graphics/optipng/Portfile Modified: trunk/dports/graphics/optipng/Portfile ===============