mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
pound: Update to 2.7c.
Also fix multiple initscript symlinks.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
etc/rc.d/init.d/pound
|
||||
etc/rc.d/rc0.d/K40pound
|
||||
etc/rc.d/rc3.d/S60pound
|
||||
etc/rc.d/rc6.d/K40pound
|
||||
#etc/pound.cfg
|
||||
usr/sbin/pound
|
||||
usr/sbin/poundctl
|
||||
|
||||
13
lfs/pound
13
lfs/pound
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.6
|
||||
VER = 2.7c
|
||||
|
||||
THISAPP = Pound-$(VER)
|
||||
DL_FILE = $(THISAPP).tgz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = pound
|
||||
PAK_VER = 5
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 8c913b527332694943c4c67c8f152071
|
||||
$(DL_FILE)_MD5 = 56dace6b79c6be1d25b31355269c380a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,16 +77,11 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -p4 < $(DIR_SRC)/src/patches/pound-2.6.patch
|
||||
cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/Pound-2.6-reneg-ciphers-altnames-nosslv2.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --enable-cert1l
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/pound \
|
||||
/var/ipfire/backup/addons/includes/pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc3.d/S60pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc0.d/K40pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc6.d/K40pound
|
||||
|
||||
# Remove temporary file.
|
||||
rm -vf /root/.rnd
|
||||
|
||||
Reference in New Issue
Block a user