» Content »pkg://nmap-5.61TEST5.tar.bz2:21500913
/ info downloads
This is a description of the files in this directory, all of which have
to do with packaging on Mac OS X. They are useful only for those wanting
to build binary distributions of Zenmap for Mac OS X.
A properties list file that whose contents are merged with the default
properties added by py2app.
This script builds a .app bundle. It must be run from the root of the
Zenmap source tree. The finished bundle is put in dist/Zenmap.app.
This file contains unit tests for zenmap_wrapper.py, because it needs to
do some tricky escaping and substitution of configuration files.
The icon file for the bundle. It was created using the Icon Composer
utility as described at
This is a simple wrapper program that attempts to run zenmap_wrapper.py
This is a wrapper script that gets installed in the application bundle.
It sets up an execution environment and then calls the main zenmap
This patch against a MacPorts ports tree contains various changes needed
to install dependencies in a sufficiently portable way. The main thing
accomplished by this patch is to avoid building a MacPorts libiconv.
libcups depends on libiconv, but it depends on an Apple version of
libconv, and MacPorts doesn't have a port for libcups. The MacPorts
libiconv is incompatible and causes a dynamic linker error at runtime.
The following instructions show how to make a 10.5-compatible
environment suitable for building Zenmap packages. It will be a separate
installation in $HOME/macports-10.5 that won't interfere with your
normal MacPorts installation in /opt/local. These instructions were done
with MacPorts 2.0.3 on Mac OS X 10.6.8.
1. Install MacPorts.
tar xzvf MacPorts-2.0.3.tar.gz
./configure --with-no-root-privileges --prefix=$PREFIX --with-tclpackage=$PREFIX/Library/Tcl --with-applications-dir=$PREFIX/Applications
2. Update the ports tree.
3. Edit the file $PREFIX/etc/macports/macports.conf.
Uncomment the line
Add this line at the bottom:
4. Make a local patched ports tree.
ln -s var/macports/sources/rsync.macports.org/release/tarballs/ports ports.orig
for x in devel/atk devel/gettext devel/glib2 gnome/gtk2 graphics/fontconfig perl/p5-locale-gettext python/py26-gobject python/py27-libxml2 textproc/help2man textproc/libxml2 textproc/libxslt; do
mkdir -v -p ports/$x;
cp -R ports.orig/$x ports/$(dirname $x);
patch -p0 < MacPorts-ports.diff
5. Build a port index.
6. Edit the file $PREFIX/etc/macports/sources.conf.
Add a line
above the rsync line. (Replace "user" with your user name.)
7. Install the dependencies of Zenmap.
$PREFIX/bin/port install py26-gtk py26-py2app
Here are instructions for updating the patch to keep up with MacPorts
changes. First, sync the original ports tree.
Restore a pristine partial ports tree:
rsync -rv --existing --delete --exclude=PortIndex ports.orig/ ports/
Reapply the patch. Resolve any conflicts.
patch -p0 --no-backup-if-mismatch < MacPorts-ports.diff
Make a new patch.
diff --unidirectional-new-file -ru -x 'PortIndex*' ports.orig ports | grep -v '^Only in ' > new.diff
Check that it's all right, then rename it.
mv new.diff MacPorts-ports.diff
Rebuild the port index.
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com