summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-12 11:48:01 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-12 11:48:01 +0200
commit5254aab8c685079e073cd067cd523e57913e3f63 (patch)
treed9e7bbc609b3f41bfc41dadc46f4117f44a78b7f /system
parentd97bc1a9e850deaab550c06782481f46cd3417c6 (diff)
downloadslackbuilds-5254aab8c685079e073cd067cd523e57913e3f63.tar.gz
system/tdb: Removed from 12.2 repository
Diffstat (limited to 'system')
-rw-r--r--system/tdb/README4
-rw-r--r--system/tdb/gcc.patch41
-rw-r--r--system/tdb/slack-desc19
-rw-r--r--system/tdb/tdb.SlackBuild76
-rw-r--r--system/tdb/tdb.info8
5 files changed, 0 insertions, 148 deletions
diff --git a/system/tdb/README b/system/tdb/README
deleted file mode 100644
index 3a05ab425b..0000000000
--- a/system/tdb/README
+++ /dev/null
@@ -1,4 +0,0 @@
-TDB is a Trivial Database. In concept, it is very much like GDBM,
-and BSD's DB except that it allows multiple simultaneous writers
-and uses locking internally to keep writers from trampling on each
-other. TDB is also extremely small.
diff --git a/system/tdb/gcc.patch b/system/tdb/gcc.patch
deleted file mode 100644
index c88c2e7f91..0000000000
--- a/system/tdb/gcc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- tdb-1.0.6/tdbtool.c 2001-12-10 22:45:47.000000000 -0500
-+++ ./tdbtool.c 2003-12-31 19:44:50.000000000 -0500
-@@ -169,22 +169,22 @@
-
- static void help(void)
- {
-- printf("
--tdbtool:
-- create dbname : create a database
-- open dbname : open an existing database
-- erase : erase the database
-- dump dumpname : dump the database as strings
-- insert key data : insert a record
-- store key data : store a record (replace)
-- show key : show a record by key
-- delete key : delete a record by key
-- list : print the database hash table and freelist
-- free : print the database freelist
-- 1 | first : print the first record
-- n | next : print the next record
-- q | quit : terminate
-- \\n : repeat 'next' command
-+ printf("\
-+tdbtool: \
-+ create dbname : create a database\
-+ open dbname : open an existing database\
-+ erase : erase the database\
-+ dump dumpname : dump the database as strings\
-+ insert key data : insert a record\
-+ store key data : store a record (replace)\
-+ show key : show a record by key\
-+ delete key : delete a record by key\
-+ list : print the database hash table and freelist\
-+ free : print the database freelist\
-+ 1 | first : print the first record\
-+ n | next : print the next record\
-+ q | quit : terminate\
-+ \\n : repeat 'next' command\
- ");
- }
-
diff --git a/system/tdb/slack-desc b/system/tdb/slack-desc
deleted file mode 100644
index 8feb84de28..0000000000
--- a/system/tdb/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-tdb: tdb (Trivial Database)
-tdb:
-tdb: tdb is a Trivial Database. In concept, it is very much like GDBM,
-tdb: and BSD's DB except that it allows multiple simultaneous writers and
-tdb: uses locking internally to keep writers from trampling on each other.
-tdb: TDB is also extremely small.
-tdb:
-tdb: Homepage: http://sourceforge.net/projects/tdb
-tdb:
-tdb:
-tdb:
diff --git a/system/tdb/tdb.SlackBuild b/system/tdb/tdb.SlackBuild
deleted file mode 100644
index dd2dd47284..0000000000
--- a/system/tdb/tdb.SlackBuild
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tdb
-
-# Written by Grigorios Bouzakis (grbzks@gmail.com)
-
-PRGNAM=tdb
-VERSION=${VERSION:-1.0.6}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# apply patch for tdbtool.c and GCC 3.3
-# http://sourceforge.net/tracker/index.php?func=detail&aid=772616&group_id=9569&atid=309569
-patch -p1 < $CWD/gcc.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man
-
-make
-make install DESTDIR=$PKG
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/tdb/tdb.info b/system/tdb/tdb.info
deleted file mode 100644
index 60a4e5a6e8..0000000000
--- a/system/tdb/tdb.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="tdb"
-VERSION="1.0.6"
-HOMEPAGE="http://sourceforge.net/projects/tdb/"
-DOWNLOAD="http://downloads.sourceforge.net/tdb/tdb-1.0.6.tar.gz"
-MD5SUM="6b643fdeb48304010dcd5f675e458b58"
-MAINTAINER="Grigorios Bouzakis"
-EMAIL="grbzks@gmail.com"
-APPROVED="David Somero"