Add a shortcut to a local Slackware repo.
authorSteve Youngs <steve@steveyoungs.com>
Wed, 20 Jan 2021 05:37:13 +0000 (15:37 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Wed, 20 Jan 2021 05:37:13 +0000 (15:37 +1000)
Just a convenient way to get to Slackware patches.

* etc/pkgusr/bash_profile (SLACKPKG): New.  It points to a local
Slackware source repo.

Signed-off-by: Steve Youngs <steve@steveyoungs.com>
etc/pkgusr/bash_profile

index f1997e8..cc5895b 100644 (file)
@@ -54,9 +54,21 @@ SUPPRESSLOCALEDIR=1
 #  Override this in ~/.pkgusrrc.
 CHECKUPDATES=1
 
+## Slackware PKG local repo
+#  Having a shortcut to a local Slackware PKG repo is very useful.
+#  Pat Volkerding and his team are of a minority who actually know
+#  what they are doing.  I always check Slackware for patches.
+#
+#  I get the Slack source via rsync.
+#  See https://mirrors.slackware.com/mirrorlist/
+#
+#  Use:  find ${SLACKPKG} -iname pkgname\*
+SLACKPKG=/home/steve/download/Slackware/slackware64-current/source
+#  Obviously edit to suit your situation
+
 ### export everything
 export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
-export SUPPRESSLOCALEDIR CHECKUPDATES
+export SUPPRESSLOCALEDIR CHECKUPDATES SLACKPKG
 
 # Make prompt reflect that we are a package user.
 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'