Mod for dbpware

This commit is contained in:
Mario Fetka 2025-09-06 20:36:32 +02:00
parent 78e516ad61
commit 246eae205f
3 changed files with 23 additions and 23 deletions

View File

@ -67,7 +67,7 @@ topsrcdir=$topdir-$version # it may be necessary to override this
srcfiles=$buildpkgbase/srcfiles srcfiles=$buildpkgbase/srcfiles
pkgdirdesig=tgcware # topinstalldir suffix pkgdirdesig=dbpware # topinstalldir suffix
topinstalldir=/usr/$pkgdirdesig topinstalldir=/usr/$pkgdirdesig
prefix=$topinstalldir prefix=$topinstalldir
metainstalldir=$topinstalldir metainstalldir=$topinstalldir
@ -1007,7 +1007,7 @@ generic_install_perl()
# but that will break buildpkg since they are processed # but that will break buildpkg since they are processed
# later and the names thus change leaving pkgdef broken # later and the names thus change leaving pkgdef broken
$d =~ /\Q$_\E/ && return $d =~ /\Q$_\E/ && return
for qw|/etc /usr/tgcware/bin /usr/tgcware/share|; for qw|/etc /usr/dbpware/bin /usr/dbpware/share|;
$dirs[@dirs] = $_; $dirs[@dirs] = $_;
} }

View File

@ -46,8 +46,8 @@ pkgvendor="http://change/me/please"
pkgdesc="mumble mubmle... hmm someone forgot to fill this out!" pkgdesc="mumble mubmle... hmm someone forgot to fill this out!"
# vendor & contact information # vendor & contact information
pkgedby="Tom G. Christensen" pkgedby="Mario Fetka"
email=swpkg@jupiterrise.com email=mario.fetka@disconnected-by-peer.at
# Set some helper vars that describes arch and OS version # Set some helper vars that describes arch and OS version
arch=`uname -p` arch=`uname -p`
@ -56,7 +56,7 @@ os=sunos`${__uname} -r`
gnu_os_ver=$(${__uname} -r | ${__sed} -e 's/^5/2/') gnu_os_ver=$(${__uname} -r | ${__sed} -e 's/^5/2/')
# By default, the build_arch is the same as arch, alternatives are sparc64 and # By default, the build_arch is the same as arch, alternatives are sparc64 and
# x86_64. It should be set to either when building for tgcware64. # x86_64. It should be set to either when building for dbpware64.
build_arch=$arch build_arch=$arch
# Default pkginfo.in file # Default pkginfo.in file

View File

@ -1,26 +1,26 @@
# Global tool defintions for buildpkg # Global tool defintions for buildpkg
# Define tool programs in rpm style __ prefixed namespace # Define tool programs in rpm style __ prefixed namespace
__bash=/usr/tgcware/bin/bash __bash=/usr/dbpware/bin/bash
__strip=/usr/bin/strip __strip=/usr/bin/strip
__uname=/usr/bin/uname __uname=/usr/bin/uname
__tar=/usr/tgcware/bin/tar # GNU tar v1.14 or better please! __tar=/usr/dbpware/bin/tar # GNU tar v1.14 or better please!
__vtar=/usr/bin/tar # vendor supplied tar __vtar=/usr/bin/tar # vendor supplied tar
__bzip2=/usr/tgcware/bin/bzip2 __bzip2=/usr/dbpware/bin/bzip2
__gzip=/usr/tgcware/bin/gzip __gzip=/usr/dbpware/bin/gzip
__xz=/usr/tgcware/bin/xz __xz=/usr/dbpware/bin/xz
__lzip=/usr/tgcware/bin/lzip __lzip=/usr/dbpware/bin/lzip
__patch=/usr/tgcware/bin/patch # GNU patch 2.5 or better please! __patch=/usr/dbpware/bin/patch # GNU patch 2.5 or better please!
__rm=/usr/bin/rm __rm=/usr/bin/rm
__rmdir=/usr/bin/rmdir __rmdir=/usr/bin/rmdir
__mkdir=/usr/bin/mkdir __mkdir=/usr/bin/mkdir
__make=/usr/tgcware/bin/make # GNU make 3.80 or better please! __make=/usr/dbpware/bin/make # GNU make 3.80 or better please!
__find=/usr/bin/find # vendor supplied find, GNU find will require changes to the script __find=/usr/bin/find # vendor supplied find, GNU find will require changes to the script
__xargs=/usr/bin/xargs __xargs=/usr/bin/xargs
__cat=/usr/bin/cat __cat=/usr/bin/cat
__awk=/usr/bin/nawk # This must be nawk or GNU awk - plain /usr/bin/awk will *not* work __awk=/usr/bin/nawk # This must be nawk or GNU awk - plain /usr/bin/awk will *not* work
__sed=/usr/bin/sed __sed=/usr/bin/sed
__gsed=/usr/tgcware/bin/sed __gsed=/usr/dbpware/bin/sed
__sort=/usr/bin/sort __sort=/usr/bin/sort
__cut=/usr/bin/cut __cut=/usr/bin/cut
__ls=/usr/bin/ls __ls=/usr/bin/ls
@ -28,11 +28,11 @@ __expr=/usr/bin/expr
__mv=/usr/bin/mv __mv=/usr/bin/mv
__mkdir=/usr/bin/mkdir __mkdir=/usr/bin/mkdir
__cp=/usr/bin/cp __cp=/usr/bin/cp
__gcp=/usr/tgcware/bin/cp __gcp=/usr/dbpware/bin/cp
__tee=/bin/tee __tee=/bin/tee
__grep=/bin/grep __grep=/bin/grep
__egrep=/bin/egrep __egrep=/bin/egrep
__ggrep=/usr/tgcware/bin/grep # GNU grep __ggrep=/usr/dbpware/bin/grep # GNU grep
__uniq=/bin/uniq __uniq=/bin/uniq
__basename=/bin/basename __basename=/bin/basename
__dirname=/bin/dirname __dirname=/bin/dirname
@ -40,17 +40,17 @@ __tr=/bin/tr
__file=/usr/bin/file # Used by do_strip() __file=/usr/bin/file # Used by do_strip()
__ln=/usr/bin/ln __ln=/usr/bin/ln
__ln_s="/usr/bin/ln -s" __ln_s="/usr/bin/ln -s"
__install=/usr/tgcware/bin/install # BSD compatible install - usually GNU install __install=/usr/dbpware/bin/install # BSD compatible install - usually GNU install
__compress=/usr/bsd/compress __compress=/usr/bsd/compress
__pack=/usr/bin/pack __pack=/usr/bin/pack
__sha1sum=/usr/tgcware/bin/sha1sum __sha1sum=/usr/dbpware/bin/sha1sum
__unzip=/usr/tgcware/bin/unzip __unzip=/usr/dbpware/bin/unzip
__head=/usr/bin/head # Must support -n __head=/usr/bin/head # Must support -n
__perl=/usr/tgcware/bin/perl __perl=/usr/dbpware/bin/perl
__readlink=/usr/tgcware/bin/readlink __readlink=/usr/dbpware/bin/readlink
__ldd=/usr/bin/ldd __ldd=/usr/bin/ldd
__curl=/usr/tgcware/bin/curl __curl=/usr/dbpware/bin/curl
# Groff stuff for manpages # Groff stuff for manpages
__nroff=/usr/tgcware/bin/nroff __nroff=/usr/dbpware/bin/nroff
NROFFOPTS="-c -mandoc -Tascii -t" NROFFOPTS="-c -mandoc -Tascii -t"