diff options
Diffstat (limited to 'slackware64-current/source/n')
145 files changed, 214 insertions, 146 deletions
diff --git a/slackware64-current/source/n/ModemManager/ModemManager.SlackBuild b/slackware64-current/source/n/ModemManager/ModemManager.SlackBuild index 090fdfaf2..414b537e7 100755 --- a/slackware64-current/source/n/ModemManager/ModemManager.SlackBuild +++ b/slackware64-current/source/n/ModemManager/ModemManager.SlackBuild @@ -24,6 +24,8 @@ # Modified by Eric Hameleers, Eindhoven, NL +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ModemManager VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/slackware64-current/source/n/NetworkManager/NetworkManager.SlackBuild b/slackware64-current/source/n/NetworkManager/NetworkManager.SlackBuild index 902cdf3b8..b6f7af12d 100755 --- a/slackware64-current/source/n/NetworkManager/NetworkManager.SlackBuild +++ b/slackware64-current/source/n/NetworkManager/NetworkManager.SlackBuild @@ -23,6 +23,8 @@ # Modified 2011, 2012 by Eric Hameleers, Eindhoven, NL +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=NetworkManager VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -41,7 +43,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/slackware64-current/source/n/alpine/alpine.SlackBuild b/slackware64-current/source/n/alpine/alpine.SlackBuild index 4f3e9ee16..e56fadbf3 100755 --- a/slackware64-current/source/n/alpine/alpine.SlackBuild +++ b/slackware64-current/source/n/alpine/alpine.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=alpine VERSION=${VERSION:-2.21} @@ -40,7 +41,6 @@ fi # We don't use this below as it breaks the build. NUMJOBS=${NUMJOBS:-" -j6 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/autofs/autofs.SlackBuild b/slackware64-current/source/n/autofs/autofs.SlackBuild index 285a0da02..e221ac58c 100755 --- a/slackware64-current/source/n/autofs/autofs.SlackBuild +++ b/slackware64-current/source/n/autofs/autofs.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=autofs VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -51,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/biff+comsat/biff+comsat.SlackBuild b/slackware64-current/source/n/biff+comsat/biff+comsat.SlackBuild index 232877869..f624296a0 100755 --- a/slackware64-current/source/n/biff+comsat/biff+comsat.SlackBuild +++ b/slackware64-current/source/n/biff+comsat/biff+comsat.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=0.17 BUILD=${BUILD:-1} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-biff+comsat diff --git a/slackware64-current/source/n/bind/bind.SlackBuild b/slackware64-current/source/n/bind/bind.SlackBuild index 50f12fbc8..1608cb932 100755 --- a/slackware64-current/source/n/bind/bind.SlackBuild +++ b/slackware64-current/source/n/bind/bind.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=bind VERSION=${VERSION:-9.11.3} @@ -37,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/bluez-firmware/bluez-firmware.SlackBuild b/slackware64-current/source/n/bluez-firmware/bluez-firmware.SlackBuild index 3f0e76a37..d77ab1f91 100755 --- a/slackware64-current/source/n/bluez-firmware/bluez-firmware.SlackBuild +++ b/slackware64-current/source/n/bluez-firmware/bluez-firmware.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=bluez-firmware VERSION=${VERSION:-1.2} @@ -47,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/bluez/bluez.SlackBuild b/slackware64-current/source/n/bluez/bluez.SlackBuild index f7b79c92d..64ada5dbc 100755 --- a/slackware64-current/source/n/bluez/bluez.SlackBuild +++ b/slackware64-current/source/n/bluez/bluez.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=bluez VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/bootp/bootp.SlackBuild b/slackware64-current/source/n/bootp/bootp.SlackBuild index add952a59..00bad391b 100755 --- a/slackware64-current/source/n/bootp/bootp.SlackBuild +++ b/slackware64-current/source/n/bootp/bootp.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=${VERSION:-2.4.3} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-bootp diff --git a/slackware64-current/source/n/bridge-utils/bridge-utils.SlackBuild b/slackware64-current/source/n/bridge-utils/bridge-utils.SlackBuild index 4431da200..46818ae7a 100755 --- a/slackware64-current/source/n/bridge-utils/bridge-utils.SlackBuild +++ b/slackware64-current/source/n/bridge-utils/bridge-utils.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=bridge-utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/bsd-finger/bsd-finger.SlackBuild b/slackware64-current/source/n/bsd-finger/bsd-finger.SlackBuild index 07fc53d64..10e24b416 100755 --- a/slackware64-current/source/n/bsd-finger/bsd-finger.SlackBuild +++ b/slackware64-current/source/n/bsd-finger/bsd-finger.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=bsd-finger VERSION=${VERSION:-$(echo $PKGNAM-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then export ARCH fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-bsd-finger diff --git a/slackware64-current/source/n/ca-certificates/ca-certificates.SlackBuild b/slackware64-current/source/n/ca-certificates/ca-certificates.SlackBuild index 819cbdec8..e8ea3c23a 100755 --- a/slackware64-current/source/n/ca-certificates/ca-certificates.SlackBuild +++ b/slackware64-current/source/n/ca-certificates/ca-certificates.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ca-certificates VERSION=${VERSION:-20170717} ARCH=noarch @@ -30,7 +32,6 @@ BUILD=${BUILD:-1} TARVERSION=${VERSION} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/cifs-utils/cifs-utils.SlackBuild b/slackware64-current/source/n/cifs-utils/cifs-utils.SlackBuild index e4020c2c9..4ff34c2bb 100755 --- a/slackware64-current/source/n/cifs-utils/cifs-utils.SlackBuild +++ b/slackware64-current/source/n/cifs-utils/cifs-utils.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=cifs-utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -61,7 +62,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/conntrack-tools/conntrack-tools.SlackBuild b/slackware64-current/source/n/conntrack-tools/conntrack-tools.SlackBuild index 2af5957e3..e039e97ef 100755 --- a/slackware64-current/source/n/conntrack-tools/conntrack-tools.SlackBuild +++ b/slackware64-current/source/n/conntrack-tools/conntrack-tools.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=conntrack-tools VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/crda/crda.SlackBuild b/slackware64-current/source/n/crda/crda.SlackBuild index 368b0f895..958f01bc1 100755 --- a/slackware64-current/source/n/crda/crda.SlackBuild +++ b/slackware64-current/source/n/crda/crda.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-3.18} BUILD=${BUILD:-5} @@ -37,7 +38,6 @@ fi REGDBVERS=2017.12.23 -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-crda diff --git a/slackware64-current/source/n/curl/curl.SlackBuild b/slackware64-current/source/n/curl/curl.SlackBuild index 42020b33f..24d640de1 100755 --- a/slackware64-current/source/n/curl/curl.SlackBuild +++ b/slackware64-current/source/n/curl/curl.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=curl VERSION=${VERSION:-$(echo curl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -37,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-curl diff --git a/slackware64-current/source/n/cyrus-sasl/cyrus-sasl.SlackBuild b/slackware64-current/source/n/cyrus-sasl/cyrus-sasl.SlackBuild index 0337f792f..8d4761ccf 100755 --- a/slackware64-current/source/n/cyrus-sasl/cyrus-sasl.SlackBuild +++ b/slackware64-current/source/n/cyrus-sasl/cyrus-sasl.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=cyrus-sasl VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-3} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-cyrus-sasl diff --git a/slackware64-current/source/n/dhcp/dhcp.SlackBuild b/slackware64-current/source/n/dhcp/dhcp.SlackBuild index b27054225..53bcbfadb 100755 --- a/slackware64-current/source/n/dhcp/dhcp.SlackBuild +++ b/slackware64-current/source/n/dhcp/dhcp.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=dhcp # Leave this one .gz as other compressors do not help much and we can keep @@ -41,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-dhcp diff --git a/slackware64-current/source/n/dhcpcd/dhcpcd.SlackBuild b/slackware64-current/source/n/dhcpcd/dhcpcd.SlackBuild index 23ac360b3..2017e781d 100755 --- a/slackware64-current/source/n/dhcpcd/dhcpcd.SlackBuild +++ b/slackware64-current/source/n/dhcpcd/dhcpcd.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo dhcpcd-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-dhcpcd diff --git a/slackware64-current/source/n/dnsmasq/dnsmasq-2.78.tar.xz.asc b/slackware64-current/source/n/dnsmasq/dnsmasq-2.78.tar.xz.asc deleted file mode 100644 index d99028b15..000000000 --- a/slackware64-current/source/n/dnsmasq/dnsmasq-2.78.tar.xz.asc +++ /dev/null @@ -1 +0,0 @@ -54648db46cfd7cc1c12eb874a3e0feaceba9c290 diff --git a/slackware64-current/source/n/dnsmasq/dnsmasq-2.79.tar.xz.asc b/slackware64-current/source/n/dnsmasq/dnsmasq-2.79.tar.xz.asc new file mode 100644 index 000000000..a60b7f28c --- /dev/null +++ b/slackware64-current/source/n/dnsmasq/dnsmasq-2.79.tar.xz.asc @@ -0,0 +1 @@ +b9ab3aa31edc5e6ffc291d60fc954c8a518baf84 diff --git a/slackware64-current/source/n/dnsmasq/dnsmasq.SlackBuild b/slackware64-current/source/n/dnsmasq/dnsmasq.SlackBuild index e5d11b21e..12f18d84f 100755 --- a/slackware64-current/source/n/dnsmasq/dnsmasq.SlackBuild +++ b/slackware64-current/source/n/dnsmasq/dnsmasq.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo dnsmasq-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-dnsmasq diff --git a/slackware64-current/source/n/dovecot/dovecot.SlackBuild b/slackware64-current/source/n/dovecot/dovecot.SlackBuild index c8a5d1962..d31d6ee4c 100755 --- a/slackware64-current/source/n/dovecot/dovecot.SlackBuild +++ b/slackware64-current/source/n/dovecot/dovecot.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=dovecot VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -36,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/slackware64-current/source/n/ebtables/ebtables.SlackBuild b/slackware64-current/source/n/ebtables/ebtables.SlackBuild index d14c932de..fc1f3c6e9 100755 --- a/slackware64-current/source/n/ebtables/ebtables.SlackBuild +++ b/slackware64-current/source/n/ebtables/ebtables.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ebtables VERSION=${VERSION:-2.0.10} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/elm/elm.SlackBuild b/slackware64-current/source/n/elm/elm.SlackBuild index d9cddcedc..5af435aab 100755 --- a/slackware64-current/source/n/elm/elm.SlackBuild +++ b/slackware64-current/source/n/elm/elm.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=2.5.8 BUILD=${BUILD:-4} @@ -39,7 +41,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-elm diff --git a/slackware64-current/source/n/epic5/epic5.SlackBuild b/slackware64-current/source/n/epic5/epic5.SlackBuild index 0b303c17d..2482ad9a4 100755 --- a/slackware64-current/source/n/epic5/epic5.SlackBuild +++ b/slackware64-current/source/n/epic5/epic5.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=epic5 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} EPICVER=5 @@ -52,7 +54,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-epic${EPICVER} diff --git a/slackware64-current/source/n/ethtool/ethtool.SlackBuild b/slackware64-current/source/n/ethtool/ethtool.SlackBuild index 2abcec898..1e8de352a 100755 --- a/slackware64-current/source/n/ethtool/ethtool.SlackBuild +++ b/slackware64-current/source/n/ethtool/ethtool.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ethtool VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -35,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-ethtool diff --git a/slackware64-current/source/n/fetchmail/fetchmail.SlackBuild b/slackware64-current/source/n/fetchmail/fetchmail.SlackBuild index 14c867daa..6985aaed8 100755 --- a/slackware64-current/source/n/fetchmail/fetchmail.SlackBuild +++ b/slackware64-current/source/n/fetchmail/fetchmail.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=fetchmail VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -46,7 +48,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-fetchmail diff --git a/slackware64-current/source/n/getmail/getmail.SlackBuild b/slackware64-current/source/n/getmail/getmail.SlackBuild index b42effe4c..39307c5dd 100755 --- a/slackware64-current/source/n/getmail/getmail.SlackBuild +++ b/slackware64-current/source/n/getmail/getmail.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=${VERSION:-$(echo getmail-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-getmail rm -rf $PKG diff --git a/slackware64-current/source/n/gnupg/gnupg.SlackBuild b/slackware64-current/source/n/gnupg/gnupg.SlackBuild index de2228adc..9940d2941 100755 --- a/slackware64-current/source/n/gnupg/gnupg.SlackBuild +++ b/slackware64-current/source/n/gnupg/gnupg.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=gnupg VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-gnupg diff --git a/slackware64-current/source/n/gnupg2/gnupg2.SlackBuild b/slackware64-current/source/n/gnupg2/gnupg2.SlackBuild index 24ed828d5..c43330b66 100755 --- a/slackware64-current/source/n/gnupg2/gnupg2.SlackBuild +++ b/slackware64-current/source/n/gnupg2/gnupg2.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gnupg2 VERSION=${VERSION:-$(echo gnupg-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -38,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-gnupg2 diff --git a/slackware64-current/source/n/gnutls/gnutls.SlackBuild b/slackware64-current/source/n/gnutls/gnutls.SlackBuild index a45a035e9..740077583 100755 --- a/slackware64-current/source/n/gnutls/gnutls.SlackBuild +++ b/slackware64-current/source/n/gnutls/gnutls.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gnutls VERSION=${VERSION:-$(echo gnutls-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -51,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM rm -rf $PKG diff --git a/slackware64-current/source/n/gpa/gpa.SlackBuild b/slackware64-current/source/n/gpa/gpa.SlackBuild index 8492a4143..0103ba980 100755 --- a/slackware64-current/source/n/gpa/gpa.SlackBuild +++ b/slackware64-current/source/n/gpa/gpa.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gpa VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -38,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/gpgme/gpgme.SlackBuild b/slackware64-current/source/n/gpgme/gpgme.SlackBuild index b1c1eaa97..5f32bcce8 100755 --- a/slackware64-current/source/n/gpgme/gpgme.SlackBuild +++ b/slackware64-current/source/n/gpgme/gpgme.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=gpgme VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/htdig/htdig.SlackBuild b/slackware64-current/source/n/htdig/htdig.SlackBuild index 04994c212..a3af98dc1 100755 --- a/slackware64-current/source/n/htdig/htdig.SlackBuild +++ b/slackware64-current/source/n/htdig/htdig.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=htdig VERSION=${VERSION:-3.2.0b6} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/httpd/httpd.SlackBuild b/slackware64-current/source/n/httpd/httpd.SlackBuild index 12ef5fcfa..decce4b62 100755 --- a/slackware64-current/source/n/httpd/httpd.SlackBuild +++ b/slackware64-current/source/n/httpd/httpd.SlackBuild @@ -23,6 +23,7 @@ # This script was written using the one from slackbuilds.org as a reference, # so thanks to Adis Nezirovic ( adis _at_ linux.org.ba ) for the original work. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=httpd VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -40,7 +41,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/icmpinfo/icmpinfo.SlackBuild b/slackware64-current/source/n/icmpinfo/icmpinfo.SlackBuild index fb1f90238..60c267c4b 100755 --- a/slackware64-current/source/n/icmpinfo/icmpinfo.SlackBuild +++ b/slackware64-current/source/n/icmpinfo/icmpinfo.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=1.11 BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-icmpinfo diff --git a/slackware64-current/source/n/iftop/iftop.SlackBuild b/slackware64-current/source/n/iftop/iftop.SlackBuild index 36d510473..1eb7e1670 100755 --- a/slackware64-current/source/n/iftop/iftop.SlackBuild +++ b/slackware64-current/source/n/iftop/iftop.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=iftop VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -37,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/inetd/inetd.SlackBuild b/slackware64-current/source/n/inetd/inetd.SlackBuild index 524b143a1..b9a1c0594 100755 --- a/slackware64-current/source/n/inetd/inetd.SlackBuild +++ b/slackware64-current/source/n/inetd/inetd.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=1.79s BUILD=${BUILD:-10} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-inetd diff --git a/slackware64-current/source/n/iproute2/iproute2.SlackBuild b/slackware64-current/source/n/iproute2/iproute2.SlackBuild index a0298b587..3154db72f 100755 --- a/slackware64-current/source/n/iproute2/iproute2.SlackBuild +++ b/slackware64-current/source/n/iproute2/iproute2.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=iproute2 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-iproute2 diff --git a/slackware64-current/source/n/ipset/ipset.SlackBuild b/slackware64-current/source/n/ipset/ipset.SlackBuild index 13b4e408d..c83df344c 100755 --- a/slackware64-current/source/n/ipset/ipset.SlackBuild +++ b/slackware64-current/source/n/ipset/ipset.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ipset VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -53,7 +55,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/iptables/iptables.SlackBuild b/slackware64-current/source/n/iptables/iptables.SlackBuild index 34465055d..e9216bd0c 100755 --- a/slackware64-current/source/n/iptables/iptables.SlackBuild +++ b/slackware64-current/source/n/iptables/iptables.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=${VERSION:-$(echo iptables-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-iptables diff --git a/slackware64-current/source/n/iptraf-ng/iptraf-ng.SlackBuild b/slackware64-current/source/n/iptraf-ng/iptraf-ng.SlackBuild index 45ef1f35f..1b432e89c 100755 --- a/slackware64-current/source/n/iptraf-ng/iptraf-ng.SlackBuild +++ b/slackware64-current/source/n/iptraf-ng/iptraf-ng.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=iptraf-ng VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -51,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/iputils/iputils.SlackBuild b/slackware64-current/source/n/iputils/iputils.SlackBuild index c6a8f6967..ddf7106b2 100755 --- a/slackware64-current/source/n/iputils/iputils.SlackBuild +++ b/slackware64-current/source/n/iputils/iputils.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=s20140519 BUILD=${BUILD:-1} @@ -45,7 +47,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-iputils diff --git a/slackware64-current/source/n/ipw2100-fw/ipw2100-fw.SlackBuild b/slackware64-current/source/n/ipw2100-fw/ipw2100-fw.SlackBuild index 6ef7bfb6e..9727f11b4 100755 --- a/slackware64-current/source/n/ipw2100-fw/ipw2100-fw.SlackBuild +++ b/slackware64-current/source/n/ipw2100-fw/ipw2100-fw.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ipw2100-fw VERSION=${VERSION:-1.3} @@ -27,7 +28,6 @@ ARCH=${ARCH:-fw} BUILD=${BUILD:-1} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/ipw2200-fw/ipw2200-fw.SlackBuild b/slackware64-current/source/n/ipw2200-fw/ipw2200-fw.SlackBuild index e6c5a3141..edfc8cb06 100755 --- a/slackware64-current/source/n/ipw2200-fw/ipw2200-fw.SlackBuild +++ b/slackware64-current/source/n/ipw2200-fw/ipw2200-fw.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ipw2200-fw VERSION=${VERSION:-3.1} @@ -27,7 +28,6 @@ ARCH=${ARCH:-fw} BUILD=${BUILD:-1} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/irssi/irssi.SlackBuild b/slackware64-current/source/n/irssi/irssi.SlackBuild index 2277664d0..8a8aa3106 100755 --- a/slackware64-current/source/n/irssi/irssi.SlackBuild +++ b/slackware64-current/source/n/irssi/irssi.SlackBuild @@ -20,8 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-irssi diff --git a/slackware64-current/source/n/iw/iw.SlackBuild b/slackware64-current/source/n/iw/iw.SlackBuild index 6ccba9cd0..b38e18923 100755 --- a/slackware64-current/source/n/iw/iw.SlackBuild +++ b/slackware64-current/source/n/iw/iw.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=iw VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -38,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/lftp/lftp.SlackBuild b/slackware64-current/source/n/lftp/lftp.SlackBuild index b1aad69fe..abeed8e68 100755 --- a/slackware64-current/source/n/lftp/lftp.SlackBuild +++ b/slackware64-current/source/n/lftp/lftp.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo lftp-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-lftp diff --git a/slackware64-current/source/n/libassuan/libassuan.SlackBuild b/slackware64-current/source/n/libassuan/libassuan.SlackBuild index c75100b8a..1280817ce 100755 --- a/slackware64-current/source/n/libassuan/libassuan.SlackBuild +++ b/slackware64-current/source/n/libassuan/libassuan.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libassuan VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libgcrypt/libgcrypt.SlackBuild b/slackware64-current/source/n/libgcrypt/libgcrypt.SlackBuild index 189a01658..d2dd54d72 100755 --- a/slackware64-current/source/n/libgcrypt/libgcrypt.SlackBuild +++ b/slackware64-current/source/n/libgcrypt/libgcrypt.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libgcrypt VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -38,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libgpg-error/libgpg-error.SlackBuild b/slackware64-current/source/n/libgpg-error/libgpg-error.SlackBuild index 2c85d90cf..6b2936b1a 100755 --- a/slackware64-current/source/n/libgpg-error/libgpg-error.SlackBuild +++ b/slackware64-current/source/n/libgpg-error/libgpg-error.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libgpg-error VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -38,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libksba/libksba.SlackBuild b/slackware64-current/source/n/libksba/libksba.SlackBuild index 6408fb4d3..5a4c4228b 100755 --- a/slackware64-current/source/n/libksba/libksba.SlackBuild +++ b/slackware64-current/source/n/libksba/libksba.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libksba VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libmbim/libmbim.SlackBuild b/slackware64-current/source/n/libmbim/libmbim.SlackBuild index fc56327f9..6b2109977 100755 --- a/slackware64-current/source/n/libmbim/libmbim.SlackBuild +++ b/slackware64-current/source/n/libmbim/libmbim.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libmbim VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -52,7 +54,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libmilter/libmilter.SlackBuild b/slackware64-current/source/n/libmilter/libmilter.SlackBuild index 6040c2c5f..fab6916a6 100755 --- a/slackware64-current/source/n/libmilter/libmilter.SlackBuild +++ b/slackware64-current/source/n/libmilter/libmilter.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libmilter VERSION=${VERSION:-8.15.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libmnl/libmnl.SlackBuild b/slackware64-current/source/n/libmnl/libmnl.SlackBuild index c26a9187e..a3461bdfb 100755 --- a/slackware64-current/source/n/libmnl/libmnl.SlackBuild +++ b/slackware64-current/source/n/libmnl/libmnl.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libmnl VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -53,7 +55,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libndp/libndp.SlackBuild b/slackware64-current/source/n/libndp/libndp.SlackBuild index c29cbda4a..239a74618 100755 --- a/slackware64-current/source/n/libndp/libndp.SlackBuild +++ b/slackware64-current/source/n/libndp/libndp.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libndp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_acct/libnetfilter_acct.SlackBuild b/slackware64-current/source/n/libnetfilter_acct/libnetfilter_acct.SlackBuild index 82187b8c9..4340634e4 100755 --- a/slackware64-current/source/n/libnetfilter_acct/libnetfilter_acct.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_acct/libnetfilter_acct.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_acct VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_conntrack/libnetfilter_conntrack.SlackBuild b/slackware64-current/source/n/libnetfilter_conntrack/libnetfilter_conntrack.SlackBuild index 29f58a239..51c0a1699 100755 --- a/slackware64-current/source/n/libnetfilter_conntrack/libnetfilter_conntrack.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_conntrack/libnetfilter_conntrack.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_conntrack VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_cthelper/libnetfilter_cthelper.SlackBuild b/slackware64-current/source/n/libnetfilter_cthelper/libnetfilter_cthelper.SlackBuild index 51ec1745a..c2a4f850e 100755 --- a/slackware64-current/source/n/libnetfilter_cthelper/libnetfilter_cthelper.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_cthelper/libnetfilter_cthelper.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_cthelper VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_cttimeout/libnetfilter_cttimeout.SlackBuild b/slackware64-current/source/n/libnetfilter_cttimeout/libnetfilter_cttimeout.SlackBuild index c11231d2e..775eb3917 100755 --- a/slackware64-current/source/n/libnetfilter_cttimeout/libnetfilter_cttimeout.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_cttimeout/libnetfilter_cttimeout.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_cttimeout VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_log/libnetfilter_log.SlackBuild b/slackware64-current/source/n/libnetfilter_log/libnetfilter_log.SlackBuild index 88a01a64b..e959df5f6 100755 --- a/slackware64-current/source/n/libnetfilter_log/libnetfilter_log.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_log/libnetfilter_log.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_log VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnetfilter_queue/libnetfilter_queue.SlackBuild b/slackware64-current/source/n/libnetfilter_queue/libnetfilter_queue.SlackBuild index 1d02cc7f0..9e8c0307d 100755 --- a/slackware64-current/source/n/libnetfilter_queue/libnetfilter_queue.SlackBuild +++ b/slackware64-current/source/n/libnetfilter_queue/libnetfilter_queue.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnetfilter_queue VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnfnetlink/libnfnetlink.SlackBuild b/slackware64-current/source/n/libnfnetlink/libnfnetlink.SlackBuild index cbbb3e8d7..7cd66aad6 100755 --- a/slackware64-current/source/n/libnfnetlink/libnfnetlink.SlackBuild +++ b/slackware64-current/source/n/libnfnetlink/libnfnetlink.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnfnetlink VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libnftnl/libnftnl.SlackBuild b/slackware64-current/source/n/libnftnl/libnftnl.SlackBuild index 8a64ec7b8..7f93fcb90 100755 --- a/slackware64-current/source/n/libnftnl/libnftnl.SlackBuild +++ b/slackware64-current/source/n/libnftnl/libnftnl.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libnftnl VERSION=${VERSION:-$(echo $PKGNAM-*.tar.lz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libqmi/libqmi.SlackBuild b/slackware64-current/source/n/libqmi/libqmi.SlackBuild index fec458bfa..5f6abd53f 100755 --- a/slackware64-current/source/n/libqmi/libqmi.SlackBuild +++ b/slackware64-current/source/n/libqmi/libqmi.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libqmi VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -52,7 +54,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/libtirpc/libtirpc.SlackBuild b/slackware64-current/source/n/libtirpc/libtirpc.SlackBuild index efd1028f4..5852984e1 100755 --- a/slackware64-current/source/n/libtirpc/libtirpc.SlackBuild +++ b/slackware64-current/source/n/libtirpc/libtirpc.SlackBuild @@ -26,6 +26,8 @@ # Remark: Kerberos 5, remove '--disable-gssapi' from the configure flags # Remark: below and rebuild. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=libtirpc VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -73,7 +75,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/links/links.SlackBuild b/slackware64-current/source/n/links/links.SlackBuild index 77a639cb3..0bce76d6c 100755 --- a/slackware64-current/source/n/links/links.SlackBuild +++ b/slackware64-current/source/n/links/links.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=links VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -36,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-links diff --git a/slackware64-current/source/n/lynx/lynx.SlackBuild b/slackware64-current/source/n/lynx/lynx.SlackBuild index 600782563..1d70ff025 100755 --- a/slackware64-current/source/n/lynx/lynx.SlackBuild +++ b/slackware64-current/source/n/lynx/lynx.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGVER=2.8.8rel.2 DIRVER=2-8-8 @@ -51,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-lynx diff --git a/slackware64-current/source/n/mailx/mailx.SlackBuild b/slackware64-current/source/n/mailx/mailx.SlackBuild index 1495b41ed..8f6685dd9 100755 --- a/slackware64-current/source/n/mailx/mailx.SlackBuild +++ b/slackware64-current/source/n/mailx/mailx.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=12.5 BUILD=${BUILD:-2} @@ -46,7 +47,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-mailx rm -rf $PKG diff --git a/slackware64-current/source/n/mcabber/mcabber.SlackBuild b/slackware64-current/source/n/mcabber/mcabber.SlackBuild index c503510d2..886f1d665 100755 --- a/slackware64-current/source/n/mcabber/mcabber.SlackBuild +++ b/slackware64-current/source/n/mcabber/mcabber.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mcabber VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -37,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/metamail/metamail.SlackBuild b/slackware64-current/source/n/metamail/metamail.SlackBuild index 0e42e5afb..f5360b96d 100755 --- a/slackware64-current/source/n/metamail/metamail.SlackBuild +++ b/slackware64-current/source/n/metamail/metamail.SlackBuild @@ -21,6 +21,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=2.7 BUILD=${BUILD:-6} @@ -56,7 +58,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-metamail diff --git a/slackware64-current/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild b/slackware64-current/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild index 88548ee04..bde78e756 100755 --- a/slackware64-current/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild +++ b/slackware64-current/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild @@ -24,6 +24,8 @@ # Modified 2011, 2012 by Eric Hameleers, Eindhoven, NL +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=mobile-broadband-provider-info VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/slackware64-current/source/n/mtr/mtr.SlackBuild b/slackware64-current/source/n/mtr/mtr.SlackBuild index b5f1aa0b0..a7cf588dd 100755 --- a/slackware64-current/source/n/mtr/mtr.SlackBuild +++ b/slackware64-current/source/n/mtr/mtr.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mtr VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -48,7 +49,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM rm -rf $PKG diff --git a/slackware64-current/source/n/mutt/mutt.SlackBuild b/slackware64-current/source/n/mutt/mutt.SlackBuild index 730ae6112..37dac24e4 100755 --- a/slackware64-current/source/n/mutt/mutt.SlackBuild +++ b/slackware64-current/source/n/mutt/mutt.SlackBuild @@ -19,6 +19,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=mutt VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then fi TMP=${TMP:-/tmp} -CWD=$(pwd) NUMJOBS=${NUMJOBS:-" -j7 "} if [ "$ARCH" = "i486" ]; then diff --git a/slackware64-current/source/n/nc/nc.SlackBuild b/slackware64-current/source/n/nc/nc.SlackBuild index 2f862018f..582da0894 100755 --- a/slackware64-current/source/n/nc/nc.SlackBuild +++ b/slackware64-current/source/n/nc/nc.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=1.10 SRCVER=110 @@ -45,7 +46,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-nc rm -rf $PKG diff --git a/slackware64-current/source/n/ncftp/ncftp.SlackBuild b/slackware64-current/source/n/ncftp/ncftp.SlackBuild index 9b7777b19..71bb65322 100755 --- a/slackware64-current/source/n/ncftp/ncftp.SlackBuild +++ b/slackware64-current/source/n/ncftp/ncftp.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ncftp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 2 -d - | rev)} @@ -47,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-ncftp rm -rf $PKG diff --git a/slackware64-current/source/n/net-snmp/net-snmp.SlackBuild b/slackware64-current/source/n/net-snmp/net-snmp.SlackBuild index b4a3aef98..36da7753e 100755 --- a/slackware64-current/source/n/net-snmp/net-snmp.SlackBuild +++ b/slackware64-current/source/n/net-snmp/net-snmp.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=net-snmp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -35,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/net-tools/net-tools.SlackBuild b/slackware64-current/source/n/net-tools/net-tools.SlackBuild index 796a8387b..37ec9f375 100755 --- a/slackware64-current/source/n/net-tools/net-tools.SlackBuild +++ b/slackware64-current/source/n/net-tools/net-tools.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=net-tools VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -35,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} rm -rf $PKG diff --git a/slackware64-current/source/n/netatalk/netatalk.SlackBuild b/slackware64-current/source/n/netatalk/netatalk.SlackBuild index e3bed0c90..f55c14d79 100755 --- a/slackware64-current/source/n/netatalk/netatalk.SlackBuild +++ b/slackware64-current/source/n/netatalk/netatalk.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo netatalk-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-6} @@ -50,7 +51,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netatalk rm -rf $PKG diff --git a/slackware64-current/source/n/netdate/netdate.SlackBuild b/slackware64-current/source/n/netdate/netdate.SlackBuild index e3da67508..0ffbcfad0 100755 --- a/slackware64-current/source/n/netdate/netdate.SlackBuild +++ b/slackware64-current/source/n/netdate/netdate.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=bsd4 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netdate rm -rf $PKG diff --git a/slackware64-current/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild b/slackware64-current/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild index b11fd7d75..0b92ee4fe 100755 --- a/slackware64-current/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild +++ b/slackware64-current/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-2} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-bootparamd diff --git a/slackware64-current/source/n/netkit-ftp/netkit-ftp.SlackBuild b/slackware64-current/source/n/netkit-ftp/netkit-ftp.SlackBuild index 8bdf6cde7..3c6efb133 100755 --- a/slackware64-current/source/n/netkit-ftp/netkit-ftp.SlackBuild +++ b/slackware64-current/source/n/netkit-ftp/netkit-ftp.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-3} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-ftp diff --git a/slackware64-current/source/n/netkit-ntalk/netkit-ntalk.SlackBuild b/slackware64-current/source/n/netkit-ntalk/netkit-ntalk.SlackBuild index ed992eedc..47a4f2ff4 100755 --- a/slackware64-current/source/n/netkit-ntalk/netkit-ntalk.SlackBuild +++ b/slackware64-current/source/n/netkit-ntalk/netkit-ntalk.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-4} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-ntalk diff --git a/slackware64-current/source/n/netkit-routed/netkit-routed.SlackBuild b/slackware64-current/source/n/netkit-routed/netkit-routed.SlackBuild index 3a624181f..95972cd1b 100755 --- a/slackware64-current/source/n/netkit-routed/netkit-routed.SlackBuild +++ b/slackware64-current/source/n/netkit-routed/netkit-routed.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-routed diff --git a/slackware64-current/source/n/netkit-rsh/netkit-rsh.SlackBuild b/slackware64-current/source/n/netkit-rsh/netkit-rsh.SlackBuild index 7cf17584c..956dcb41d 100755 --- a/slackware64-current/source/n/netkit-rsh/netkit-rsh.SlackBuild +++ b/slackware64-current/source/n/netkit-rsh/netkit-rsh.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-rsh diff --git a/slackware64-current/source/n/netkit-rusers/netkit-rusers.SlackBuild b/slackware64-current/source/n/netkit-rusers/netkit-rusers.SlackBuild index 38fed6f57..737b09f02 100755 --- a/slackware64-current/source/n/netkit-rusers/netkit-rusers.SlackBuild +++ b/slackware64-current/source/n/netkit-rusers/netkit-rusers.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-rusers diff --git a/slackware64-current/source/n/netkit-rwall/netkit-rwall.SlackBuild b/slackware64-current/source/n/netkit-rwall/netkit-rwall.SlackBuild index cc79a233c..50f849278 100755 --- a/slackware64-current/source/n/netkit-rwall/netkit-rwall.SlackBuild +++ b/slackware64-current/source/n/netkit-rwall/netkit-rwall.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-rwall diff --git a/slackware64-current/source/n/netkit-rwho/netkit-rwho.SlackBuild b/slackware64-current/source/n/netkit-rwho/netkit-rwho.SlackBuild index ec5ed622f..5401139e7 100755 --- a/slackware64-current/source/n/netkit-rwho/netkit-rwho.SlackBuild +++ b/slackware64-current/source/n/netkit-rwho/netkit-rwho.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=0.17 BUILD=${BUILD:-2} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-rwho diff --git a/slackware64-current/source/n/netkit-timed/netkit-timed.SlackBuild b/slackware64-current/source/n/netkit-timed/netkit-timed.SlackBuild index ca1378988..ea0374a35 100755 --- a/slackware64-current/source/n/netkit-timed/netkit-timed.SlackBuild +++ b/slackware64-current/source/n/netkit-timed/netkit-timed.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-timed diff --git a/slackware64-current/source/n/netpipes/netpipes.SlackBuild b/slackware64-current/source/n/netpipes/netpipes.SlackBuild index 01691e68f..d98000505 100755 --- a/slackware64-current/source/n/netpipes/netpipes.SlackBuild +++ b/slackware64-current/source/n/netpipes/netpipes.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=4.2 BUILD=${BUILD:-1} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netpipes rm -rf $PKG diff --git a/slackware64-current/source/n/nettle/nettle.SlackBuild b/slackware64-current/source/n/nettle/nettle.SlackBuild index b938c6426..1cb3f49e2 100755 --- a/slackware64-current/source/n/nettle/nettle.SlackBuild +++ b/slackware64-current/source/n/nettle/nettle.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=nettle VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/netwatch/netwatch.SlackBuild b/slackware64-current/source/n/netwatch/netwatch.SlackBuild index 6ec7d838f..27c1a27fa 100755 --- a/slackware64-current/source/n/netwatch/netwatch.SlackBuild +++ b/slackware64-current/source/n/netwatch/netwatch.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=1.3.1 EXTRAVERSION=${EXTRAVERSION:-2} @@ -47,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netwatch rm -rf $PKG diff --git a/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild b/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild index 96686a81e..e380beee6 100755 --- a/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild +++ b/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild @@ -20,13 +20,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=network-scripts VERSION=${VERSION:-15.0} ARCH=noarch BUILD=${BUILD:-6} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} diff --git a/slackware64-current/source/n/netwrite/netwrite.SlackBuild b/slackware64-current/source/n/netwrite/netwrite.SlackBuild index 681173f75..0f5afdd7e 100755 --- a/slackware64-current/source/n/netwrite/netwrite.SlackBuild +++ b/slackware64-current/source/n/netwrite/netwrite.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-1} @@ -36,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netwrite diff --git a/slackware64-current/source/n/newspost/newspost.SlackBuild b/slackware64-current/source/n/newspost/newspost.SlackBuild index ba9cb9814..72cdebb07 100755 --- a/slackware64-current/source/n/newspost/newspost.SlackBuild +++ b/slackware64-current/source/n/newspost/newspost.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=2.1.1 BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-newspost diff --git a/slackware64-current/source/n/nfacct/nfacct.SlackBuild b/slackware64-current/source/n/nfacct/nfacct.SlackBuild index eb4ed05de..6f87b7437 100755 --- a/slackware64-current/source/n/nfacct/nfacct.SlackBuild +++ b/slackware64-current/source/n/nfacct/nfacct.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=nfacct VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/nfs-utils/nfs-utils.SlackBuild b/slackware64-current/source/n/nfs-utils/nfs-utils.SlackBuild index df546c2d0..5dd643f26 100755 --- a/slackware64-current/source/n/nfs-utils/nfs-utils.SlackBuild +++ b/slackware64-current/source/n/nfs-utils/nfs-utils.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=nfs-utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -47,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-nfs-utils diff --git a/slackware64-current/source/n/nftables/nftables.SlackBuild b/slackware64-current/source/n/nftables/nftables.SlackBuild index 03eed7299..02dc3dff5 100755 --- a/slackware64-current/source/n/nftables/nftables.SlackBuild +++ b/slackware64-current/source/n/nftables/nftables.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=nftables VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/nmap/nmap.SlackBuild b/slackware64-current/source/n/nmap/nmap.SlackBuild index 83d278799..5546ac507 100755 --- a/slackware64-current/source/n/nmap/nmap.SlackBuild +++ b/slackware64-current/source/n/nmap/nmap.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=nmap VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -53,7 +55,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-nmap diff --git a/slackware64-current/source/n/nn/nn.SlackBuild b/slackware64-current/source/n/nn/nn.SlackBuild index 327f112be..f20b3ca5d 100755 --- a/slackware64-current/source/n/nn/nn.SlackBuild +++ b/slackware64-current/source/n/nn/nn.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=6.7.3 BUILD=${BUILD:-4} @@ -47,7 +49,6 @@ else MFILE="m-i80386.h" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-nn diff --git a/slackware64-current/source/n/npth/npth.SlackBuild b/slackware64-current/source/n/npth/npth.SlackBuild index 2deb8d478..345bf9578 100755 --- a/slackware64-current/source/n/npth/npth.SlackBuild +++ b/slackware64-current/source/n/npth/npth.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=npth VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/pkg-$PKGNAM diff --git a/slackware64-current/source/n/ntp/ntp.SlackBuild b/slackware64-current/source/n/ntp/ntp.SlackBuild index 9597b2940..5534e2bd0 100755 --- a/slackware64-current/source/n/ntp/ntp.SlackBuild +++ b/slackware64-current/source/n/ntp/ntp.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ntp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -46,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-ntp diff --git a/slackware64-current/source/n/obexftp/obexftp.SlackBuild b/slackware64-current/source/n/obexftp/obexftp.SlackBuild index b86201833..df541efab 100755 --- a/slackware64-current/source/n/obexftp/obexftp.SlackBuild +++ b/slackware64-current/source/n/obexftp/obexftp.SlackBuild @@ -19,6 +19,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=obexftp VERSION=${VERSION:-$(echo $PKGNAM-*-Source.tar.?z* | rev | cut -f 3- -d . | cut -f 2 -d - | rev)} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} diff --git a/slackware64-current/source/n/openldap-client/openldap-client.SlackBuild b/slackware64-current/source/n/openldap-client/openldap-client.SlackBuild index 869f65939..32c93e279 100755 --- a/slackware64-current/source/n/openldap-client/openldap-client.SlackBuild +++ b/slackware64-current/source/n/openldap-client/openldap-client.SlackBuild @@ -22,6 +22,7 @@ # OpenLDAP (clients/libraries only!) +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo openldap-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +51,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-openldap-client diff --git a/slackware64-current/source/n/openobex/openobex.SlackBuild b/slackware64-current/source/n/openobex/openobex.SlackBuild index 858e58dc1..c07549e5d 100755 --- a/slackware64-current/source/n/openobex/openobex.SlackBuild +++ b/slackware64-current/source/n/openobex/openobex.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=openobex VERSION=${VERSION:-$(echo $PKGNAM-*-Source.tar.?z* | rev | cut -f 3- -d . | cut -f 2 -d - | rev)} @@ -36,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} diff --git a/slackware64-current/source/n/openssh/openssh.SlackBuild b/slackware64-current/source/n/openssh/openssh.SlackBuild index 1dc108c25..406164be3 100755 --- a/slackware64-current/source/n/openssh/openssh.SlackBuild +++ b/slackware64-current/source/n/openssh/openssh.SlackBuild @@ -22,9 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) # Set initial variables: -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-openssh diff --git a/slackware64-current/source/n/openssl/openssl.SlackBuild b/slackware64-current/source/n/openssl/openssl.SlackBuild index 00b80226f..a003cdae1 100755 --- a/slackware64-current/source/n/openssl/openssl.SlackBuild +++ b/slackware64-current/source/n/openssl/openssl.SlackBuild @@ -22,9 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - # Set initial variables: -CWD=$(pwd) +cd $(dirname $0) ; CWD=$(pwd) TMP=${TMP:-/tmp} VERSION=${VERSION:-$(echo openssl-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} diff --git a/slackware64-current/source/n/openvpn/openvpn.SlackBuild b/slackware64-current/source/n/openvpn/openvpn.SlackBuild index 467936f5a..91d27ac7b 100755 --- a/slackware64-current/source/n/openvpn/openvpn.SlackBuild +++ b/slackware64-current/source/n/openvpn/openvpn.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=openvpn VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -52,7 +53,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/p11-kit/p11-kit.SlackBuild b/slackware64-current/source/n/p11-kit/p11-kit.SlackBuild index e89893f19..7bd6c13a6 100755 --- a/slackware64-current/source/n/p11-kit/p11-kit.SlackBuild +++ b/slackware64-current/source/n/p11-kit/p11-kit.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=p11-kit VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/php/php.SlackBuild b/slackware64-current/source/n/php/php.SlackBuild index ca8b06c65..9454497c4 100755 --- a/slackware64-current/source/n/php/php.SlackBuild +++ b/slackware64-current/source/n/php/php.SlackBuild @@ -23,6 +23,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo php-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} ALPINE=2.21 @@ -40,7 +41,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-php/ rm -rf $PKG diff --git a/slackware64-current/source/n/pidentd/pidentd.SlackBuild b/slackware64-current/source/n/pidentd/pidentd.SlackBuild index 45b22ea76..a788dba5b 100755 --- a/slackware64-current/source/n/pidentd/pidentd.SlackBuild +++ b/slackware64-current/source/n/pidentd/pidentd.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=3.0.19 BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-pidentd diff --git a/slackware64-current/source/n/pinentry/pinentry.SlackBuild b/slackware64-current/source/n/pinentry/pinentry.SlackBuild index c02dbae6e..4b4430251 100755 --- a/slackware64-current/source/n/pinentry/pinentry.SlackBuild +++ b/slackware64-current/source/n/pinentry/pinentry.SlackBuild @@ -21,6 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pinentry VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -60,7 +61,6 @@ else ARCHQUADLET="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/popa3d/popa3d.SlackBuild b/slackware64-current/source/n/popa3d/popa3d.SlackBuild index 601a0cd07..b4dda75f3 100755 --- a/slackware64-current/source/n/popa3d/popa3d.SlackBuild +++ b/slackware64-current/source/n/popa3d/popa3d.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=1.0.3 BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-popa3d rm -rf $PKG diff --git a/slackware64-current/source/n/postfix/postfix.SlackBuild b/slackware64-current/source/n/postfix/postfix.SlackBuild index a6899c95f..21dbe98c0 100755 --- a/slackware64-current/source/n/postfix/postfix.SlackBuild +++ b/slackware64-current/source/n/postfix/postfix.SlackBuild @@ -24,6 +24,8 @@ # (Thanks also to /dev/rob0 somewhere on the Internet) +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=postfix VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/slackware64-current/source/n/ppp/ppp.SlackBuild b/slackware64-current/source/n/ppp/ppp.SlackBuild index ff0c31b92..d29809c5b 100755 --- a/slackware64-current/source/n/ppp/ppp.SlackBuild +++ b/slackware64-current/source/n/ppp/ppp.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=2.4.7 RADVER=1.1.6 PPPVER=1.98 @@ -43,7 +45,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-ppp diff --git a/slackware64-current/source/n/procmail/procmail.SlackBuild b/slackware64-current/source/n/procmail/procmail.SlackBuild index 4867794e4..2429bcf53 100755 --- a/slackware64-current/source/n/procmail/procmail.SlackBuild +++ b/slackware64-current/source/n/procmail/procmail.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=3.22 BUILD=${BUILD:-2} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-procmail rm -rf $PKG diff --git a/slackware64-current/source/n/proftpd/proftpd.SlackBuild b/slackware64-current/source/n/proftpd/proftpd.SlackBuild index f2c6fad19..b5bc3a6ee 100755 --- a/slackware64-current/source/n/proftpd/proftpd.SlackBuild +++ b/slackware64-current/source/n/proftpd/proftpd.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=1.3.6 DIRVER=1.3.6 @@ -53,7 +54,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-proftpd diff --git a/slackware64-current/source/n/pssh/pssh.SlackBuild b/slackware64-current/source/n/pssh/pssh.SlackBuild index cfde6e8d5..3b9b6f46e 100755 --- a/slackware64-current/source/n/pssh/pssh.SlackBuild +++ b/slackware64-current/source/n/pssh/pssh.SlackBuild @@ -22,6 +22,8 @@ # required: package "python" version 2.2 or higher installed +cd $(dirname $0) ; CWD=$(pwd) + VERSION=${VERSION:-$(echo pssh*.tar.gz | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} BUILD=${BUILD:-2} @@ -43,7 +45,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-pssh rm -rf $PKG diff --git a/slackware64-current/source/n/rdist/rdist.SlackBuild b/slackware64-current/source/n/rdist/rdist.SlackBuild index bbcbfb844..fbd209cea 100755 --- a/slackware64-current/source/n/rdist/rdist.SlackBuild +++ b/slackware64-current/source/n/rdist/rdist.SlackBuild @@ -19,8 +19,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -CWD=$(pwd) +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rdist VERSION=${VERSION:-6.1.5} diff --git a/slackware64-current/source/n/rp-pppoe/rp-pppoe.SlackBuild b/slackware64-current/source/n/rp-pppoe/rp-pppoe.SlackBuild index 516aeb0c1..241c5a5dc 100755 --- a/slackware64-current/source/n/rp-pppoe/rp-pppoe.SlackBuild +++ b/slackware64-current/source/n/rp-pppoe/rp-pppoe.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=rp-pppoe VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -46,7 +48,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-rp-pppoe diff --git a/slackware64-current/source/n/rpcbind/rpcbind.SlackBuild b/slackware64-current/source/n/rpcbind/rpcbind.SlackBuild index c414d9701..bf4315764 100755 --- a/slackware64-current/source/n/rpcbind/rpcbind.SlackBuild +++ b/slackware64-current/source/n/rpcbind/rpcbind.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rpcbind VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -64,7 +65,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/rsync/rsync.SlackBuild b/slackware64-current/source/n/rsync/rsync.SlackBuild index 91f2db4d1..f8dfeb699 100755 --- a/slackware64-current/source/n/rsync/rsync.SlackBuild +++ b/slackware64-current/source/n/rsync/rsync.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rsync VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -45,7 +46,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-rsync rm -rf $PKG diff --git a/slackware64-current/source/n/samba/samba.SlackBuild b/slackware64-current/source/n/samba/samba.SlackBuild index 1aaa8a0c9..91876f5da 100755 --- a/slackware64-current/source/n/samba/samba.SlackBuild +++ b/slackware64-current/source/n/samba/samba.SlackBuild @@ -22,6 +22,7 @@ # Modified 2012 by Eric Hameleers <alien at slackware.com> for ARM port. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo samba-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -61,7 +62,6 @@ case "$ARCH" in *) TARGET=$ARCH-slackware-linux ;; esac -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-samba rm -rf $PKG diff --git a/slackware64-current/source/n/slrn/slrn.SlackBuild b/slackware64-current/source/n/slrn/slrn.SlackBuild index f692a0ebe..4593ec388 100755 --- a/slackware64-current/source/n/slrn/slrn.SlackBuild +++ b/slackware64-current/source/n/slrn/slrn.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=1.0.2 BUILD=${BUILD:-1} @@ -50,7 +51,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-slrn rm -rf $PKG diff --git a/slackware64-current/source/n/snownews/snownews.SlackBuild b/slackware64-current/source/n/snownews/snownews.SlackBuild index 2b209867b..6663ed986 100755 --- a/slackware64-current/source/n/snownews/snownews.SlackBuild +++ b/slackware64-current/source/n/snownews/snownews.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=snownews VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-3} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-snownews diff --git a/slackware64-current/source/n/sshfs/sshfs.SlackBuild b/slackware64-current/source/n/sshfs/sshfs.SlackBuild index a4fceae35..8dda47740 100755 --- a/slackware64-current/source/n/sshfs/sshfs.SlackBuild +++ b/slackware64-current/source/n/sshfs/sshfs.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=sshfs VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/stunnel/stunnel.SlackBuild b/slackware64-current/source/n/stunnel/stunnel.SlackBuild index 4c4e4f6f9..76cb004ec 100755 --- a/slackware64-current/source/n/stunnel/stunnel.SlackBuild +++ b/slackware64-current/source/n/stunnel/stunnel.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=stunnel VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -51,7 +52,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-stunnel diff --git a/slackware64-current/source/n/tcp_wrappers/tcp_wrappers.SlackBuild b/slackware64-current/source/n/tcp_wrappers/tcp_wrappers.SlackBuild index 771fb269e..50c550ff0 100755 --- a/slackware64-current/source/n/tcp_wrappers/tcp_wrappers.SlackBuild +++ b/slackware64-current/source/n/tcp_wrappers/tcp_wrappers.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=7.6 BUILD=${BUILD:-1} @@ -42,7 +43,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-tcp_wrappers diff --git a/slackware64-current/source/n/tcpdump/tcpdump.SlackBuild b/slackware64-current/source/n/tcpdump/tcpdump.SlackBuild index 97162a833..f7674cf2c 100755 --- a/slackware64-current/source/n/tcpdump/tcpdump.SlackBuild +++ b/slackware64-current/source/n/tcpdump/tcpdump.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=tcpdump VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -42,7 +44,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-tcpdump diff --git a/slackware64-current/source/n/telnet/telnet.SlackBuild b/slackware64-current/source/n/telnet/telnet.SlackBuild index ff7752794..ad83abdf5 100755 --- a/slackware64-current/source/n/telnet/telnet.SlackBuild +++ b/slackware64-current/source/n/telnet/telnet.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=0.17 BUILD=${BUILD:-3} @@ -34,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-telnet diff --git a/slackware64-current/source/n/tftp-hpa/tftp-hpa.SlackBuild b/slackware64-current/source/n/tftp-hpa/tftp-hpa.SlackBuild index 05a613ae7..a9b49508f 100755 --- a/slackware64-current/source/n/tftp-hpa/tftp-hpa.SlackBuild +++ b/slackware64-current/source/n/tftp-hpa/tftp-hpa.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=tftp-hpa VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -37,7 +38,6 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-tftp-hpa diff --git a/slackware64-current/source/n/tin/tin.SlackBuild b/slackware64-current/source/n/tin/tin.SlackBuild index 4f4599567..cc3f938b0 100755 --- a/slackware64-current/source/n/tin/tin.SlackBuild +++ b/slackware64-current/source/n/tin/tin.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=tin VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -35,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-tin diff --git a/slackware64-current/source/n/traceroute/traceroute.SlackBuild b/slackware64-current/source/n/traceroute/traceroute.SlackBuild index 064ab77d7..78d73b5dd 100755 --- a/slackware64-current/source/n/traceroute/traceroute.SlackBuild +++ b/slackware64-current/source/n/traceroute/traceroute.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=traceroute VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} @@ -44,7 +45,6 @@ else fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-traceroute diff --git a/slackware64-current/source/n/ulogd/ulogd.SlackBuild b/slackware64-current/source/n/ulogd/ulogd.SlackBuild index 97b4cfb87..a60bb0ca3 100755 --- a/slackware64-current/source/n/ulogd/ulogd.SlackBuild +++ b/slackware64-current/source/n/ulogd/ulogd.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=ulogd VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/uucp/uucp.SlackBuild b/slackware64-current/source/n/uucp/uucp.SlackBuild index a8ab9e47d..0d584717d 100755 --- a/slackware64-current/source/n/uucp/uucp.SlackBuild +++ b/slackware64-current/source/n/uucp/uucp.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=1.07 BUILD=${BUILD:-1} @@ -43,7 +45,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-uucp diff --git a/slackware64-current/source/n/vlan/vlan.SlackBuild b/slackware64-current/source/n/vlan/vlan.SlackBuild index f26b3b731..d8f3f7864 100755 --- a/slackware64-current/source/n/vlan/vlan.SlackBuild +++ b/slackware64-current/source/n/vlan/vlan.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=1.9 BUILD=${BUILD:-2} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-vlan diff --git a/slackware64-current/source/n/vsftpd/vsftpd.SlackBuild b/slackware64-current/source/n/vsftpd/vsftpd.SlackBuild index f03206b67..48e7fcfca 100755 --- a/slackware64-current/source/n/vsftpd/vsftpd.SlackBuild +++ b/slackware64-current/source/n/vsftpd/vsftpd.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=vsftpd VERSION=${VERSION:-$(echo ${PKGNAM}-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-3} @@ -42,7 +44,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-vsftpd diff --git a/slackware64-current/source/n/wget/wget.SlackBuild b/slackware64-current/source/n/wget/wget.SlackBuild index b20a0225f..51206c060 100755 --- a/slackware64-current/source/n/wget/wget.SlackBuild +++ b/slackware64-current/source/n/wget/wget.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=${VERSION:-$(echo wget-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} @@ -48,7 +49,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-wget diff --git a/slackware64-current/source/n/whois/whois.SlackBuild b/slackware64-current/source/n/whois/whois.SlackBuild index d308b3979..59fc0bd7f 100755 --- a/slackware64-current/source/n/whois/whois.SlackBuild +++ b/slackware64-current/source/n/whois/whois.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=whois VERSION=${VERSION:-$(echo ${PKGNAM}_*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)} BUILD=${BUILD:-1} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-whois diff --git a/slackware64-current/source/n/wireless-tools/wireless_tools.SlackBuild b/slackware64-current/source/n/wireless-tools/wireless_tools.SlackBuild index 5a52d88e0..cd9f7a682 100755 --- a/slackware64-current/source/n/wireless-tools/wireless_tools.SlackBuild +++ b/slackware64-current/source/n/wireless-tools/wireless_tools.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) VERSION=29 BUILD=${BUILD:-10} @@ -40,7 +41,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-wireless-tools rm -rf $PKG diff --git a/slackware64-current/source/n/wpa_supplicant/wpa_supplicant.SlackBuild b/slackware64-current/source/n/wpa_supplicant/wpa_supplicant.SlackBuild index da049384f..cb00998f3 100755 --- a/slackware64-current/source/n/wpa_supplicant/wpa_supplicant.SlackBuild +++ b/slackware64-current/source/n/wpa_supplicant/wpa_supplicant.SlackBuild @@ -21,6 +21,8 @@ # SUCH DAMAGE. # ----------------------------------------------------------------------------- +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=wpa_supplicant VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-3} @@ -59,7 +61,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM diff --git a/slackware64-current/source/n/yptools/yptools.SlackBuild b/slackware64-current/source/n/yptools/yptools.SlackBuild index db51f9803..406a4a1e7 100755 --- a/slackware64-current/source/n/yptools/yptools.SlackBuild +++ b/slackware64-current/source/n/yptools/yptools.SlackBuild @@ -20,6 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) # Package version number: VERSION=2.14 @@ -54,7 +55,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-yptools rm -rf $PKG diff --git a/slackware64-current/source/n/ytalk/ytalk.SlackBuild b/slackware64-current/source/n/ytalk/ytalk.SlackBuild index 201664680..6dacd28ce 100755 --- a/slackware64-current/source/n/ytalk/ytalk.SlackBuild +++ b/slackware64-current/source/n/ytalk/ytalk.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + VERSION=${VERSION:-3.3.0} BUILD=${BUILD:-3} @@ -45,7 +47,6 @@ else SLKCFLAGS="-O2" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-ytalk rm -rf $PKG diff --git a/slackware64-current/source/n/zd1211-firmware/zd1211-firmware.SlackBuild b/slackware64-current/source/n/zd1211-firmware/zd1211-firmware.SlackBuild index f20cde67d..15d3cef77 100755 --- a/slackware64-current/source/n/zd1211-firmware/zd1211-firmware.SlackBuild +++ b/slackware64-current/source/n/zd1211-firmware/zd1211-firmware.SlackBuild @@ -20,13 +20,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PKGNAM=zd1211-firmware VERSION=${VERSION:-1.5} ARCH=${ARCH:-fw} BUILD=${BUILD:-1} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-${PKGNAM} |