commit: dca70b24386de8b484a6b62f36e7c2cb55bfbcb9 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Fri Mar 15 14:00:08 2019 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Fri Mar 15 14:00:08 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=dca70b24
main.h: drop DEFAULT_PORTAGE_BINHOST setup tinderbox.dev.gentoo.org albeit being still around is very outdated, so very unlikely to be useful Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> main.h | 64 ++-------------------------------------------------------------- 1 file changed, 2 insertions(+), 62 deletions(-) diff --git a/main.h b/main.h index 0776f2a..c409057 100644 --- a/main.h +++ b/main.h @@ -1,9 +1,10 @@ /* - * Copyright 2005-2018 Gentoo Foundation + * Copyright 2005-2019 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005-2010 Ned Ludd - <[email protected]> * Copyright 2005-2014 Mike Frysinger - <[email protected]> + * Copyright 2019- Fabian Groffen - <[email protected]> */ /* make sure our buffers are as big as they can be */ @@ -13,67 +14,6 @@ # define _Q_PATH_MAX _POSIX_PATH_MAX #endif -/* http://tinderbox.dev.gentoo.org/default-linux/arm */ -/* http://tinderbox.dev.gentoo.org/default-linux/hppa */ - -#ifdef __linux__ -# undef URL_BASE -# define URL_BASE "http://tinderbox.dev.gentoo.org" - -# undef URL_PROFILE -# ifdef __UCLIBC__ -# define URL_PROFILE "uclibc" -# else -# ifdef __SSP__ -# define URL_PROFILE "hardened" -# else -# define URL_PROFILE "default/linux" -# endif -# endif - -# undef URL_ARCH -# if 0 -# elif defined(__alpha__) -# define URL_ARCH "alpha" -# elif defined(__x86_64__) -# define URL_ARCH "amd64" -# elif defined(__arm__) -# define URL_ARCH "arm" -# elif defined(__aarch64__) -# define URL_ARCH "arm64" -# elif defined(__bfin__) -# define URL_ARCH "bfin" -# elif defined(__cris__) -# define URL_ARCH "cris" -# elif defined(__hppa__) -# define URL_ARCH "hppa" -# elif defined(__ia64__) -# define URL_ARCH "ia64" -# elif defined(__m68k__) -# define URL_ARCH "m68k" -# elif defined(__mips__) -# define URL_ARCH "mips" -# elif defined(__powerpc__) -# if defined(__powerpc64__) -# define URL_ARCH "ppc64" -# else -# define URL_ARCH "ppc" -# endif -# elif defined(__s390__) -# define URL_ARCH "s390" -# elif defined(__sh__) -# define URL_ARCH "sh" -# elif defined(__sparc__) -# define URL_ARCH "sparc" -# elif defined(__i386__) -# define URL_ARCH "x86" -# endif - -# if defined(URL_PROFILE) && defined(URL_ARCH) -# define DEFAULT_PORTAGE_BINHOST URL_BASE "/" URL_PROFILE "/" URL_ARCH -# endif -#endif - #ifndef DEFAULT_PORTAGE_BINHOST # define DEFAULT_PORTAGE_BINHOST "" #endif
