Improvement for Lunar - XOrg mirroring

Auke Kok sofar at foo-projects.org
Wed Sep 20 14:50:16 UTC 2006


Zbigniew Luszpinski wrote:
> Hi,
> 
> This patch adds x.org mirroring for Lunar.

good work, ElAngelo: please merge :)

Cheers,

Auke

> 
> How to install
> Patch using xorg-mirror.patch from / directory
> Put XORG file in /etc/lunar/mirrors/
> 
> Run lunar and select your favourite mirror for XOrg from mirror list.
> 
> Then patch your x.org module details file to use mirror system.
> 
> Example for XOrg-test:
> DETAILS file from XOrg-test module.
> Remove this:
> SOURCE_URL[0]=http://xorg.freedesktop.org/X11R${VERSION}/src/
> SOURCE_URL[1]=http://ftp.skynet.be/pub/ftp.x.org/pub/X11R${VERSION}/src/
> SOURCE_URL[2]=http://www.mirrormonster.com/ftp.x.org/pub/X11R${VERSION}/src/
> SOURCE2_URL[0]=http://xorg.freedesktop.org/X11R${VERSION}/src/
> SOURCE2_URL[1]=http://ftp.skynet.be/pub/ftp.x.org/pub/X11R${VERSION}/src/
> SOURCE2_URL[2]=http://www.mirrormonster.com/ftp.x.org/pub/X11R${VERSION}/src/
> SOURCE3_URL[0]=http://xorg.freedesktop.org/X11R${VERSION}/src/
> SOURCE3_URL[1]=http://ftp.skynet.be/pub/ftp.x.org/pub/X11R${VERSION}/src/
> SOURCE3_URL[2]=http://www.mirrormonster.com/ftp.x.org/pub/X11R${VERSION}/src/
> 
> Add this:
> SOURCE_URL=$XORG_URL/X11R${VERSION}/src/
> SOURCE2_URL=$XORG_URL/X11R${VERSION}/src/
> SOURCE3_URL=$XORG_URL/X11R${VERSION}/src/
> 
> Sorry for not providing details file patch, but I use my own xorg-test module 
> which is different from official one.
> 
> I made mirror list using servers from Lunar's XFREE86 file and from official 
> x.org mirror list. Then I changed path to x.org files for items from XFREE86 
> file. Finally I browsed all mirrors and removed broken links, and those 
> servers without x.org 6.8.2, 6.9.0, 7.0 and 7.1 sources.
> Thanks to this mirror list is fresh and valid for all x.org versions Lunar 
> currently use.
> 
> have a nice day,
> Zbigniew 'zbiggy' Luszpinski
> 
> 
> ------------------------------------------------------------------------
> 
> --- /etc/lunar/config	2006-03-22 03:05:03.000000000 +0100
> +++ /etc/lunar/config	2006-09-20 13:58:54.000000000 +0200
> @@ -75,6 +75,7 @@
>             KERNEL_URL=ftp://ftp.kernel.org
>             SFORGE_URL=http://osdn.dl.sourceforge.net/sourceforge
>            XFREE86_URL=ftp://ftp.xfree86.org/pub/XFree86
> +	     XORG_URL=ftp://ftp.freedesktop.org/pub/xorg
>            LRESORT_URL=http://download.lunar-linux.org/lunar/cache
>  
>        MOONBASE_URL[0]=http://lunar-linux.org/lunar/
> --- /var/lib/lunar/menu/mirrors.menu	2005-04-26 19:44:21.000000000 +0200
> +++ /var/lib/lunar/menu/mirrors.menu	2006-09-20 13:53:01.000000000 +0200
> @@ -39,6 +39,7 @@
>     SF_HELP="Select mirror for downloading SourceForge sources."
>     LR_HELP="Select the mirror for a last resort download place."
>      X_HELP="Select mirror for downloading XFree86 related sources."
> + XORG_HELP="Select mirror for downloading XOrg related sources."
>        HELP="Selecting a mirror site can speed your downloads."
>  
>      COMMAND=`$DIALOG  --title "Mirror Menu"     \
> @@ -52,7 +53,8 @@
>                        "KERNEL"   ""  "$L_HELP"  \
>                        "SFORGE"   ""  "$SF_HELP" \
>                        "LRESORT"  ""  "$LR_HELP" \
> -                      "XFREE86"  ""  "$X_HELP"`
> +                      "XFREE86"  ""  "$X_HELP"	\
> +                      "XORG"	 ""  "$XORG_HELP"`
>  
>    do
>      case  $COMMAND in
> @@ -61,6 +63,7 @@
>            KDE)      MIRROR="     KDE_URL"    ;;
>            KERNEL)   MIRROR="  KERNEL_URL"    ;;
>            XFREE86)  MIRROR=" XFREE86_URL"    ;;
> +	  XORG)     MIRROR=" 	XORG_URL"    ;;
>            SFORGE)   MIRROR="  SFORGE_URL"    ;;
>            LRESORT)  MIRROR=" LRESORT_URL"    ;;
>      esac
> --- /var/lib/lunar/unset.sh	2006-03-22 03:05:03.000000000 +0100
> +++ /var/lib/lunar/unset.sh	2006-09-20 13:49:05.000000000 +0200
> @@ -97,5 +97,6 @@
>  unset VOYEUR
>  unset WHITE
>  unset XFREE86_URL
> +unset XORG_URL
>  unset XTRA
>  unset YELLOW
> 
> 
> ------------------------------------------------------------------------
> 
> "Master Site"			ftp://ftp.freedesktop.org/pub/xorg
> "Custom Mirror"			Custom
> Australia			ftp://mirror.isp.net.au/pub/x.org/pub
> Austria				ftp://gd.tuwien.Ac.at/hci/x.org
> Belgium				ftp://ftp.skynet.be/pub/ftp.x.org/pub
> France				ftp://mirror.cict.fr/x.org/pub
> France				http://mirror.cict.fr/x.org/pub
> Germany				ftp://ftp.gwdg.de/pub/x11/x.org/pub
> Germany				ftp://ftp.mpi-sb.mpg.de/pub/X/mirror/ftp.x.org/pub
> Germany				ftp://ftp.portal-to-web.de/pub/mirrors/x.org/pub
> Germany				http://www.portal-to-web.de/pub/mirrors/x.org/pub
> Germany				http://ftp.gwdg.de/pub/x11/x.org/pub
> Germany				ftp://ftp.fu-berlin.de/unix/X11/FTP.X.ORG/pub
> Greece				ftp://ftp.ntua.gr/pub/X11/X.org
> "Hong Kong"			ftp://ftp.cs.cuhk.edu.hk/pub/X11
> Italy				ftp://mi.mirror.garr.it/mirrors/x.org/pub
> Italy				http://mi.mirror.garr.it/mirrors/x.org/pub
> Japan				ftp://ftp.netlab.is.tsukuba.ac.jp/pub/X/x.org
> Japan				ftp://ftp.u-aizu.ac.jp/pub/x11/x.org/pub
> Netherlands			ftp://xorg.mirror.intouch.nl/mirrors/xorg
> Netherlands			http://x-org.mirror.intouch.nl
> Norway				ftp://sunsite.uio.no/pub/X11
> "Poland Gdansk"			ftp://ftp.task.gda.pl/pub/X.Org
> "Poland Warsaw"			ftp://sunsite.icm.edu.pl/pub/X11/x.org
> Russia				ftp://ftp.chg.ru/pub/X11/x.org/pub
> Russia				http://ftp.chg.ru/pub/X11/x.org/pub
> "South Africa"			ftp://ftp.is.co.za/pub/x.org/pub
> Spain				ftp://ftp.cica.es/mirrors/X/pub
> Spain				ftp://ftp.cica.es/pub/X/pub
> Switzerland			ftp://ftp.solnet.ch/mirror/x.org/pub
> Switzerland			http://xorg.mirror.solnet.ch/pub
> Switzerland			ftp://mirror.switch.ch/mirror/X11/pub
> Taiwan				http://x.cs.pu.edu.tw
> "United Kingdom"			ftp://ftp.mirrorservice.org/sites/ftp.x.org/pub
> "United Kingdom"			http://www.mirror.ac.uk/mirror/ftp.x.org/pub
> "United Kingdom"			http://www.mirrorservice.org/sites/ftp.x.org/pub
> "USA Oregon"			ftp://ftp.freedesktop.org/pub/xorg
> "USA Oregon"			http://xorg.freedesktop.org/releases
> "US Massachusetts"		ftp://ftp.x.org/pub
> "US Massachusetts"		http://www.x.org/pub
> "North America"			ftp://mirror.sg.depaul.edu/pub/x.org
> "North America"			http://mirror.sg.depaul.edu/pub/x.org
> "North America"			http://x.paracoda.com/pub
> "North America"			http://x.hostingzero.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar


More information about the Lunar mailing list