mirror of
https://github.com/macports/macports-user-wms.git
synced 2026-07-13 03:18:37 -07:00
Branch into /users/wms/
git-svn-id: https://svn.macports.org/repository/macports/users/wms@97674 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -0,0 +1,55 @@
|
|||||||
|
# .gitignore file for MacPorts
|
||||||
|
|
||||||
|
|
||||||
|
# Ignore generated files.
|
||||||
|
base/Doxyfile
|
||||||
|
base/Makefile
|
||||||
|
base/Mk/macports.autoconf.mk
|
||||||
|
base/config.log
|
||||||
|
base/config.status
|
||||||
|
base/doc/macosx.mtree
|
||||||
|
base/doc/macports.conf
|
||||||
|
base/doc/macports.conf.5.gz
|
||||||
|
base/doc/port.1.gz
|
||||||
|
base/doc/portfile.7.gz
|
||||||
|
base/doc/portgroup.7.gz
|
||||||
|
base/doc/porthier.7.gz
|
||||||
|
base/doc/portstyle.7.gz
|
||||||
|
base/doc/prefix.mtree
|
||||||
|
base/portmgr/fedora/macports.spec
|
||||||
|
base/portmgr/freebsd/Makefile
|
||||||
|
base/setupenv.bash
|
||||||
|
base/src/Makefile
|
||||||
|
base/src/config.h
|
||||||
|
base/src/cregistry/cregistry.a
|
||||||
|
base/src/macports1.0/portconf.o
|
||||||
|
base/src/macports1.0/macports_autoconf.tcl
|
||||||
|
base/src/macports1.0/macports_fastload.tcl
|
||||||
|
base/src/macports1.0/session.o
|
||||||
|
base/src/macports1.0/util.o
|
||||||
|
base/src/pathconf/Makefile
|
||||||
|
base/src/pathconf/manpaths
|
||||||
|
base/src/pathconf/paths
|
||||||
|
base/src/pextlib1.0/compat.o
|
||||||
|
base/src/port/port
|
||||||
|
base/src/port/portindex
|
||||||
|
base/src/port/portmirror
|
||||||
|
base/src/port1.0/pkgIndex.tcl
|
||||||
|
base/src/port1.0/port_autoconf.tcl
|
||||||
|
base/src/programs/Makefile
|
||||||
|
base/src/programs/daemondo/Makefile
|
||||||
|
base/src/programs/daemondo/build
|
||||||
|
base/src/registry1.0/registry_autoconf.tcl
|
||||||
|
base/src/tclobjc1.0/Makefile
|
||||||
|
doc-new/guide.tmp.xml
|
||||||
|
doc-new/guide/html/
|
||||||
|
doc-new/guide/resources/xsl
|
||||||
|
doc-new/man/man/
|
||||||
|
doc-new/man/resources/macports.xsl
|
||||||
|
pkgIndex.tcl
|
||||||
|
|
||||||
|
# Ignore MacPorts work directories.
|
||||||
|
work
|
||||||
|
|
||||||
|
# Ignore quilt series files.
|
||||||
|
series
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
PREFIX= /opt/local
|
||||||
|
SRCS= ${PREFIX}/etc/macports/sources.conf
|
||||||
|
|
||||||
|
default: all
|
||||||
|
|
||||||
|
all:
|
||||||
|
@(cd base; [ ! -f Makefile ] && ./configure --prefix=${PREFIX} ; make all)
|
||||||
|
|
||||||
|
install: all
|
||||||
|
@(cd base; make install)
|
||||||
|
@if egrep -q ^rsync ${SRCS}; then \
|
||||||
|
echo file://`pwd`/dports/ [default] >> ${SRCS}; \
|
||||||
|
sed -i .orig -e 's/^rsync/#rsync/' ${SRCS}; \
|
||||||
|
echo "${SRCS} automatically configured"; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@(cd base; [ -f Makefile ] && make clean)
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,236 @@
|
|||||||
|
# Doxyfile 1.5.4
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
DOXYFILE_ENCODING = UTF-8
|
||||||
|
PROJECT_NAME = @PACKAGE_NAME@
|
||||||
|
PROJECT_NUMBER = @PACKAGE_VERSION@
|
||||||
|
OUTPUT_DIRECTORY =
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF =
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH =
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
QT_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
DETAILS_AT_TOP = NO
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
SEPARATE_MEMBER_PAGES = NO
|
||||||
|
TAB_SIZE = 8
|
||||||
|
ALIASES =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
BUILTIN_STL_SUPPORT = NO
|
||||||
|
CPP_CLI_SUPPORT = NO
|
||||||
|
SIP_SUPPORT = NO
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
TYPEDEF_HIDES_STRUCT = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
EXTRACT_ALL = YES
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_STATIC = NO
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
EXTRACT_ANON_NSPACES = NO
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = NO
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = YES
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_DIRECTORIES = YES
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text "
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT = src
|
||||||
|
INPUT_ENCODING = UTF-8
|
||||||
|
FILE_PATTERNS = *.tcl \
|
||||||
|
*.c \
|
||||||
|
*.m \
|
||||||
|
*.h
|
||||||
|
RECURSIVE = YES
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXCLUDE_SYMBOLS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS =
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS = *.tcl=@prefix@/bin/tcl-dox
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = YES
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = NO
|
||||||
|
REFERENCED_BY_RELATION = YES
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
REFERENCES_LINK_SOURCE = YES
|
||||||
|
USE_HTAGS = NO
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = tcldox
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_ALIGN_MEMBERS = YES
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
HTML_DYNAMIC_SECTIONS = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = NO
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
PDF_HYPERLINKS = NO
|
||||||
|
USE_PDFLATEX = NO
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = NO
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE =
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
MSCGEN_PATH =
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = YES
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
CALLER_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
DOT_PATH = @prefix@/bin/
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
DOT_GRAPH_MAX_NODES = 50
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 0
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to the search engine
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SEARCHENGINE = NO
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
# Project naming and copyright attribution:
|
||||||
|
|
||||||
|
* "The MacPorts Project" is the string that shall be used wherever
|
||||||
|
there's a need to reference our project name, such as in copyright
|
||||||
|
notices.
|
||||||
|
|
||||||
|
* A developer or contributor is advised to attribute himself a copyright
|
||||||
|
notice if he/she is contributing a full new source file or a full
|
||||||
|
new feature to an already existing source file in the "base"
|
||||||
|
component of our repository.
|
||||||
|
|
||||||
|
* An exception to this rule is our Portfiles, since they are partly
|
||||||
|
meant for human eyes consumption and the boilerplate header comments
|
||||||
|
should be kept down to a minimum
|
||||||
|
|
||||||
|
* A copyright notice attributed to our group name, "The MacPorts
|
||||||
|
Project", should also be added to these source files (if not already
|
||||||
|
there) if they're being uploaded to the "base" component of our
|
||||||
|
repository, since as such they are being contributed to the project.
|
||||||
|
|
||||||
|
|
||||||
|
# Commits to the "base" component of the repository:
|
||||||
|
|
||||||
|
* Commits with user-visible affect made to the "base" component of the
|
||||||
|
repository should be accompanied by a corresponding entry in the
|
||||||
|
base/ChangeLog file, with references to pertinent Trac ticket
|
||||||
|
numbers and svn commit revisions where appropriate.
|
||||||
|
|
||||||
|
* Such entries to the ChangeLog need not be full duplications of their
|
||||||
|
related commit logs if the latter are thorough explanations of
|
||||||
|
what's involved in the commit. In such cases it's perfectly
|
||||||
|
acceptable to enter just a summary of the commit and point the
|
||||||
|
reader to further information through the related svn revision and
|
||||||
|
Trac ticket number (if applicable).
|
||||||
|
|
||||||
|
* Related commits to "base" should be grouped in a single ChangeLog
|
||||||
|
entry.
|
||||||
|
|
||||||
|
* Commits to "base" need not update the base/NEWS file, as such will be
|
||||||
|
constructed with the relevant information at MacPorts release time
|
||||||
|
by the release engineers.
|
||||||
|
|
||||||
|
|
||||||
|
# Whitespace rules as discussed on the development list (macports-dev):
|
||||||
|
|
||||||
|
* All source code files MUST use soft tabs at a tabstop of 4. No hard
|
||||||
|
tabs are allowed.
|
||||||
|
|
||||||
|
* All source code files SHOULD have the following as the first line of
|
||||||
|
the file:
|
||||||
|
|
||||||
|
# -*- 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
|
||||||
|
|
||||||
|
This is a modeline that works for both emacs and vim.
|
||||||
|
|
||||||
|
* Portfiles SHOULD use soft tabs at a tabstop of 4, but implementation
|
||||||
|
of this is left up to the discretion of the maintainer.
|
||||||
|
|
||||||
|
* Portfiles SHOULD use the given modeline
|
||||||
|
|
||||||
|
* Makefiles MUST use tabs as it is required by the syntax. Makefiles
|
||||||
|
SHOULD use a tab stop of 8.
|
||||||
|
|
||||||
|
* Makefiles MAY use a modeline. The following works for emacs and vim:
|
||||||
|
|
||||||
|
# -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:ft=Makefile:noet:sw=8:ts=8
|
||||||
|
|
||||||
|
* All other files (documentation, etc) SHOULD use soft tabs at a tabstop
|
||||||
|
of 4 if the document format allows.
|
||||||
|
|
||||||
|
* All other files (documentation, etc) SHOULD NOT use a modeline as it
|
||||||
|
is probably meant for human consumption.
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
Copyright (c) 2002 - 2003, Apple Inc.
|
||||||
|
Copyright (c) 2004 - 2012, The MacPorts Project.
|
||||||
|
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 Inc., The MacPorts Project 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.
|
||||||
@@ -0,0 +1,160 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
PATH = @PATH_CLEANED@
|
||||||
|
SUBDIR = doc src tests
|
||||||
|
DISTDIR = dist
|
||||||
|
DISTVER =
|
||||||
|
DISTTAG = release_${subst .,_,${DISTVER}}
|
||||||
|
DISTNAME = MacPorts-${DISTVER}
|
||||||
|
DISTARCTAG = ${DISTTAG}-archive
|
||||||
|
DISTARCNAME = ${DISTNAME}-archive
|
||||||
|
SVNURL = https://svn.macports.org/repository/macports
|
||||||
|
|
||||||
|
|
||||||
|
include Mk/macports.autoconf.mk
|
||||||
|
|
||||||
|
|
||||||
|
all:: Mk/macports.autoconf.mk
|
||||||
|
|
||||||
|
Mk/macports.autoconf.mk: Mk/macports.autoconf.mk.in src/config.h.in Makefile.in config.status
|
||||||
|
./config.status
|
||||||
|
${MAKE} clean
|
||||||
|
|
||||||
|
config.status: configure
|
||||||
|
@if test -f ./config.status ; then \
|
||||||
|
set -x ; \
|
||||||
|
./config.status --recheck ; \
|
||||||
|
else \
|
||||||
|
set -x ; \
|
||||||
|
echo "Source tree not configured. Use ./configure" ; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
include Mk/macports.subdir.mk
|
||||||
|
|
||||||
|
install::
|
||||||
|
[ ! -f "$(DESTDIR)${sysconfdir}/macports/mp_version" ] || rm -vf "$(DESTDIR)${sysconfdir}/macports/mp_version"
|
||||||
|
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} "$(DESTDIR)${datadir}/macports/"
|
||||||
|
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash "$(DESTDIR)${datadir}/macports/"
|
||||||
|
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports-pubkey.pem "$(DESTDIR)${datadir}/macports/"
|
||||||
|
# Only run these scripts when not building in a destroot
|
||||||
|
ifeq ($(DESTDIR),)
|
||||||
|
# create run user if it doesn't exist
|
||||||
|
@if test -n "${DSCL}" -a -n "${DSEDITGROUP}" ; then \
|
||||||
|
if ! ${DSCL} -q . -read /Groups/${RUNUSR} > /dev/null 2>&1 ; then \
|
||||||
|
if test `id -u` -eq 0; then \
|
||||||
|
echo "Creating group \"${RUNUSR}\"" ; \
|
||||||
|
${DSEDITGROUP} -q -o create ${RUNUSR} ; \
|
||||||
|
else \
|
||||||
|
echo "Not creating group \"${RUNUSR}\" (not root)" ; \
|
||||||
|
fi ; \
|
||||||
|
fi ; \
|
||||||
|
if ! ${DSCL} -q . -list /Users/${RUNUSR} > /dev/null 2>&1 ; then \
|
||||||
|
if test `id -u` -eq 0; then \
|
||||||
|
echo "Creating user \"${RUNUSR}\"" ; \
|
||||||
|
NEXTUID=501; \
|
||||||
|
while test -n "`${DSCL} -q /Search -search /Users UniqueID $$NEXTUID`"; do \
|
||||||
|
let "NEXTUID=NEXTUID+1"; \
|
||||||
|
done; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} UniqueID $$NEXTUID ; \
|
||||||
|
\
|
||||||
|
${DSCL} -q . -delete /Users/${RUNUSR} AuthenticationAuthority ; \
|
||||||
|
${DSCL} -q . -delete /Users/${RUNUSR} PasswordPolicyOptions ; \
|
||||||
|
${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:KerberosKeys ; \
|
||||||
|
${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:ShadowHashData ; \
|
||||||
|
\
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} RealName MacPorts ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} Password \* ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} PrimaryGroupID $$(${DSCL} -q . -read /Groups/${RUNUSR} PrimaryGroupID | /usr/bin/awk '{print $$2}') ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} NFSHomeDirectory "${localstatedir}/macports/home" ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} UserShell /usr/bin/false ; \
|
||||||
|
else \
|
||||||
|
echo "Not creating user \"${RUNUSR}\" (not root)" ; \
|
||||||
|
fi ; \
|
||||||
|
fi ; \
|
||||||
|
if test "$$(${DSCL} -q . -read /Users/${RUNUSR} NFSHomeDirectory)" = "NFSHomeDirectory: /var/empty" ; then \
|
||||||
|
if test `id -u` -eq 0; then \
|
||||||
|
echo "Updating home directory location for user \"${RUNUSR}\"" ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} NFSHomeDirectory "${localstatedir}/macports/home" ; \
|
||||||
|
else \
|
||||||
|
echo "Not updating home directory location for user \"${RUNUSR}\" (not root)" ; \
|
||||||
|
fi ; \
|
||||||
|
fi ; \
|
||||||
|
if test `sw_vers -productVersion | /usr/bin/awk -F . '{print $$2}'` -eq 4 -a `id -u` -eq 0; then \
|
||||||
|
GID=`${DSCL} -q . -read /Groups/${RUNUSR} PrimaryGroupID | /usr/bin/awk '{print $$2}'` ; \
|
||||||
|
if test "`${DSCL} -q . -read /Users/${RUNUSR} PrimaryGroupID 2>/dev/null | /usr/bin/awk '{print $$2}'`" != "$$GID"; then \
|
||||||
|
echo "Fixing PrimaryGroupID for user \"${RUNUSR}\"" ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} PrimaryGroupID $$GID ; \
|
||||||
|
${DSCL} -q . -create /Users/${RUNUSR} RealName MacPorts ; \
|
||||||
|
fi ; \
|
||||||
|
fi ; \
|
||||||
|
else \
|
||||||
|
echo "Can't find ${DSCL} / ${DSEDITGROUP}, not creating user \"${RUNUSR}\"" ; \
|
||||||
|
fi
|
||||||
|
# Add [default] tag to the central MacPorts repository, if it isn't already
|
||||||
|
$(TCLSH) src/upgrade_sources_conf_default.tcl "${prefix}"
|
||||||
|
# Convert image directories (and direct mode installs) to image archives
|
||||||
|
$(TCLSH) src/images_to_archives.tcl "${macports_tcl_dir}"
|
||||||
|
endif
|
||||||
|
ifndef SELFUPDATING
|
||||||
|
@echo ""; echo "Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, add ${prefix}/bin to your PATH and run:"; echo ""
|
||||||
|
@echo "sudo port -v selfupdate"; echo ""
|
||||||
|
@echo "Please read \"man port\", the MacPorts guide at http://guide.macports.org/ and Wiki at https://trac.macports.org/ for full documentation."; echo ""
|
||||||
|
else
|
||||||
|
@echo ""; echo "Congratulations, you have successfully upgraded the MacPorts system."; echo ""
|
||||||
|
endif
|
||||||
|
|
||||||
|
group::
|
||||||
|
@echo "creating a macports group..." && sudo dseditgroup -o create -n . macports && echo "done! use './configure --with-install-group=macports --with-shared-directory' if you haven't already"
|
||||||
|
|
||||||
|
rmgroup::
|
||||||
|
@echo "deleting macports group..." && sudo dseditgroup -o delete -n . macports && echo "done! use 'make group' to re-create"
|
||||||
|
|
||||||
|
|
||||||
|
clean::
|
||||||
|
|
||||||
|
distclean::
|
||||||
|
rm -f config.log config.status configure.lineno
|
||||||
|
rm -rf autom4te.cache ${DISTDIR}
|
||||||
|
rm -f Makefile Mk/macports.autoconf.mk portmgr/freebsd/Makefile
|
||||||
|
rm -f Doxyfile
|
||||||
|
rm -f setupenv.bash
|
||||||
|
|
||||||
|
_gettag:
|
||||||
|
cd ${DISTDIR}; svn co ${SVNURL}/tags/${SVNTAG} ${PKGNAME}-svn
|
||||||
|
|
||||||
|
_pkgdist:
|
||||||
|
[ ! -d ${DISTDIR}/${PKGNAME} ] || rm -rf ${DISTDIR}/${PKGNAME}
|
||||||
|
cd ${DISTDIR}; svn export ${PKGNAME}-svn ${PKGNAME}
|
||||||
|
cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | gzip > ${PKGNAME}.tar.gz
|
||||||
|
cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | bzip2 > ${PKGNAME}.tar.bz2
|
||||||
|
cd ${DISTDIR}; for tarball in ${PKGNAME}.tar.*; do { \
|
||||||
|
for type in -md5 -sha1 -ripemd160 -sha256; do { \
|
||||||
|
openssl dgst $$type $$tarball; \
|
||||||
|
}; done >> ${DISTNAME}.chk.txt; \
|
||||||
|
}; done
|
||||||
|
|
||||||
|
_dopkg: _gettag _pkgdist
|
||||||
|
|
||||||
|
# This target fetches a tagged distribution from svn, and generates tarballs and checksums for it
|
||||||
|
distfromsvn:
|
||||||
|
@[ -n "${DISTVER}" ] || { echo Must specify DISTVER, like: make DISTVER=1.4.0 distfromsvn; exit 1; }
|
||||||
|
[ -d ${DISTDIR} ] || mkdir ${DISTDIR}
|
||||||
|
rm -f ${DISTDIR}/${DISTNAME}.chk.txt
|
||||||
|
${MAKE} SVNTAG=${DISTTAG}/base/ PKGNAME=${DISTNAME} _dopkg
|
||||||
|
ifeq ($(ARC),yes)
|
||||||
|
${MAKE} SVNTAG=${DISTARCTAG} PKGNAME=${DISTARCNAME} _dopkg
|
||||||
|
endif
|
||||||
|
|
||||||
|
tcldoc:
|
||||||
|
@[ -e "${prefix}/bin/tcldoc" ] \
|
||||||
|
|| { echo "Install tcldoc with MacPorts in ${prefix} first."; exit 1; }
|
||||||
|
find src -name '*.tcl' | xargs ${TCLDOC} --verbose --title "MacPorts Documentation" --force tcldoc
|
||||||
|
|
||||||
|
tcldox:
|
||||||
|
@[ -e "${prefix}/bin/doxygen" -a -e "${prefix}/bin/tcl-dox" -a -e "${prefix}/bin/dot" ] \
|
||||||
|
|| { echo "Install doxygen, tcl-dox and graphviz with MacPorts in ${prefix} first."; exit 1; }
|
||||||
|
${prefix}/bin/doxygen
|
||||||
|
|
||||||
|
test::
|
||||||
|
|
||||||
|
.PHONY: dist _gettag _pkgdist _dopkg tcldoc tcldox
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
SHELL = @SHELL@
|
||||||
|
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
|
CFLAGS = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
|
||||||
|
OBJCFLAGS = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
|
||||||
|
CPPFLAGS = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
|
||||||
|
TCL_DEFS = @TCL_DEFS@
|
||||||
|
SHLIB_CFLAGS = @SHLIB_CFLAGS@
|
||||||
|
CFLAGS_QUICHEEATERS = @CFLAGS_QUICHEEATERS@
|
||||||
|
CFLAGS_PEDANTIC = @CFLAGS_PEDANTIC@
|
||||||
|
CFLAGS_WERROR = @CFLAGS_WERROR@
|
||||||
|
|
||||||
|
READLINE_CFLAGS =
|
||||||
|
MD5_CFLAGS =
|
||||||
|
SQLITE3_CFLAGS = @CFLAGS_SQLITE3@
|
||||||
|
CURL_CFLAGS = @CFLAGS_LIBCURL@
|
||||||
|
|
||||||
|
OBJC_RUNTIME = @OBJC_RUNTIME@
|
||||||
|
OBJC_RUNTIME_FLAGS = @OBJC_RUNTIME_FLAGS@
|
||||||
|
OBJC_LIBS = @OBJC_LIBS@
|
||||||
|
|
||||||
|
OBJC_FOUNDATION = @OBJC_FOUNDATION@
|
||||||
|
OBJC_FOUNDATION_CPPFLAGS = @OBJC_FOUNDATION_CPPFLAGS@
|
||||||
|
OBJC_FOUNDATION_LDFLAGS = @OBJC_FOUNDATION_LDFLAGS@
|
||||||
|
OBJC_FOUNDATION_LIBS = @OBJC_FOUNDATION_LIBS@
|
||||||
|
|
||||||
|
TCL_CC = @TCL_CC@
|
||||||
|
SHLIB_LD = @SHLIB_LD@
|
||||||
|
STLIB_LD = @STLIB_LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ ${LDFLAGS}
|
||||||
|
SHLIB_SUFFIX = @SHLIB_SUFFIX@
|
||||||
|
TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
|
||||||
|
|
||||||
|
LIBS = @LIBS@
|
||||||
|
READLINE_LIBS = @READLINE_LIBS@
|
||||||
|
MD5_LIBS = @MD5_LIBS@
|
||||||
|
SQLITE3_LIBS = @LDFLAGS_SQLITE3@
|
||||||
|
CURL_LIBS = @LDFLAGS_LIBCURL@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
MTREE = @MTREE@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
XCODEBUILD = @XCODEBUILD@
|
||||||
|
BZIP2 = @BZIP2@
|
||||||
|
|
||||||
|
TCLSH = @TCLSH@
|
||||||
|
TCL_PACKAGE_DIR = @TCL_PACKAGE_DIR@
|
||||||
|
macports_tcl_dir = @macports_tcl_dir@
|
||||||
|
|
||||||
|
DSCL = @DSCL@
|
||||||
|
DSEDITGROUP = @DSEDITGROUP@
|
||||||
|
DSTUSR = @DSTUSR@
|
||||||
|
DSTGRP = @DSTGRP@
|
||||||
|
DSTMODE = @DSTMODE@
|
||||||
|
RUNUSR = @RUNUSR@
|
||||||
|
|
||||||
|
prefix = @prefix@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
bindir = @bindir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
datadir = @datadir@
|
||||||
|
libdir = @libdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
|
||||||
|
mpconfigdir = @MPCONFIGDIR@
|
||||||
|
portsdir = @PORTSDIR@
|
||||||
|
|
||||||
|
SILENT = @
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
.PHONY : all
|
||||||
|
.PHONY : clean distclean
|
||||||
|
.PHONY : install
|
||||||
|
|
||||||
|
all::
|
||||||
|
@for subdir in $(SUBDIR); do\
|
||||||
|
echo ===\> making $@ in ${DIRPRFX}$$subdir; \
|
||||||
|
( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean distclean::
|
||||||
|
@for subdir in $(SUBDIR); do\
|
||||||
|
echo ===\> making $@ in ${DIRPRFX}$$subdir; \
|
||||||
|
( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
|
||||||
|
done
|
||||||
|
|
||||||
|
test::
|
||||||
|
@for subdir in $(SUBDIR); do\
|
||||||
|
echo ===\> making $@ in ${DIRPRFX}$$subdir; \
|
||||||
|
( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
|
||||||
|
done
|
||||||
|
|
||||||
|
install::
|
||||||
|
@for subdir in $(SUBDIR); do\
|
||||||
|
echo ===\> making $@ in ${DIRPRFX}$$subdir; \
|
||||||
|
( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
|
||||||
|
done
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
.SUFFIXES: .m
|
||||||
|
|
||||||
|
.m.o:
|
||||||
|
${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${OBJCFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
|
||||||
|
|
||||||
|
all:: ${SHLIB_NAME} pkgIndex.tcl
|
||||||
|
|
||||||
|
$(SHLIB_NAME):: ${OBJS}
|
||||||
|
${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS}
|
||||||
|
|
||||||
|
pkgIndex.tcl: $(SHLIB_NAME)
|
||||||
|
$(SILENT) ../pkg_mkindex.sh . || ( rm -rf $@ && exit 1 )
|
||||||
|
|
||||||
|
clean::
|
||||||
|
rm -f ${OBJS} ${SHLIB_NAME} so_locations pkgIndex.tcl
|
||||||
|
|
||||||
|
distclean:: clean
|
||||||
|
|
||||||
|
install:: all
|
||||||
|
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
|
||||||
|
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
|
||||||
|
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR}
|
||||||
+267
@@ -0,0 +1,267 @@
|
|||||||
|
== Overview of changes from MacPorts 2.0.4 to 2.1.0 ==
|
||||||
|
|
||||||
|
# For regular users:
|
||||||
|
|
||||||
|
*) New 'rev-upgrade' action that checks for and rebuilds ports that may have
|
||||||
|
become incorrectly linked when a dependency was upgraded to a new,
|
||||||
|
binary-incompatible version. This runs automatically after upgrades and
|
||||||
|
installs by default, and can be turned off or configured to only report
|
||||||
|
problems in macports.conf.
|
||||||
|
|
||||||
|
*) The pkg and mpkg targets will create flat packages on 10.6+.
|
||||||
|
|
||||||
|
*) Build-time dependencies will no longer be installed if a prebuilt
|
||||||
|
archive is available for download (and port is configured to use it).
|
||||||
|
|
||||||
|
*) Config file archive_sites.conf can be used to download archives from
|
||||||
|
custom locations.
|
||||||
|
|
||||||
|
*) 'buildfromsource' macports.conf option allows permanently choosing
|
||||||
|
source-only or binary-only mode.
|
||||||
|
|
||||||
|
*) New macports.conf options 'host_blacklist' and 'preferred_hosts', for
|
||||||
|
controlling which download hosts will be used.
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) New -W option for reinplace that sets a base directory for all file
|
||||||
|
arguments.
|
||||||
|
|
||||||
|
*) Livecheck can now find multiple regex matches on each line.
|
||||||
|
|
||||||
|
*) license_noconflict option can be used to override automatic license
|
||||||
|
compatibility checks.
|
||||||
|
|
||||||
|
*) compiler.whitelist, compiler.blacklist, and compiler.fallback options allow
|
||||||
|
simpler, detailed control over which compilers are used to build ports.
|
||||||
|
|
||||||
|
|
||||||
|
== Overview of changes from MacPorts 1.9.2 to 2.0.0 ==
|
||||||
|
|
||||||
|
# For regular users:
|
||||||
|
|
||||||
|
*) Downloaded archives are now checked for integrity using digital signatures.
|
||||||
|
New pubkeys.conf file allows configuring keys to trust.
|
||||||
|
|
||||||
|
*) Actions can be abbreviated to an unambiguous prefix of the full name.
|
||||||
|
|
||||||
|
*) Ports that create StartupItems (aka launchd plists) should now be
|
||||||
|
installable by unprivileged users.
|
||||||
|
|
||||||
|
*) Port images are now stored as archives. Archive mode is now effectively
|
||||||
|
always on. Direct mode and the flat registry format are no longer
|
||||||
|
available. Conversion will happen automatically.
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) Multiple ports can now be defined in one Portfile using the 'subport'
|
||||||
|
procedure.
|
||||||
|
|
||||||
|
*) New option 'add_users' can be set to ensure that the listed users are
|
||||||
|
created at the right times during the install process.
|
||||||
|
|
||||||
|
*) SHA256 checksums are now supported.
|
||||||
|
|
||||||
|
== Overview of changes from MacPorts 1.8.2 to 1.9.0 ==
|
||||||
|
|
||||||
|
# For regular users:
|
||||||
|
|
||||||
|
*) All output is now logged to a file, whose location will be shown if a port
|
||||||
|
target fails. This should be attached to bug reports. The new 'log' action
|
||||||
|
can also be used to view the log for a port.
|
||||||
|
*) Command line options can be abbreviated if unambiguous.
|
||||||
|
*) New actions: rdeps, rdependents, setrequested, unsetrequested
|
||||||
|
*) --follow-dependencies option for uninstall (ports with the requested flag
|
||||||
|
set or with other dependents are skipped).
|
||||||
|
*) New pseudo-ports and selectors: requested, unrequested, leaves, depof:,
|
||||||
|
rdepof:, dependentof:, rdependentof:.
|
||||||
|
*) Architectures of dependencies are checked before install, and in many cases
|
||||||
|
will be automatically fixed by upgrading with +universal.
|
||||||
|
*) New sqlite registry format which is faster and lacks some of the old
|
||||||
|
format's inconvenient limitations.
|
||||||
|
*) Explicitly deselected variants (e.g. -foo) are now recorded, so they will
|
||||||
|
not be set to + when upgrading if +foo appears in variants.conf or
|
||||||
|
the port's default_variants.
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) New os.subplatform variable.
|
||||||
|
*) New configure.ld_archflags option to match configure.cc_archflags et al.
|
||||||
|
*) 'platform' acts like an 'if' statement rather than a variant.
|
||||||
|
*) New supported_archs option for indicating a port only supports certain
|
||||||
|
archs or is noarch.
|
||||||
|
*) pre-/post-deactivate and pre-/post-uninstall procedures can now be used,
|
||||||
|
and pre-/post-activate procedures are run every time the port is activated,
|
||||||
|
not just the first time when it is installed.
|
||||||
|
|
||||||
|
== Overview of changes from MacPorts 1.7.1 to 1.8.0 ==
|
||||||
|
|
||||||
|
# For regular users:
|
||||||
|
|
||||||
|
*) Compatible with Mac OS X 10.6 Snow Leopard, requires at least 10.4 Tiger
|
||||||
|
*) CPU architecture to build for is now configurable
|
||||||
|
*) Performance and memory usage improvements
|
||||||
|
*) New -y option for dry-run
|
||||||
|
*) 'port search' has many new options that make it more flexible
|
||||||
|
*) 'port upgrade' now follows the right dependencies when variants change them
|
||||||
|
*) 'port info' and 'port variants' indicate selected and default variants;
|
||||||
|
'port variants' also shows conflicts and dependencies between variants
|
||||||
|
*) A port can be marked as being replaced by another port; upgrading will
|
||||||
|
perform the replacement
|
||||||
|
*) upgrade accepts new options: --force, --enforce-variants, --no-replace
|
||||||
|
*) Ports can be marked as conflicting, and conflicts will be detected before
|
||||||
|
the install process starts
|
||||||
|
*) Proxy information can now be obtained from System Preferences and from
|
||||||
|
macports.conf
|
||||||
|
*) Activating a port will now first deactivate any other version of the same
|
||||||
|
port that is already active
|
||||||
|
*) MacPorts can be configured to drop root privileges when not needed
|
||||||
|
*) port(1) will exit with an appropriate status code when an error is
|
||||||
|
encountered (use -p to continue despite errors)
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) New options: replaced_by, conflicts, depends_fetch, depends_extract, license
|
||||||
|
*) build_arch variable indicates which architecture should be targeted. Flags
|
||||||
|
used to implement this are configured per-compiler, for example,
|
||||||
|
configure.cc_archflags will be passed to configure.cc in CFLAGS
|
||||||
|
*) Dependencies can be satisfied by ports that are installed but not
|
||||||
|
available in the ports tree
|
||||||
|
*) Deleting all the contents of an option no longer unsets the option entirely
|
||||||
|
*) Using an alternative fetch or extract type now adds appropriate
|
||||||
|
dependencies automatically, e.g. 'use_zip yes' adds a dep on unzip, and
|
||||||
|
'fetch.type svn' adds a dep on subversion
|
||||||
|
*) Running phases prior to install should now work reliably when the port is
|
||||||
|
already installed
|
||||||
|
|
||||||
|
== Overview of changes from MacPorts 1.6.0 to 1.7.0 ==
|
||||||
|
|
||||||
|
# For regular users:
|
||||||
|
|
||||||
|
*) The resources directory (containing port group information and the mirror sites) has been moved into the ports tree, so a new MacPorts release is no longer needed to update these items
|
||||||
|
*) The error message from 'port upgrade outdated' when no ports are outdated is much improved
|
||||||
|
*) Improvement on handling of MacPorts configuration files (global and user-defined options)
|
||||||
|
*) Case-insensitive issues have been fixed
|
||||||
|
*) 'port help' is improved
|
||||||
|
*) The MacPorts mirror, distfiles.macports.org, is automatically checked when the normal sites fail to respond
|
||||||
|
*) The search command of port now searches the name, description, and long_description fields
|
||||||
|
*) Numerous improvements to dependency handling
|
||||||
|
*) Work around a bug in 10.5's Tcl environment handling
|
||||||
|
*) Fetching distfiles now tries to ping all mirror sites first in an attempt to pick the best source
|
||||||
|
*) A new option was added to uninstall: --recursive
|
||||||
|
*) The output for the port commands info, deps, dependents, and search has been improved
|
||||||
|
*) Two new options to selfupdate: --pretend and --nosync
|
||||||
|
*) A platform command has been added to port to display your platform information
|
||||||
|
*) A suitable message is output when the requested port is not installed when polling its dependents;
|
||||||
|
*) Fixed the "Error: Unable to open port: invalid command name "ui_prefix"" runtime error on Panther;
|
||||||
|
*) Fixed the "Error: Unable to open port: invalid command name "ui_channels"" runtime error on Panther;
|
||||||
|
*) Fixed a MacPorts, Panther specific build failure due to missing sqlite headers on that platform;
|
||||||
|
*) Fixed a MacPorts build failure when building itself in universal fashion;
|
||||||
|
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) ruby port group adds a new parameter to ruby.setup for multiple ruby version support
|
||||||
|
*) New use_dmg option allows DMG-format distfiles
|
||||||
|
*) ruby.setup (part of the ruby port group) now takes a fetch type
|
||||||
|
*) git has been added as a valid fetch.type
|
||||||
|
*) On Mac OS X, MACOSX_DEPLOYMENT_TARGET is now always set to workaround various issues
|
||||||
|
*) Several universal-specific variables added to the configure.* group
|
||||||
|
*) A merge function is now available for easier merging of multiple architectures for universal support
|
||||||
|
*) Pre-fabricated statements with correct checksums are output when in verbose mode if the existing ones in the Portfile are incorrect;
|
||||||
|
*) "port lint" now recognizes non-canonical modelines;
|
||||||
|
*) Added a 'configure.pipe' Portfile option for using pipes rather than intermediate files when compiling C/C++ based ports;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
== Overview of changes from MacPorts 1.5.2 to 1.6.0 ==
|
||||||
|
|
||||||
|
# For regular usage:
|
||||||
|
|
||||||
|
*) Revived and thoroughly refreshed web presence at http://www.macports.org/ , with more improvements still on the way;
|
||||||
|
*) New project guide at http://guide.macports.org/
|
||||||
|
*) Fixed the "upgrade" target of the port(1) command to properly handle installed versions beginning with letters;
|
||||||
|
*) Improved the "variants" target of the port(1) command to behave like the "info" target to poll the requested Portfile directly
|
||||||
|
rather than the index for more up-to-date information, while also providing a --index flag for legacy behavior;
|
||||||
|
*) Fixed a bug by which a user-specific 'macports.conf' file would not be read;
|
||||||
|
*) Tightened security by installing MacPorts in 0755 mode (no write permission for group and others) by default;
|
||||||
|
*) Added 'none' as a possible option for supported types of startupitems scripts;
|
||||||
|
*) Disabled readline support in interactive mode of the port(1) command by deafult;
|
||||||
|
*) Fixed a bug by which the "variants" target of the port(1) command would spit out an error backtrace to the terminal when no match
|
||||||
|
was found for the requested port;
|
||||||
|
*) Revamped the "postflight" script that takes care of setting a MacPorts-compatible shell environment after installation from our
|
||||||
|
"pkg" is complete; it now gracefully handles the addition of PATH, MANPATH and DISPLAY environment variables separately and only
|
||||||
|
if strictly needed, properly backing up appropriate shell configuration files before proceeding to modify them
|
||||||
|
(http://guide.macports.org/#installing.binary.postflight.details for more information);
|
||||||
|
|
||||||
|
|
||||||
|
# Individual port-building-related improvements:
|
||||||
|
|
||||||
|
*) Eugene Pimenov's GSoC2007 work on improving "trace mode" for the building of ports in clean environments,
|
||||||
|
http://trac.macports.org/projects/macports/wiki/soc2007/epimenov ;
|
||||||
|
*) Added 'bsdmake' and 'gnumake' defaults for building ports on the FreeBSD and Linux platforms;
|
||||||
|
*) Added 'configureccache' and 'configuredistcc' configuration options to the main 'macports.conf' for distributed
|
||||||
|
builds (defaulting to no);
|
||||||
|
*) Improved building of configure-based universal ports on Leopard;
|
||||||
|
*) Fixed a bug by which the 'universal' variant would disappear if a 'macosx' variant was selected;
|
||||||
|
*) Added a 'macosx_deployment_target' option to the main 'macports.conf' file for ports that benefit from this Mac OS X specific flag;
|
||||||
|
*) Added a 'configurepipe' option to the main 'macports.conf' file for using pipes rather than intermediate files when compiling C/C++
|
||||||
|
based ports;
|
||||||
|
*) Removed LD_PREBIND & LD_PREBIND_ALLOW_OVERLAP variables from MacPorts' environment to prevent prebinding of binaries, which can be harmful
|
||||||
|
on Tiger and above;
|
||||||
|
|
||||||
|
|
||||||
|
# Packaging-related improvements:
|
||||||
|
|
||||||
|
*) Created pkg's no longer have /etc, /var/ or /tmp directories in them;
|
||||||
|
*) Fixed a bug by which all .mpkg packages were missing their welcome page;
|
||||||
|
*) Fixed a bug by which HTML contents were written as a pkg's Welcome.rtf file, causing it to not display at all;
|
||||||
|
*) Made the homepage clickable in a pkg's welcoming screen;
|
||||||
|
*) Added support for lzma compression for archives;
|
||||||
|
*) Improved pkg & dmg creation on Leopard, for both Intel and PowerPC platforms;
|
||||||
|
*) Added an 'mdmg' target, for the creation of a dmg for a port and its dependencies;
|
||||||
|
*) Dramatically improved performace of the port(1) command's Portfile level actions like "file", "dir", "work" and "url"
|
||||||
|
|
||||||
|
|
||||||
|
# For Portfile writers:
|
||||||
|
|
||||||
|
*) Added more compiler suites as options to the 'configure.compiler' Portfile option;
|
||||||
|
*) Added 'configure.fflags' 'configure.fcflags' 'configure.f90flags' Portfile options for Fortran based ports;
|
||||||
|
*) Added 'configure.javac' and 'configure.classpath' Portfile options for Java ports;
|
||||||
|
*) Added 'configure.objc' 'configure.objcflags' Portfile options for Objective-C based ports;
|
||||||
|
*) Added 'build.nice' and 'build.jobs' Portfile options for parallel builds and build prioritizing;
|
||||||
|
*) Added 'startupitem.netchange' boolean flag Portfile option for generated startup scripts;
|
||||||
|
*) Added a "lint" target to the port(1) command, for Portfile verification and beautification;
|
||||||
|
*) Added Portfile group code for Python 3.0 based ports and deprecated the plain 'python' group code;
|
||||||
|
*) Added generic GNU livecheck rules;
|
||||||
|
*) The "x86" platform has been normalized as "i386";
|
||||||
|
*) Added a 'use_parallel_build' Portfile option for declaring if a particular port can be built in parallel through make's -j flag,
|
||||||
|
defaulting to no;
|
||||||
|
*) Added 'configure.awk', 'configure.bison', 'configure.pkg_config', 'configure.pkg_config_path' Portfile options to point to the
|
||||||
|
relevant programs/paths to use;
|
||||||
|
*) Added a 'extract.mkdir' Portfile option to better deal with so-called "tar bombs";
|
||||||
|
|
||||||
|
|
||||||
|
# For MacPorts scripting:
|
||||||
|
|
||||||
|
*) Moved the 'ui_isset' and 'global_option_isset' Tcl procedures for testing of the UI and global options to the macports1.0 API
|
||||||
|
sparing its clients from having to implement them;
|
||||||
|
*) Improved defaults for implicit ui_prefix and ui_channels behaviour at the macports1.0 layer;
|
||||||
|
|
||||||
|
|
||||||
|
# Miscellaneous:
|
||||||
|
|
||||||
|
*) Added MacPorts-configure time checks for Mac OS X and Xcode versions and warnings for old versions;
|
||||||
|
*) Added a 'user-agent' parameters to our libcurl-based fetching of sources for sites that require a user agent;
|
||||||
|
*) 'livecheck' regular expressions are now checked against each entry in the listed master_site in the Portfile;
|
||||||
|
*) Fixed regexp in livecheck code to work when there is both a tag and a subdir in the mirror uri;
|
||||||
|
*) Improved the integrated "daemondo" program to better handle the death of startupitem-based programs;
|
||||||
|
*) Added a "--restart-wait=n" argument to the integrated "daemondo" program to control the number of seconds to wait during restart of
|
||||||
|
the process it is monitoring, defaulting to 3;
|
||||||
|
*) Enabled building of our objc bridge against GNUStep on platforms other than Mac OS X;
|
||||||
|
*) Added support for packing of MacPorts itself on FreeBSD and Fedora platforms;
|
||||||
|
*) Added SourceForge.jp to our list of SourceForge-based mirrors for sources fetching;
|
||||||
|
*) Added http mirror sites for the postgresql mirrors list;
|
||||||
|
*) Added the ftp://ftp.gnu.org/old-gnu/ mirror to the GNU mirrors list;
|
||||||
|
*) Fixed a bug by which paths with embedded spaces would cause the "dp2mp-move" upgrade code to fail when trying to find user-specific
|
||||||
|
'macports.conf' files;
|
||||||
Vendored
+1140
File diff suppressed because it is too large
Load Diff
+1494
File diff suppressed because it is too large
Load Diff
+1700
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
The file RELEASE_URL in this directory is used by the rsync infrastructure
|
||||||
|
at the MacPorts server to control the tag from which "released" code is provided,
|
||||||
|
ultimately at rsync://rsync.macports.org/release/base/.
|
||||||
|
|
||||||
|
The script handling that operation checks out from svn the code tagged by the
|
||||||
|
contents of the RELEASE_URL file and makes that code available via rsync.
|
||||||
|
The script is in svn at base/portmgr/mprsyncup.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
https://svn.macports.org/repository/macports/tags/release_2_1_2/base
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
1.710
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2.1.99
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
1.800
|
||||||
+11479
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user