File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 44/Doxyfile
55/setupenv.bash
66/autom4te.cache
7+ /port.sh
78
89doc /* .gz
910doc /* .mtree
Original file line number Diff line number Diff line change @@ -9123,6 +9123,8 @@ $as_echo "yes" >&6; }
91239123ac_config_files=" $ac_config_files Doxyfile Makefile Mk/macports.autoconf.mk doc/Makefile doc/base.mtree doc/macosx.mtree doc/macports.conf doc/prefix.mtree doc/pubkeys.conf portmgr/dmg/postflight setupenv.bash src/Makefile src/cregistry/Makefile src/compat/Makefile src/darwintracelib1.0/Makefile src/machista1.0/Makefile src/macports1.0/Makefile src/macports1.0/macports_autoconf.tcl src/macports1.0/macports_test_autoconf.tcl src/mpcommon1.0/Makefile src/package1.0/Makefile src/package1.0/package_test_autoconf.tcl src/pextlib1.0/Makefile src/port/Makefile src/port1.0/Makefile src/port1.0/port_autoconf.tcl src/port1.0/port_test_autoconf.tcl src/programs/Makefile src/registry2.0/Makefile src/registry2.0/registry_autoconf.tcl tests/Makefile tests/test.tcl tests/test/library.tcl tests/test/trace/test.tcl vendor/Makefile"
91249124
91259125
9126+ ac_config_files=" $ac_config_files port.sh"
9127+
91269128ac_config_files=" $ac_config_files vendor/tclsh"
91279129
91289130ac_config_files=" $ac_config_files src/cxx_stdlib_overridden.tcl"
98639865 " tests/test/library.tcl" ) CONFIG_FILES=" $CONFIG_FILES tests/test/library.tcl" ;;
98649866 " tests/test/trace/test.tcl" ) CONFIG_FILES=" $CONFIG_FILES tests/test/trace/test.tcl" ;;
98659867 " vendor/Makefile" ) CONFIG_FILES=" $CONFIG_FILES vendor/Makefile" ;;
9868+ " port.sh" ) CONFIG_FILES=" $CONFIG_FILES port.sh" ;;
98669869 " vendor/tclsh" ) CONFIG_FILES=" $CONFIG_FILES vendor/tclsh" ;;
98679870 " src/cxx_stdlib_overridden.tcl" ) CONFIG_FILES=" $CONFIG_FILES src/cxx_stdlib_overridden.tcl" ;;
98689871 " src/dedup_portfiles.tcl" ) CONFIG_FILES=" $CONFIG_FILES src/dedup_portfiles.tcl" ;;
@@ -10421,6 +10424,7 @@ $as_echo "$as_me: $ac_file is unchanged" >&6;}
1042110424
1042210425
1042310426 case $ac_file$ac_mode in
10427+ "port.sh":F) chmod +x port.sh ;;
1042410428 "vendor/tclsh":F) chmod +x vendor/tclsh ;;
1042510429 "src/cxx_stdlib_overridden.tcl":F) chmod +x src/cxx_stdlib_overridden.tcl ;;
1042610430 "src/dedup_portfiles.tcl":F) chmod +x src/dedup_portfiles.tcl ;;
Original file line number Diff line number Diff line change @@ -467,6 +467,7 @@ AC_CONFIG_FILES([
467467 vendor/Makefile
468468] )
469469
470+ AC_CONFIG_FILES ( [ port.sh] , [ chmod +x port.sh] )
470471AC_CONFIG_FILES ( [ vendor/tclsh] , [ chmod +x vendor/tclsh] )
471472AC_CONFIG_FILES ( [ src/cxx_stdlib_overridden.tcl] , [ chmod +x src/cxx_stdlib_overridden.tcl] )
472473AC_CONFIG_FILES ( [ src/dedup_portfiles.tcl] , [ chmod +x src/dedup_portfiles.tcl] )
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # Simple shell script to invoke MacPorts from the source directory
4+ #
5+
6+ export TCL_LIBRARY=" @abs_srcdir@/@VENDOR_DESTROOT@@TCL_PACKAGE_PATH@/tcl@TCL_VERSION@"
7+ export TCLLIBPATH=" @abs_srcdir@/src"
8+
9+ # a small sandbox profile that denies access to installed sources
10+ sandbox_profile="
11+ (version 1)
12+
13+ (allow default)
14+ (deny file* (subpath \" @TCL_PACKAGE_PATH@\" ))
15+ "
16+
17+ if ! [ -d " $TCL_LIBRARY " ] || ! [ -f " @abs_srcdir@/src/port/port" ]
18+ then
19+ echo " please build MacPorts before running this script!" 1>&2
20+ exit 1
21+ else
22+ exec sandbox-exec -p " $sandbox_profile " \
23+ " @INTREE_TCLSH@" " @abs_srcdir@/src/port/port" " $@ "
24+ fi
You can’t perform that action at this time.
0 commit comments