Compare commits

...

6 Commits

Author SHA1 Message Date
Mario Fetka
13eb443a11 DBP Repo 2025-09-14 21:23:42 +02:00
Mario Fetka
17c7e7d975 readd log to file 2025-09-14 21:15:46 +02:00
Mario Fetka
3c40b423d2 no log to file just stdout 2025-09-10 14:39:37 +02:00
Mario Fetka
29fa5a8d0d Correct tgc to dbp 2025-09-07 01:00:50 +02:00
Mario Fetka
a0bb1fff46 correct paths 2025-09-06 22:05:16 +02:00
Mario Fetka
246eae205f Mod for dbpware 2025-09-06 20:36:32 +02:00
4 changed files with 29 additions and 28 deletions

View File

@@ -67,7 +67,7 @@ topsrcdir=$topdir-$version # it may be necessary to override this
srcfiles=$buildpkgbase/srcfiles
pkgdirdesig=tgcware # topinstalldir suffix
pkgdirdesig=dbpware # topinstalldir suffix
topinstalldir=/usr/$pkgdirdesig
prefix=$topinstalldir
metainstalldir=$topinstalldir
@@ -97,7 +97,7 @@ _os=$(${__uname} -sr|${__sed} -e 's/ //g' -e 's/\.//g'|${__tr} '[A-Z]' '[a-z]')
# pkg information.
# The following 3 vars can be used when constructing pkg metadata
# Override as necessary.
pkgprefix=SB
pkgprefix=DBP
pkgname=$pkgprefix$topdir # overriding this will be common
name=$topdir # as will this ditto
@@ -1007,7 +1007,7 @@ generic_install_perl()
# but that will break buildpkg since they are processed
# later and the names thus change leaving pkgdef broken
$d =~ /\Q$_\E/ && return
for qw|/etc /usr/tgcware/bin /usr/tgcware/share|;
for qw|/etc /usr/dbpware/bin /usr/dbpware/share|;
$dirs[@dirs] = $_;
}

View File

@@ -128,7 +128,7 @@ declare -a opfiles # Files that should have an ops associated
declare -a opscript # Ops to associate with opfiles
#override defaults
pkgprefix=tgc_
pkgprefix=dbp_
pkgname=$pkgprefix$topdir
os=irix`${__uname} -r`
@@ -142,7 +142,7 @@ META_CLEAN="$topdir.spec $topdir.idb files.tmp ${depends##*/}_auto ${depends##*/
# Host specific configuration
[ -r $buildpkgscripts/config.$($HOSTNAME -s).irix ] && . $buildpkgscripts/config.$($HOSTNAME -s).irix
distfile='$topdir-$version-$pkgver.tgc-$os-$cpu-$pkgdirdesig.tardist'
distfile='$topdir-$version-$pkgver.dbp-$os-$cpu-$pkgdirdesig.tardist'
#####################################################
# Internal helper functions
@@ -1187,7 +1187,7 @@ dep_pkg_name()
}
# extract_deps: Given a subsystem it will extract the dependencies
# params: $1 = subsystem name (like tgc_xxx.sw.lib)
# params: $1 = subsystem name (like dbp_xxx.sw.lib)
# It goes through the idb file and finds all the files
# associated with a given subsystem. It will then compute
# the dependencies and return the package names for the dependencies.

View File

@@ -46,8 +46,8 @@ pkgvendor="http://change/me/please"
pkgdesc="mumble mubmle... hmm someone forgot to fill this out!"
# vendor & contact information
pkgedby="Tom G. Christensen"
email=swpkg@jupiterrise.com
pkgedby="Mario Fetka"
email=mario.fetka@disconnected-by-peer.at
# Set some helper vars that describes arch and OS version
arch=`uname -p`
@@ -56,7 +56,7 @@ os=sunos`${__uname} -r`
gnu_os_ver=$(${__uname} -r | ${__sed} -e 's/^5/2/')
# 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
# Default pkginfo.in file
@@ -106,7 +106,7 @@ configure_args=(--prefix=$prefix --mandir=${prefix}/${_mandir} --infodir=${prefi
# ie: libmad-0.14.2b-1.sb-sol5.8-sparc-local
# We hardquote it so that we can control when we want it
# evaluated (using _upls)
distfile='$secname-$version-$secver.tgc-$os-$build_arch-$pkgdirdesig'
distfile='$secname-$version-$secver.dbp-$os-$build_arch-$pkgdirdesig'
# What pkgdef file to use
pkgdef_file=pkgdef

View File

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