aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-09-06 03:23:42 +0800
committertijl <tijl@FreeBSD.org>2016-09-06 03:23:42 +0800
commit6255104baacfdd2c23e07550f90d2f9a7020ca87 (patch)
tree516db145d6cf5fd4d2666f811272aad577272ac5 /Mk
parent016de2316ed16336a58b66dafd7f332614a041ac (diff)
downloadfreebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.tar.gz
freebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.tar.zst
freebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.zip
- Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/functions.sh1
-rw-r--r--Mk/Uses/linux.mk277
-rw-r--r--Mk/bsd.default-versions.mk6
-rw-r--r--Mk/bsd.linux-apps.mk633
-rw-r--r--Mk/bsd.linux-rpm.mk219
-rw-r--r--Mk/bsd.port.mk148
-rw-r--r--Mk/bsd.sites.mk162
7 files changed, 316 insertions, 1130 deletions
diff --git a/Mk/Scripts/functions.sh b/Mk/Scripts/functions.sh
index 7c6122afc5d0..24bfd5544de0 100644
--- a/Mk/Scripts/functions.sh
+++ b/Mk/Scripts/functions.sh
@@ -180,7 +180,6 @@ export_ports_env() {
ARCH \
CONFIGURE_MAX_CMD_LEN \
HAVE_COMPAT_IA32_KERN \
- LINUX_OSRELEASE \
OPSYS \
OSREL \
OSVERSION \
diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
new file mode 100644
index 000000000000..90f081b6b0fe
--- /dev/null
+++ b/Mk/Uses/linux.mk
@@ -0,0 +1,277 @@
+# $FreeBSD$
+#
+# Ports Linux compatibility framework
+#
+# Feature: linux:args
+# Usage: USES=linux or USES=linux:args
+# Valid args: f10 Depend on Fedora 10 packages (deprecated)
+# c6 Depend on CentOS 6 packages (default)
+# c7 Depend on CentOS 7 packages
+# Additional variables:
+# USE_LINUX List of Linux packages to depend on.
+# USE_LINUX_RPM When defined, additional variables and targets useful to Linux
+# infrastructure ports are made available. Possible values:
+# yes Default LIB_DISTFILES and empty BIN_DISTFILES.
+# nolib Default BIN_DISTFILES and empty LIB_DISTFILES.
+# Additional variables when USE_LINUX_RPM is defined:
+# BIN_DISTFILES List of distfiles to install.
+# LIB_DISTFILES List of distfiles to install both the 32 and 64 bit version of.
+# SRC_DISTFILES List of source distfiles that need to be distributed with
+# binary packages to comply with some licenses.
+#
+# MAINTAINER: emulation@FreeBSD.org
+
+.ifndef _INCLUDE_USES_LINUX_MK
+_INCLUDE_USES_LINUX_MK= yes
+_USES_POST+= linux
+
+.if empty(linux_ARGS)
+linux_ARGS= ${LINUX_DEFAULT:S/_64//}
+.endif
+
+.if ${linux_ARGS} == f10
+LINUX_DIST_VER?= 10
+.elif ${linux_ARGS} == c6
+LINUX_DIST_VER?= 6.8
+.elif ${linux_ARGS} == c7
+LINUX_DIST_VER?= 7.2.1511
+.else
+IGNORE= Invalid Linux distribution: ${linux_ARGS}
+.endif
+
+.if ${linux_ARGS} == f10
+LINUX_ARCH= i386
+DEPRECATED= Fedora 10 is unsupported and vulnerable
+EXPIRATION_DATE= 2016-12-31
+.else
+.if ${LINUX_DEFAULT:M*_64}
+LINUX_ARCH= x86_64
+.if ${ARCH} != amd64 || ${OPSYS} != FreeBSD || ${OSVERSION} < 1002507 \
+ || ( ${OSVERSION} >= 1100000 && ${OSVERSION} < 1100105 )
+IGNORE= Linux ${LINUX_DEFAULT} only supported on FreeBSD/amd64 10.3 or higher
+.endif
+.else
+LINUX_ARCH= i386
+.endif
+.endif
+
+linux_allegro_DEP= linux-${linux_ARGS}-allegro>0:devel/linux-${linux_ARGS}-allegro
+linux_alsa-plugins-oss_DEP= linux-${linux_ARGS}-alsa-plugins-oss>0:audio/linux-${linux_ARGS}-alsa-plugins-oss
+linux_alsa-plugins-pulseaudio_DEP=linux-${linux_ARGS}-alsa-plugins-pulseaudio>0:audio/linux-${linux_ARGS}-alsa-plugins-pulseaudio
+linux_alsalib_DEP= linux-${linux_ARGS}-alsa-lib>0:audio/linux-${linux_ARGS}-alsa-lib
+linux_arts_DEP= linux-${linux_ARGS}-arts>0:audio/linux-${linux_ARGS}-arts
+linux_atk_DEP= linux-${linux_ARGS}-atk>0:accessibility/linux-${linux_ARGS}-atk
+linux_avahi-libs_DEP= linux-${linux_ARGS}-avahi-libs>0:net/linux-${linux_ARGS}-avahi-libs
+linux_base_DEP= linux_base-${linux_ARGS}>0:emulators/linux_base-${linux_ARGS}
+linux_cairo_DEP= linux-${linux_ARGS}-cairo>0:graphics/linux-${linux_ARGS}-cairo
+linux_cups-libs_DEP= linux-${linux_ARGS}-cups-libs>0:print/linux-${linux_ARGS}-cups-libs
+linux_curl_DEP= linux-${linux_ARGS}-curl>0:ftp/linux-${linux_ARGS}-curl
+linux_cyrus-sasl2_DEP= linux-${linux_ARGS}-cyrus-sasl2>0:security/linux-${linux_ARGS}-cyrus-sasl2
+linux_dbusglib_DEP= linux-${linux_ARGS}-dbus-glib>0:devel/linux-${linux_ARGS}-dbus-glib
+linux_dbuslibs_DEP= linux-${linux_ARGS}-dbus-libs>0:devel/linux-${linux_ARGS}-dbus-libs
+linux_devtools_DEP= linux-${linux_ARGS}-devtools>0:devel/linux-${linux_ARGS}-devtools
+linux_dri_DEP= linux-${linux_ARGS}-dri>0:graphics/linux-${linux_ARGS}-dri
+linux_esound_DEP= linux-${linux_ARGS}-esound>0:audio/linux-${linux_ARGS}-esound
+linux_expat_DEP= linux-${linux_ARGS}-expat>0:textproc/linux-${linux_ARGS}-expat
+linux_flac_DEP= linux-${linux_ARGS}-flac>0:audio/linux-${linux_ARGS}-flac
+linux_fontconfig_DEP= linux-${linux_ARGS}-fontconfig>0:x11-fonts/linux-${linux_ARGS}-fontconfig
+.if ${linux_ARGS:Mf10}
+linux_gdkpixbuf2_DEP= linux-${linux_ARGS}-gtk2>0:x11-toolkits/linux-${linux_ARGS}-gtk2
+.else
+linux_gdkpixbuf2_DEP= linux-${linux_ARGS}-gdk-pixbuf2>0:graphics/linux-${linux_ARGS}-gdk-pixbuf2
+.endif
+linux_gnutls_DEP= linux-${linux_ARGS}-gnutls>0:security/linux-${linux_ARGS}-gnutls
+linux_gtk2_DEP= linux-${linux_ARGS}-gtk2>0:x11-toolkits/linux-${linux_ARGS}-gtk2
+linux_hicontheme_DEP= linux-${linux_ARGS}-hicolor-icon-theme>0:x11-themes/linux-${linux_ARGS}-hicolor-icon-theme
+linux_jasper_DEP= linux-${linux_ARGS}-jasper>0:graphics/linux-${linux_ARGS}-jasper
+linux_jpeg_DEP= linux-${linux_ARGS}-jpeg>0:graphics/linux-${linux_ARGS}-jpeg
+linux_libasyncns_DEP= linux-${linux_ARGS}-libasyncns>0:dns/linux-${linux_ARGS}-libasyncns
+linux_libaudiofile_DEP= linux-${linux_ARGS}-libaudiofile>0:audio/linux-${linux_ARGS}-libaudiofile
+linux_libgcrypt_DEP= linux-${linux_ARGS}-libgcrypt>0:security/linux-${linux_ARGS}-libgcrypt
+linux_libgfortran_DEP= linux-${linux_ARGS}-libgfortran>0:devel/linux-${linux_ARGS}-libgfortran
+linux_libglu_DEP= linux-${linux_ARGS}-libGLU>0:graphics/linux-${linux_ARGS}-libGLU
+linux_libgpg-error_DEP= linux-${linux_ARGS}-libgpg-error>0:security/linux-${linux_ARGS}-libgpg-error
+linux_libmng_DEP= linux-${linux_ARGS}-libmng>0:graphics/linux-${linux_ARGS}-libmng
+linux_libogg_DEP= linux-${linux_ARGS}-libogg>0:audio/linux-${linux_ARGS}-libogg
+linux_libpciaccess_DEP= linux-${linux_ARGS}-libpciaccess>0:devel/linux-${linux_ARGS}-libpciaccess
+linux_libsndfile_DEP= linux-${linux_ARGS}-libsndfile>0:audio/linux-${linux_ARGS}-libsndfile
+linux_libssh2_DEP= linux-${linux_ARGS}-libssh2>0:security/linux-${linux_ARGS}-libssh2
+linux_libtasn1_DEP= linux-${linux_ARGS}-libtasn1>0:security/linux-${linux_ARGS}-libtasn1
+linux_libthai_DEP= linux-${linux_ARGS}-libthai>0:devel/linux-${linux_ARGS}-libthai
+linux_libtheora_DEP= linux-${linux_ARGS}-libtheora>0:multimedia/linux-${linux_ARGS}-libtheora
+linux_libv4l_DEP= linux-${linux_ARGS}-libv4l>0:multimedia/linux-${linux_ARGS}-libv4l
+linux_libvorbis_DEP= linux-${linux_ARGS}-libvorbis>0:audio/linux-${linux_ARGS}-libvorbis
+linux_libxml2_DEP= linux-${linux_ARGS}-libxml2>0:textproc/linux-${linux_ARGS}-libxml2
+linux_mikmod_DEP= linux-${linux_ARGS}-mikmod>0:audio/linux-${linux_ARGS}-mikmod
+linux_naslibs_DEP= linux-${linux_ARGS}-nas-libs>0:audio/linux-${linux_ARGS}-nas-libs
+linux_ncurses-base_DEP= linux-${linux_ARGS}-ncurses-base>0:devel/linux-${linux_ARGS}-ncurses-base
+linux_nspr_DEP= linux-${linux_ARGS}-nspr>0:devel/linux-${linux_ARGS}-nspr
+linux_nss_DEP= linux-${linux_ARGS}-nss>0:security/linux-${linux_ARGS}-nss
+linux_openal_DEP= linux-${linux_ARGS}-openal>0:audio/linux-${linux_ARGS}-openal
+linux_openal-soft_DEP= linux-${linux_ARGS}-openal-soft>0:audio/linux-${linux_ARGS}-openal-soft
+linux_openldap_DEP= linux-${linux_ARGS}-openldap>0:net/linux-${linux_ARGS}-openldap
+linux_openmotif_DEP= linux-${linux_ARGS}-openmotif>0:x11-toolkits/linux-${linux_ARGS}-openmotif
+linux_openssl_DEP= linux-${linux_ARGS}-openssl>0:security/linux-${linux_ARGS}-openssl
+linux_openssl-compat_DEP= linux-${linux_ARGS}-openssl-compat>0:security/linux-${linux_ARGS}-openssl-compat
+linux_pango_DEP= linux-${linux_ARGS}-pango>0:x11-toolkits/linux-${linux_ARGS}-pango
+linux_pixman_DEP= linux-${linux_ARGS}-pixman>0:x11/linux-${linux_ARGS}-pixman
+linux_png_DEP= linux-${linux_ARGS}-png>0:graphics/linux-${linux_ARGS}-png
+linux_pulseaudio-libs_DEP= linux-${linux_ARGS}-pulseaudio-libs>0:audio/linux-${linux_ARGS}-pulseaudio-libs
+linux_qt47_DEP= linux-${linux_ARGS}-qt47>0:devel/linux-${linux_ARGS}-qt47
+linux_qt47-webkit_DEP= linux-${linux_ARGS}-qt47-webkit>0:www/linux-${linux_ARGS}-qt47-webkit
+linux_qt47-x11_DEP= linux-${linux_ARGS}-qt47-x11>0:x11-toolkits/linux-${linux_ARGS}-qt47-x11
+linux_scimlibs_DEP= linux-${linux_ARGS}-scim-libs>0:textproc/linux-${linux_ARGS}-scim-libs
+linux_sdl12_DEP= linux-${linux_ARGS}-sdl>0:devel/linux-${linux_ARGS}-sdl12
+linux_sdlimage_DEP= linux-${linux_ARGS}-sdl_image>0:graphics/linux-${linux_ARGS}-sdl_image
+linux_sdlmixer_DEP= linux-${linux_ARGS}-sdl_mixer>0:audio/linux-${linux_ARGS}-sdl_mixer
+.if ${linux_ARGS:Mf10}
+linux_sqlite3_DEP= linux-${linux_ARGS}-sqlite3>0:databases/linux-${linux_ARGS}-sqlite3
+.else
+linux_sqlite3_DEP= linux-${linux_ARGS}-sqlite>0:databases/linux-${linux_ARGS}-sqlite3
+.endif
+linux_tcl85_DEP= linux-${linux_ARGS}-tcl85>0:lang/linux-${linux_ARGS}-tcl85
+linux_tcp_wrappers-libs_DEP= linux-${linux_ARGS}-tcp_wrappers-libs>0:net/linux-${linux_ARGS}-tcp_wrappers-libs
+linux_tiff_DEP= linux-${linux_ARGS}-tiff>0:graphics/linux-${linux_ARGS}-tiff
+linux_tk85_DEP= linux-${linux_ARGS}-tk85>0:x11-toolkits/linux-${linux_ARGS}-tk85
+linux_ucl_DEP= linux-${linux_ARGS}-ucl>0:archivers/linux-${linux_ARGS}-ucl
+linux_xorglibs_DEP= linux-${linux_ARGS}-xorg-libs>0:x11/linux-${linux_ARGS}-xorg-libs
+
+USE_LINUX?= base
+.for i in ${USE_LINUX}
+_i:= ${i:C/\:.*//}
+_i_args:= ${i:C/^[^\:]*(\:|\$)//:S/,/ /g}
+.if ${_i_args:Mpatch}
+PATCH_DEPENDS+= ${linux_${_i}_DEP}
+.endif
+.if ${_i_args:Mbuild}
+BUILD_DEPENDS+= ${linux_${_i}_DEP}
+.endif
+.if ${_i_args:Mrun} || empty(_i_args)
+RUN_DEPENDS+= ${linux_${_i}_DEP}
+.endif
+.endfor
+
+.ifdef USE_LINUX_RPM
+
+DISTVERSIONSUFFIX?= -${RPMVERSION}
+
+.if ${linux_ARGS} == f10
+
+.ifndef MASTER_SITES
+MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
+MASTER_SITE_SUBDIR= releases/${LINUX_DIST_VER}/Everything/${LINUX_ARCH}/os/Packages \
+ updates/${LINUX_DIST_VER}/${LINUX_ARCH} \
+ releases/${LINUX_DIST_VER}/Everything/source/SRPMS/:SOURCE \
+ updates/${LINUX_DIST_VER}/SRPMS/:SOURCE
+.endif
+DIST_SUBDIR?= rpm/${LINUX_ARCH}/fedora/${LINUX_DIST_VER}
+
+LINUX_RPM_ARCH?= i386
+
+.elif ${linux_ARGS} == c6
+
+.ifndef MASTER_SITES
+MASTER_SITES= ${MASTER_SITE_CENTOS_LINUX}
+MASTER_SITE_SUBDIR= centos/${LINUX_DIST_VER}/os/${LINUX_ARCH}/Packages \
+ centos/${LINUX_DIST_VER}/updates/${LINUX_ARCH}/Packages \
+ centos/${LINUX_DIST_VER}/os/Source/SPackages/:SOURCE \
+ centos/${LINUX_DIST_VER}/updates/Source/SPackages/:SOURCE
+.endif
+DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/centos/${LINUX_DIST_VER}
+
+.if ${LINUX_ARCH} == x86_64
+LINUX_RPM_ARCH?= x86_64
+LINUX_RPM_ARCH32?= i686
+.else
+LINUX_RPM_ARCH?= i686
+.endif
+
+.elif ${linux_ARGS} == c7
+
+.ifndef MASTER_SITES
+MASTER_SITES= ${MASTER_SITE_CENTOS_LINUX}
+.if ${LINUX_ARCH} == x86_64
+MASTER_SITE_SUBDIR= centos/${LINUX_DIST_VER}/os/${LINUX_ARCH}/Packages \
+ centos/${LINUX_DIST_VER}/updates/${LINUX_ARCH}/Packages
+.else
+MASTER_SITE_SUBDIR= altarch/${LINUX_DIST_VER}/os/${LINUX_ARCH}/Packages \
+ altarch/${LINUX_DIST_VER}/updates/${LINUX_ARCH}/Packages
+.endif
+MASTER_SITE_SUBDIR+= centos/${LINUX_DIST_VER}/os/Source/SPackages/:SOURCE \
+ centos/${LINUX_DIST_VER}/updates/Source/SPackages/:SOURCE
+.endif
+DIST_SUBDIR?= rpm/centos/${LINUX_DIST_VER}/${LINUX_ARCH}
+
+.if ${LINUX_ARCH} == x86_64
+LINUX_RPM_ARCH?= x86_64
+LINUX_RPM_ARCH32?= i686
+.else
+LINUX_RPM_ARCH?= i686
+.endif
+
+.endif # ${linux_ARGS} == *
+
+PKGNAMEPREFIX?= linux-${linux_ARGS}-
+EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm
+.ifdef LINUX_RPM_ARCH32
+EXTRACT_SUFX32?= .${LINUX_RPM_ARCH32}.rpm
+.endif
+SRC_SUFX?= .src.rpm
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USE_LINUX_PREFIX= yes
+
+.endif # USE_LINUX_RPM
+
+.endif # ! _INCLUDE_USES_LINUX_MK
+
+.ifdef _POSTMKINCLUDED && ! _INCLUDE_USES_LINUX_POST_MK
+_INCLUDE_USES_LINUX_POST_MK= yes
+
+.ifdef USE_LINUX_RPM
+
+.if ${USE_LINUX_RPM} == nolib
+BIN_DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
+.else
+LIB_DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+.ifdef LINUX_RPM_ARCH32
+DISTFILES?= ${LIB_DISTFILES:S/${EXTRACT_SUFX}/${EXTRACT_SUFX32}/} \
+ ${LIB_DISTFILES} ${BIN_DISTFILES}
+EXTRACT_ONLY?= ${LIB_DISTFILES:S/${EXTRACT_SUFX}/${EXTRACT_SUFX32}/} \
+ ${LIB_DISTFILES} ${BIN_DISTFILES}
+.else
+DISTFILES?= ${LIB_DISTFILES} ${BIN_DISTFILES}
+EXTRACT_ONLY?= ${LIB_DISTFILES} ${BIN_DISTFILES}
+.endif
+.ifdef PACKAGE_BUILDING
+SRC_DISTFILES?= ${LIB_DISTFILES:S/${EXTRACT_SUFX}/${SRC_SUFX}:SOURCE/} \
+ ${BIN_DISTFILES:S/${EXTRACT_SUFX}/${SRC_SUFX}:SOURCE/}
+DISTFILES+= ${SRC_DISTFILES}
+ALWAYS_KEEP_DISTFILES= yes
+.endif
+
+DISTINFO_FILE?= ${MASTERDIR}/distinfo.${LINUX_ARCH}
+
+.ifdef USE_LINUX_RPM_BAD_PERMS
+EXTRACT_DEPENDS+= rpm2archive:archivers/rpm4
+EXTRACT_CMD= rpm2archive
+EXTRACT_BEFORE_ARGS= <
+EXTRACT_AFTER_ARGS= | ${TAR} xf - --no-same-owner --no-same-permissions
+.endif
+
+ONLY_FOR_ARCHS?= i386 amd64
+.if ${linux_ARGS} != f10
+PLIST?= ${PKGDIR}/pkg-plist.${LINUX_ARCH}
+.endif
+
+.if !target(do-install)
+do-install:
+ (cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \;)
+ (cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm ${STAGEDIR}${PREFIX})
+.endif
+
+.endif # USE_LINUX_RPM
+
+.endif # _POSTMKINCLUDED && ! _INCLUDE_USES_LINUX_POST_MK
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 28b4ad4e7dcc..0a9d0dd09eda 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -32,6 +32,12 @@ FPC_DEFAULT?= 3.0.0
GCC_DEFAULT?= 4.8
# Possible values: 7, 8, 9, agpl
GHOSTSCRIPT_DEFAULT?= agpl
+# Possible values: f10, c6, c6_64, c7, c7_64
+LINUX_DEFAULT?= c6
+.if defined(OVERRIDE_LINUX_BASE_PORT)
+LINUX_DEFAULT:= ${OVERRIDE_LINUX_BASE_PORT}
+WARNING+= "OVERRIDE_LINUX_BASE_PORT is deprecated, please use DEFAULT_VERSIONS+=linux=${OVERRIDE_LINUX_BASE_PORT}."
+.endif
# Possible values: 5.1, 5.2, 5.3
LUA_DEFAULT?= 5.2
# Possible values: 5.1, 5.5, 5.6, 5.7, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p
diff --git a/Mk/bsd.linux-apps.mk b/Mk/bsd.linux-apps.mk
deleted file mode 100644
index 98a7a8c65b09..000000000000
--- a/Mk/bsd.linux-apps.mk
+++ /dev/null
@@ -1,633 +0,0 @@
-#-*- tab-width: 4; -*-
-# ex:ts=4
-#
-# $FreeBSD$
-#
-# Please view me with 4 column tabs!
-
-# This section defines possible names of linux infrastructure ports
-# (components) and all information necessary for ports to use those components.
-#
-# Ports can use this as follows:
-#
-# USE_LINUX_APPS= esound xorglibs
-#
-# .include <bsd.port.mk>
-#
-# As a result proper RUN_DEPENDS will be added.
-#
-# Variables:
-# LINUX_DIST_SUFFIX - Contains the value which is added to a port's name
-# (i.e. linux<this_variable>-port ) to get the right
-# linux infrastructure port.
-# _ALL_LINUX_APPS - A (sorted) list of all linux infrastructure ports
-# (components), covered here.
-# OVERRIDE_LINUX_NONBASE_PORTS
-# - This specifies a none-default linux infrastructure ports to use.
-# The valid value is "f10" to use Linux Fedora 10 ports.
-# This is an user-only variable. Don't use it in any port,
-# it's meant to be used in make.conf.
-
-.if !defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Pre_Include)
-
-Linux_APPS_Include_MAINTAINER= emulation@FreeBSD.org
-Linux_APPS_Pre_Include= bsd.linux-apps.mk
-
-.endif
-
-.if defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Post_Include)
-
-Linux_APPS_Post_Include= bsd.linux-apps.mk
-
-#new
-. if defined(OVERRIDE_LINUX_NONBASE_PORTS)
-. if ${OVERRIDE_LINUX_NONBASE_PORTS} == "f10" || ${OVERRIDE_LINUX_NONBASE_PORTS} == "c6" || ${OVERRIDE_LINUX_NONBASE_PORTS} == "c6_64"
-LINUX_DIST_SUFFIX= -${OVERRIDE_LINUX_NONBASE_PORTS}
-LINUX_BASEPORT_NAME= -${OVERRIDE_LINUX_NONBASE_PORTS:S/_64//}
-. else
-IGNORE= valid values for OVERRIDE_LINUX_NONBASE_PORTS are: \"f10\", \"c6\", and \"c6_64\"
-. endif
-. elif defined(USE_LINUX)
-LINUX_DIST_SUFFIX= -${USE_LINUX}
-LINUX_BASEPORT_NAME= -${USE_LINUX:S/_64//}
-. else
-# default to CentOS
-LINUX_DIST_SUFFIX= -c6
-LINUX_BASEPORT_NAME= -c6
-. endif
-
-WEB_AUTH= nvu
-
-# Non-version specific components
-_LINUX_APPS_ALL= allegro alsalib alsa-plugins-oss alsa-plugins-pulseaudio \
- arts aspell atk avahi-libs cairo cups-libs curl dri devtools esound expat \
- flac fontconfig freealut gdkpixbuf gdkpixbuf2 gnutls gtk2 hicontheme imlib jasper jpeg libaudiofile \
- libasyncns libg2c libgcrypt libglade2 libglu libgpg-error libmng libogg \
- libpciaccess libsigcpp20 libsndfile libtasn1 libthai libtheora libvorbis libxml2 mikmod \
- naslibs ncurses-base openal openmotif openssl openssl-compat pango pixman png \
- pulseaudio-libs scimgtk scimlibs sdl12 sdlimage sdlmixer sdlttf tiff \
- tcp_wrappers-libs xorglibs ucl ungif upx webauth
-
-# 2.6.16 components
-_LINUX_26_APPS= blt cyrus-sasl2 dbusglib dbuslibs \
- libidn libssh2 libv4l nspr nss openal-soft \
- openldap qt45 sqlite3 tcl85 tk85 qt47 qt47-x11 qt47-webkit
-
-_LINUX_APPS_ALL+= ${_LINUX_26_APPS}
-
-# Component definition section
-#
-# component${LINUX_DIST_SUFFIX:S/-/_/}_FILE
-# - Variables are used to name a file to check,
-# file names may differ for different LINUX_DIST_SUFFIX.
-# The value is LINUX_DIST_SUFFIX without the leading dash.
-# component_DETECT - The resulting file to check for a dependency existence.
-# component_PORT - A port which will be used to install a missing dependency.
-# component_DEPENDS - A list of components the current component depends on.
-
-allegro_f10_FILE= ${LINUXBASE}/usr/lib/liballeg-4.2.2.so
-#FIXME: locate weird location for allegro c6 libs
-allegro_DETECT= ${allegro${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-allegro_PORT= devel/linux${LINUX_BASEPORT_NAME}-allegro
-allegro_DEPENDS= xorglibs
-
-alsa-plugins-oss_f10_FILE= ${LINUXBASE}/usr/lib/alsa-lib/libasound_module_pcm_oss.so
-alsa-plugins-oss_c6_FILE= ${LINUXBASE}/usr/lib/alsa-lib/libasound_module_pcm_oss.so
-alsa-plugins-oss_c6_64_FILE= ${LINUXBASE}/usr/lib64/alsa-lib/libasound_module_pcm_oss.so
-alsa-plugins-oss_DETECT= ${alsa-plugins-oss${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-alsa-plugins-oss_PORT= audio/linux${LINUX_BASEPORT_NAME}-alsa-plugins-oss
-alsa-plugins-oss_DEPENDS= alsalib
-
-alsa-plugins-pulseaudio_c6_FILE= ${LINUXBASE}/usr/lib/alsa-lib/libasound_module_conf_pulse.so
-alsa-plugins-pulseaudio_c6_64_FILE= ${LINUXBASE}/usr/lib64/alsa-lib/libasound_module_conf_pulse.so
-alsa-plugins-pulseaudio_DETECT= ${alsa-plugins-oss${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-alsa-plugins-pulseaudio_PORT= audio/linux${LINUX_BASEPORT_NAME}-alsa-plugins-pulseaudio
-alsa-plugins-pulseaudio_DEPENDS= alsalib
-
-alsalib_f10_FILE= ${LINUXBASE}/lib/libasound.so.2.0.0
-alsalib_c6_FILE= ${LINUXBASE}/lib/libasound.so.2.0.0
-alsalib_c6_64_FILE= ${LINUXBASE}/lib64/libasound.so.2.0.0
-alsalib_DETECT= ${alsalib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-alsalib_PORT= audio/linux${LINUX_BASEPORT_NAME}-alsa-lib
-
-arts_f10_FILE= ${LINUXBASE}/usr/lib/libartsc.so.0
-arts_c6_FILE= ${LINUXBASE}/usr/lib/libartsc.so.0
-arts_c6_64_FILE= ${LINUXBASE}/usr/lib64/libartsc.so.0
-arts_DETECT= ${arts${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-arts_PORT= audio/linux${LINUX_BASEPORT_NAME}-arts
-
-aspell_f10_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.1.4
-aspell_c6_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.1.4
-aspell_c6_64_FILE= ${LINUXBASE}/usr/lib64/libaspell.so.15.1.4
-aspell_DETECT= ${aspell${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-aspell_PORT= textproc/linux${LINUX_BASEPORT_NAME}-aspell
-
-atk_f10_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.2409.1
-atk_c6_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.3009.1
-atk_c6_64_FILE= ${LINUXBASE}/usr/lib64/libatk-1.0.so.0.3009.1
-atk_DETECT= ${atk${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-atk_PORT= accessibility/linux${LINUX_BASEPORT_NAME}-atk
-
-avahi-libs_c6_FILE= ${LINUXBASE}/usr/lib/libavahi-client.so.3.2.5
-avahi-libs_c6_64_FILE= ${LINUXBASE}/usr/lib64/libavahi-client.so.3.2.5
-avahi-libs_DETECT= ${avahi-libs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-avahi-libs_PORT= net/linux${LINUX_BASEPORT_NAME}-avahi-libs
-
-blt_f10_FILE= ${LINUXBASE}/usr/lib/libBLT24.so # FIXME: deprecated, merged into tcl/tk85
-blt_DETECT= ${blt${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-blt_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-blt
-blt_DEPENDS= tcl85 tk85 xorglibs
-
-cairo_f10_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.10800.0
-cairo_c6_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.10800.8
-cairo_c6_64_FILE= ${LINUXBASE}/usr/lib64/libcairo.so.2.10800.8
-cairo_DETECT= ${cairo${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-cairo_PORT= graphics/linux${LINUX_BASEPORT_NAME}-cairo
-cairo_DEPENDS= fontconfig png xorglibs
-
-cups-libs_f10_FILE= ${LINUXBASE}/usr/lib/libcups.so.2
-cups-libs_c6_FILE= ${LINUXBASE}/usr/lib/libcups.so.2
-cups-libs_c6_64_FILE= ${LINUXBASE}/usr/lib64/libcups.so.2
-cups-libs_DETECT= ${cups-libs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-cups-libs_PORT= print/linux${LINUX_BASEPORT_NAME}-cups-libs
-cups-libs_DEPENDS= gnutls
-
-curl_f10_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.1
-curl_c6_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.1
-curl_c6_64_FILE= ${LINUXBASE}/usr/lib64/libcurl.so.4.1.1
-curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-curl_PORT= ftp/linux${LINUX_BASEPORT_NAME}-curl
-curl_DEPENDS= cyrus-sasl2 openldap
-
-cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22
-cyrus-sasl2_c6_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.23
-cyrus-sasl2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libsasl2.so.2.0.23
-cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-cyrus-sasl2_PORT= security/linux${LINUX_BASEPORT_NAME}-cyrus-sasl2
-
-dbusglib_f10_FILE= ${LINUXBASE}/usr/lib/libdbus-glib-1.so.2
-dbusglib_c6_FILE= ${LINUXBASE}/usr/lib/libdbus-glib-1.so.2
-dbusglib_c6_64_FILE= ${LINUXBASE}/usr/lib64/libdbus-glib-1.so.2
-dbusglib_DETECT= ${dbusglib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-dbusglib_PORT= devel/linux${LINUX_BASEPORT_NAME}-dbus-glib
-dbusglib_DEPENDS= dbuslibs expat
-
-dbuslibs_f10_FILE= ${LINUXBASE}/lib/libdbus-1.so.3
-dbuslibs_c6_FILE= ${LINUXBASE}/lib/libdbus-1.so.3
-dbuslibs_c6_64_FILE= ${LINUXBASE}/lib64/libdbus-1.so.3
-dbuslibs_DETECT= ${dbuslibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-dbuslibs_PORT= devel/linux${LINUX_BASEPORT_NAME}-dbus-libs
-
-dri_f10_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2
-dri_c6_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2.0
-dri_c6_64_FILE= ${LINUXBASE}/usr/lib64/libGL.so.1.2.0
-dri_DETECT= ${dri${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-dri_PORT= graphics/linux${LINUX_BASEPORT_NAME}-dri
-dri_DEPENDS= xorglibs
-
-devtools_f10_FILE= ${LINUXBASE}/usr/bin/i386-redhat-linux-gcc
-devtools_c6_FILE= ${LINUXBASE}/usr/bin/gcc
-devtools_c6_64_FILE= ${LINUXBASE}/usr/bin/gcc
-devtools_DETECT= ${devtools${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-devtools_PORT= devel/linux${LINUX_BASEPORT_NAME}-devtools
-
-esound_f10_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.39
-esound_c6_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.39
-esound_c6_64_FILE= ${LINUXBASE}/usr/lib64/libesd.so.0.2.39
-esound_DETECT= ${esound${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-esound_PORT= audio/linux${LINUX_BASEPORT_NAME}-esound
-esound_DEPENDS= libaudiofile
-
-expat_f10_FILE= ${LINUXBASE}/lib/libexpat.so.1
-expat_c6_FILE= ${LINUXBASE}/lib/libexpat.so.1
-expat_c6_64_FILE= ${LINUXBASE}/lib64/libexpat.so.1
-expat_DETECT= ${expat${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-expat_PORT= textproc/linux${LINUX_BASEPORT_NAME}-expat
-
-fontconfig_f10_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1.3.0
-fontconfig_c6_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1.4.4
-fontconfig_c6_64_FILE= ${LINUXBASE}/usr/lib64/libfontconfig.so.1.4.4
-fontconfig_DETECT= ${fontconfig${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-fontconfig_PORT= x11-fonts/linux${LINUX_BASEPORT_NAME}-fontconfig
-fontconfig_DEPENDS= expat
-
-flac_c6_FILE= ${LINUXBASE}/usr/lib/libFLAC.so.8.2.0
-flac_c6_64_FILE= ${LINUXBASE}/usr/lib64/libFLAC.so.8.2.0
-flac_DETECT= ${flac${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-flac_PORT= audio/linux${LINUX_BASEPORT_NAME}-flac
-
-freealut_f10_FILE= ${LINUXBASE}/usr/lib/libalut.so.0.1.0
-freealut_DETECT= ${freealut${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-freealut_PORT= audio/linux${LINUX_BASEPORT_NAME}-freealut
-freealut_DEPENDS= openal
-
-gdkpixbuf_f10_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf.so.2
-gdkpixbuf_DETECT= ${gdkpixbuf${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-gdkpixbuf_PORT= graphics/linux${LINUX_BASEPORT_NAME}-gdk-pixbuf
-
-gdkpixbuf2_f10_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf-2.0.so.0
-gdkpixbuf2_c6_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf-2.0.so.0
-gdkpixbuf2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libgdk_pixbuf-2.0.so.0
-gdkpixbuf2_DETECT= ${gdkpixbuf2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-.if ${USE_LINUX} == "f10"
-gdkpixbuf2_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-gtk2
-.else # default to CentOS 6.
-gdkpixbuf2_PORT= graphics/linux${LINUX_BASEPORT_NAME}-gdk-pixbuf2
-.endif
-
-gnutls_f10_FILE= ${LINUXBASE}/usr/lib/libgnutls.so.26.4.6
-gnutls_c6_FILE= ${LINUXBASE}/usr/lib/libgnutls.so.26.14.12
-gnutls_c6_64_FILE= ${LINUXBASE}/usr/lib64/libgnutls.so.26.14.12
-gnutls_DETECT= ${gnutls${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-gnutls_PORT= security/linux${LINUX_BASEPORT_NAME}-gnutls
-gnutls_DEPENDS= libtasn1 libgcrypt libgpg-error
-
-gtk2_f10_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.1400.7
-gtk2_c6_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.2400.23
-gtk2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libgtk-x11-2.0.so.0.2400.23
-gtk2_DETECT= ${gtk2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-gtk2_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-gtk2
-gtk2_DEPENDS= atk gdkpixbuf2 jpeg png pango tiff xorglibs
-
-hicontheme_f10_FILE= ${LINUXBASE}/usr/share/icons/hicolor
-hicontheme_c6_FILE= ${LINUXBASE}/usr/share/icons/hicolor
-hicontheme_c6_64_FILE= ${LINUXBASE}/usr/share/icons/hicolor
-hicontheme_DETECT= ${hicontheme${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-hicontheme_PORT= x11-themes/linux${LINUX_BASEPORT_NAME}-hicolor-icon-theme
-
-imlib_f10_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.15
-imlib_DETECT= ${imlib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-imlib_PORT= graphics/linux${LINUX_BASEPORT_NAME}-imlib
-
-jasper_c6_FILE= ${LINUXBASE}/usr/lib/libjasper.so.1.0.0
-jasper_c6_64_FILE= ${LINUXBASE}/usr/lib64/libjasper.so.1.0.0
-jasper_DETECT= ${jasper${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-jasper_PORT= graphics/linux${LINUX_BASEPORT_NAME}-jasper
-
-jpeg_f10_FILE= ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0
-jpeg_c6_FILE= ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0
-jpeg_c6_64_FILE= ${LINUXBASE}/usr/lib64/libjpeg.so.62.0.0
-jpeg_DETECT= ${jpeg${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-jpeg_PORT= graphics/linux${LINUX_BASEPORT_NAME}-jpeg
-
-libasyncns_f10_FILE= ${LINUXBASE}/usr/lib/libasyncns.so.0.3.1
-libasyncns_c6_FILE= ${LINUXBASE}/usr/lib/libasyncns.so.0.3.1
-libasyncns_c6_64_FILE= ${LINUXBASE}/usr/lib64/libasyncns.so.0.3.1
-libasyncns_DETECT= ${libasyncns${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libasyncns_PORT= dns/linux${LINUX_BASEPORT_NAME}-libasyncns
-
-libaudiofile_f10_FILE= ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
-libaudiofile_c6_FILE= ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
-libaudiofile_c6_64_FILE=${LINUXBASE}/usr/lib64/libaudiofile.so.0.0.2
-libaudiofile_DETECT= ${libaudiofile${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libaudiofile_PORT= audio/linux${LINUX_BASEPORT_NAME}-libaudiofile
-
-libg2c_f10_FILE= ${LINUXBASE}/usr/lib/libg2c.so.0.0.0
-libg2c_DETECT= ${libg2c${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libg2c_PORT= lang/linux${LINUX_BASEPORT_NAME}-libg2c
-
-libgcrypt_f10_FILE= ${LINUXBASE}/lib/libgcrypt.so.11.5.2
-libgcrypt_c6_FILE= ${LINUXBASE}/lib/libgcrypt.so.11.5.3
-libgcrypt_c6_64_FILE= ${LINUXBASE}/lib64/libgcrypt.so.11.5.3
-libgcrypt_DETECT= ${libgcrypt${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libgcrypt_PORT= security/linux${LINUX_BASEPORT_NAME}-libgcrypt
-
-libglade2_f10_FILE= ${LINUXBASE}/usr/lib/libglade-2.0.so.0.0.7
-libglade2_c6_FILE= ${LINUXBASE}/usr/lib/libglade-2.0.so.0.0.7
-libglade2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libglade-2.0.so.0.0.7
-libglade2_DETECT= ${libglade2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libglade2_PORT= devel/linux${LINUX_BASEPORT_NAME}-libglade2
-
-libglu_f10_FILE= ${LINUXBASE}/usr/lib/libGLU.so.1
-libglu_c6_FILE= ${LINUXBASE}/usr/lib/libGLU.so.1
-libglu_c6_64_FILE= ${LINUXBASE}/usr/lib64/libGLU.so.1
-libglu_DETECT= ${libglu${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libglu_PORT= graphics/linux${LINUX_BASEPORT_NAME}-libGLU
-
-libgpg-error_f10_FILE= ${LINUXBASE}/lib/libgpg-error.so.0.4.0
-libgpg-error_c6_FILE= ${LINUXBASE}/lib/libgpg-error.so.0.5.0
-libgpg-error_c6_64_FILE=${LINUXBASE}/lib64/libgpg-error.so.0.5.0
-libgpg-error_DETECT= ${libgpg-error${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libgpg-error_PORT= security/linux${LINUX_BASEPORT_NAME}-libgpg-error
-
-# no libidn_f10_FILE (libidn is integrated into linux_base-f10 port)
-libidn_DETECT= ${libidn${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libidn_PORT= dns/linux${LINUX_BASEPORT_NAME}-libidn
-
-libmng_f10_FILE= ${LINUXBASE}/usr/lib/libmng.so.1.0.0
-libmng_DETECT= ${libmng${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libmng_PORT= graphics/linux${LINUX_BASEPORT_NAME}-libmng
-libmng_DEPENDS= jpeg
-
-libogg_f10_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.3
-libogg_c6_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.6.0
-libogg_c6_64_FILE= ${LINUXBASE}/usr/lib64/libogg.so.0.6.0
-libogg_DETECT= ${libogg${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libogg_PORT= audio/linux${LINUX_BASEPORT_NAME}-libogg
-
-libpciaccess_c6_FILE= ${LINUXBASE}/usr/lib/libpciaccess.so.0.11.1
-libpciaccess_c6_64_FILE= ${LINUXBASE}/usr/lib64/libpciaccess.so.0.11.1
-libpciaccess_DETECT= ${libpciaccess${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libpciaccess_PORT= devel/linux${LINUX_BASEPORT_NAME}-libpciaccess
-
-libsigcpp20_f10_FILE= ${LINUXBASE}/usr/lib/libsigc-2.0.so.0
-libsigcpp20_c6_FILE= ${LINUXBASE}/usr/lib/libsigc-2.0.so.0
-libsigcpp20_c6_64_FILE= ${LINUXBASE}/usr/lib64/libsigc-2.0.so.0
-libsigcpp20_DETECT= ${libsigcpp20${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libsigcpp20_PORT= devel/linux${LINUX_BASEPORT_NAME}-libsigc++20
-
-libsndfile_c6_FILE= ${LINUXBASE}/usr/lib/libsndfile.so.1.0.20
-libsndfile_c6_64_FILE= ${LINUXBASE}/usr/lib64/libsndfile.so.1.0.20
-libsndfile_DETECT= ${libsndfile${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libsndfile_PORT= audio/linux${LINUX_BASEPORT_NAME}-libsndfile
-
-libssh2_f10_FILE= ${LINUXBASE}/usr/lib/libssh2.so.1
-libssh2_c6_FILE= ${LINUXBASE}/usr/lib/libssh2.so.1.0.1
-libssh2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libssh2.so.1.0.1
-libssh2_DETECT= ${libssh2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libssh2_PORT= security/linux${LINUX_BASEPORT_NAME}-libssh2
-libssh2_DEPENDS= openssl
-
-libv4l_f10_FILE= ${LINUXBASE}/usr/lib/libv4l1.so.0
-libv4l_c6_FILE= ${LINUXBASE}/usr/lib/libv4l1.so.0
-libv4l_c6_64_FILE= ${LINUXBASE}/usr/lib64/libv4l1.so.0
-libv4l_DETECT= ${libv4l${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libv4l_PORT= multimedia/linux${LINUX_BASEPORT_NAME}-libv4l
-
-libtasn1_f10_FILE= ${LINUXBASE}/usr/lib/libtasn1.so.3.0.16
-libtasn1_c6_FILE= ${LINUXBASE}/usr/lib/libtasn1.so.3.1.6
-libtasn1_c6_64_FILE= ${LINUXBASE}/usr/lib64/libtasn1.so.3.1.6
-libtasn1_DETECT= ${libtasn1${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libtasn1_PORT= security/linux${LINUX_BASEPORT_NAME}-libtasn1
-
-libthai_c6_FILE= ${LINUXBASE}/usr/lib/libthai.so.0.1.4
-libthai_c6_64_FILE= ${LINUXBASE}/usr/lib64/libthai.so.0.1.4
-libthai_DETECT= ${libthai${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libthai_PORT= devel/linux${LINUX_BASEPORT_NAME}-libthai
-
-libtheora_f10_FILE= ${LINUXBASE}/usr/lib/libtheora.so.0.3.3
-libtheora_c6_FILE= ${LINUXBASE}/usr/lib/libtheora.so.0.3.9
-libtheora_c6_64_FILE= ${LINUXBASE}/usr/lib64/libtheora.so.0.3.9
-libtheora_DETECT= ${libtheora${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libtheora_PORT= multimedia/linux${LINUX_BASEPORT_NAME}-libtheora
-
-libvorbis_f10_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.4.0
-libvorbis_c6_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.4.3
-libvorbis_c6_64_FILE= ${LINUXBASE}/usr/lib64/libvorbis.so.0.4.3
-libvorbis_DETECT= ${libvorbis${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libvorbis_PORT= audio/linux${LINUX_BASEPORT_NAME}-libvorbis
-libvorbis_DEPENDS= libogg
-
-libxml2_f10_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.7.3
-libxml2_c6_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.7.6
-libxml2_c6_64_FILE= ${LINUXBASE}/usr/lib64/libxml2.so.2.7.6
-libxml2_DETECT= ${libxml2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-libxml2_PORT= textproc/linux${LINUX_BASEPORT_NAME}-libxml2
-
-mikmod_f10_FILE= ${LINUXBASE}/usr/lib/libmikmod.so.3.0.0
-mikmod_c6_FILE= ${LINUXBASE}/usr/lib/libmikmod.so.3.0.0
-mikmod_c6_64_FILE= ${LINUXBASE}/usr/lib64/libmikmod.so.3.0.0
-mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-mikmod_PORT= audio/linux${LINUX_BASEPORT_NAME}-mikmod
-
-naslibs_f10_FILE= ${LINUXBASE}/usr/lib/libaudio.so.2
-naslibs_c6_FILE= ${LINUXBASE}/usr/lib/libaudio.so.2
-naslibs_c6_64_FILE= ${LINUXBASE}/usr/lib64/libaudio.so.2
-naslibs_DETECT= ${naslibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-naslibs_PORT= audio/linux${LINUX_BASEPORT_NAME}-nas-libs
-naslibs_DEPENDS= xorglibs
-
-openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0
-openldap_c6_FILE= ${LINUXBASE}/lib/libldap-2.4.so.2.10.3
-openldap_c6_64_FILE= ${LINUXBASE}/lib64/libldap-2.4.so.2.10.3
-openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openldap_PORT= net/linux${LINUX_BASEPORT_NAME}-openldap
-
-openmotif_f10_FILE= ${LINUXBASE}/usr/lib/libXm.so.4
-openmotif_c6_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.3
-openmotif_c6_64_FILE= ${LINUXBASE}/usr/lib64/libXm.so.4.0.3
-openmotif_DETECT= ${openmotif${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openmotif_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-openmotif
-openmotif_DEPENDS= xorglibs
-
-ncurses-base_f10_FILE= ${LINUXBASE}/lib/terminfo/a/ansi
-ncurses-base_c6_FILE= ${LINUXBASE}/lib/terminfo/a/ansi
-ncurses-base_c6_64_FILE=${LINUXBASE}/lib64/terminfo/a/ansi
-ncurses-base_DETECT= ${ncurses-base${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-ncurses-base_PORT= devel/linux${LINUX_BASEPORT_NAME}-ncurses-base
-
-nspr_f10_FILE= ${LINUXBASE}/lib/libnspr4.so
-nspr_c6_FILE= ${LINUXBASE}/lib/libnspr4.so
-nspr_c6_64_FILE= ${LINUXBASE}/lib64/libnspr4.so
-nspr_DETECT= ${nspr${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-nspr_PORT= devel/linux${LINUX_BASEPORT_NAME}-nspr
-
-nss_f10_FILE= ${LINUXBASE}/lib/libnss3.so
-nss_c6_FILE= ${LINUXBASE}/usr/lib/libnss3.so
-nss_c6_64_FILE= ${LINUXBASE}/usr/lib64/libnss3.so
-nss_DETECT= ${nss${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-nss_PORT= security/linux${LINUX_BASEPORT_NAME}-nss
-nss_DEPENDS= nspr sqlite3
-
-openal_f10_FILE= ${LINUXBASE}/usr/lib/libopenal.so.0.0.0
-openal_DETECT= ${openal${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openal_PORT= audio/linux${LINUX_BASEPORT_NAME}-openal
-openal_DEPENDS= alsalib arts esound libaudiofile libvorbis sdl12
-
-openal-soft_f10_FILE= ${LINUXBASE}/usr/lib/libopenal.so.1.8.466
-openal-soft_c6_FILE= ${LINUXBASE}/usr/lib/libopenal.so.1.12.854
-openal-soft_c6_64_FILE= ${LINUXBASE}/usr/lib64/libopenal.so.1.12.854
-openal-soft_DETECT= ${openal-soft${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openal-soft_PORT= audio/linux${LINUX_BASEPORT_NAME}-openal-soft
-openal-soft_DEPENDS= alsalib arts esound
-
-openssl_f10_FILE= ${LINUXBASE}/lib/libssl.so.0.9.8g
-openssl_c6_FILE= ${LINUXBASE}/usr/lib/libssl.so.10
-openssl_c6_64_FILE= ${LINUXBASE}/usr/lib64/libssl.so.10
-openssl_DETECT= ${openssl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openssl_PORT= security/linux${LINUX_BASEPORT_NAME}-openssl
-
-openssl-compat_c6_FILE= ${LINUXBASE}/usr/lib/libssl.so.0.9.8e
-openssl-compat_c6_64_FILE= ${LINUXBASE}/usr/lib64/libssl.so.0.9.8e
-openssl-compat_DETECT= ${openssl-compat${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-openssl-compat_PORT= security/linux${LINUX_BASEPORT_NAME}-openssl-compat
-
-pango_f10_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.2800.3
-pango_c6_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.2800.1
-pango_c6_64_FILE= ${LINUXBASE}/usr/lib64/libpango-1.0.so.0.2800.1
-pango_DETECT= ${pango${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-pango_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-pango
-pango_DEPENDS= cairo expat fontconfig xorglibs
-
-pixman_c6_FILE= ${LINUXBASE}/usr/lib/libpixman-1.so.0.32.8
-pixman_c6_64_FILE= ${LINUXBASE}/usr/lib64/libpixman-1.so.0.32.8
-pixman_DETECT= ${pixman${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-pixman_PORT= x11/linux${LINUX_BASEPORT_NAME}-pixman
-
-png_f10_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.37.0
-png_c6_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.49.0
-png_c6_64_FILE= ${LINUXBASE}/usr/lib64/libpng.so.3.49.0
-png_DETECT= ${png${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-png_PORT= graphics/linux${LINUX_BASEPORT_NAME}-png
-
-pulseaudio-libs_f10_FILE= ${LINUXBASE}/usr/lib/libpulse.so.0
-pulseaudio-libs_c6_FILE= ${LINUXBASE}/usr/lib/libpulse.so.0.12.2
-pulseaudio-libs_c6_64_FILE= ${LINUXBASE}/usr/lib64/libpulse.so.0.12.2
-pulseaudio-libs_DETECT= ${pulseaudio-libs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-pulseaudio-libs_PORT= audio/linux${LINUX_BASEPORT_NAME}-pulseaudio-libs
-
-qt45_f10_FILE= ${LINUXBASE}/usr/lib/libQtCore.so.4.5.3
-qt45_DETECT= ${qt45${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-qt45_DEPENDS= fontconfig libmng png
-
-sdl12_f10_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.11.2
-sdl12_c6_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.11.3
-sdl12_c6_64_FILE= ${LINUXBASE}/usr/lib64/libSDL-1.2.so.0.11.3
-sdl12_DETECT= ${sdl12${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-sdl12_PORT= devel/linux${LINUX_BASEPORT_NAME}-sdl12
-sdl12_DEPENDS= xorglibs
-
-sdlimage_f10_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.5
-sdlimage_c6_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.8.4
-sdlimage_c6_64_FILE= ${LINUXBASE}/usr/lib64/libSDL_image-1.2.so.0.8.4
-sdlimage_DETECT= ${sdlimage${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-sdlimage_PORT= graphics/linux${LINUX_BASEPORT_NAME}-sdl_image
-sdlimage_DEPENDS= jpeg png sdl12 tiff
-
-sdlmixer_f10_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.6
-sdlmixer_c6_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.12.0
-sdlmixer_c6_64_FILE= ${LINUXBASE}/usr/lib64/libSDL_mixer-1.2.so.0.12.0
-sdlmixer_DETECT= ${sdlmixer${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-sdlmixer_PORT= audio/linux${LINUX_BASEPORT_NAME}-sdl_mixer
-sdlmixer_DEPENDS= sdl12
-
-sdlttf_f10_FILE= ${LINUXBASE}/usr/lib/libSDL_ttf-2.0.so.0.6.2
-sdlttf_c6_FILE= ${LINUXBASE}/usr/lib/libSDL_ttf-2.0.so.0.10.1
-sdlttf_c6_64_FILE= ${LINUXBASE}/usr/lib64/libSDL_ttf-2.0.so.0.10.1
-sdlttf_DETECT= ${sdlttf${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-sdlttf_PORT= graphics/linux${LINUX_BASEPORT_NAME}-sdl_ttf
-sdlttf_DEPENDS= sdl12
-
-scimgtk_f10_FILE= ${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so
-scimgtk_DETECT= ${scimgtk${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-scimgtk_PORT= textproc/linux${LINUX_BASEPORT_NAME}-scim-gtk
-scimgtk_DEPENDS= gtk2 scimlibs
-
-scimlibs_f10_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8
-scimlibs_DETECT= ${scimlibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-scimlibs_PORT= textproc/linux${LINUX_BASEPORT_NAME}-scim-libs
-scimlibs_DEPENDS= gtk2
-
-sqlite3_f10_FILE= ${LINUXBASE}/usr/lib/libsqlite3.so.0
-sqlite3_c6_FILE= ${LINUXBASE}/usr/lib/libsqlite3.so.0
-sqlite3_c6_64_FILE= ${LINUXBASE}/usr/lib64/libsqlite3.so.0
-sqlite3_DETECT= ${sqlite3${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-sqlite3_PORT= databases/linux${LINUX_BASEPORT_NAME}-sqlite3
-
-tcl85_f10_FILE= ${LINUXBASE}/usr/lib/libtcl8.5.so
-tcl85_c6_FILE= ${LINUXBASE}/usr/lib/libtcl8.5.so
-tcl85_c6_64_FILE= ${LINUXBASE}/usr/lib64/libtcl8.5.so
-tcl85_DETECT= ${tcl85${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-tcl85_PORT= lang/linux${LINUX_BASEPORT_NAME}-tcl85
-
-tcp_wrappers-libs_c6_FILE= ${LINUXBASE}/lib/libwrap.so.0
-tcp_wrappers-libs_c6_64_FILE= ${LINUXBASE}/lib64/libwrap.so.0
-tcp_wrappers-libs_DETECT= ${tcp_wrappers-libs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-tcp_wrappers-libs_PORT= net/linux${LINUX_BASEPORT_NAME}-tcp_wrappers-libs
-
-tiff_f10_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.8.2
-tiff_c6_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.9.4
-tiff_c6_64_FILE= ${LINUXBASE}/usr/lib64/libtiff.so.3.9.4
-tiff_DETECT= ${tiff${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-tiff_PORT= graphics/linux${LINUX_BASEPORT_NAME}-tiff
-tiff_DEPENDS= jpeg
-
-tk85_f10_FILE= ${LINUXBASE}/usr/lib/libtk8.5.so
-tk85_c6_FILE= ${LINUXBASE}/usr/lib/libtk8.5.so
-tk85_c6_64_FILE= ${LINUXBASE}/usr/lib64/libtk8.5.so
-tk85_DETECT= ${tk85${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-tk85_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-tk85
-tk85_DEPENDS= xorglibs
-
-xorglibs_f10_FILE= ${LINUXBASE}/usr/lib/libXrandr.so.2.1.0
-xorglibs_c6_FILE= ${LINUXBASE}/usr/lib/libXrandr.so.2.2.0
-xorglibs_c6_64_FILE= ${LINUXBASE}/usr/lib64/libXrandr.so.2.2.0
-xorglibs_DETECT= ${xorglibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-xorglibs_PORT= x11/linux${LINUX_BASEPORT_NAME}-xorg-libs
-xorglibs_DEPENDS= fontconfig
-
-ucl_f10_FILE= ${LINUXBASE}/usr/lib/libucl.so.1
-ucl_DETECT= ${ucl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-ucl_PORT= archivers/linux${LINUX_BASEPORT_NAME}-ucl
-
-ungif_f10_FILE= ${LINUXBASE}/usr/lib/libgif.so.4.1.3
-ungif_DETECT= ${ungif${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-ungif_PORT= graphics/linux${LINUX_BASEPORT_NAME}-ungif
-
-upx_f10_FILE= ${LINUXBASE}/usr/bin/upx
-upx_DETECT= ${upx${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-upx_PORT= archivers/linux${LINUX_BASEPORT_NAME}-upx
-upx_DEPENDS= ucl
-
-webauth_f10_FILE= ${LOCALBASE}/bin/linux-nvu
-webauth_DETECT= ${webauth${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-webauth_PORT= www/linux-${WEB_AUTH}
-webauth_DEPENDS= gtk2 atk pango fontconfig
-
-qt47_c6_FILE= ${LINUXBASE}/usr/lib/qt47/libQtCore.so.4.7.2
-qt47_c6_64_FILE= ${LINUXBASE}/usr/lib64/qt47/libQtCore.so.4.7.2
-qt47_DETECT= ${qt47${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-qt47_PORT= devel/linux${LINUX_BASEPORT_NAME}-qt47
-
-qt47-x11_c6_FILE= ${LINUXBASE}/usr/lib/qt47/libQtGui.so.4.7.2
-qt47-x11_c6_64_FILE= ${LINUXBASE}/usr/lib64/qt47/libQtGui.so.4.7.2
-qt47-x11_DETECT= ${qt47-x11${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-qt47-x11_PORT= x11-toolkits/linux${LINUX_BASEPORT_NAME}-qt47-x11
-
-qt47-webkit_c6_FILE= ${LINUXBASE}/usr/lib/qt47/libQtWebKit.so.4.7.2
-qt47-webkit_c6_64_FILE= ${LINUXBASE}/usr/lib64/qt47/libQtWebKit.so.4.7.2
-qt47-webkit_DETECT= ${qt47-webkit${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-qt47-webkit_PORT= www/linux${LINUX_BASEPORT_NAME}-qt47-webkit
-
-# End component definition section
-
-# Let's check if components from USE_LINUX_APPS exist at _LINUX_APPS_ALL
-. for component in ${USE_LINUX_APPS}
-. if ${_LINUX_APPS_ALL:M${component}}==""
-IGNORE= bsd.linux-apps.mk test failed: Invalid component USE_LINUX_APPS=${component}
-. endif
-. endfor
-
-# Let's check if components from USE_LINUX_APPS have corresponding <app>_DETECT
-# i.e. if a corresponding <app>_FILE defined for given LINUX_DIST_SUFFIX
-. for component in ${USE_LINUX_APPS}
-. if ${${component}_DETECT}==""
-. if defined(${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE)
-IGNORE= bsd.linux-apps.mk test failed: The component ${component} is empty for LINUX_DIST_SUFFIX=${LINUX_DIST_SUFFIX} (the corresponding variable ${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE is empty)
-. else
-IGNORE= bsd.linux-apps.mk test failed: The component ${component} is not defined for LINUX_DIST_SUFFIX=${LINUX_DIST_SUFFIX} (the corresponding variable ${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE is not defined). This usually means that the current port should be used with non default linux base and/or infrastructure port(s)
-. endif
-. endif
-. endfor
-
-# Recursively expand all dependencies for each app at _LINUX_APPS_ALL
-. for component in ${_LINUX_APPS_ALL}
-. for subcomponent in ${${component}_DEPENDS}
-${component}_DEPENDS+=${${subcomponent}_DEPENDS}
-. endfor
-. endfor
-
-# Use just expanded dependencies (<app>_DEPENDS) to expand USE_LINUX_APPS
-. for component in ${USE_LINUX_APPS}
-_USE_LINUX_APPS+=${${component}_DEPENDS} ${component}
-. endfor
-
-# Set dependencies for _USE_LINUX_APPS which exists at _LINUX_APPS_ALL
-. for component in ${_LINUX_APPS_ALL}
-. if ${_USE_LINUX_APPS:M${component}}!=""
-. if defined(${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE)
-RUN_DEPENDS+= ${${component}_DETECT}:${${component}_PORT}
-. endif
-. endif
-. endfor
-.endif
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk
deleted file mode 100644
index 96fe9f30bda0..000000000000
--- a/Mk/bsd.linux-rpm.mk
+++ /dev/null
@@ -1,219 +0,0 @@
-#-*- tab-width: 4; -*-
-# ex:ts=4
-#
-# $FreeBSD$
-#
-
-# Variables:
-# LINUX_DIST - Will be used to set some dist-specific presets.
-# Valid values: fedora
-# LINUX_DIST_VER - Use depends upon the dist-specific presets.
-# Valid values for "fedora": all version numbers
-# e.g. 10 for fedora 10
-# Valid values for "centos": all version numbers
-# e.g. 6.8 for centos 6.8
-# This is used to set MASTER_SITE_{,SRC_}SUBDIR
-# if it isn't already set.
-# MASTER_SITE_SRC_SUBDIR
-# - The subdir for the src RPM's.
-# DISTFILES - For simple cases this will be set automatically
-# based upon the DISTNAME.
-# SRC_DISTFILES - Variable which contains the corresponding src RPM's.
-# If there's no corresponding src RPM, it has to be
-# set to the empty value (SRC_DISTFILES= "").
-# AUTOMATIC_PLIST - Generate a dynamic plist (please have a look at the
-# porters handbook section which talks about plists.
-# This feature is reserved for rare cases).
-# BRANDELF_DIRS - A list of directories with executables to brand
-# as a linux executable. The directories has to not
-# contain libraries.
-# BRANDELF_FILES - A list of files to brand as a linux executable in
-# case BRANDELF_DIRS can't be used.
-
-.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include)
-
-Linux_RPM_Include_MAINTAINER= emulation@FreeBSD.org
-Linux_RPM_Pre_Include= bsd.linux-rpm.mk
-
-EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm
-SRC_SUFX?= .src.rpm
-
-USE_LINUX?= yes
-USE_LINUX_PREFIX= yes
-
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-
-. if ${USE_LINUX} == "c6" || ${USE_LINUX} == "c6_64" || ${USE_LINUX} == "yes" # default to CentOS
-# Do not build CentOS 6 ports if overridden by f10
-. if defined(OVERRIDE_LINUX_NONBASE_PORTS) && ${OVERRIDE_LINUX_NONBASE_PORTS} == "f10"
-IGNORE= requires CentOS ${LINUX_DIST_VER}. Please remove OVERRIDE_LINUX_NONBASE_PORTS=f10 in /etc/make.conf
-. endif
-. endif
-
-.endif
-
-.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include)
-
-Linux_RPM_Post_Include= bsd.linux-rpm.mk
-
-.if ${USE_LINUX} == "f10"
-USE_LINUX?= "f10"
-LINUX_DIST= fedora
-LINUX_DIST_VER= 10
-.else # default to CentOS
-LINUX_DIST= centos
-LINUX_DIST_VER= 6.8
-.endif
-
-.if defined(LINUX_DIST)
-DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER}
-
-. if ${LINUX_DIST} == "fedora"
-# we do not want to define MASTER_SITES and MASTER_SITE_* if they are already defined
-# ex.: MASTER_SITES=file:///...
-. ifndef MASTER_SITES
-MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
-. if ${LINUX_DIST_VER} == 10
-MASTER_SITE_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages \
- ../updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}
-MASTER_SITE_SRC_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS \
- ../updates/${LINUX_DIST_VER}/SRPMS
-. else
-MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \
- updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}
-MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \
- updates/${LINUX_DIST_VER}/SRPMS
-. endif
-. endif
-. elif ${LINUX_DIST} == "centos"
-MASTER_SITES?= ${MASTER_SITE_CENTOS_LINUX} ${MASTER_SITE_CENTOS_LINUX_UPDATES}
-MASTER_SITE_SUBDIR?= centos/${LINUX_DIST_VER}/os/${LINUX_REPO_ARCH}/Packages/ \
- centos/${LINUX_DIST_VER}/updates/${LINUX_REPO_ARCH}/Packages/
-. if ${LINUX_DIST_VER} == "5" #needed for Qt...
-LINUX_RPM_ARCH= i386
-MASTER_SITE_SUBDIR= centos/5/os/i386/Packages/
-. endif
-. if defined(PACKAGE_BUILDING)
-_SRC_GROUP=:SOURCE
-MASTER_SITES+= http://vault.centos.org/%SUBDIR%/:SOURCE
-MASTER_SITE_SUBDIR+= ${LINUX_DIST_VER}/os/Source/SPackages/:SOURCE
-. endif
-. endif
-.endif
-
-PKGNAMEPREFIX?= linux-${USE_LINUX}-
-
-# DISTFILES and SRC_DISTFILES assume that there is only one bindist
-# and one src file.
-# Please, define them in the Makefile of the port in case this assumption
-# is not true.
-
-DISTVERSION= ${PORTVERSION}-${RPMVERSION}
-DISTNAME?= ${PORTNAME}-${DISTVERSION}
-DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
-BIN_DISTFILES:= ${DISTFILES} ${LIB_DISTFILES}
-SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}${_SRC_GROUP}
-EXTRACT_ONLY?= ${BIN_DISTFILES:C/:[^:]+$//}
-WRKSRC:= ${WRKSRC:S/-${RPMVERSION}$//}
-
-# Define files to install.
-# Ports can want to install 32bit things only (if OVERRIDE_LINUX_NONBASE_PORTS) is off,
-# they can want to install both 32bit and 64bit things of only one package,
-# or they can want to install a 64bit only binary and e.g. 32/64bit libraries.
-
-# The following glue is supposed to handle this.
-# FIXME: Sensibly refactor this part, it looks like spaghetti.
-
-. if defined(OVERRIDE_LINUX_NONBASE_PORTS) && ${OVERRIDE_LINUX_NONBASE_PORTS} == "c6_64"
-_32BIT_LINUX_RPM_ARCH= i686
-. if ${DISTFILES} == ${DISTNAME}${EXTRACT_SUFX} && ${USE_LINUX_RPM} != "nolib"
-_32BIT_LIB_DISTFILES:= ${DISTFILES:S/${LINUX_RPM_ARCH}/${_32BIT_LINUX_RPM_ARCH}/g}
-. elif defined(LIB_DISTFILES)
-_32BIT_LIB_DISTFILES= ${LIB_DISTFILES:S/${LINUX_RPM_ARCH}/${_32BIT_LINUX_RPM_ARCH}/g}
-. endif
-
-BIN_DISTFILES:= ${BIN_DISTFILES} ${_32BIT_LIB_DISTFILES}
-DISTFILES+= ${_32BIT_LIB_DISTFILES}
-. endif
-DISTFILES+= ${LIB_DISTFILES}
-
-
-. if defined(PACKAGE_BUILDING)
-DISTFILES+= ${SRC_DISTFILES}
-MASTER_SITE_SUBDIR+= ${MASTER_SITE_SRC_SUBDIR}
-ALWAYS_KEEP_DISTFILES= yes
-. endif
-
-.if !defined(USE_LINUX_RPM_BAD_PERMS)
-EXTRACT_CMD?= ${TAR}
-EXTRACT_BEFORE_ARGS?= --no-same-permissions --no-same-owner -xf
-EXTRACT_AFTER_ARGS?=
-.else
-EXTRACT_DEPENDS+= rpm2archive:archivers/rpm4
-EXTRACT_CMD?= rpm2archive
-EXTRACT_BEFORE_ARGS?= <
-EXTRACT_AFTER_ARGS?= | ${TAR} xf - --no-same-permissions --no-same-owner
-.endif
-
-DISTINFO_FILE?= ${MASTERDIR}/distinfo.${LINUX_REPO_ARCH}
-
-BRANDELF_DIRS?=
-BRANDELF_FILES?=
-
-# For ports that define PORTDOCS, be sure not to install
-# documentation if NOPORTDOCS is defined
-. if defined(PORTDOCS) && defined(NOPORTDOCS)
-pre-patch: linux-rpm-clean-portdocs
-
-. if !target(linux-rpm-clean-portdocs)
-linux-rpm-clean-portdocs:
-. for x in ${PORTDOCS}
- @${RM} -f ${WRKSRC}/${DOCSDIR_REL}/${x}
-. endfor
- @${RMDIR} ${WRKSRC}/${DOCSDIR_REL}
-. endif
-. endif
-
-. if ${USE_LINUX} != "f10"
-PLIST?= ${MASTERDIR}/pkg-plist.${LINUX_REPO_ARCH}
-. endif
-
-. if defined(AUTOMATIC_PLIST)
-
-. if ${USE_LINUX} == "f10"
-_LINUX_BASE_SUFFIX= f10
-. elif ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes"
-_LINUX_BASE_SUFFIX= c6
-. elif ${USE_LINUX} == "c6_64"
-_LINUX_BASE_SUFFIX= c6
-. else
-# other linux_base ports do not provide a pkg-plist file
-IGNORE= uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"f10\", \"c6\", and \"c6_64\"
-. endif
-
-PLIST?= ${WRKDIR}/.PLIST.linux-rpm
-
-pre-install: linux-rpm-generate-plist
-
-. if !target(linux-rpm-generate-plist)
-linux-rpm-generate-plist:
- cd ${WRKSRC} && \
- ${FIND} * ! -type d | ${SORT} > ${PLIST}
-. endif
-. endif
-
-. if !target(do-install)
-do-install:
-. if ${BRANDELF_DIRS}
- @cd ${WRKSRC} && ${FIND} ${BRANDELF_DIRS} -type f -print0 \
- | ${XARGS} -0 ${FILE} | ${GREP} ELF | ${CUT} -d : -f 1 \
- | ${XARGS} ${BRANDELF} -t Linux
-. endif
-. if ${BRANDELF_FILES}
- @cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES}
-. endif
- cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \;
- cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX}
-. endif
-.endif
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index ddffe5caba07..bd23061d5538 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -408,40 +408,15 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# core, webkit). Implies that the port needs Qt.
# Implies the inclusion of bsd.qt.mk. See bsd.qt.mk
# for more details.
-#
-# USE_LINUX - Set to yes to say the port needs the default linux base port.
-# Set to value <X>, if the port needs emulators/linux_base-<X>.
-# Implies appropriate settings for STRIP and STRIP_CMD.
+##
# USE_LINUX_PREFIX
-# - controls the action of PREFIX (see above). Only use this
-# if the port is a linux infrastructure port (e.g. contains libs
+# - Controls the action of PREFIX (see above). Only use this
+# if the port is a Linux infrastructure port (e.g. contains libs
# or a sound server which supports the FreeBSD native one),
-# use the default or the X11 prefix if it's a leaf port
-# (e.g. a game or program).
-# Implies NO_MTREE=yes, and, if USE_LDCONFIG is defined:
-# - USE_LINUX=yes
-# - appropriate invocation of the Linux ldconfig
-# USE_LINUX_RPM - Set to yes to pull in variables and targets useful to Linux
-# RPM ports.
-# Set to nolib if your port does not contain an architecture-
-# specific library.
-# Implies inclusion of bsd.linux-rpm.mk.
-#
-# LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl.
-# Will be used to distinguish which linux
-# infrastructure ports should be used.
-# Valid values: 2.6.16.
-#
-# OVERRIDE_LINUX_BASE_PORT
-# - This specifies the default linux base to use, for valid
-# values have a look at the description of USE_LINUX. This is
-# an user-only variable. Don't use it in any port, it's meant
-# to be used in make.conf.
-#
-# LINUX_BASE_PORT
-# - This is a read-only variable, it gets set to a value which is
-# usable in *_DEPENDS (e.g. BUILD_DEPENDS=${LINUX_BASE_PORT}).
-# It honors USE_LINUX=foo and OVERRIDE_LINUX_BASE_PORT.
+# use the default prefix if it's a leaf port (e.g. a game or
+# program).
+# Implies NO_LICENSES_INSTALL=yes, NO_MTREE=yes, and causes
+# Linux ldconfig to be used when USE_LDCONFIG is defined.
##
# USE_XORG - Set to a list of X.org module dependencies.
# Implies inclusion of bsd.xorg.mk.
@@ -1312,20 +1287,6 @@ DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL}
INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}
-DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
-EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
-DATADIR?= ${PREFIX}/share/${PORTNAME}
-WWWDIR?= ${PREFIX}/www/${PORTNAME}
-ETCDIR?= ${PREFIX}/etc/${PORTNAME}
-
-.if defined(USE_LINUX_RPM)
-.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
-.endif
-
-.if defined(USE_LINUX_APPS)
-.include "${PORTSDIR}/Mk/bsd.linux-apps.mk"
-.endif
-
.if defined(USE_XORG) || defined(XORG_CAT)
.include "${PORTSDIR}/Mk/bsd.xorg.mk"
.endif
@@ -1339,16 +1300,7 @@ FILESDIR?= ${MASTERDIR}/files
SCRIPTDIR?= ${MASTERDIR}/scripts
PKGDIR?= ${MASTERDIR}
-.if defined(USE_LINUX_PREFIX)
-PREFIX:= ${LINUXBASE}
-NO_MTREE= yes
-.else
PREFIX?= ${LOCALBASE}
-.endif
-
-.if defined(USE_LINUX_PREFIX)
-LDCONFIG_CMD?= ${LINUXBASE}/sbin/ldconfig -r ${LINUXBASE}
-.endif
PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
@@ -1457,6 +1409,14 @@ ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g}
EXTRACT_SUFX?= .tar.gz
+.if defined(USE_LINUX_PREFIX)
+PREFIX= ${LINUXBASE}
+DATADIR?= ${PREFIX}/usr/share/${PORTNAME}
+DOCSDIR?= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
+NO_LICENSES_INSTALL= yes
+NO_MTREE= yes
+.endif
+
# You can force skipping these test by defining IGNORE_PATH_CHECKS
.if !defined(IGNORE_PATH_CHECKS)
.if ! ${PREFIX:M/*}
@@ -1467,6 +1427,12 @@ EXTRACT_SUFX?= .tar.gz
.endif
.endif
+DATADIR?= ${PREFIX}/share/${PORTNAME}
+DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
+ETCDIR?= ${PREFIX}/etc/${PORTNAME}
+EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
+WWWDIR?= ${PREFIX}/www/${PORTNAME}
+
# Owner and group of the WWW user
WWWOWN?= www
WWWGRP?= www
@@ -1763,65 +1729,6 @@ USE_LDCONFIG= ${PREFIX}/lib
IGNORE= has USE_LDCONFIG32 set to yes, which is not correct
.endif
-.if defined(USE_LINUX_PREFIX) && defined(USE_LDCONFIG)
-# we need ${LINUXBASE}/sbin/ldconfig
-USE_LINUX?= yes
-.endif
-
-.if defined(USE_LINUX)
-
-. if !defined(LINUX_OSRELEASE)
-LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
-. endif
-_EXPORTED_VARS+= LINUX_OSRELEASE
-
-# install(1) also does a brandelf on strip, so don't strip with FreeBSD tools.
-STRIP=
-. if exists(${LINUXBASE}/usr/bin/strip)
-STRIP_CMD= ${LINUXBASE}/usr/bin/strip
-. else
-STRIP_CMD= ${TRUE}
-. endif
-
-# Allow the user to specify another linux_base version.
-. if defined(OVERRIDE_LINUX_BASE_PORT)
-. if ${USE_LINUX:tl} == yes || (${USE_LINUX} == "c6" && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64")
-USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
-. endif
-. endif
-
-# NOTE: when you update the default linux_base version (case "yes"),
-# don't forget to update the Handbook!
-
-. if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
-LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:emulators/linux_base-${USE_LINUX}
-. else
-. if ${USE_LINUX:tl} == "yes"
-USE_LINUX= c6
-LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6
-. elif ${USE_LINUX} == "c6_64"
-LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6
-. else
-IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT
-. endif
-. endif
-
-. if ${USE_LINUX} == "c6_64" || (defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64")
-. if ${ARCH} != "amd64"
-IGNORE= Cannot install 64 bit Linux on non-64bit platforms
-. endif
-LINUX_RPM_ARCH?= x86_64
-LINUX_REPO_ARCH?= x86_64
-. elif ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes" # default to CentOS
-LINUX_RPM_ARCH?= i686
-LINUX_REPO_ARCH?= i386
-. elif ${USE_LINUX} == "f10"
-LINUX_RPM_ARCH?= i386
-LINUX_REPO_ARCH?= i386
-. endif
-RUN_DEPENDS+= ${LINUX_BASE_PORT}
-.endif
-
PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist'
_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/gbm
@@ -1910,14 +1817,6 @@ _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \
.include "${PORTSDIR}/Mk/bsd.ocaml.mk"
.endif
-.if defined(USE_LINUX_RPM)
-.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
-.endif
-
-.if defined(USE_LINUX_APPS)
-.include "${PORTSDIR}/Mk/bsd.linux-apps.mk"
-.endif
-
.if defined(USE_QT4) || defined(USE_QT5)
.include "${PORTSDIR}/Mk/bsd.qt.mk"
.endif
@@ -4469,8 +4368,9 @@ generate-plist: ${WRKDIR}
.if defined(USE_LINUX_PREFIX)
.if defined(USE_LDCONFIG)
- @${ECHO_CMD} "@postexec ${LDCONFIG_CMD}" >> ${TMPPLIST}
- @${ECHO_CMD} "@postunexec ${LDCONFIG_CMD}" >> ${TMPPLIST}
+ @${ECHO_CMD} '@preexec [ -n "`/sbin/sysctl -q compat.linux.osrelease`" ] || ( echo "Cannot install package: kernel missing Linux support"; exit 1 )' >> ${TMPPLIST}
+ @${ECHO_CMD} "@postexec ${LINUXBASE}/sbin/ldconfig" >> ${TMPPLIST}
+ @${ECHO_CMD} "@postunexec ${LINUXBASE}/sbin/ldconfig" >> ${TMPPLIST}
.endif
.else
.if defined(USE_LDCONFIG)
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 05512285ef70..82577d059b04 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -229,167 +229,23 @@ MASTER_SITE_EXIM+= \
.if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX)
MASTER_SITE_CENTOS_LINUX+= \
- http://mirror.centos.org/%SUBDIR%/ \
- http://vault.centos.org/%SUBDIR%/ \
- http://mirror.centos.org/centos/${LINUX_DIST_VER}/os/${LINUX_REPO_ARCH}/Packages/ \
- http://vault.centos.org/${LINUX_DIST_VER}/os/${LINUX_REPO_ARCH}/Packages/ \
- http://vault.centos.org/${LINUX_DIST_VER}/os/Source/SPackages/:SOURCE
-.endif
-
-.if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX)
-MASTER_SITE_CENTOS_LINUX_UPDATES+= \
- http://mirror.centos.org/centos/${LINUX_DIST_VER}/updates/${LINUX_REPO_ARCH}/Packages/ \
- http://vault.centos.org/${LINUX_DIST_VER}/updates/${LINUX_REPO_ARCH}/Packages/ \
- http://vault.centos.org/${LINUX_DIST_VER}/updates/Source/SPackages/:SOURCE
+ http://mirror.centos.org/%SUBDIR%/:DEFAULT,SOURCE \
+ http://vault.centos.org/%SUBDIR%/:DEFAULT,SOURCE
.endif
.if !defined(IGNORE_MASTER_SITE_EPEL)
MASTER_SITE_EPEL+= \
- http://dl.fedoraproject.org/pub/epel/6/${LINUX_REPO_ARCH}/ \
- http://dl.fedoraproject.org/pub/epel/6/SRPMS/:DEFAULT,SOURCE
+ http://dl.fedoraproject.org/pub/epel/6/${LINUX_ARCH}/ \
+ http://dl.fedoraproject.org/pub/epel/6/SRPMS/:SOURCE
.endif
.if !defined(IGNORE_MASTER_SITE_FEDORA_LINUX)
MASTER_SITE_FEDORA_LINUX+= \
- http://archives.fedoraproject.org/pub/archive/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.pbone.net/vol4/archive.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \
- ftp://mirror.solarvps.com/fedora/archive/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.gmd.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \
- ftp://mirror.fraunhofer.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \
- ftp://linuxsoft.cern.ch/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp-mirror.bi.fraunhofer.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \
- http://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \
- http://mirrors.kernel.org/fedora/core/%SUBDIR%/ \
- ftp://mirrors.kernel.org/fedora/core/%SUBDIR%/ \
- http://mirror.web-ster.com/fedora/core/%SUBDIR%/ \
- ftp://mirror.web-ster.com/fedora/core/%SUBDIR%/ \
- http://rpmfind.net/linux/fedora/core/%SUBDIR%/ \
- ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
- ftp://fedora.mirrors.tds.net/pub/fedora-core/%SUBDIR%/ \
- http://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.belnet.be/linux/fedora/linux/core/%SUBDIR%/ \
- http://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \
- ftp://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \
- ftp://ultra.linux.cz/pub/fedora/%SUBDIR%/ \
- http://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
- ftp://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
- http://wftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \
- ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \
- http://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://alviss.et.tudelft.nl/pub/fedora/core/%SUBDIR%/ \
- http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.surfnet.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
- http://ftp.nluug.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.nluug.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.uninett.no/pub/linux/Fedora/core/%SUBDIR%/ \
- http://ftp.man.poznan.pl/pub/linux/fedora/core/%SUBDIR%/ \
- ftp://ftp.man.poznan.pl/pub/linux/fedora/%SUBDIR%/ \
- http://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \
- ftp://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \
- ftp://ftp.kappa.ro/pub/Linux/Distributions/fedora/%SUBDIR%/ \
- http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.hostrino.com/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
- http://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \
- ftp://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \
- ftp://ftp.riken.go.jp/pub/Linux/fedora/core/%SUBDIR%/ \
- http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
- http://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://mirror.netglobalis.net/pub/fedora/%SUBDIR%/ \
- http://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \
- ftp://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \
- http://ftp.univie.ac.at/systems/linux/fedora/core/%SUBDIR%/ \
- http://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \
- http://fedora.mirror.iweb.ca/core/%SUBDIR%/ \
- ftp://fedora.mirror.iweb.ca/core/%SUBDIR%/ \
- ftp://ftp.telus.net/pub/fedora/linux/core/%SUBDIR%/ \
- http://fedora.arcticnetwork.ca/linux/core/%SUBDIR%/ \
- http://www.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.solnet.ch/mirror/fedora/linux/core/%SUBDIR%/ \
- http://mirror.karneval.cz/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.telmexchile.cl/Unix/fedora/linux/core/%SUBDIR%/ \
- http://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \
- ftp://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \
- http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \
- ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \
- http://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.uni-erlangen.de/pub/Linux/MIRROR.fedora/core/%SUBDIR%/ \
- http://ftp.uni-bayreuth.de/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.uni-bayreuth.de/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.fu-berlin.de/linux/fedora/core/%SUBDIR%/ \
- http://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.informatik.uni-frankfurt.de/pub/linux/Mirror/ftp.redhat.com/fedora/core/%SUBDIR%/ \
- http://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.univ-pau.fr/pub/mirrors/fedora/%SUBDIR%/ \
- ftp://ftp.lip6.fr/pub/linux/distributions/fedora/%SUBDIR%/ \
- http://fr.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
- http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
- http://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \
- ftp://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \
- http://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \
- ftp://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \
- http://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
- ftp://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
- http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/%SUBDIR%/ \
- http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \
- http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
- ftp://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
- http://ftp.riken.jp/Linux/fedora/core/%SUBDIR%/ \
- ftp://ftp.kreonet.re.kr/pub/Linux/fedora/core/%SUBDIR%/ \
- ftp://fedora.ifc.unam.mx/linux/fedora/core/%SUBDIR%/ \
- ftp://ftp.quicknet.nl/pub/Linux/download.fedora.redhat.com/core/%SUBDIR%/ \
- ftp://ftp.uib.no/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.tpnet.pl/d17/fedora/%SUBDIR%/ \
- http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.pbone.net/pub/fedora/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
- ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/%SUBDIR%/ \
- http://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.rdsor.ro/pub/Linux/Distributions/Fedora/%SUBDIR%/ \
- http://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \
- http://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \
- http://ftp.port80.se/fedora/core/%SUBDIR%/ \
- ftp://ftp.port80.se/fedora/core/%SUBDIR%/ \
- http://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.tlk-l.net/pub/mirrors/fedora.redhat.com/linux/core/%SUBDIR%/ \
- http://limestone.uoregon.edu/ftp/fedora/%SUBDIR%/ \
- ftp://limestone.uoregon.edu/fedora/%SUBDIR%/ \
- ftp://fedora.bu.edu/core/%SUBDIR%/ \
- http://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \
- ftp://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \
- ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/core/%SUBDIR%/ \
- ftp://ftp.applios.net/pub/fedora/linux/core/%SUBDIR%/ \
- http://mirror.steadfast.net/fedora/core/%SUBDIR%/ \
- http://mirror.eas.muohio.edu/fedora/linux/core/%SUBDIR%/ \
- http://mirror.engr.sjsu.edu/pub/fedora/linux/core/%SUBDIR%/ \
- http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
- ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
- http://mirror.cogentco.com/pub/linux/fedora/linux/core/%SUBDIR%/ \
- http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
- ftp://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/
+ http://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
+ ftp://ftp.pbone.net/vol4/archive.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
+ ftp://ftp.gmd.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
+ ftp://mirror.fraunhofer.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
+ ftp://ftp-mirror.bi.fraunhofer.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE
.endif
.if !defined(IGNORE_MASTER_SITE_FARSIGHT)