Changeset 82437
- Timestamp:
- 08/13/11 15:28:37 (4 years ago)
- Location:
- branches/gsoc11-post-destroot/base
- Files:
-
- 2 deleted
- 2 edited
-
doc/Makefile (modified) (1 diff)
-
doc/files_whitelist.conf (deleted)
-
doc/folders_whitelist.conf (deleted)
-
src/macports1.0/macports.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-post-destroot/base/doc/Makefile
r81446 r82437 2 2 MAN5= macports.conf.5 3 3 MAN7= portfile.7 portstyle.7 porthier.7 portgroup.7 4 CONF= macports.conf pubkeys.conf sources.conf variants.conf files_whitelist.conf folders_whitelist.conf4 CONF= macports.conf pubkeys.conf sources.conf variants.conf whitelist.conf 5 5 INSTALLDIR= ${DESTDIR}${prefix} 6 6 TOPSRCDIR= .. -
branches/gsoc11-post-destroot/base/src/macports1.0/macports.tcl
r81397 r82437 531 531 532 532 # Read dynamic libraries whitelist config files 533 set whitelist_conf_files {folders_whitelist files_whitelist} 534 foreach whitelist $whitelist_conf_files { 535 set file "${macports_conf_path}/${whitelist}.conf" 536 if { [file exists $file] } { 537 set macports::${whitelist} {} 538 set fd [open $file] 539 while { [gets $fd line] >= 0 } { 540 lappend macports::${whitelist} $line 541 } 542 global macports::${whitelist} 543 } 544 } 533 set whitelist_conf_file "${macports_conf_path}/whitelist.conf" 534 set macports::folders_whitelist {} 535 set macports::files_whitelist {} 536 if { [file exists $whitelist_conf_file] } { 537 set fd [open $whitelist_conf_file] 538 while { [gets $fd line] >= 0 } { 539 if { [file isdirectory $line] } { 540 lappend macports::folders_whitelist $line 541 } else { 542 lappend macports::files_whitelist $line 543 } 544 } 545 } 546 global macports::folders_whitelist 547 global macports::files_whitelist 545 548 546 549 # Process per-user only settings
Note: See TracChangeset
for help on using the changeset viewer.

