--- libflaim-4.9.966.orig/Makefile +++ libflaim-4.9.966/Makefile @@ -744,7 +744,7 @@ ifeq ($(target_word_size),64) ifeq ($(target_os_family),linux) - lib_dir_name = lib64 + lib_dir_name = lib endif endif @@ -841,7 +841,7 @@ # Compiler definitions and flags -ccflags = +ccflags = -fPIC ccdefs = ifeq ($(target_word_size),64) @@ -935,7 +935,7 @@ static_lib_suffix = .a shared_lib_suffix = .so.$(shared_lib_version) - compiler = g++ + compiler = g++ -U_FORTIFY_SOURCE exe_linker = g++ shared_linker = g++ @@ -1880,7 +1880,6 @@ cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current).$(so_revision) $(lib_prefix)$(project_name).so.$(so_current) endif cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current) $(lib_prefix)$(project_name).so - -ldconfig $(lib_install_dir) $(ec)$(gprintf) "Installation complete.\n" endif --- libflaim-4.9.966.orig/debian/changelog +++ libflaim-4.9.966/debian/changelog @@ -0,0 +1,59 @@ +libflaim (4.9.966-0ubuntu4) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sat, 06 Feb 2016 20:53:11 +0000 + +libflaim (4.9.966-0ubuntu3) lucid; urgency=low + + * Makefile: + + Add -fPIC to ccflags, to prevent relocation error when building. + + Don't call ldconfig in "make install". What a silly idea. + * debian/rules: + + Add an ifeq to turn Debian's "amd64" architecture into x86_64 for + upstream's build system not to choke. + + Don't ignore "make clean" errors. + + Call "dh_makeshlibs" before "dh_installdeb", not after. + * debian/control: + + No-change bump to Standards 3.8.4. + + Build on amd64 as well as i386 (LP: #224531) + + Update Homepage value, and move to proper field rather than inline + in description. + + Use binary:Version not Source-Version. + * debian/libflaim-dev.install: + + Stop shipping .a file, we live in a land of shared libs. + * src/fsysdata.cpp: + + Double-cast Value1 to prevent precision-loss FTBFS. (Thanks to + Edgard Pineda ) + * debian/libflaim4.1.postinst: + + Call ldconfig, as required, on install of shared lib package. + + -- Jo Shields Thu, 15 Apr 2010 10:14:09 +0100 + +libflaim (4.9.966-0ubuntu2) intrepid; urgency=low + + * Makefile: + - Add -U_FORTIFY_SOURCE to compiler, fix FTBFS with gcc-4.3. + * debian/control: + - Update Maintainer field as per spec (LP: #230350). + + -- Luca Falavigna Wed, 18 Jun 2008 23:30:52 +0200 + +libflaim (4.9.966-0ubuntu1) edgy; urgency=low + + * Package update for Ubuntu. + + -- Andrew Hodgkinson (Sr. Software Engineer) Wed, 4 Oct 2006 12:11:47 -0600 + +libflaim (4.9.0-0ubuntu1) edgy; urgency=low + + * Removed shared libraries from the development package + * Removed debian/docs + + -- Andrew Hodgkinson (Sr. Software Engineer) Wed, 4 Oct 2006 11:50:56 -0600 + +libflaim (4.8.0-0ubuntu1) dapper; urgency=low + + * Initial release + + -- Martin Meredith Tue, 14 Feb 2006 01:09:45 +0000 --- libflaim-4.9.966.orig/debian/control +++ libflaim-4.9.966/debian/control @@ -1,32 +1,30 @@ Source: libflaim Priority: optional -Maintainer: Andrew Hodgkinson (Sr. Software Engineer) +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Andrew Hodgkinson (Sr. Software Engineer) Build-Depends: debhelper (>= 5.0), libncurses-dev -Standards-Version: 3.7.2 +Standards-Version: 3.8.4 +Homepage: http://developer.novell.com/wiki/index.php/FLAIM Section: libs Package: libflaim-dev +Architecture: i386 amd64 Section: libdevel -Architecture: any -Depends: libflaim (= ${Source-Version}) +Depends: libflaim4.1 (= ${binary:Version}), libncurses-dev, ${misc:Depends} Description: Embeddable cross-platform database engine FLAIM is an embeddable cross-platform database engine that provides a rich, powerful, easy-to-use feature set. It is the database engine used by Novell eDirectory. It has proven to be highly scalable, reliable, and robust. It is available on a wide variety of 32 bit and 64 bit - platforms. Project homepage is http://www.bandit-project.org/index.php/FLAIM. - . - Homepage: http://www.bandit-project.org/index.php/FLAIM + platforms. -Package: libflaim +Package: libflaim4.1 Section: libs -Architecture: any -Depends: ${shlibs:Depends} +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, ${misc:Depends} Description: Embeddable cross-platform database engine FLAIM is an embeddable cross-platform database engine that provides a rich, powerful, easy-to-use feature set. It is the database engine used by Novell eDirectory. It has proven to be highly scalable, reliable, and robust. It is available on a wide variety of 32 bit and 64 bit platforms. - . - Homepage: http://www.bandit-project.org/index.php/FLAIM \ No newline at end of file --- libflaim-4.9.966.orig/debian/copyright +++ libflaim-4.9.966/debian/copyright @@ -0,0 +1,50 @@ +FLAIM Database Engine +Copyright (c) 1991-2006 Novell, Inc. All Rights Reserved. + +This program is free software; you can redistribute it and/or +modify it under the terms of version 2 of the GNU General Public +License as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, contact Novell, Inc. + +To contact Novell about this file by physical or electronic mail, +you may find current contact information at www.novell.com + +On a Debian system, a copy of the GNU GPL is installed in + /usr/share/common-licenses/GPL-2 + +------------------------------------------------------------------------------ + +svn2cl.xsl +Copyright (C) 2004, 2005, 2006 Arthur de Jong. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. +3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- libflaim-4.9.966.orig/debian/libflaim-dev.install +++ libflaim-4.9.966/debian/libflaim-dev.install @@ -1,3 +1,4 @@ usr/include/* usr/lib/lib*.a usr/lib/pkgconfig/* +usr/lib/lib*.so --- libflaim-4.9.966.orig/debian/libflaim4.1.install +++ libflaim-4.9.966/debian/libflaim4.1.install @@ -0,0 +1 @@ +usr/lib/libflaim*.so.* --- libflaim-4.9.966.orig/debian/libflaim4.1.postinst +++ libflaim-4.9.966/debian/libflaim4.1.postinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + ldconfig +fi + +#DEBHELPER# + --- libflaim-4.9.966.orig/debian/rules +++ libflaim-4.9.966/debian/rules @@ -4,6 +4,9 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) OSTYPE ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) HOSTTYPE ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) +ifeq ($(HOSTTYPE),amd64) + HOSTTYPE = x86_64 +endif CFLAGS = -Wall -g @@ -35,7 +38,7 @@ dh_testroot rm -f build-stamp configure-stamp - -$(MAKE) clean OSTYPE=$(OSTYPE) HOSTTYPE=$(HOSTTYPE) + $(MAKE) clean OSTYPE=$(OSTYPE) HOSTTYPE=$(HOSTTYPE) dh_clean @@ -62,6 +65,7 @@ dh_strip dh_compress dh_fixperms + dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol --- libflaim-4.9.966.orig/debian/source/format +++ libflaim-4.9.966/debian/source/format @@ -0,0 +1 @@ +1.0 --- libflaim-4.9.966.orig/src/fsysdata.cpp +++ libflaim-4.9.966/src/fsysdata.cpp @@ -1068,7 +1068,7 @@ if( !gv_FlmSysData.uiOpenFFiles) { - if( (FLMBOOL)Value1) + if( (FLMBOOL)(FLMINT)Value1) { gv_FlmSysData.uiFileOpenFlags = FLM_IO_RDWR | FLM_IO_SH_DENYNONE | FLM_IO_DIRECT;