Geändert:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 3 Jun 2006 12:22:38 +0000 (12:22 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 3 Jun 2006 12:22:38 +0000 (12:22 +0000)
  * Webinterface Menü bearbeitet.
  * Squid-Error gefixt.
  * Pakfire gefixt, aber noch nicht funktionsfähig!

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

14 files changed:
config/cfgroot/header.pl
doc/packages-list.txt
html/cgi-bin/connections.cgi
html/cgi-bin/proxy.cgi
lfs/configroot
lfs/fetchmail
lfs/stage2
make.sh
src/ROOTFILES.i386
src/pakfire/lib/check_pak.sh
src/pakfire/lib/get_conf.sh
src/pakfire/lib/get_mirror.sh
src/pakfire/pakfire
src/pakfire/pakfire.conf

index 3fd3a52..3cabb1f 100644 (file)
@@ -32,6 +32,7 @@ $Header::colourorange = '#FF9933';
 $Header::colouryellow = '#FFFF00';
 $Header::colourgreen = '#339933';
 $Header::colourblue = '#333399';
+$Header::colourovpn = '#339999';
 $Header::colourfw = '#000000';
 $Header::colourvpn = '#990099';
 $Header::colourerr = '#FF0000';
@@ -117,53 +118,41 @@ sub genmenu {
     my $subsystem = \%subsystemhash;
 
     $subsystem->{'01.home'} = {
-                             'caption' => $tr{'alt home'},
-                             'uri' => '/cgi-bin/index.cgi',
-                             'title' => "$tr{'alt home'}",
-                             'enabled' => 1,
-                             };
-    $subsystem->{'02.netwizard'} = {
-                                  'caption' => $tr{'network configuration'},
-                                  'uri' => '/cgi-bin/netwizard.cgi',
-                                  'title' => "$tr{'network configuration'}",
-                                  'enabled' => 1,
-                                  };
-    $subsystem->{'03.passwords'} = {
-                                  'caption' => $tr{'sspasswords'},
-                                  'uri' => '/cgi-bin/changepw.cgi',
-                                  'title' => "$tr{'sspasswords'}",
-                                  'enabled' => 1,
-                                  };
-    $subsystem->{'04.ssh'} = {
-                            'caption' => $tr{'ssh access'},
-                            'uri' => '/cgi-bin/remote.cgi',
-                            'title' => "$tr{'ssh access'}",
-                            'enabled' => 1,
-                            };
-    $subsystem->{'05.gui'} = {
-                             'caption' => $tr{'gui settings'},
-                             'uri' => '/cgi-bin/gui.cgi',
-                             'title' => "$tr{'gui settings'}",
-                             'enabled' => 1,
-                             };
-    $subsystem->{'06.backup'} = {
-                               'caption' => $tr{'backup'},
-                               'uri' => '/cgi-bin/backup.cgi',
-                               'title' => "$tr{'backup'} / $tr{'restore'}",
-                               'enabled' => 0,
+                               'caption' => $tr{'alt home'},
+                               'uri' => '/cgi-bin/index.cgi',
+                               'title' => "$tr{'alt home'}",
+                               'enabled' => 1,
+                               };
+    $subsystem->{'02.passwords'} = {
+                               'caption' => $tr{'sspasswords'},
+                               'uri' => '/cgi-bin/changepw.cgi',
+                               'title' => "$tr{'sspasswords'}",
+                               'enabled' => 1,
+                               };
+    $subsystem->{'03.ssh'} = {
+                               'caption' => $tr{'ssh access'},
+                               'uri' => '/cgi-bin/remote.cgi',
+                               'title' => "$tr{'ssh access'}",
+                               'enabled' => 1,
+                               };
+    $subsystem->{'04.gui'} = {
+                               'caption' => $tr{'gui settings'},
+                               'uri' => '/cgi-bin/gui.cgi',
+                               'title' => "$tr{'gui settings'}",
+                               'enabled' => 1,
+                               };
+    $subsystem->{'05.shutdown'} = {
+                               'caption' => $tr{'shutdown'},
+                               'uri' => '/cgi-bin/shutdown.cgi',
+                               'title' => "$tr{'shutdown'} / $tr{'reboot'}",
+                               'enabled' => 1,
+                               };
+    $subsystem->{'99.credits'} = {
+                               'caption' => $tr{'credits'},
+                               'uri' => '/cgi-bin/credits.cgi',
+                               'title' => "$tr{'credits'}",
+                               'enabled' => 1,
                                };
-    $subsystem->{'07.shutdown'} = {
-                                 'caption' => $tr{'shutdown'},
-                                 'uri' => '/cgi-bin/shutdown.cgi',
-                                 'title' => "$tr{'shutdown'} / $tr{'reboot'}",
-                                 'enabled' => 1,
-                                 };
-    $subsystem->{'08.credits'} = {
-                                 'caption' => $tr{'credits'},
-                                 'uri' => '/cgi-bin/credits.cgi',
-                                 'title' => "$tr{'credits'}",
-                                 'enabled' => 1,
-                                 };
 
     my %substatushash = ();
     my $substatus = \%substatushash;
@@ -174,43 +163,43 @@ sub genmenu {
                                 'enabled' => 1,
                                 };
     $substatus->{'02.networkstatus'} = {
-                                 'caption' => $tr{'ssnetwork status'},
-                                 'uri' => '/cgi-bin/netstatus.cgi',
-                                 'title' => "$tr{'network status information'}",
-                                 'enabled' => 1,
-                                 };
+                               'caption' => $tr{'ssnetwork status'},
+                               'uri' => '/cgi-bin/netstatus.cgi',
+                               'title' => "$tr{'network status information'}",
+                               'enabled' => 1,
+                               };
     $substatus->{'03.systemgraphs'} = {
-                                      'caption' => $tr{'system graphs'},
-                                      'uri' => '/cgi-bin/graphs.cgi',
-                                      'novars' => 1,
-                                      'title' => "$tr{'system graphs'}",
-                                      'enabled' => 1,
-                                      };
+                               'caption' => $tr{'system graphs'},
+                               'uri' => '/cgi-bin/graphs.cgi',
+                               'novars' => 1,
+                               'title' => "$tr{'system graphs'}",
+                               'enabled' => 1,
+                               };
     $substatus->{'04.trafficgraphs'} = {
-                                       'caption' => $tr{'sstraffic graphs'},
-                                       'uri' => '/cgi-bin/graphs.cgi',
-                                       'vars' => 'graph=network',
-                                       'title' => "$tr{'network traffic graphs'}",
-                                       'enabled' => 1,
-                                       };
+                               'caption' => $tr{'sstraffic graphs'},
+                               'uri' => '/cgi-bin/graphs.cgi',
+                               'vars' => 'graph=network',
+                               'title' => "$tr{'network traffic graphs'}",
+                               'enabled' => 1,
+                               };
     $substatus->{'05.proxygraphs'} = {
-                                     'caption' => $tr{'ssproxy graphs'},
-                                     'uri' => '/cgi-bin/proxygraphs.cgi',
-                                     'title' => "$tr{'proxy access graphs'}",
-                                     'enabled' => 1,
-                                     };
+                               'caption' => $tr{'ssproxy graphs'},
+                               'uri' => '/cgi-bin/proxygraphs.cgi',
+                               'title' => "$tr{'proxy access graphs'}",
+                               'enabled' => 1,
+                               };
     $substatus->{'06.connections'} = {
-                                     'caption' => $tr{'connections'},
-                                     'uri' => '/cgi-bin/connections.cgi',
-                                     'title' => "$tr{'connections'}",
-                                     'enabled' => 1,
-                                     };
+                               'caption' => $tr{'connections'},
+                               'uri' => '/cgi-bin/connections.cgi',
+                               'title' => "$tr{'connections'}",
+                               'enabled' => 1,
+                               };
     $substatus->{'99.iptfilters'} = {
-                                     'caption' => $tr{'iptfilters iptable rules'},
-                                     'uri' => '/cgi-bin/iptfilters.cgi',
-                                     'title' => "$tr{'iptfilters iptable rules'}",
-                                     'enabled' => 1,
-                                     };
+                               'caption' => $tr{'iptfilters iptable rules'},
+                               'uri' => '/cgi-bin/iptfilters.cgi',
+                               'title' => "$tr{'iptfilters iptable rules'}",
+                               'enabled' => 1,
+                               };
 
     my %subnetworkhash = ();
     my $subnetwork = \%subnetworkhash;
@@ -219,7 +208,7 @@ sub genmenu {
                                  'caption' => $tr{'alt dialup'},
                                  'uri' => '/cgi-bin/pppsetup.cgi',
                                  'title' => "$tr{'dialup settings'}",
-                                 'enabled' => 0,
+                                 'enabled' => 1,
                                  };
     $subnetwork->{'02.hosts'} = {
                                 'caption' => $tr{'edit hosts'},
@@ -268,36 +257,31 @@ sub genmenu {
     my %subserviceshash = ();
     my $subservices = \%subserviceshash;
 
-    $subservices->{'01.proxy'} = {
-                               'caption' => $tr{'proxy'},
+    $subservices->{'01.proxy'} = {'caption' => $tr{'proxy'},
                                'uri' => '/cgi-bin/proxy.cgi',
                                'title' => "HTTP: $tr{'web proxy configuration'}",
                                'enabled' => 1,
                                };
-    $subservices->{'02.dhcp'} = {
-                                'caption' => $tr{'dhcp server'},
+    $subservices->{'02.dhcp'} = {'caption' => $tr{'dhcp server'},
                                 'uri' => '/cgi-bin/dhcp.cgi',
                                 'title' => "$tr{'dhcp configuration'}",
                                 'enabled' => 1,
                                 };
-    $subservices->{'03.dyndns'} = {
-                                  'caption' => $tr{'dynamic dns'},
-                                  'uri' => '/cgi-bin/ddns.cgi',
-                                  'title' => "$tr{'dynamic dns client'}",
-                                  'enabled' => 1,
-                                };
-    $subservices->{'04.time'} = {
-                                  'caption' => $tr{'time server'},
-                                  'uri' => '/cgi-bin/time.cgi',
-                                  'title' => "$tr{'time server'}",
-                                  'enabled' => 1,
-                                };
-    $subservices->{'05.qos'} = {
-                                   'caption' => 'Quality of Service',
-                                   'uri' => '/cgi-bin/qos.cgi',
-                                   'title' => "$tr{'traffic shaping settings'}",
-                                   'enabled' => 1,
-                                   };
+    $subservices->{'03.dyndns'} = {'caption' => $tr{'dynamic dns'},
+                               'uri' => '/cgi-bin/ddns.cgi',
+                               'title' => "$tr{'dynamic dns client'}",
+                               'enabled' => 1,
+                               };
+    $subservices->{'04.time'} = {'caption' => $tr{'time server'},
+                               'uri' => '/cgi-bin/time.cgi',
+                               'title' => "$tr{'time server'}",
+                               'enabled' => 1,
+                               };
+    $subservices->{'05.qos'} = {'caption' => 'Quality of Service',
+                               'uri' => '/cgi-bin/qos.cgi',
+                               'title' => "$tr{'traffic shaping settings'}",
+                               'enabled' => 1,
+                               };
     $subservices->{'06.ids'} = {'caption' => $tr{'intrusion detection'},
                                'enabled' => 1,
                                'uri' => '/cgi-bin/ids.cgi',
@@ -328,13 +312,12 @@ sub genmenu {
                                'enabled' => 1,
                                 };
     $subfirewall->{'04.outgoing'} = {
-                                    'caption' => $tr{'outgoing firewall'},
-                                    'uri' => '/cgi-bin/outgoingfw.cgi',
-                                    'title' => "$tr{'outgoing firewall'}",
-                                    'enabled' => 1,
-                                    };
+                               'caption' => $tr{'outgoing firewall'},
+                               'uri' => '/cgi-bin/outgoingfw.cgi',
+                               'title' => "$tr{'outgoing firewall'}",
+                               'enabled' => 1,
+                               };
     
-
     my %sublogshash = ();
     my $sublogs = \%sublogshash;
 
@@ -359,36 +342,31 @@ sub genmenu {
                                 'enabled' => 1
                                 };
     $sublogs->{'05.ids'} = {'caption' => $tr{'ids logs'},
-                           'uri' => '/cgi-bin/logs.cgi/ids.dat',
-                           'title' => "$tr{'intrusion detection system log viewer'}",
-                           'enabled' => 1
-                           };
-    $sublogs->{'06.contentfilter'} = {'caption' => $tr{'content filter logs'},
-                                     'uri' => '/cgi-bin/logs.cgi/dansguardian.dat',
-                                     'title' => "$tr{'content filter log viewer'}",
-                                     'enabled' => 1
-                                     };
+                               'uri' => '/cgi-bin/logs.cgi/ids.dat',
+                               'title' => "$tr{'intrusion detection system log viewer'}",
+                               'enabled' => 1
+                               };
     $sublogs->{'07.urlfilter'} = {
-                                     'caption' => $tr{'urlfilter log'},
-                                     'uri' => '/cgi-bin/logs.cgi/urlfilter.dat',
-                                     'title' => "$tr{'urlfilter log'}",
-                                     'enabled' => 1,
-                                      };
+                               'caption' => $tr{'urlfilter log'},
+                               'uri' => '/cgi-bin/logs.cgi/urlfilter.dat',
+                               'title' => "$tr{'urlfilter log'}",
+                               'enabled' => 1,
+                               };
     $sublogs->{'08.openvpn'} = {'caption' => $tr{'openvpn log'},
-                                     'uri' => '/cgi-bin/logs.cgi/openvpn.dat',
-                                     'title' => "$tr{'openvpn log'}",
-                                     'enabled' => 1
-                                     };
+                               'uri' => '/cgi-bin/logs.cgi/openvpn.dat',
+                               'title' => "$tr{'openvpn log'}",
+                               'enabled' => 1
+                               };
     $sublogs->{'09.system'} = {'caption' => $tr{'system logs'},
-                                     'uri' => '/cgi-bin/logs.cgi/log.dat',
-                                     'title' => "$tr{'system log viewer'}",
-                                     'enabled' => 1
-                                     };
+                               'uri' => '/cgi-bin/logs.cgi/log.dat',
+                               'title' => "$tr{'system log viewer'}",
+                               'enabled' => 1
+                               };
     $sublogs->{'10.userlog'} = {'caption' => $tr{'user proxy logs'},
-                                      'uri' => '/cgi-bin/logs.cgi/userlog.dat',
-                                      'title' => "$tr{'user log viewer'}",
-                                      'enabled' => 1
-                                       };
+                               'uri' => '/cgi-bin/logs.cgi/userlog.dat',
+                               'title' => "$tr{'user log viewer'}",
+                               'enabled' => 1
+                               };
 
     my %subipfirehash = ();
     my $subipfire = \%subipfirehash;
@@ -416,46 +394,41 @@ sub genmenu {
 
 
     $menu->{'01.system'} = {'caption' => $tr{'alt system'},
-                           'enabled' => 1,
-                           'subMenu' => $subsystem
-                           };
+                               'enabled' => 1,
+                               'subMenu' => $subsystem
+                               };
     $menu->{'02.status'} = {'caption' => $tr{'status'},
-                           'enabled' => 1,
-                           'subMenu' => $substatus
-                           };
+                               'enabled' => 1,
+                               'subMenu' => $substatus
+                               };
     $menu->{'03.network'} = {'caption' => $tr{'network'},
-                            'enabled' => 1,
-                            'subMenu' => $subnetwork
-                            };
+                               'enabled' => 1,
+                               'subMenu' => $subnetwork
+                               };
     $menu->{'04.services'} = {'caption' => $tr{'alt services'},
-                             'enabled' => 1,
-                             'subMenu' => $subservices
-                             };
+                               'enabled' => 1,
+                               'subMenu' => $subservices
+                               };
     $menu->{'05.firewall'} = {'caption' => $tr{'firewall'},
-                             'enabled' => 1,
-                             'subMenu' => $subfirewall
-                             };
+                               'enabled' => 1,
+                               'subMenu' => $subfirewall
+                               };
     $menu->{'06.proxy'} = {'caption' => $tr{'alt proxy'},
-                          'enabled' => 1,
-                          'subMenu' => $subproxy
-                          };
+                               'enabled' => 1,
+                               'subMenu' => $subproxy
+                               };
     $menu->{'07.ipfire'} = {'caption' => 'IPFire',
-                        'enabled' => 1,
-                        'subMenu' => $subvpn
-                        };
+                               'enabled' => 1,
+                               'subMenu' => $subipfire
+                               };
     $menu->{'08.logs'} = {'caption' => $tr{'alt logs'},
-                         'enabled' => 1,
-                         'subMenu' => $sublogs
-                         };
+                               'enabled' => 1,
+                               'subMenu' => $sublogs
+                               };
 
     if (! blue_used() && ! orange_used()) {
        $menu->{'05.firewall'}{'subMenu'}->{'03.dmz'}{'enabled'} = 0;
     }
-    if (-e '/etc/FLASH') {
-       $menu{'06.proxy'}{'subMenu'}->{'01.http'}{'subMenu'}->{'01.proxy'}{'enabled'} = 0;  #disable squid
-       $menu{'04.services'}{'subMenu'}->{'05.ids'}{'enabled'} = 0;  #disable ids
-       $menu{'08.logs'}{'subMenu'}->{'05.ids'}{'enabled'} = 0;  #disable ids
-    }
 }
 
 sub showhttpheaders
index 1e2e3c2..c9799f6 100644 (file)
   * popt-1.7
   * portmap_5beta
   * postfix-2.2.10
-  * postfix-2.2.9
   * ppp-2.4.2
   * pptp-1.6.0
   * procinfo-18
   * spandsp-0.0.2pre25
   * speedtouch-1.2
   * squid-2.5.STABLE13
-  * squid-2.5.STABLE13_1st
   * squid-graph-3.1
   * startscripts
   * stund_0.96_Aug13
index ed1d117..9a0f2ac 100644 (file)
@@ -84,8 +84,6 @@ if (-e "${General::swroot}/ovpn/settings") {
                push(@network, $tempovpnsubnet[0]);
                push(@masklen, $tempovpnsubnet[1]);
                push(@colour, ${Header::colourovpn} );
-               push(@ports, '0' );
-               push(@protocols, '' );
 
     if ( ($ovpnsettings{'ENABLED'} eq 'on') && open(IP, "${General::swroot}/red/local-ipaddress") ) {
       # add RED:port / proto
@@ -95,24 +93,18 @@ if (-e "${General::swroot}/ovpn/settings") {
                  push(@network, $redip );
                push(@masklen, '255.255.255.255' );
                push(@colour, ${Header::colourovpn} );
-               push(@ports, $ovpnsettings{'DDEST_PORT'} );
-               push(@protocols, $ovpnsettings{'DPROTOCOL'} );
     }
     if ( ($ovpnsettings{'ENABLED_BLUE'} eq 'on') && $netsettings{'BLUE_DEV'} ) {
       # add BLUE:port / proto
        push(@network, $netsettings{'BLUE_ADDRESS'} );
        push(@masklen, '255.255.255.255' );
                push(@colour, ${Header::colourovpn} );
-               push(@ports, $ovpnsettings{'DDEST_PORT'} );
-               push(@protocols, $ovpnsettings{'DPROTOCOL'} );
     }
     if ( ($ovpnsettings{'ENABLED_ORANGE'} eq 'on') && $netsettings{'ORANGE_DEV'} ) {
       # add ORANGE:port / proto
        push(@network, $netsettings{'ORANGE_ADDRESS'} );
        push(@masklen, '255.255.255.255' );
                push(@colour, ${Header::colourovpn} );
-               push(@ports, $ovpnsettings{'DDEST_PORT'} );
-               push(@protocols, $ovpnsettings{'DPROTOCOL'} );
     }
 }
 
index 73fbc39..81b6ad1 100644 (file)
@@ -803,18 +803,6 @@ if ($errormessage) {
        &Header::closebox();
 }
 
-if (($advproxyversion lt $latest) && (-e $sysupdflagfile)) { unlink($sysupdflagfile); }
-
-if (!-e $sysupdflagfile) {
-       &Header::openbox('100%', 'left', $Lang::tr{'advproxy update notification'});
-       print "<table width='100%' cellpadding='5'>\n";
-       print "<tr>\n";
-       print "<td bgcolor='$hintcolour' class='base'>$Lang::tr{'advproxy update information'}</td>";
-       print "</tr>\n";
-       print "</table>\n";
-       &Header::closebox();
-}
-
 # ===================================================================
 #  Main settings
 # ===================================================================
index 102dc55..65bea4c 100644 (file)
@@ -60,7 +60,7 @@ $(TARGET) :
        for i in auth/users backup/include.user backup/exclude.user \
            certs/index.txt ddns/config ddns/noipsettings ddns/settings ddns/ipcache dhcp/settings \
            dhcp/fixleases dhcp/advoptions dmzholes/config ethernet/aliases ethernet/settings \
-           isdn/settings main/hosts main/settings optionsfw/settings patches/available patches/installed \
+           isdn/settings main/hosts main/settings optionsfw/settings pakfire/settings patches/available patches/installed \
            portfw/config ppp/settings-1 ppp/settings-2 ppp/settings-3 ppp/settings-4 \
            ppp/settings-5 ppp/settings proxy/settings remote/settings shaping/settings \
            shaping/config snort/settings vpn/config vpn/settings vpn/ipsec.conf \
index fbaa749..7a1be86 100644 (file)
@@ -75,7 +75,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr --with-ssl --disable-nls --enable-fallback=procmail
+       cd $(DIR_APP) && ./configure --prefix=/usr --with-ssl --disable-nls --enable-fallback=procmail
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
        echo "set logfile /var/log/fetchmail.log" > ~/.fetchmailrc
index 178cda5..81ac214 100644 (file)
@@ -102,4 +102,7 @@ $(TARGET) :
        -mkdir -m 1775 -p /var/patches
        chown -R root:nobody /var/patches
 
+       # Versionsfile
+       echo -n "$(VERSION)" > /etc/ipfire_vers
+
        @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 49d58a0..4719b2c 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -639,6 +639,8 @@ buildipcop() {
   ipcopmake Archive-Zip
   ipcopmake GeoIP
   ipcopmake fwhits
+  ipcopmake berkeley
+  ipcopmake BerkeleyDB ## The Perl module
   ipcopmake noip_updater
   ipcopmake ntp
   ipcopmake oinkmaster
@@ -650,6 +652,9 @@ buildipcop() {
   ipcopmake setup
   ipcopmake snort
   #ipcopmake speedycgi
+  ipcopmake saslauthd PASS=1
+  ipcopmake openldap
+  ipcopmake saslauthd PASS=2
   ipcopmake squid
   ipcopmake squid-graph
   ipcopmake tcpdump
@@ -662,8 +667,6 @@ buildipcop() {
   ipcopmake pakfire
   ipcopmake startscripts
 ## Zuerst die Libs und dann die Programme. Ordnung muss sein!
-  ipcopmake berkeley
-  ipcopmake BerkeleyDB ## The Perl module
   ipcopmake java
   ipcopmake libtiff
   ipcopmake libjpeg
@@ -676,9 +679,6 @@ buildipcop() {
   ipcopmake xampp
   ipcopmake pam
   ipcopmake pammysql
-  ipcopmake saslauthd PASS=1
-  ipcopmake openldap
-  ipcopmake saslauthd PASS=2
   ipcopmake xinetd
   ipcopmake ghostscript
   ipcopmake cups
@@ -1075,7 +1075,7 @@ gettoolchain)
                        echo "`date -u '+%b %e %T'`: toolchain md5 ok" | tee -a $LOGFILE
                        echo "`date -u '+%b %e %T'`: Uncompressing toolchain" | tee -a $LOGFILE
                        cd $BASEDIR && tar xfz cache/$PACKAGE.tar.gz -C .
-                       rm -vf $BASEDIR/cache/$PACKAGE.{tar.gz,md5}
+                       rm -f $BASEDIR/cache/$PACKAGE.{tar.gz,md5}
                else
                        exiterror "$PACKAGE.md5 did not match, check downloaded package"
                fi
index 53ebddd..4222681 100644 (file)
@@ -23294,6 +23294,37 @@ etc/squid/squid.conf
 #usr/lib/squid/cachemgr.cgi
 #usr/lib/squid/diskd
 #usr/lib/squid/errors
+#usr/lib/squid/errors/Azerbaijani
+#usr/lib/squid/errors/Azerbaijani/ERR_ACCESS_DENIED
+#usr/lib/squid/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED
+#usr/lib/squid/errors/Azerbaijani/ERR_CACHE_MGR_ACCESS_DENIED
+#usr/lib/squid/errors/Azerbaijani/ERR_CANNOT_FORWARD
+#usr/lib/squid/errors/Azerbaijani/ERR_CONNECT_FAIL
+#usr/lib/squid/errors/Azerbaijani/ERR_DNS_FAIL
+#usr/lib/squid/errors/Azerbaijani/ERR_FORWARDING_DENIED
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_DISABLED
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_FAILURE
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_FORBIDDEN
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_NOT_FOUND
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_PUT_CREATED
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_PUT_ERROR
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_PUT_MODIFIED
+#usr/lib/squid/errors/Azerbaijani/ERR_FTP_UNAVAILABLE
+#usr/lib/squid/errors/Azerbaijani/ERR_INVALID_REQ
+#usr/lib/squid/errors/Azerbaijani/ERR_INVALID_RESP
+#usr/lib/squid/errors/Azerbaijani/ERR_INVALID_URL
+#usr/lib/squid/errors/Azerbaijani/ERR_LIFETIME_EXP
+#usr/lib/squid/errors/Azerbaijani/ERR_NO_RELAY
+#usr/lib/squid/errors/Azerbaijani/ERR_ONLY_IF_CACHED_MISS
+#usr/lib/squid/errors/Azerbaijani/ERR_READ_ERROR
+#usr/lib/squid/errors/Azerbaijani/ERR_READ_TIMEOUT
+#usr/lib/squid/errors/Azerbaijani/ERR_SHUTTING_DOWN
+#usr/lib/squid/errors/Azerbaijani/ERR_SOCKET_FAILURE
+#usr/lib/squid/errors/Azerbaijani/ERR_TOO_BIG
+#usr/lib/squid/errors/Azerbaijani/ERR_UNSUP_REQ
+#usr/lib/squid/errors/Azerbaijani/ERR_URN_RESOLVE
+#usr/lib/squid/errors/Azerbaijani/ERR_WRITE_ERROR
+#usr/lib/squid/errors/Azerbaijani/ERR_ZERO_SIZE_OBJECT
 #usr/lib/squid/errors/Bulgarian
 #usr/lib/squid/errors/Bulgarian/ERR_ACCESS_DENIED
 #usr/lib/squid/errors/Bulgarian/ERR_CACHE_ACCESS_DENIED
@@ -23573,7 +23604,7 @@ usr/lib/squid/errors/English
 #usr/lib/squid/errors/French/ERR_URN_RESOLVE
 #usr/lib/squid/errors/French/ERR_WRITE_ERROR
 #usr/lib/squid/errors/French/ERR_ZERO_SIZE_OBJECT
-#usr/lib/squid/errors/German
+usr/lib/squid/errors/German
 #usr/lib/squid/errors/German/ERR_ACCESS_DENIED
 #usr/lib/squid/errors/German/ERR_CACHE_ACCESS_DENIED
 #usr/lib/squid/errors/German/ERR_CACHE_MGR_ACCESS_DENIED
@@ -24226,12 +24257,14 @@ usr/lib/squid/msnt_auth
 usr/lib/squid/ncsa_auth
 usr/lib/squid/ntlm_auth
 usr/lib/squid/smb_auth
+usr/lib/squid/smb_auth.pl
 usr/lib/squid/smb_auth.sh
+usr/lib/squid/squid_ldap_auth
 usr/lib/squid/unlinkd
-usr/lib/squid/wb_ntlmauth
 usr/sbin/squid
 #usr/share/man/man8/cachemgr.cgi.8
 #usr/share/man/man8/squid.8
+#usr/share/man/man8/squid_ldap_auth.8
 var/log/cache
 var/log/squid
 var/log/squid/access.log
index 3e5c4f4..0cddbff 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 ############################################################################################
 # Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
 # IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
index ffef70e..0d61f1a 100644 (file)
@@ -5,7 +5,7 @@
 ############################################################################################
 
 # Conf File festlegen
-CONF_FILE=/opt/pakfire/pakfire.conf
+CONF_FILE=/etc/pakfire.conf
 
 if [ -r $CONF_FILE ]
 then 
index e12c517..5ccf826 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/bash
+
 ############################################################################################
 # Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
 # IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
index af00031..7ccc835 100644 (file)
@@ -6,9 +6,9 @@
 
 case "$1" in
 
-       update)         $(get_conf.sh HOME)/lib/get_mirror.sh
-                       $(get_conf.sh HOME)/lib/get_list.sh
-                       $(get_conf.sh HOME)/lib/check_pak.sh
+       update)         $(lib/get_conf.sh HOME)/lib/get_mirror.sh
+                       $(lib/get_conf.sh HOME)/lib/get_list.sh
+                       $(lib/get_conf.sh HOME)/lib/check_pak.sh
        ;;
 
        *) echo -e "IPFire - Pakfire\nHilfe:\npakfire install [Paket]\t- Installiert ein neues Paket.\npakfire update\t\t- Lädt die Liste aller Pakete neu.\npakfire remove [Paket]\t- Deinstalliert ein Paket.\npakfire upgrade\t\t- Überprüft nach neuen Updates."
index 7974f51..e00c232 100644 (file)
@@ -1,6 +1,56 @@
-VERS=1.4-beta-1
-HOME=/opt/pakfire
-H_MIRROR=http://mirror.ipfire.org/pakfire
-HOST_TEST=ping -c 5 
+############################################################################################
+# Version 0.1a, Copyright (C) 2006  Peter Schaelchli Für IPFire besteht KEINERLEI GARANTIE;#
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen;      #
+############################################################################################
+
+# Home Verzeichnis von Pakman
+HOME=/opt/pakfire/
+
+# Verionsfile von IPFire
+VERS=/etc/ipfire_vers
+
+# URL Mirrorfile
+PURL=/opt/pakfire/patch.http
+
+# LOG_file
 LOG=/var/log/pakfire.log
-LIST_NAME=paklist
+
+# Filename der Patchliste
+LIST_NAME=packages_list.txt
+
+# Zielverzeichnis der Patchliste
+DEST_DIR=/opt/pakfire/list/
+
+# Update Verzeichnis
+UP_DIR=/opt/pakfire/updates/
+
+# Verzeichnis mit nicht installierten Paketen
+NIP_DIR=/opt/pakfire/notinstalled/
+
+# Verzeichnis mit Installierten Paketen
+IP_DIR=/opt/pakfire/installed/
+
+# Download Zielverzeichnis
+DOWN_DEST=/opt/pakfire/download/
+
+# Haupt- Mirrorliste
+H_MIRROR=http://mirror.ipfire.org/packages/files.http
+
+# URL Zerlegungs- Script
+URL_ZERL=/opt/pakfire/url_zerl.sh
+
+# Host Tester
+HOST_TEST=/opt/pakfire/test_host.sh
+
+# Paket Filenamen festlegen
+# Das eigentliche Paket
+PAK_PROG=prog.tar.gz
+# Abhängigkeits Liste
+PAK_ABH=abh.txt
+# Installer Script
+PAK_INST=install.sh
+# Uninstaller Script
+PAK_UNINST=uninstall.sh
+
+# Cacheverzeichnis
+CACHE_DIR=/opt/pakfire/cache/