From: Michael Tremer Date: Mon, 3 Aug 2015 14:54:32 +0000 (+0100) Subject: db4: Remove package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ea3d5585a58627fcd06213fa8d32a644894c59;p=ipfire-3.x.git db4: Remove package 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 --- diff --git a/db4/db4.nm b/db4/db4.nm deleted file mode 100644 index 82e7255b6..000000000 --- a/db4/db4.nm +++ /dev/null @@ -1,109 +0,0 @@ -############################################################################### -# IPFire.org - An Open Source Firewall Solution # -# Copyright (C) - IPFire Development Team # -############################################################################### - -name = db4 -version_major = 4.8 -version_minor = 30 -version = %{version_major}.%{version_minor} -release = 5 -epoch = 1 -thisapp = db-%{version} - -maintainer = Michael Tremer -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