changeset 22:864971f5cddd

Renamed FreeBSDPorts to LocalBSDPorts. This makes for better searching.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 06 Nov 2017 12:32:34 +0100
parents 441e007426e7
children 242055572964
files bin/check-ports
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/bin/check-ports	Sun Oct 29 19:22:43 2017 +0100
+++ b/bin/check-ports	Mon Nov 06 12:32:34 2017 +0100
@@ -19,7 +19,7 @@
 # but newer than the packages in the "FreeBSD" repository.
 # Some sort of a fast-track repository.
 #
-: ${FREEBSDPORTS_REPO:=FreeBSDPorts}
+: ${LOCAL_BSDPORTS_REPO:=LocalBSDPorts}
 #
 # The official FreeBSD binary repository
 #
@@ -102,7 +102,7 @@
 }
 
 alldata_flag=""
-alldata_FreeBSDPorts_flag=""
+alldata_LocalBSDPorts_flag=""
 alldata_LocalRepo_flag=""
 verbose_flag=""
 
@@ -110,7 +110,7 @@
     case ${_opt} in
 	A)
 	    alldata_flag=1
-	    alldata_FreeBSDPorts_flag=1
+	    alldata_LocalBSDPorts_flag=1
 	    alldata_LocalRepo_flag=1
 	    ;;
 	a)
@@ -133,7 +133,7 @@
 installed_data="$(pkg query '%n %v %R' $installed_packages)"
 
 get_remote_repo_versions ${LOCAL_REPO}
-get_remote_repo_versions ${FREEBSDPORTS_REPO}
+get_remote_repo_versions ${LOCAL_BSDPORTS_REPO}
 get_remote_repo_versions ${FREEBSD_REPO}
 get_local_index_versions
 
@@ -150,17 +150,17 @@
 	exit 1
     fi
     get_remote_repo_data ${LOCAL_REPO} ${_installed_name}
-    get_remote_repo_data ${FREEBSDPORTS_REPO} ${_installed_name}
+    get_remote_repo_data ${LOCAL_BSDPORTS_REPO} ${_installed_name}
     get_remote_repo_data ${FREEBSD_REPO} ${_installed_name}
     get_repo_for_package ${_installed_name}
-    if [ \( -n "${alldata_flag}" \) -o \( ${llabel} != '?' -a ${llabel} != '=' \) -o \( ${remote_FreeBSD_label} != '?' -a ${remote_FreeBSD_label} != '=' \) -o \( ${remote_FreeBSDPorts_label} != '?' -a ${remote_FreeBSDPorts_label} != '=' \) -o \( ${remote_LocalRepo_label} != '?' -a ${remote_LocalRepo_label} != '=' \) ] ; then
+    if [ \( -n "${alldata_flag}" \) -o \( ${llabel} != '?' -a ${llabel} != '=' \) -o \( ${remote_FreeBSD_label} != '?' -a ${remote_FreeBSD_label} != '=' \) -o \( ${remote_LocalBSDPorts_label} != '?' -a ${remote_LocalBSDPorts_label} != '=' \) -o \( ${remote_LocalRepo_label} != '?' -a ${remote_LocalRepo_label} != '=' \) ] ; then
 	if [ -z "${_title_printed}" ] ; then
 	    echo "${lfqp}    (${repository})"
 	fi
 	echo "   INDEX: ${llabel} ${ldescr}"
 	echo "   FreeBSD: ${remote_FreeBSD_label} ${remote_FreeBSD_descr}"
-	if [ \( -n "${alldata_FreeBSDPorts_flag}" \) -o \( ${remote_FreeBSDPorts_label} != '?' \) ] ; then
-	    echo "   FreeBSDPorts: ${remote_FreeBSDPorts_label} ${remote_FreeBSDPorts_descr}"
+	if [ \( -n "${alldata_LocalBSDPorts_flag}" \) -o \( ${remote_LocalBSDPorts_label} != '?' \) ] ; then
+	    echo "   LocalBSDPorts: ${remote_LocalBSDPorts_label} ${remote_LocalBSDPorts_descr}"
 	fi
 	if [ \( -n "${alldata_LocalRepo_flag}" \) -o \( ${remote_LocalRepo_label} != '?' \) ] ; then
 	    echo "   LocalRepo: ${remote_LocalRepo_label} ${remote_LocalRepo_descr}"