]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Hinzugefügt:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 22 May 2006 10:43:28 +0000 (10:43 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 22 May 2006 10:43:28 +0000 (10:43 +0000)
  * Zaptel Kernelmodule werden gleich komprimiert.
Geändert:
  * Konfigurationspfade sämtlicher Programme von /etc nach /var/ipfire verschoben.
  * Einige Schönheitsfehler IPCop --> IPFire korrigiert.
Gelöscht:
  * wireless herausgenommen. (Bleibt abzuwarten, wann es in IPCop 1.4.11 ist.)

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@130 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

16 files changed:
doc/ChangeLog
lfs/asterisk
lfs/clamav
lfs/cups
lfs/cyrusimap
lfs/openldap
lfs/openvpn
lfs/pakfire
lfs/samba
lfs/sane
lfs/saslauthd
lfs/xinetd
make.sh
src/rc.d/rc.firewall
src/rc.d/rc.network
src/rc.d/rc.sysinit

index b87a76cc6cd228914a8ae2c99382f1218e619eff..aa0edaf49d922143c9c84b243e755d379c44e8ba 100644 (file)
@@ -1,3 +1,17 @@
+------------------------------------------------------------------------
+r129 | ms | 2006-05-21 22:54:29 +0200 (So, 21 Mai 2006) | 11 lines
+
+Hinzugefügt:
+  * Nochmal ein neues Shutdown-Bild.
+  * Schnelle Profilauswahl in der index.cgi
+  * Nettraffic.
+  * Capiinfo.
+Geändert:
+  * Menü komplett neu sortiert.
+  * Javascript-Option aus gui.cgi entfernt.
+  * Pakfire-Fehler beseitigt.
+  * Sämtliche /var/ipcop durch /var/ipfire ersetzt.
+
 ------------------------------------------------------------------------
 r128 | ms | 2006-05-20 13:34:29 +0200 (Sa, 20 Mai 2006) | 8 lines
 
index f40347ba70ab5631880a5abcd3f90a7ad1281679..b28108ac0aa89d1064973888eb03af8bf1201fa7 100644 (file)
@@ -170,15 +170,19 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_SRC)/$(BRISTUFF)/zaphfc && make clean linux24 && \
        install -D -m 644 zaphfc.o /lib/modules/$(KVER)/misc/zaphfc.o
 
+       # Compress the Kernelmodules
+       find /lib/modules/$(KVER)/misc/ -name '*.o' -a -type f | xargs gzip -f9
+       find /lib/modules/$(KVER)-smp/misc/ -name '*.o' -a -type f | xargs gzip -f9
+
        # Build Asterisk
        cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        patch -Np1 < $(DIR_SRC)/src/patches/asterisk.patch
        ### FAX geht noch nicht mit Asterisk 1.2.7.1
        # cp -fv $(DIR_DL)/app_{r,t}xfax.c $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK)/apps && \
        # cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK)/apps && patch < $(DIR_DL)/apps_Makefile.patch
        cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make clean
-       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make all
-       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make install
-       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make samples
+       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make all ASTETCDIR=/var/ipfire/asterisk
+       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make install ASTETCDIR=/var/ipfire/asterisk
+       cd $(DIR_SRC)/$(BRISTUFF)/$(ASTERISK) &&        make samples ASTETCDIR=/var/ipfire/asterisk
 
        # Build OH323
        cd $(DIR_SRC)/$(BRISTUFF)/$(OH323) && \
index 824be720e59b70c4ba7438c1146862769983b82b..dab2f8f5690efd6f5cca7308f158043fef8dee62 100644 (file)
@@ -75,7 +75,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) && ./configure --prefix=/usr --sysconfdir=/etc/clamav
+       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/clamav
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
index d66978a9ac69e8c4a48ad364810c068e3dfa5441..1dcc55b53f7820742854a7caa025308d646e1f1e 100644 (file)
--- a/lfs/cups
+++ b/lfs/cups
@@ -83,7 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && sed -i -e "s@pam/pam@security/pam@g" {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
 #      cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/patches/cups-1.1.23-testsuite_fix-1.patch
-       cd $(DIR_APP) && ./configure --disable-nls
+       cd $(DIR_APP) && ./configure --disable-nls --sysconfdir=/var/ipfire
        cd $(DIR_APP) && make
 #      cd $(DIR_APP) && make check
        cd $(DIR_APP) && make install
index 5c50b71c42f930604b0a036642c7905e957c9445..ed2ff1d16b1844b9f7fbb794ff9db362bc21f0b4 100644 (file)
@@ -75,7 +75,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) && ./configure --prefix=/usr --with-auth=unix --with-perl --with-sasl --without-ucdsnmp
+       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/cyrusimap --with-auth=unix --with-perl --with-sasl --without-ucdsnmp
        cd $(DIR_APP) && make depend
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
index 3da7e173c8c47d62e8ce822c3e73a2e5bb24fd45..376420d0c62da8b54af25089d4f1a0e4e2da7005 100644 (file)
@@ -75,7 +75,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) && ./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --localstatedir=/srv/ldap \
+       cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/var/ipfire --localstatedir=/srv/ldap \
                                --disable-debug \
                                --enable-dynamic \
                                --enable-crypt \
index 7a04ed5206ed02e01746d31ed71632faac08cc40..c93fce2a5dd0b25e590907eecf9def798801c971 100644 (file)
@@ -81,7 +81,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) && ./configure --enable-pthread
+       cd $(DIR_APP) && ./configure --enable-pthread --sysconfdir=/var/ipfire/ovpn
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
index 1c42c25ee8f237773cae8f5118e3c97cb84a3d29..c554869184e89b0eccc0ef06cb506e41e0772cd9 100644 (file)
@@ -26,8 +26,6 @@
 
 include Config
 
-VER        = 
-
 THISAPP    = pakfire
 DIR_APP    = /opt/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -54,4 +52,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && mv -vf pakfire.conf /etc
        cd $(DIR_APP) && chown root.root $(DIR_APP) -R && chmod 755 pakfire lib/*
        # cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
-       @$(POSTBUILD)
\ No newline at end of file
+       @$(POSTBUILD)
+
index c3010e9c76c69acfb1f218e328e4e7c173abb68f..e7b3d9d75c99b6b146dc8ed924f1bcc40d6d6248 100644 (file)
--- a/lfs/samba
+++ b/lfs/samba
@@ -83,7 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP)/source && ./configure \
                                    --prefix=/usr \
-                                   --sysconfdir=/etc \
+                                   --sysconfdir=/var/ipfire/samba \
                                    --localstatedir=/var \
                                    --with-piddir=/var/run \
                                    --with-fhs \
@@ -101,24 +101,24 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP)/source && ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2
        cd $(DIR_APP)/source && ln -v -sf libnss_wins.so /lib/libnss_wins.so.2
        cd $(DIR_APP)/source && install -v -m755 nsswitch/pam_winbind.so /lib/security
-       cd $(DIR_APP)/source && install -v -m644 ../examples/smb.conf.default /etc/samba
+       cd $(DIR_APP)/source && install -v -m644 ../examples/smb.conf.default /var/ipfire/samba
 #      cd $(DIR_APP)/source && install -v -m755 -d /usr/share/doc/samba-3.0.22
 #      cd $(DIR_APP)/source && install -v -m644 ../docs/*.pdf /usr/share/doc/samba-3.0.22
 #      cd $(DIR_APP)/source && ln -v -s ../../samba/swat  /usr/share/doc/samba-3.0.22
        echo "swat            901/tcp" >> /etc/services
-       echo "# Begin /etc/xinetd.d/swat"               >> /etc/xinetd.d/swat
-       echo ""                                 >> /etc/xinetd.d/swat
-       echo "service swat"                             >> /etc/xinetd.d/swat
-       echo "{"                                        >> /etc/xinetd.d/swat
-       echo "    port            = 901"                >> /etc/xinetd.d/swat
-       echo "    socket_type     = stream"     >> /etc/xinetd.d/swat
-       echo "    wait            = no"         >> /etc/xinetd.d/swat
-       echo "    only_from       = 127.0.0.1"  >> /etc/xinetd.d/swat
-       echo "    user            = root"               >> /etc/xinetd.d/swat
-       echo "    server          = /usr/sbin/swat"     >> /etc/xinetd.d/swat
-       echo "    log_on_failure  += USERID"    >> /etc/xinetd.d/swat
-       echo "}"                                        >> /etc/xinetd.d/swat
-       echo ""                                 >> /etc/xinetd.d/swat
-       echo "# End /etc/xinetd.d/swat"         >> /etc/xinetd.d/swat
+       echo "# Begin /var/ipfire/xinetd.d/swat"                >> /var/ipfire/xinetd.d/swat
+       echo ""                                 >> /var/ipfire/xinetd.d/swat
+       echo "service swat"                             >> /var/ipfire/xinetd.d/swat
+       echo "{"                                        >> /var/ipfire/xinetd.d/swat
+       echo "    port            = 901"                >> /var/ipfire/xinetd.d/swat
+       echo "    socket_type     = stream"     >> /var/ipfire/xinetd.d/swat
+       echo "    wait            = no"         >> /var/ipfire/xinetd.d/swat
+       echo "    only_from       = 127.0.0.1"  >> /var/ipfire/xinetd.d/swat
+       echo "    user            = root"               >> /var/ipfire/xinetd.d/swat
+       echo "    server          = /usr/sbin/swat"     >> /var/ipfire/xinetd.d/swat
+       echo "    log_on_failure  += USERID"    >> /var/ipfire/xinetd.d/swat
+       echo "}"                                        >> /var/ipfire/xinetd.d/swat
+       echo ""                                 >> /var/ipfire/xinetd.d/swat
+       echo "# End /var/ipfire/xinetd.d/swat"          >> /var/ipfire/xinetd.d/swat
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 4e02215c7df14f2dfbfa937d172d8667561e4fab..d40c88887defab872da48bffec6e810ae92fbcca 100644 (file)
--- a/lfs/sane
+++ b/lfs/sane
@@ -81,7 +81,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) && ./configure --prefix=/usr --sysconfdir=/etc --disable-translations && \
+       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/sane --disable-translations && \
                                make
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
index 1e92c4e4acc8687a7e81cfa569fbccf1cbcfcf86..651c7ce9683580d14f6fd5bb6eddc079480a8e97 100644 (file)
@@ -96,7 +96,7 @@ else
                                        --with-openssl=/usr
                                        --without-pgsql \
                                        --with-mysql=/opt/lampp \
-                                       --sysconfdir=/etc \
+                                       --sysconfdir=/var/ipfire/sasl \
                                        --with-dbpath=/var/lib/sasl/sasldb2 \
                                        --with-saslauthd=/var/run/saslauthd
 endif
index d6110552465d910207143e9805e5425c50f7b900..6eaffeb9dd235dac2012c35775ed66b12b800c7f 100644 (file)
@@ -75,24 +75,24 @@ $(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) && ./configure --prefix=/usr --with-loadavg
+       cd $(DIR_APP) && ./configure --prefix=/usr --with-loadavg --sysconfdir=/var/ipfire/xinetd
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
-       cd $(DIR_APP) && install -v -d -m755 /etc/xinetd.d
-       echo "# Begin /etc/xinetd"                              > /etc/xinetd.conf
-       echo "# Configuration file for xinetd"          >> /etc/xinetd.conf
-       echo "#"                                                >> /etc/xinetd.conf
-       echo "defaults"                                         >> /etc/xinetd.conf
-       echo "{"                                                >> /etc/xinetd.conf
-       echo "      instances       = 60"                       >> /etc/xinetd.conf
-       echo "      log_type        = SYSLOG daemon"    >> /etc/xinetd.conf
-       echo "      log_on_success  = HOST PID USERID"  >> /etc/xinetd.conf
-       echo "      log_on_failure  = HOST USERID"      >> /etc/xinetd.conf
-       echo "      cps             = 25 30"            >> /etc/xinetd.conf
-       echo "}"                                                >> /etc/xinetd.conf
-       echo "# All service files are stored in the /etc/xinetd.d directory" >> /etc/xinetd.conf
-       echo "#"                                                >> /etc/xinetd.conf
-       echo "includedir /etc/xinetd.d"                         >> /etc/xinetd.conf
-       echo "# End /etc/xinetd"                                >> /etc/xinetd.conf
+       cd $(DIR_APP) && install -v -d -m755 /var/ipfire/xinetd.d
+       echo "# Begin /var/ipfire/xinetd"                               > /var/ipfire/xinetd.conf
+       echo "# Configuration file for xinetd"          >> /var/ipfire/xinetd.conf
+       echo "#"                                                >> /var/ipfire/xinetd.conf
+       echo "defaults"                                         >> /var/ipfire/xinetd.conf
+       echo "{"                                                >> /var/ipfire/xinetd.conf
+       echo "      instances       = 60"                       >> /var/ipfire/xinetd.conf
+       echo "      log_type        = SYSLOG daemon"    >> /var/ipfire/xinetd.conf
+       echo "      log_on_success  = HOST PID USERID"  >> /var/ipfire/xinetd.conf
+       echo "      log_on_failure  = HOST USERID"      >> /var/ipfire/xinetd.conf
+       echo "      cps             = 25 30"            >> /var/ipfire/xinetd.conf
+       echo "}"                                                >> /var/ipfire/xinetd.conf
+       echo "# All service files are stored in the /var/ipfire/xinetd.d directory" >> /var/ipfire/xinetd.conf
+       echo "#"                                                >> /var/ipfire/xinetd.conf
+       echo "includedir /var/ipfire/xinetd.d"                  >> /var/ipfire/xinetd.conf
+       echo "# End /var/ipfire/xinetd"                                 >> /var/ipfire/xinetd.conf
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 6bf3bebdb0e28bcd5832eb3378a1f11c02763d28..cfd30c58dfe3120945e579886eeab798783a12a4 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -650,7 +650,7 @@ buildipcop() {
   ipcopmake tcpdump
   ipcopmake traceroute
   ipcopmake vlan
-  ipcopmake wireless
+  #ipcopmake wireless
   ipcopmake libsafe
   ipcopmake 3c5x9setup
   echo -ne "`date -u '+%b %e %T'`: Building ### IPFire modules ### \n" | tee -a $LOGFILE
index 8a9b0d5ddc0c905cb6014203d2ae878dfecf6dc4..522648ed9e138960cf5be8982b970284fa640233 100644 (file)
@@ -165,9 +165,9 @@ case "$1" in
        /sbin/iptables -A INPUT   -i $GREEN_DEV  -m state --state NEW -j ACCEPT -p ! icmp
        /sbin/iptables -A FORWARD -i $GREEN_DEV  -m state --state NEW -j ACCEPT
 
-       # If a host on orange tries to initiate a connection to IPCop's red IP and
+       # If a host on orange tries to initiate a connection to IPFire's red IP and
        # the connection gets DNATed back through a port forward to a server on orange
-       # we end up with orange -> orange traffic passing through IPCop
+       # we end up with orange -> orange traffic passing through IPFire
        [ "$ORANGE_DEV" != "" ] && /sbin/iptables -A FORWARD -i $ORANGE_DEV -o $ORANGE_DEV -m state --state NEW -j ACCEPT
 
        # accept all traffic from ipsec interfaces
index 6cede161c5a81b74ae2f8e68d522a334ea96095e..2d7d24a17e15be24bf18ac8cd186e6bbbad50bf2 100644 (file)
@@ -65,12 +65,12 @@ if [ -d /proc/bus/pccard ]; then
        modprobe serial_cb
 fi
 
-echo "Setting up IPCOP firewall rules"
+echo "Setting up IPFire firewall rules"
 /etc/rc.d/rc.firewall start
 echo "Setting up IP Accounting"
 /etc/rc.d/helper/writeipac.pl
 /usr/sbin/fetchipac -S
-echo "Setting IPCOP DMZ pinholes"
+echo "Setting IPFire DMZ pinholes"
 /usr/local/bin/setdmzholes
 
 if [ "$BLUE_DEV" != "" ]; then
index 5cb0d474f3ed883211f3079d6eebd10c36b69f9b..09cd839cdcddef234a832af249272e6c3ad97b82 100644 (file)
@@ -258,7 +258,7 @@ fi
 echo "Running rc.local"
 . /etc/rc.d/rc.local
 
-logger -t ipcop "IPCop started."
+logger -t ipfire "IPFire started."
 
 # Send nice startup beep now
 /usr/bin/beep -l 75 -f 500