Changeset 1205


Ignore:
Timestamp:
Nov 8, 2002, 9:15:53 PM (18 years ago)
Author:
jkh
Message:

Use mtree to populate the directory hierarchy, also making sure that
permissions are correct. Switch group to admin as default and set permissions
so that users no longer have to be root in order to install ports. Make
sure the ports infrastructure uses it as well as the dports infrastructure,
so things continue to work even if they're decoupled.

Commit first part of master_sites stuff, next part to follow.

Location:
trunk/base
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/Makefile

    r1034 r1205  
    1818        mkdir -p /etc/defaults
    1919        mkdir -p ${ETCDIR}
    20         mkdir -p ${PREFIX}/man/man7
     20        mtree -U -f prefix.mtree -d -e -p ${PREFIX} > /dev/null
    2121        @if [ ! -e ${ETCDIR}/ports.conf ]; then \
    2222                set -x; \
     
    2828                install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${ETCDIR}; \
    2929        fi
    30 
     30        install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${ETCDIR}
    3131        install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf.default /etc/defaults/ports.conf
    3232        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7.gz ${PREFIX}/man/man7
  • trunk/base/doc/ports.conf.default

    r773 r1205  
    1515# Set the directory in which to install ports
    1616prefix                  /opt/local
     17
     18# master site macros (from FreeBSD)
     19
     20default _master_subdir {${master_site_subdir}}
     21
     22default master_site_afterstep {
     23    ftp://ftp.afterstep.org/${_master_subdir}/
     24    ftp://ftp.digex.net/pub/X11/window-managers/afterstep/${_master_subdir}/
     25    ftp://ftp.kddlabs.co.jp/X11/AfterStep/${_master_subdir}/
     26    ftp://ftp.dti.ad.jp/pub/X/AfterStep/${_master_subdir}/
     27    ftp://ftp.chg.ru/pub/X11/windowmanagers/afterstep/${_master_subdir}/
     28}
     29
     30default master_site_comp_sources {
     31    ftp://gatekeeper.dec.com/pub/usenet/comp.sources.${_master_subdir}/
     32    ftp://ftp.kddlabs.co.jp/Unix/com.sources.${_master_subdir}/
     33    ftp://ftp.uu.net/usenet/comp.sources.${_master_subdir}/
     34    ftp://ftp.funet.fi/pub/archive/comp.sources.${_master_subdir}/
     35    ftp://rtfm.mit.edu/pub/usenet/comp.sources.${_master_subdir}/
     36}
     37
     38default master_site_festival {
     39    http://www.festvox.org/packed/festival/${_master_subdir}/
     40    http://www.speech.cs.cmu.edu/festival/cstr/festival/${_master_subdir}/
     41    ftp://ftp.leb.net/pub/blinux/festival/mirror.festival_home/${_master_subdir}/
     42    ftp://ftp.mayn.de/pub/linux/BLinux/festival/mirror.festival_home/${_master_subdir}/
     43    ftp://ftp.tuwien.ac.at/opsys/linux/blinux/festival/mirror.festival_home/${_master_subdir}/
     44}
     45
     46default master_site_festival_ogi {
     47    ftp://ftp.leb.net/pub/blinux/festival/mirror.ogi-synth_home/
     48    ftp://ftp.mayn.de/pub/linux/BLinux/festival/mirror.ogi-synth_home/
     49    ftp://cslu.cse.ogi.edu/pub/tts/
     50}
     51
     52default master_site_gnome {
     53    ftp://ftp.rpmfind.net/linux/gnome.org/${_master_subdir}/
     54    ftp://ftp.sunet.se/pub/X11/GNOME/${_master_subdir}/
     55    ftp://ftp.dit.upm.es/linux/gnome/${_master_subdir}/
     56    ftp://ftp.no.gnome.org/pub/GNOME/${_master_subdir}/
     57    ftp://ftp.dataplus.se/pub/linux/gnome/${_master_subdir}/
     58    ftp://ftp.mirror.ac.uk/sites/ftp.gnome.org/pub/GNOME/${_master_subdir}/
     59    ftp://ftp.chg.ru/pub/X11/gnome/${_master_subdir}/
     60    ftp://ftp.tr.gnome.org/pub/GNOME/${_master_subdir}/
     61    ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/www.gnome.org/${_master_subdir}/
     62    ftp://ftp.cse.buffalo.edu/pub/Gnome/${_master_subdir}/
     63}
     64
     65default master_site_isc {
     66    ftp://ftp.isc.org/isc/${_master_subdir}/
     67    ftp://gd.tuwien.ac.at/infosys/servers/isc/${_master_subdir}/
     68    ftp://ftp.ciril.fr/pub/isc/${_master_subdir}/
     69    ftp://ftp.grolier.fr/pub/isc/${_master_subdir}/
     70    ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/${_master_subdir}/
     71    ftp://ftp.freenet.de/pub/ftp.isc.org/isc/${_master_subdir}/
     72    ftp://ftp.fsn.hu/pub/isc/${_master_subdir}/
     73    ftp://ftp.kyushu-u.ac.jp/pub/Net/isc/${_master_subdir}/
     74    ftp://ftp.iij.ad.jp/pub/network/isc/${_master_subdir}/
     75    ftp://ftp.dti.ad.jp/pub/net/isc/${_master_subdir}/
     76    ftp://ftp.u-aizu.ac.jp/pub/net/isc/${_master_subdir}/
     77    ftp://ftp.linux.lv/pub/software/isc/${_master_subdir}/
     78    ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/${_master_subdir}/
     79    ftp://ftp.cdu.elektra.ru/pub/unix/isc/${_master_subdir}/
     80    ftp://ftp.si.uniovi.es/mirror/isc/${_master_subdir}/
     81    ftp://ftp.sunet.se/pub/network/isc/${_master_subdir}/
     82    ftp://ftp.chl.chalmers.se/pub/unix/network/isc/${_master_subdir}/
     83    ftp://unix.hensa.ac.uk/mirrors/ftp.isc.org/isc/${_master_subdir}/
     84    ftp://ftp.epix.net/pub/isc/${_master_subdir}/
     85    ftp://ftp.nominum.com/pub/isc/${_master_subdir}/
     86    ftp://ftp.nerdc.ufl.edu/pub/mirrors/ftp.isc.org/isc/${_master_subdir}/
     87    ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/${_master_subdir}/
     88    ftp://ftp.nl.uu.net/pub/mirrors/ftp.isc.org/${_master_subdir}/
     89    ftp://ftp.pop-mg.com.br/pub/isc/${_master_subdir}/
     90    ftp://ftp.ntua.gr/pub/net/isc/isc/${_master_subdir}/
     91    ftp://ftp.ulak.net.tr/pub/networking/isc/${_master_subdir}/
     92    ftp://ftp.metu.edu.tr/pub/mirrors/ftp.isc.org/${_master_subdir}/
     93}
     94
     95default master_site_gnu {
     96    ftp://ftp.gnu.org/gnu/${_master_subdir}/
     97    ftp://gatekeeper.dec.com/pub/GNU/${_master_subdir}/
     98    ftp://ftp.uu.net/archive/systems/gnu/${_master_subdir}/
     99    ftp://ftp.de.uu.net/pub/gnu/${_master_subdir}/
     100    ftp://ftp.funet.fi/pub/gnu/prep/${_master_subdir}/
     101    ftp://ftp.leo.org/pub/comp/os/unix/gnu/${_master_subdir}/
     102    ftp://ftp.digex.net/pub/gnu/${_master_subdir}/
     103    ftp://ftp.wustl.edu/mirrors/gnu/${_master_subdir}/
     104    ftp://ftp.kddlabs.co.jp/pub/gnu/${_master_subdir}/
     105    ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/gnu/${_master_subdir}/
     106    ftp://sunsite.org.uk/Mirrors/ftp.gnu.org/pub/gnu/${_master_subdir}/
     107    ftp://ftp.informatik.hu-berlin.de/pub/gnu/${_master_subdir}/
     108    ftp://ftp.rediris.es/mirror/gnu/${_master_subdir}/
     109    ftp://ftp.lip6.fr/pub/gnu/${_master_subdir}/
     110    ftp://ftp.chg.ru/pub/gnu/${_master_subdir}/
     111}
     112
     113default master_site_kde {
     114    ftp://ftp.us.kde.org/pub/kde/${_master_subdir}/
     115    ftp://ftp.kde.org/pub/kde/${_master_subdir}/
     116    http://linux.dsi.internet2.edu/X11/kde/${_master_subdir}/
     117    ftp://ftp.tuniv.szczecin.pl/pub/kde/${_master_subdir}/
     118    ftp://ftp.kddlabs.co.jp/X11/kde/${_master_subdir}/
     119    ftp://ftp.mirror.ac.uk/sites/ftp.kde.org/pub/kde/${_master_subdir}/
     120    ftp://ftp.dataplus.se/pub/linux/kde/${_master_subdir}/
     121    ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/${_master_subdir}/
     122    ftp://ftp.chg.ru/pub/X11/kde/${_master_subdir}/
     123}
     124
     125default master_site_mozilla {
     126    http://download.mozilla.org/pub/${_master_subdir}/
     127    ftp://ftp.mozilla.org/pub/${_master_subdir}/
     128    ftp://sunsite.utk.edu/pub/netscape-source/${_master_subdir}/
     129    ftp://ftp.informatik.uni-bonn.de/pub/www/mozilla/${_master_subdir}/
     130    ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.mozilla.org/pub/${_master_subdir}/
     131    ftp://sunsite.auc.dk/pub/mozilla/${_master_subdir}/
     132    ftp://ftp.funet.fi/pub/mirrors/ftp.mozilla.org/pub/${_master_subdir}/
     133    ftp://ftp.sunsite.kth.se/archive/www/ftp.mozilla.org/${_master_subdir}/
     134    ftp://ftp2.sinica.edu.tw/pub3/www/mozilla/${_master_subdir}/
     135    ftp://ftp.is.co.za/networking/info-service/www/clients/netscape/mozilla/${_master_subdir}/
     136    ftp://ftp.rediris.es/mirror/mozilla/${_master_subdir}/
     137    ftp://ftp.chg.ru/pub/WWW/mozilla/${_master_subdir}/
     138}
     139
     140default master_site_perl_cpan {
     141    http://www.cpan.dk/CPAN/modules/by-module/${_master_subdir}/
     142    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/${_master_subdir}/
     143    ftp://ftp.cpan.org/pub/CPAN/modules/by-module/${_master_subdir}/
     144    ftp://uiarchive.uiuc.edu/pub/ftp/cpan.cse.msu.edu/modules/by-module/${_master_subdir}/
     145    ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/${_master_subdir}/
     146    ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/${_master_subdir}/
     147    ftp://mirror.hiwaay.net/CPAN/modules/by-module/${_master_subdir}/
     148    ftp://ftp.bora.net/pub/CPAN/modules/by-module/${_master_subdir}/
     149    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/${_master_subdir}/
     150    ftp://bioinfo.weizmann.ac.il/pub/software/perl/CPAN/modules/by-module/${_master_subdir}/
     151    ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/modules/by-module/${_master_subdir}/
     152    ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/${_master_subdir}/
     153    ftp://ftp.isu.net.sa/pub/CPAN/modules/by-module/${_master_subdir}/
     154    ftp://ftp.ucr.ac.cr/pub/Unix/CPAN/modules/by-module/${_master_subdir}/
     155    ftp://ftp.cs.colorado.edu/pub/perl/CPAN/modules/by-module/${_master_subdir}/
     156    ftp://cpan.pop-mg.com.br/pub/CPAN/modules/by-module/${_master_subdir}/
     157    ftp://ftp.is.co.za/programming/perl/CPAN/modules/by-module/${_master_subdir}/
     158    http://cpan.shellhung.org/modules/by-module/${_master_subdir}/
     159    ftp://sunsite.org.uk/packages/perl/CPAN/modules/by-module/${_master_subdir}/
     160    ftp://ftp.chg.ru/pub/lang/perl/CPAN/modules/by-module/${_master_subdir}/
     161}
     162
     163default master_site_ruby {
     164    ftp://ftp.ruby-lang.org/pub/ruby/${_master_subdir}/
     165    ftp://ftp.fu-berlin.de/unix/languages/ruby/${_master_subdir}/
     166    ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${_master_subdir}/
     167    ftp://ftp.iij.ad.jp/pub/lang/ruby/${_master_subdir}/
     168    ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/${_master_subdir}/
     169    ftp://ftp.kr.FreeBSD.org/pub/ruby/${_master_subdir}/
     170    ftp://ftp.easynet.be/ruby/ruby/${_master_subdir}/
     171    http://mirrors.sunsite.dk/ruby/${_master_subdir}/
     172    ftp://ftp.ntua.gr/pub/lang/ruby/${_master_subdir}/
     173    ftp://ftp.chg.ru/pub/lang/ruby/${_master_subdir}/
     174}
     175
     176default master_site_sourceware {
     177    http://mirrors.rcn.net/pub/sourceware/${_master_subdir}/
     178    ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${_master_subdir}/
     179    ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/${_master_subdir}/
     180    ftp://ftp.pvv.ntnu.no/pub/cygnus/sourceware.cygnus.com/${_master_subdir}/
     181    ftp://ftp1.sinica.edu.tw/pub3/CYGNUS/${_master_subdir}/
     182    ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/${_master_subdir}/
     183    ftp://gd.tuwien.ac.at/gnu/sourceware/${_master_subdir}/
     184    ftp://ftp.unina.it/pub/Unix/cygnus/${_master_subdir}/
     185    ftp://ftp.sdn.co.za/mirrors/sourceware.cygnus.com/pub/${_master_subdir}/
     186    http://sunsite.org.uk/Mirrors/sourceware.cygnus.com/pub/${_master_subdir}/
     187    ftp://unix.hensa.ac.uk/mirrors/sourceware.cygnus.com/pub/${_master_subdir}/
     188    ftp://sunsite.org.uk/Mirrors/sourceware.cygnus.com/pub/${_master_subdir}/
     189}
     190
     191default master_site_sourceforge {
     192    http://us.dl.sourceforge.net/${_master_subdir}/
     193    http://eu.dl.sourceforge.net/${_master_subdir}/
     194    ftp://us.dl.sourceforge.net/pub/sourceforge/${_master_subdir}/
     195    ftp://ftp.kddlabs.co.jp/sourceforge/${_master_subdir}/
     196    ftp://ftp.chg.ru/pub/sourceforge/${_master_subdir}/
     197}
     198
     199default master_site_sunsite {
     200    ftp://metalab.unc.edu/pub/Linux/${_master_subdir}/
     201    ftp://ftp.oit.unc.edu/pub/Linux/${_master_subdir}/
     202    http://www.ibiblio.org/pub/Linux/${_master_subdir}/
     203    http://linux.dsi.internet2.edu/${_master_subdir}/
     204    ftp://ftp.unicamp.br/pub/systems/Linux/${_master_subdir}/
     205    ftp://ftp.tuwien.ac.at/pub/linux/ibiblio/${_master_subdir}/
     206    ftp://sunsite.cnlab-switch.ch/mirror/linux/sunsite/${_master_subdir}/
     207    ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/${_master_subdir}/
     208    ftp://ftp.fu-berlin.de/unix/linux/mirrors/sunsite.unc.edu/${_master_subdir}/
     209    ftp://ftp.uni-bremen.de/pub/mirrors/sunsite/${_master_subdir}/
     210    ftp://ftp.uni-jena.de/pub/linux/MIRROR.sunsite/${_master_subdir}/
     211    ftp://ftp.rz.uni-karlsruhe.de/pub/mirror/ftp.uni-tuebingen.de/pub/linux/mirrors/ftp.metalab.unc.edu/pub/Linux/${_master_subdir}/
     212    ftp://ftp.uni-magdeburg.de/pub/mirror/linux/ftp.metalab.unc.edu/${_master_subdir}/
     213    ftp://ftp.uni-stuttgart.de/pub/mirror/sunsite.unc.edu/pub/Linux/${_master_subdir}/
     214    ftp://ftp.uniovi.es/pub1/linux/${_master_subdir}/
     215    ftp://ftp.lip6.fr/pub/linux/sunsite/${_master_subdir}/
     216    ftp://ftp.medasys-digital-systems.fr/pub1/linux/sunsite/${_master_subdir}/
     217    ftp://ftp.uvsq.fr/pub5/linux/sunsite/${_master_subdir}/
     218    ftp://ftp.leidenuniv.nl/pub/linux/sunsite/${_master_subdir}/
     219    ftp://ftp.nvg.ntnu.no/pub/mirrors/metalab.unc.edu/${_master_subdir}/
     220    ftp://ftp.icm.edu.pl/vol/rzm1/linux-sunsite/${_master_subdir}/
     221    ftp://ftp.man.poznan.pl/vols/vol1/sunsite/${_master_subdir}/
     222    ftp://ftp.pku.edu.cn/pub/linux/${_master_subdir}/
     223    ftp://ftp.cse.cuhk.edu.hk/pub4/Linux/${_master_subdir}/
     224    ftp://ftp.kobe-u.ac.jp/pub/Linux/metalab.unc.edu/${_master_subdir}/
     225    ftp://ftp.kddlabs.co.jp/Linux/metalab.unc.edu/${_master_subdir}/
     226    ftp://sunsite.tus.ac.jp/pub/archives/linux/sunsite-unc/${_master_subdir}/
     227    ftp://ftp.dacom.co.kr/pub/mirrors/metalab.unc.edu/Linux/${_master_subdir}/
     228    ftp://ftp.funet.fi/pub/Linux/mirrors/metalab/${_master_subdir}/
     229    ftp://sunsite.doc.ic.ac.uk/packages/linux/sunsite.unc-mirror/${_master_subdir}/
     230    ftp://ftp.nluug.nl/vol/3/metalab/${_master_subdir}/
     231    ftp://ftp.is.co.za/linux/sunsite/${_master_subdir}/
     232    ftp://ftp.chg.ru/pub/Linux/sunsite/${_master_subdir}/
     233}
     234
     235default master_site_tcltk {
     236    ftp://ftp.scriptics.com/pub/tcl/${_master_subdir}/
     237    ftp://mirror.neosoft.com/pub/tcl/mirror/ftp.scriptics.com/${_master_subdir}/
     238    ftp://sunsite.utk.edu/pub/tcl/${_master_subdir}/
     239    ftp://ftp.funet.fi/pub/languages/tcl/tcl/${_master_subdir}/
     240    ftp://ftp.uu.net/languages/tcl/${_master_subdir}/
     241    ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/${_master_subdir}/
     242    ftp://ftp.cs.tu-berlin.de/pub/tcl/distrib/${_master_subdir}/
     243    ftp://ftp.srcc.msu.su/mirror/ftp.scriptics.com/pub/tcl/${_master_subdir}/
     244    ftp://ftp.lip6.fr/pub/tcl/distrib/${_master_subdir}/
     245    ftp://ftp.mirror.ac.uk/sites/ftp.scriptics.com/pub/tcl/${_master_subdir}/
     246    ftp://sunsite.org.uk/Mirrors/ftp.scriptics.com/pub/tcl/${_master_subdir}/
     247}
     248
     249default master_site_tex_ctan {
     250    ftp://wuarchive.wustl.edu/packages/TeX/${_master_subdir}/
     251    ftp://ftp.funet.fi/pub/TeX/CTAN/${_master_subdir}/
     252    ftp://ctan.unsw.edu.au/tex-archive/${_master_subdir}/
     253    ftp://ftp.cise.ufl.edu/tex-archive/${_master_subdir}/
     254    ftp://ftp.tex.ac.uk/tex-archive/${_master_subdir}/
     255    ftp://ftp.kddlabs.co.jp/CTAN/${_master_subdir}/
     256    ftp://sunsite.auc.dk/pub/tex/ctan/${_master_subdir}/
     257    ftp://ctan.tug.org/tex-archive/${_master_subdir}/
     258    ftp://ftp.dante.de/tex-archive/${_master_subdir}/
     259    ftp://ftp.chg.ru/pub/TeX/CTAN/${_master_subdir}/
     260}
     261
     262default master_site_themes {
     263    ftp://ftp.themes.org/pub/themes/${_master_subdir}/
     264    ftp://ftp.tuwien.ac.at/opsys/linux/themes.org/${_master_subdir}/
     265    ftp://ftp.debian.org/pub/mirrors/themes.org/${_master_subdir}/
     266    ftp://ftp.chg.ru/pub/X11/themes/${_master_subdir}/
     267}
     268
     269default master_site_windowmaker {
     270    ftp://ftp.windowmaker.org/pub/${_master_subdir}/
     271    ftp://ftp.goldweb.com.au/pub/WindowMaker/${_master_subdir}/
     272    ftp://ftp.kddlabs.co.jp/X11/window_managers/windowmaker/${_master_subdir}/
     273    ftp://ftp.ameth.org/pub/mirrors/ftp.windowmaker.org/${_master_subdir}/
     274    ftp://ftp.minet.net/pub/windowmaker/${_master_subdir}/
     275    ftp://ftp.dti.ad.jp/pub/X/WindowMaker/${_master_subdir}/
     276    ftp://ftp.chg.ru/pub/X11/windowmanagers/windowmaker/${_master_subdir}/
     277}
     278
     279default master_site_xcontrib {
     280    ftp://crl.dec.com/pub/X11/contrib/${_master_subdir}/
     281    ftp://ftp.net.ohio-state.edu/disk/d/X11/contrib/${_master_subdir}/
     282    ftp://uiarchive.uiuc.edu/pub/ftp/ftp.x.org/contrib/${_master_subdir}/
     283    ftp://ftp.gwdg.de/pub/x11/x.org/contrib/${_master_subdir}/
     284    ftp://ftp.duke.edu/pub/X11/contrib/${_master_subdir}/
     285    ftp://ftp.x.org/contrib/${_master_subdir}/
     286    ftp://ftp.sunet.se/pub/X11/contrib/${_master_subdir}/
     287    ftp://ftp.kddlabs.co.jp/X11/contrib/${_master_subdir}/
     288    ftp://mirror.xmission.com/X/contrib/${_master_subdir}/
     289    ftp://ftp2.x.org/contrib/${_master_subdir}/
     290    ftp://sunsite.tus.ac.jp/pub/archives/X11/contrib/${_master_subdir}/
     291    ftp://ftp.is.co.za/x/contrib/${_master_subdir}/
     292    ftp://ftp.sunet.se/pub/X11/contrib/${_master_subdir}/
     293    ftp://ftp.mirror.ac.uk/sites/ftp.x.org/contrib/${_master_subdir}/
     294    ftp://ftp.dl.ac.uk/src/X/contrib/${_master_subdir}/
     295    ftp://sunsite.org.uk/Mirrors/ftp.x.org/contrib/${_master_subdir}/
     296    ftp://ftp.chg.ru/pub/X11/contrib/${_master_subdir}/
     297}
     298
     299default master_site_xemacs {
     300    ftp://ftp.xemacs.org/pub/xemacs/${_master_subdir}/
     301    ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/${_master_subdir}/
     302    ftp://ftp.usyd.edu.au/pub/xemacs/${_master_subdir}/
     303    ftp://ftp.lab.kdd.co.jp/xemacs/${_master_subdir}/
     304    ftp://ftp.th-darmstadt.de/pub/editors/xemacs/${_master_subdir}/
     305}
     306
     307default master_site_xfree {
     308    ftp://ftp.xfree86.org/pub/XFree86/${_master_subdir}/source/
     309    ftp://ftp.rge.com/pub/X/XFree86/${_master_subdir}/source/
     310    ftp://archive.progeny.com/XFree86/${_master_subdir}/source/
     311    ftp://ftp.mirrorcentral.com/pub/XFree86/${_master_subdir}/source/
     312    ftp://gd.tuwien.Ac.at/hci/X11/XFree86/${_master_subdir}/source/
     313    ftp://ftp.fit.vutbr.cz/pub/XFree86/${_master_subdir}/source/
     314    ftp://ftp.free.fr/pub/XFree86/${_master_subdir}/source/
     315    ftp://mir1.ovh.net/ftp.xfree86.org/${_master_subdir}/source/
     316    ftp://ftp.lami.univ-evry.fr/XFree86/${_master_subdir}/source/
     317    ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/${_master_subdir}/source/
     318    ftp://ftp.gwdg.de/pub/xfree86/XFree86/${_master_subdir}/source/
     319    http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/${_master_subdir}/source/
     320    ftp://ftp.rediris.es/mirror/XFree86/${_master_subdir}/source/
     321    ftp://ftp.esat.net/pub/X11/XFree86/${_master_subdir}/source/
     322    ftp://ftp.nl.uu.net/pub/XFree86/${_master_subdir}/source/
     323    ftp://sunsite.uio.no/pub/XFree86/${_master_subdir}/source/
     324    ftp://ftp.task.gda.pl/pub/XFree86/${_master_subdir}/source/
     325    ftp://ftp.physics.uvt.ro/pub/XFree86/${_master_subdir}/source/
     326    ftp://ftp.chg.ru/pub/XFree86/${_master_subdir}/source/
     327}
  • trunk/base/src/port/Makefile

    r971 r1205  
    1313
    1414mkdirs:
    15         mkdir -p ${PREFIX}/bin
    16         mkdir -p ${PREFIX}/man/man1
     15        mtree -U -f ../../doc/prefix.mtree -d -e -p ${PREFIX} > /dev/null
    1716
    1817install: mkdirs
  • trunk/base/src/port1.0/portinstall.tcl

    r1200 r1205  
    4040
    4141# define options
    42 options build.target.install
     42options build.target.install no_mtree mtree.file
     43
    4344# Set defaults
    4445default build.target.install install
     46default mtree.file /etc/ports/prefix.mtree
    4547
    4648set UI_PREFIX "---> "
     
    5355
    5456proc install_main {args} {
    55     global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current
     57    global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current no_mtree mtree.file
    5658
    57     if ![file exists $prefix] {
    58         ui_msg "Warning: The directory $prefix does not exist, creating it."
    59         if [catch {exec mkdir -p $prefix} err] {
    60             ui_error "Could not make directory for ${prefix}: $err"
    61             return -code error "Could not make directory for ${prefix}: $err"
    62         }
     59    # At some point this may popular $destdir instead
     60    if {![tbool no_mtree] && [file exists ${mtree.file}]} {
     61        system "mtree -U -f ${mtree.file} -d -e -p $prefix > /dev/null"
    6362    }
    6463
Note: See TracChangeset for help on using the changeset viewer.