[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bd35fa90f5c73dedc8ca654f223167ea6d9e3809)

Vlad Glagolev scm at sourcemage.org
Mon Aug 15 14:42:50 EDT 2011


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 libs/gdbm/BUILD       |   10 ++--------
 libs/gdbm/DETAILS     |   13 ++++++++-----
 libs/gdbm/HISTORY     |    8 ++++++++
 libs/gdbm/INSTALL     |    5 ++---
 libs/gdbm/UP_TRIGGERS |   15 +++++++++++++++
 libs/gdbm/gdbm.gpg    |binary
 6 files changed, 35 insertions(+), 16 deletions(-)

New commits:
commit bd35fa90f5c73dedc8ca654f223167ea6d9e3809
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    gdbm: => 1.9.1

diff --git a/libs/gdbm/BUILD b/libs/gdbm/BUILD
index 2c79c8a..566e631 100755
--- a/libs/gdbm/BUILD
+++ b/libs/gdbm/BUILD
@@ -1,9 +1,3 @@
-sedit  "s/-O/$CFLAGS/"  Makefile.in
+OPTS="--enable-libgdbm-compat $OPTS" &&
 
-# Looks like gdbm uses INSTALL_ROOT in its scripts, so we end up 
-# with a concatenation of INSTALL_ROOT, not very nice...
-./configure  --prefix=/usr              \
-             --infodir=/usr/share/info  \
-             --mandir=/usr/share/man    \
-             $OPTS                &&
-make
+default_build
diff --git a/libs/gdbm/DETAILS b/libs/gdbm/DETAILS
index 2688e1f..a3cc7a8 100755
--- a/libs/gdbm/DETAILS
+++ b/libs/gdbm/DETAILS
@@ -1,14 +1,17 @@
            SPELL=gdbm
-         VERSION=1.8.3
+         VERSION=1.9.1
           SOURCE=$SPELL-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+         SOURCE2=$SOURCE.sig
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
    SOURCE_URL[0]=$GNU_URL/$SPELL/$SOURCE
-     SOURCE_HASH=sha512:2a01751ee8f730db563b4f52185c72f1c7a4f66530d6736f05f7446153be685ea0bb6ea1d2bad16ce31547fea879dc48507ff65ad35b0973df9aa385713b10d7
+  SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
+      SOURCE_GPG=gdbm.gpg:$SOURCE2:UPSTREAM_KEY
+  SOURCE2_IGNORE=signature
       LICENSE[0]=GPL
-        WEB_SITE=http://www.gnu.org/software/gdbm/gdbm.html
+        WEB_SITE=http://www.gnu.org.ua/software/gdbm/
          ENTERED=20010922
         KEYWORDS="database libs"
-           SHORT="A set of database routines that use extensible hashing."
+           SHORT="set of database routines that use extensible hashing"
 cat << EOF
 A set of database routines that use extensible hashing. The routines
 work like the UNIX dbm routine.
diff --git a/libs/gdbm/HISTORY b/libs/gdbm/HISTORY
index ddb8164..d8b22d7 100644
--- a/libs/gdbm/HISTORY
+++ b/libs/gdbm/HISTORY
@@ -1,3 +1,11 @@
+2011-08-15 Vlad Glagolev <stealth at sourcemage.org>
+	* DETAILS: updated spell to 1.9.1; converted to upstream signature
+	  checking
+	* BUILD: not needed anymore, except build compat lib
+	* INSTALL: changed lib version so.3 -> so.4; quoting paths
+	* UP_TRIGGERS: added, to recast dependent spells
+	* gdbm.gpg: added public key 55D0C732 (Sergey Poznyakoff <gray at gnu.org>)
+
 2009-05-03 Treeve Jelbert <treeve at sourcemage.org>
 	* DETAILS: delete bad url
 
diff --git a/libs/gdbm/INSTALL b/libs/gdbm/INSTALL
index f2c61c8..f8c23fd 100755
--- a/libs/gdbm/INSTALL
+++ b/libs/gdbm/INSTALL
@@ -1,8 +1,7 @@
 default_install  &&
 
-make install-compat  &&
 # Preserve the links in chroot
-cd  $INSTALL_ROOT/usr/lib  &&
-ln  -sf  libgdbm.so.3.0.0  libndbm.so  &&
+cd  "$INSTALL_ROOT/usr/lib"  &&
+ln  -sf  libgdbm.so.4.0.0  libndbm.so  &&
 ln  -sf  libgdbm.la        libndbm.la  &&
 ln  -sf  libgdbm.a         libndbm.a
diff --git a/libs/gdbm/UP_TRIGGERS b/libs/gdbm/UP_TRIGGERS
new file mode 100755
index 0000000..029cd6d
--- /dev/null
+++ b/libs/gdbm/UP_TRIGGERS
@@ -0,0 +1,15 @@
+# up_trigger everything on major version updates
+
+spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)"
+
+if spell_ok $SPELL && [[ "${VERSION:2:1}" != "${OLD_SPELL_VERSION:2:1}" ]]; then
+  message "This is a possibly incompatible update of $SPELL..." &&
+  message "Figuring out what spells need to be recast, this may take a while." &&
+
+  for each in $(show_up_depends $SPELL 1); do
+    if gaze install $each | xargs readelf -d 2> /dev/null |
+       grep -q "NEEDED.*libgdbm\.so\.3"; then
+         up_trigger $each cast_self
+    fi
+  done
+fi
diff --git a/libs/gdbm/gdbm.gpg b/libs/gdbm/gdbm.gpg
new file mode 100644
index 0000000..7124985
Binary files /dev/null and b/libs/gdbm/gdbm.gpg differ


More information about the SM-Commit mailing list