aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-03-15 15:00:08 +0100
committerFabian Groffen <grobian@gentoo.org>2019-03-15 15:00:08 +0100
commitdca70b24386de8b484a6b62f36e7c2cb55bfbcb9 (patch)
treef54292cf2837783c21423bf7023792f8569d8146 /main.h
parentmain: reduce overeager timestamp precision in initialize_flat (diff)
downloadportage-utils-dca70b24386de8b484a6b62f36e7c2cb55bfbcb9.tar.gz
portage-utils-dca70b24386de8b484a6b62f36e7c2cb55bfbcb9.tar.bz2
portage-utils-dca70b24386de8b484a6b62f36e7c2cb55bfbcb9.zip
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@gentoo.org>
Diffstat (limited to 'main.h')
-rw-r--r--main.h64
1 files 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 - <solar@gentoo.org>
* Copyright 2005-2014 Mike Frysinger - <vapier@gentoo.org>
+ * Copyright 2019- Fabian Groffen - <grobian@gentoo.org>
*/
/* 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