mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
- Update from version 0.9.29 to 0.9.30 - Update of rootfile not required - The original git repo where the lmdb-LMDB file was obtained from is marked as a read only mirror of the official repo on openldap.org Going to opemnldap.org then points you to https://git.openldap.org/openldap/openldap for the downloads, which also has a newer version of lmdb than the mirror site. - Therefore I have changed over to that location for the source tarball which requires the name change to openldap-LMDB for the file. Also changed to bz2 version. - Changelog LMDB 0.9.30 Release (2023/02/08) ITS#9806 - LMDB page_split: key threshold depends on page size ITS#9916 - avoid gcc optimization bug on sparc64 linux ITS#9919 - Mark infrequently used functions as cold ITS#9723 - clear C_EOF on cursor with MDB_FIRST_DUP ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
84 lines
3.3 KiB
Plaintext
84 lines
3.3 KiB
Plaintext
###############################################################################
|
|
# #
|
|
# IPFire.org - A linux based firewall #
|
|
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
|
|
# #
|
|
# This program is free software: you can redistribute it and/or modify #
|
|
# it under the terms of the GNU General Public License as published by #
|
|
# the Free Software Foundation, either version 3 of the License, or #
|
|
# (at your option) any later version. #
|
|
# #
|
|
# 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, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
# Definitions
|
|
###############################################################################
|
|
|
|
include Config
|
|
|
|
VER = 0.9.30
|
|
|
|
THISAPP = openldap-LMDB_$(VER)
|
|
DL_FILE = $(THISAPP).tar.bz2
|
|
DL_FROM = $(URL_IPFIRE)
|
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
|
|
|
###############################################################################
|
|
# Top-level Rules
|
|
###############################################################################
|
|
|
|
objects = $(DL_FILE)
|
|
|
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
|
|
|
$(DL_FILE)_BLAKE2 = 849d40187dc3aaddcd118cf6db28a9807854d4b5b34a365f6e076ccccd556470f117933e3d29cf2678368db2f0c9d264e033a27de310f036e1a65f04ed643fa9
|
|
|
|
install : $(TARGET)
|
|
|
|
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
|
|
|
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
|
|
|
b2 : $(subst %,%_BLAKE2,$(objects))
|
|
|
|
dist:
|
|
@$(PAK)
|
|
|
|
###############################################################################
|
|
# Downloading, checking, b2sum
|
|
###############################################################################
|
|
|
|
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
|
@$(CHECK)
|
|
|
|
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
|
@$(LOAD)
|
|
|
|
$(subst %,%_BLAKE2,$(objects)) :
|
|
@$(B2SUM)
|
|
|
|
###############################################################################
|
|
# Installation Details
|
|
###############################################################################
|
|
|
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|
@$(PREBUILD)
|
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
|
|
|
cd $(DIR_APP)/libraries/liblmdb && make $(MAKETUNING)
|
|
cd $(DIR_APP)/libraries/liblmdb && sed -i 's| liblmdb.a||' Makefile
|
|
cd $(DIR_APP)/libraries/liblmdb && make prefix=/usr install
|
|
|
|
@rm -rf $(DIR_APP)
|
|
@$(POSTBUILD)
|
|
|