mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Webinterface-Bilder neu gemacht | IPAC-NG-Patches installiert | Berkeley-DB installiert
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@77 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -120,7 +120,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Copy all html/cgi-bin files
|
||||
cp -aR $(DIR_SRC)/html/* /home/httpd
|
||||
-find /home/httpd -name CVS -exec rm -rf {} \;
|
||||
-find /home/httpd -name .svn -exec rm -rf {} \;
|
||||
cp $(DIR_DL)/sflogo.png /home/httpd/html/images/
|
||||
|
||||
# Change CONFIG_ROOT in cgi-scripts
|
||||
|
||||
@@ -78,7 +78,7 @@ $(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)/build_unix && ../dist/configure --prefix=/usr/local/db-4.4
|
||||
cd $(DIR_APP)/build_unix && ../dist/configure --prefix=/usr
|
||||
cd $(DIR_APP)/build_unix && make
|
||||
cd $(DIR_APP)/build_unix && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
@@ -58,7 +58,7 @@ $(TARGET) :
|
||||
# Create all directories
|
||||
for i in addon-lang alcatelusb auth backup backup/sets ca certs cnx_pci crls ddns dhcp dhcpc dmzholes \
|
||||
eagle-usb eciadsl ethernet isdn key langs logging main modem optionsfw patches portfw \
|
||||
ppp private proxy red remote shaping snort time vpn wireless xtaccess ; do \
|
||||
ppp private proxy red remote shaping snort time uplinks vpn wireless xtaccess ; do \
|
||||
mkdir -p $(CONFIG_ROOT)/$$i; \
|
||||
done
|
||||
|
||||
|
||||
10
lfs/ipac-ng
10
lfs/ipac-ng
@@ -22,7 +22,7 @@
|
||||
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
|
||||
# - Modified Makefile for IPCop build #
|
||||
# #
|
||||
# $Id: ipac-ng,v 1.5.2.5 2005/02/05 15:38:15 gespinasse Exp $
|
||||
# $Id: ipac-ng,v 1.5.2.6 2006/01/14 16:41:15 gespinasse Exp $
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.28
|
||||
VER = 1.31
|
||||
|
||||
THISAPP = ipac-ng-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_SFNET)/ipac-ng
|
||||
DIR_APP = $(DIR_SRC)/ipac-ng-1.28
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = fc3c701ec20baa36a2865860f97fd03b
|
||||
$(DL_FILE)_MD5 = 0c010550adfc140bb3990eb02f1604d0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -78,6 +78,8 @@ $(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 -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-iptables-1.3.1.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-fetchcounter.patch
|
||||
cd $(DIR_APP) && sed -i -e 's%/var/lib/ipac%/var/log/ip-acct%g' configure
|
||||
cd $(DIR_APP) && chmod 755 configure
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --enable-default-storage=gdbm
|
||||
|
||||
Reference in New Issue
Block a user