X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fopenldap;h=320b1abd4055b112293977522ef2502a5c186f8e;hp=b2d3167099547384881aa0e51925fb797983d03c;hb=34bbcff61f2de1fa76e4be20371d276f304277da;hpb=41cfd9e04b1a06d242432e682ab5601f933c0e21 diff --git a/lfs/openldap b/lfs/openldap index b2d3167099..320b1abd40 100644 --- a/lfs/openldap +++ b/lfs/openldap @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2018 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 2.4.32 +VER = 2.3.20 THISAPP = openldap-$(VER) DL_FILE = $(THISAPP).tgz @@ -36,6 +36,8 @@ PAK_VER = 3 DEPS = "" +export CPPFLAGS = -D_GNU_SOURCE + ############################################################################### # Top-level Rules ############################################################################### @@ -44,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 6a3e85cf61860ca5e8a1eba6753dd9d0 +$(DL_FILE)_MD5 = 49d2c5b9378a7b57e1fb03948acb8e32 install : $(TARGET) @@ -77,6 +79,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + $(UPDATE_AUTOMAKE) + cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/openldap-gcc44-fixes.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \