]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
db4: Remove package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:54:32 +0000 (15:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:54:32 +0000 (15:54 +0100)
Recently all packages that depend on the berkeley database
have been moved to the libdb package (db >= 5). All packages
that are compiled against db4 in any version can pull in
the compat-db package now which comes with older versions
of the library.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
db4/db4.nm [deleted file]

diff --git a/db4/db4.nm b/db4/db4.nm
deleted file mode 100644 (file)
index 82e7255..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = db4
-version_major = 4.8
-version_minor = 30
-version    = %{version_major}.%{version_minor}
-release    = 5
-epoch      = 1
-thisapp    = db-%{version}
-
-maintainer = Michael Tremer <michael.tremer@ipfire.org>
-groups     = System/Libraries
-url        = http://www.oracle.com/technology/products/berkeley-db/
-license    = Proprietary
-summary    = Berkeley DB is a library that provides an embedded database.
-
-description
-       Berkeley DB (BDB) is a computer software library that provides
-       a high-performance embedded database.
-end
-
-source_dl  = http://download.oracle.com/berkeley-db/
-
-build
-       requires
-               gcc-c++
-       end
-
-       build
-               cd %{DIR_APP}/build_unix
-               CC=gcc \
-               ../dist/configure \
-                       %{configure_options} \
-                       --enable-compat185 \
-                       --enable-cxx \
-                       --disable-static
-
-               %{MACRO_FIX_LIBTOOL}
-
-               make %{PARALLELISMFLAGS}
-       end
-
-       install
-               cd %{DIR_APP}/build_unix
-               make install DESTDIR=%{BUILDROOT} \
-                       docdir=/usr/share/doc/%{thisapp}
-
-               # Remove unversioned libs.
-               rm -vf %{BUILDROOT}%{libdir}/libdb*-4.so
-
-               mkdir -pv %{BUILDROOT}%{includedir}/%{name}
-               mv -v %{BUILDROOT}%{includedir}/*.h %{BUILDROOT}%{includedir}/%{name}/
-               for i in db.h db_cxx.h db_185.h; do
-                       ln -svf %{name}/${i} %{BUILDROOT}/%{includedir}
-               done
-       end
-end
-
-packages
-       # /usr/lib64/libdb_cxx.so
-
-       package db4
-
-       package db4-utils
-               summary = Command line tools for managing Berkeley DB (version 4) databases.
-               description = %{summary}
-
-               files
-                       %{bindir}
-               end
-       end
-
-       package db4-cxx
-               summary = The Berkeley DB database library (version 4) for C++.
-               description = %{summary}
-
-               files
-                       %{libdir}/libdb_cxx-%{version_major}.so
-               end
-       end
-
-       package db4-devel
-               template DEVEL
-
-               # Overwrite because of epoch != 0.
-               requires = %{name}=%{epoch}:%{thisver}
-
-               # You cannot install libdb-devel and db4-devel
-               # at the same time.
-               conflicts
-                       libdb-devel
-               end
-
-               files
-                       %{includedir}
-                       %{libdir}/libdb.so
-                       %{libdir}/libdb_cxx.so
-               end
-
-               #files += !%{libdir}/libdb-%{version_major}.so
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end