All pastes #128742 Raw Edit

Stuff

public text v1 · immutable
#128742 ·published 2006-08-13 05:03 UTC
rendered paste body
#!/bin/sh -e
export sysconfdir="/etc"

export localstatedir="/var"

export prefix="/usr"

export CPP="arm-linux-gcc -E"

export mandir="/usr/share/man"

export STRIP="arm-linux-strip"

export STAGING_SIPDIR="/home/oc60174/oe/build/tmp/staging/i686-linux/share/sip"

export CONFIG_SITE="/home/oc60174/oe/org.openembedded.oz354x/site/arm-linux"

export BUILD_CXXFLAGS="-I/home/oc60174/oe/build/tmp/staging/i686-linux/include -O2 -fpermissive"

export F77="ccache arm-linux-g77 -march=armv5te -mtune=xscale"

export libexecdir="/usr/libexec"

export QTDIR="/home/oc60174/oe/build/tmp/staging/arm-linux/qt2"

export datadir="/usr/share"

export BUILD_CXX="ccache g++"

export LD="arm-linux-ld"

export bindir="/usr/bin"

export TARGET_CXXFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive"

export MAKE="make"

export includedir="/usr/include"

export TARGET_CPPFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include"

export palmqtdir="/opt/QtPalmtop"

export exec_prefix="/usr"

export OPIEDIR="/home/oc60174/oe/build/tmp/staging/arm-linux"

export LDFLAGS="-L/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-rpath-link,/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-O1"

export BUILD_CC="ccache gcc"

export BUILD_LDFLAGS="-L/home/oc60174/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/oc60174/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath,/home/oc60174/oe/build/tmp/staging/i686-linux/lib -Wl,-O1"

export BUILD_LD="ld"

export oldincludedir="/usr/include"

export BUILD_CFLAGS="-I/home/oc60174/oe/build/tmp/staging/i686-linux/include -O2"

export CCLD="ccache arm-linux-gcc -march=armv5te -mtune=xscale"

export QPEDIR="/home/oc60174/oe/build/tmp/staging/arm-linux"

export BUILD_CCLD="gcc"

export BBPATH="/home/oc60174/oe/org.openembedded.oz354x/packages/Orbiter:/home/oc60174/oe/org.openembedded.oz354x/conf/distro:/home/oc60174/oe/org.openembedded.oz354x/conf/distro:/home/oc60174/oe/org.openembedded.oz354x/conf/distro:/home/oc60174/oe/build:/home/oc60174/oe/org.openembedded.oz354x"

export base_libdir="/lib"

export PATH="/home/oc60174/oe/build/tmp/staging/i686-linux/bin/arm-linux:/home/oc60174/oe/build/tmp/staging/i686-linux/bin:/home/oc60174/oe/build/tmp/cross/bin:/home/oc60174/oe/bitbake/bin:/home/oc60174/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin"

export TARGET_CFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"

export base_bindir="/bin"

export STAGING_IDLDIR="/home/oc60174/oe/build/tmp/staging/arm-linux/share/idl"

export BUILD_CPP="cpp"

export libdir="/usr/lib"

export sbindir="/usr/sbin"

export CFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"

export BUILD_AR="ar"

export sharedstatedir="/usr/com"

export QMAKE_MKSPEC_PATH="/home/oc60174/oe/build/tmp/staging/i686-linux/share/qmake"

export TARGET_LDFLAGS="-L/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-rpath-link,/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-O1"

export docdir="/usr/share/doc"

export palmtopdir="/opt/QtPalmtop"

export PKG_CONFIG_DISABLE_UNINSTALLED="yes"

export infodir="/usr/share/info"

export CC="ccache arm-linux-gcc -march=armv5te -mtune=xscale"

export BUILD_F77="ccache g77"

export RANLIB="arm-linux-ranlib"

export CPPFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include-I./ -I../ -I../DCE/ -I../VIPShared/ -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/mysql -I/home/oc60174/oe/build/tmp/staging/arm-linux/include -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/X11 -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/SDL -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/glib-2.0 -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/glib-2.0/glib -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DEVEL_DEFINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DORBITER -DCACHE_IMAGES -DENABLE_MOUSE_BEHAVIOR -I$(ROOT)/Splitter -I$(ROOT)/OrbiterGen -L/home/oc60174/oe/build/tmp/staging/arm-linux/lib/X11/lib -I${STAGING_INCDIR/X11/include"

export servicedir="/srv"

export base_sbindir="/sbin"

export CXX="ccache arm-linux-g++ -march=armv5te -mtune=xscale"

export BUILD_RANLIB="ranlib"

export PKG_CONFIG_PATH="/home/oc60174/oe/build/tmp/staging/arm-linux/share/pkgconfig"

export PATCH_GET="0"

export CXXFLAGS="-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive-Wall -ggdb3"

export MANIFEST="/home/oc60174/oe/org.openembedded.oz354x/packages/Orbiter/./manifest"

export BUILD_STRIP="strip"

export AS="arm-linux-as"

export AR="arm-linux-ar"

export BUILD_CPPFLAGS="-I/home/oc60174/oe/build/tmp/staging/i686-linux/include"

die() {
	oefatal "$*"

}

base_do_install() {
	:

}

do_compile() {
        export STAGING_BINDIR=/home/oc60174/oe/build/tmp/staging/i686-linux/bin
        oe_runmake bin

}

do_stage() {
	oe_libinstall -so Orbiter /home/oc60174/oe/build/tmp/staging/i686-linux/bin

}

autotools_stage_includes() {
	if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
	then
		rm -rf /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
		mkdir -p /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
		make DESTDIR="/home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging" install
		cp -pPR /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging//usr/include/* /home/oc60174/oe/build/tmp/staging/arm-linux/include
		rm -rf /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
	fi

}

base_do_compile() {
	if [ -e Makefile -o -e makefile ]; then
		oe_runmake || die "make failed"
	else
		oenote "nothing to compile"
	fi

}

base_do_package() {
	:

}

oewarn() {
	echo "WARNING:" "$*"

}

oe_soinstall() {
	# Purpose: Install shared library file and
	#          create the necessary links
	# Example:
	#
	# oe_
	#
	#oenote installing shared library $1 to $2
	#
	libname=`basename $1`
	install -m 755 $1 $2/$libname
	sonamelink=`arm-linux-readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
	solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
	ln -sf $libname $2/$sonamelink
	ln -sf $libname $2/$solink

}

oe_machinstall() {
	# Purpose: Install machine dependent files, if available
	#          If not available, check if there is a default
	#          If no default, just touch the destination
	# Example:
	#                $1  $2   $3         $4
	# oe_machinstall -m 0644 fstab /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/image/etc/fstab
	#
	# TODO: Check argument number?
	#
	filename=`basename $3`
	dirname=`dirname $3`

	for o in `echo task_do_patch:local:akita:openzaurus:linux:arm:build-linux | tr ':' ' '`; do
		if [ -e $dirname/$o/$filename ]; then
			oenote $dirname/$o/$filename present, installing to $4
			install $1 $2 $dirname/$o/$filename $4
			return
		fi
	done
#	oenote overrides specific file NOT present, trying default=$3...
	if [ -e $3 ]; then
		oenote $3 present, installing to $4
		install $1 $2 $3 $4
	else
		oenote $3 NOT present, touching empty $4
		touch $4
	fi

}

autotools_stage_all() {
	if [ "${INHIBIT_AUTO_STAGE}" != "1" ]
	then
		rm -rf /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
		mkdir -p /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
		oe_runmake DESTDIR="/home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging" install
		cp -pPR /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging//usr/include/* /home/oc60174/oe/build/tmp/staging/arm-linux/include
		cp -pPR /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging//usr/lib/* /home/oc60174/oe/build/tmp/staging/arm-linux/lib
		rm -rf /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/temp-staging
	fi

}

oefatal() {
	echo "FATAL:" "$*"
	exit 1

}

do_configure() {
	autotools_do_configure

}

do_patchcleancmd() {
if [ -n "`quilt applied`" ]; then quilt pop -a -R -f || exit 1; fi
}

oe_libinstall() {
	# Purpose: Install a library, in all its forms
	# Example
	#
	# oe_libinstall libltdl /home/oc60174/oe/build/tmp/staging/arm-linux/lib/
	# oe_libinstall -C src/libblah libblah /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/image//usr/lib/
	dir=""
	libtool=""
	silent=""
	require_static=""
	require_shared=""
	staging_install=""
	while [ "$#" -gt 0 ]; do
		case "$1" in
		-C)
			shift
			dir="$1"
			;;
		-s)
			silent=1
			;;
		-a)
			require_static=1
			;;
		-so)
			require_shared=1
			;;
		-*)
			oefatal "oe_libinstall: unknown option: $1"
			;;
		*)
			break;
			;;
		esac
		shift
	done

	libname="$1"
	shift
	destpath="$1"
	if [ -z "$destpath" ]; then
		oefatal "oe_libinstall: no destination path specified"
	fi
	if echo "$destpath/" | egrep '^/home/oc60174/oe/build/tmp/staging/arm-linux/lib/' >/dev/null
	then
		staging_install=1
	fi

	__runcmd () {
		if [ -z "$silent" ]; then
			echo >&2 "oe_libinstall: $*"
		fi
		$*
	}

	if [ -z "$dir" ]; then
		dir=`pwd`
	fi
	if [ -d "$dir/.libs" ]; then
		dir=$dir/.libs
	fi
	olddir=`pwd`
	__runcmd cd $dir

	lafile=$libname.la
	if [ -f "$lafile" ]; then
		# libtool archive
		eval `cat $lafile|grep "^library_names="`
		libtool=1
	else
		library_names="$libname.so* $libname.dll.a"
	fi

	__runcmd install -d $destpath/
	dota=$libname.a
	if [ -f "$dota" -o -n "$require_static" ]; then
		__runcmd install -m 0644 $dota $destpath/
	fi
	dotlai=$libname.lai
	if [ -f "$dotlai" -a -n "$libtool" ]; then
		if test -n "$staging_install"
		then
			# stop libtool using the final directory name for libraries
			# in staging:
			__runcmd rm -f $destpath/$libname.la
			__runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,/home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/oc60174/oe/build/tmp/staging/arm-linux/lib/\1,g' $dotlai >$destpath/$libname.la
		else
			__runcmd install -m 0644 $dotlai $destpath/$libname.la
		fi
	fi

	for name in $library_names; do
		files=`eval echo $name`
		for f in $files; do
			if [ ! -e "$f" ]; then
				if [ -n "$libtool" ]; then
					oefatal "oe_libinstall: $dir/$f not found."
				fi
			elif [ -L "$f" ]; then
				__runcmd cp -P "$f" $destpath/
			elif [ ! -L "$f" ]; then
				libfile="$f"
				__runcmd install -m 0755 $libfile $destpath/
			fi
		done
	done

	if [ -z "$libfile" ]; then
		if  [ -n "$require_shared" ]; then
			oefatal "oe_libinstall: unable to locate shared library"
		fi
	elif [ -z "$libtool" ]; then
		# special case hack for non-libtool .so.#.#.# links
		baselibfile=`basename "$libfile"`
		if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then
			sonamelink=`arm-linux-readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
			solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'`
			if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then
				__runcmd ln -sf $baselibfile $destpath/$sonamelink
			fi
			__runcmd ln -sf $baselibfile $destpath/$solink
		fi
	fi

	__runcmd cd "$olddir"

}

base_do_configure() {
	:

}

oe_runconf() {
	if [ -x /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter/configure ] ; then
		cfgcmd="/home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter/configure \
		    --build=i686-linux \
		    --host=arm-linux \
		    --target=arm-linux \
		    --prefix=/usr \
		    --exec_prefix=/usr \
		    --bindir=/usr/bin \
		    --sbindir=/usr/sbin \
		    --libexecdir=/usr/libexec \
		    --datadir=/usr/share \
		    --sysconfdir=/etc \
		    --sharedstatedir=/usr/com \
		    --localstatedir=/var \
		    --libdir=/usr/lib \
		    --includedir=/usr/include \
		    --oldincludedir=/usr/include \
		    --infodir=/usr/share/info \
		    --mandir=/usr/share/man \
			${EXTRA_OECONF} \
		    $@"
		oenote "Running $cfgcmd..."
		$cfgcmd || oefatal "oe_runconf failed"
	else
		oefatal "no configure script found"
	fi

}

runstrip() {
	local ro st
	st=0
	if {	file "$1" || {
			oewarn "file $1: failed (forced strip)" >&2
			echo 'not stripped'
		}
	   } | grep -q 'not stripped'
	then
		oenote "arm-linux-strip $1"
		ro=
		test -w "$1" || {
			ro=1
			chmod +w "$1"
		}
		'arm-linux-strip' "$1"
		st=$?
		test -n "$ro" && chmod -w "$1"
		if test $st -ne 0
		then
			oewarn "runstrip: arm-linux-strip $1: strip failed" >&2
			if [ x1 == x1 ]
			then
				#FIXME: remove this, it's for error detection
				if file "$1" 2>/dev/null >&2
				then
					(oefatal "arm-linux-strip $1: command failed" >/dev/tty)
				else
					(oefatal "file $1: command failed" >/dev/tty)
				fi
				st=0
			fi
		fi
	else
		oenote "runstrip: skip $1"
	fi
	return $st

}

do_install() {
	install -d /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/image/usr/bin
	install -m 644 /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/image/usr/bin

}

oenote() {
	echo "NOTE:" "$*"

}

autotools_do_configure() {
	case orbiter in
	autoconf*)
	;;
	automake*)
	;;
	*)
		# WARNING: gross hack follows:
		# An autotools built package generally needs these scripts, however only
		# automake or libtoolize actually install the current versions of them.
		# This is a problem in builds that do not use libtool or automake, in the case
		# where we -need- the latest version of these scripts.  e.g. running a build
		# for a package whose autotools are old, on an x86_64 machine, which the old
		# config.sub does not support.  Work around this by installing them manually
		# regardless.
		( for ac in `find /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter -name configure.in -o -name configure.ac`; do
			rm -f `dirname $ac`/configure
			done )
		if [ -e /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter/configure.in -o -e /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter/configure.ac ]; then
			olddir=`pwd`
			cd /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter
			if [ x"default" = xdefault ]; then
				acpaths=
				for i in `find /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
					grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
					acpaths="$acpaths -I $i"
				done
			else
				acpaths="default"
			fi
			AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
			automake --version
			echo "AUTOV is $AUTOV"
			install -d /home/oc60174/oe/build/tmp/staging/arm-linux/share/aclocal
			install -d /home/oc60174/oe/build/tmp/staging/arm-linux/share/aclocal-$AUTOV
			acpaths="$acpaths -I /home/oc60174/oe/build/tmp/staging/arm-linux/share/aclocal-$AUTOV -I /home/oc60174/oe/build/tmp/staging/arm-linux/share/aclocal"
			# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
			# like it was auto-generated.  Work around this by blowing it away
			# by hand, unless the package specifically asked not to run aclocal.
			if ! echo --exclude=autopoint | grep -q "aclocal"; then
				rm -f aclocal.m4
			fi
			if [ -e configure.in ]; then
			  CONFIGURE_AC=configure.in
			else
			  CONFIGURE_AC=configure.ac
			fi
			if grep "^AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
			  if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
			    : do nothing -- we still have an old unmodified configure.ac
			  else
			    oenote Executing glib-gettextize --force --copy
			    echo "no" | glib-gettextize --force --copy
			  fi
			fi
			if grep "^AC_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
			  oenote Executing intltoolize --copy --force --automake
			  intltoolize --copy --force --automake
			fi
			oenote Executing autoreconf --verbose --install --force --exclude=autopoint $acpaths
			mkdir -p m4
			autoreconf -Wcross --verbose --install --force --exclude=autopoint $acpaths || oefatal "autoreconf execution failed."
			cd $olddir
		fi
	;;
	esac
	if [ -e /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter/configure ]; then
		oe_runconf
	else
		oenote "nothing to configure"
	fi

}

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
	ldconfig
fi

}

autotools_do_install() {
	oe_runmake 'DESTDIR=/home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/image' install

}

oedebug() {
	test $# -ge 2 || {
		echo "Usage: oedebug level \"message\""
		exit 1
	}

	test ${OEDEBUG:-0} -ge $1 && {
		shift
		echo "DEBUG:" $*
	}

}

oe_runmake() {
	if [ x"$MAKE" = x ]; then MAKE=make; fi
	oenote make  "$@"
	make  "$@" || die "oe_runmake failed"

}

base_do_stage() {
	:

}

MIRRORS() {
ftp://ftp.debian.org/debian/pool/main	http://snapshot.debian.net/archive/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.de.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.au.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.cl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hr.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.fi.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hk.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hu.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ie.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.it.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.jp.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.no.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.pl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ro.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.si.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.es.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.se.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.tr.debian.org/debian/pool
ftp://ftp.gnu.org/gnu	ftp://mirrors.kernel.org/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.matrix.com.br/pub/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.cs.ubc.ca/mirror2/gnu
ftp://ftp.gnu.org/gnu	ftp://sunsite.ust.hk/pub/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.ayamura.org/pub/gnu
ftp://ftp.kernel.org/pub	http://www.kernel.org/pub
ftp://ftp.kernel.org/pub	ftp://ftp.us.kernel.org/pub
ftp://ftp.kernel.org/pub	ftp://ftp.uk.kernel.org/pub
ftp://ftp.kernel.org/pub	ftp://ftp.hk.kernel.org/pub
ftp://ftp.kernel.org/pub	ftp://ftp.au.kernel.org/pub
ftp://ftp.kernel.org/pub	ftp://ftp.jp.kernel.org/pub
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.surfnet.nl/pub/security/gnupg/
ftp://ftp.gnupg.org/gcrypt/     http://gulus.USherbrooke.ca/pub/appl/GnuPG/
ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN
ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/
ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/

ftp://.*/.*/	http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/
http://.*/.*/	http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/

ftp://.*/.*/	http://www.oesources.org/source/current/
http://.*/.*/	http://www.oesources.org/source/current/

}

cd /home/oc60174/oe/build/tmp/work/orbiter-1.1.1-r0/Orbiter
do_patchcleancmd