]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Hinzugefuegt:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 26 Aug 2006 13:20:12 +0000 (13:20 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 26 Aug 2006 13:20:12 +0000 (13:20 +0000)
  * QoS-Graphen - Erste Version!
Pakete:
  * Applejuice bearbeitet
  * Depends.txt in alle eingefuegt
  * Clamav bearbeitet

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

63 files changed:
config/qos/RRD-func.pl
doc/ChangeLog
html/cgi-bin/qos.cgi
lfs/applejuice
make.sh
src/misc-progs/qosctrl.c
src/paks/amavisd/depends.txt [new file with mode: 0644]
src/paks/applejuice/ROOTFILES
src/paks/applejuice/depends.txt [new file with mode: 0644]
src/paks/applejuice/install.sh
src/paks/applejuice/uninstall.sh
src/paks/asterisk/depends.txt [new file with mode: 0644]
src/paks/bristuff/depends.txt [new file with mode: 0644]
src/paks/cftp/depends.txt [new file with mode: 0644]
src/paks/clamav/depends.txt [new file with mode: 0644]
src/paks/clamav/install.sh
src/paks/clamav/uninstall.sh
src/paks/cups/depends.txt [new file with mode: 0644]
src/paks/cyrusimap/depends.txt [new file with mode: 0644]
src/paks/edonkeyclc/depends.txt [new file with mode: 0644]
src/paks/ethereal/depends.txt [new file with mode: 0644]
src/paks/fetchmail/depends.txt [new file with mode: 0644]
src/paks/ghostscript/depends.txt [new file with mode: 0644]
src/paks/gnump3d/depends.txt [new file with mode: 0644]
src/paks/iptraf/depends.txt [new file with mode: 0644]
src/paks/java/depends.txt [new file with mode: 0644]
src/paks/lame/depends.txt [new file with mode: 0644]
src/paks/libjpeg/depends.txt [new file with mode: 0644]
src/paks/libogg/depends.txt [new file with mode: 0644]
src/paks/libpri/depends.txt [new file with mode: 0644]
src/paks/libtiff/depends.txt [new file with mode: 0644]
src/paks/libvorbis/depends.txt [new file with mode: 0644]
src/paks/libxml2/depends.txt [new file with mode: 0644]
src/paks/lynx/depends.txt [new file with mode: 0644]
src/paks/mailx/depends.txt [new file with mode: 0644]
src/paks/mc/depends.txt [new file with mode: 0644]
src/paks/mldonkey/depends.txt [new file with mode: 0644]
src/paks/mpg123/depends.txt [new file with mode: 0644]
src/paks/ncftp/depends.txt [new file with mode: 0644]
src/paks/nfs/depends.txt [new file with mode: 0644]
src/paks/nmap/depends.txt [new file with mode: 0644]
src/paks/ntop/depends.txt [new file with mode: 0644]
src/paks/portmap/ROOTFILES
src/paks/portmap/depends.txt [new file with mode: 0644]
src/paks/postfix/depends.txt [new file with mode: 0644]
src/paks/procmail/depends.txt [new file with mode: 0644]
src/paks/razor/depends.txt [new file with mode: 0644]
src/paks/rsync/depends.txt [new file with mode: 0644]
src/paks/samba/depends.txt [new file with mode: 0644]
src/paks/sane/depends.txt [new file with mode: 0644]
src/paks/sox/depends.txt [new file with mode: 0644]
src/paks/spamassassin/depends.txt [new file with mode: 0644]
src/paks/spandsp/depends.txt [new file with mode: 0644]
src/paks/stunnel/depends.txt [new file with mode: 0644]
src/paks/subversion/depends.txt [new file with mode: 0644]
src/paks/tcpwrapper/depends.txt [new file with mode: 0644]
src/paks/tftp-hpa/depends.txt [new file with mode: 0644]
src/paks/web-cyradm/depends.txt [new file with mode: 0644]
src/paks/xampp/depends.txt [new file with mode: 0644]
src/paks/xinetd/depends.txt [new file with mode: 0644]
src/paks/zaptel/depends.txt [new file with mode: 0644]
src/scripts/packager
src/scripts/qosd

index 4642f1333fb83242f9df35d840ba1dea002310b8..e0b094488ad02ce3990d6e88e947206decc8f118 100644 (file)
 
 use RRDs;
 
 
 use RRDs;
 
-if (not defined $rrd_datadir) {
-    our $rrd_datadir = "/var/spool/rrdqueues/";
-}
-
 if (not defined $STEP) {
     my $STEP=10;
 }
 if (not defined $STEP) {
     my $STEP=10;
 }
index 333c5af45fad47498dd811135a53edf5bdf81ea1..999984b07fc672eb628c742e08b88dde06aa991e 100644 (file)
@@ -1,3 +1,11 @@
+------------------------------------------------------------------------
+r257 | ms | 2006-08-26 10:42:48 +0200 (Sat, 26 Aug 2006) | 5 lines
+
+Update:
+  * Pakfire!
+Fixes:
+  * ConnScheduler
+
 ------------------------------------------------------------------------
 r256 | ms | 2006-08-23 23:55:46 +0200 (Wed, 23 Aug 2006) | 8 lines
 
 ------------------------------------------------------------------------
 r256 | ms | 2006-08-23 23:55:46 +0200 (Wed, 23 Aug 2006) | 8 lines
 
index 1ecc84fe0d24624eb9a86b59041e634e3b15f862..ef26457f904539a13bf807cfc313fc4cf065c452 100644 (file)
@@ -7,6 +7,7 @@
 # (c) The IPFire Team
 #
 
 # (c) The IPFire Team
 #
 
+use RRDs;
 use strict;
 # enable only the following on debugging purpose
 use warnings;
 use strict;
 # enable only the following on debugging purpose
 use warnings;
@@ -85,6 +86,9 @@ $qossettings{'DOCLASS'} = '';
 $qossettings{'DOSCLASS'} = '';
 $qossettings{'DOLEVEL7'} = '';
 $qossettings{'DOPORT'} = '';
 $qossettings{'DOSCLASS'} = '';
 $qossettings{'DOLEVEL7'} = '';
 $qossettings{'DOPORT'} = '';
+$qossettings{'CLASS'} = '';
+$qossettings{'CLASSPRFX'} = '';
+$qossettings{'DEV'} = '';
 
 
 &General::readhash("${General::swroot}/qos/settings", \%qossettings);
 
 
 &General::readhash("${General::swroot}/qos/settings", \%qossettings);
@@ -373,6 +377,39 @@ elsif ($qossettings{'ACTION'} eq 'Statusinformationen')
        &Header::closepage();
        exit
 }
        &Header::closepage();
        exit
 }
+elsif ($qossettings{'ACTION'} eq 'Grafische Auswertung')
+{
+       &Header::openbox('100%', 'left', 'QoS Graphen');
+       print <<END
+       <table width='100%'><tr><td colspan='2' align='center'><font color='red'>Diese Seite braucht je nach Geschwindigkeit des Computers laenger zum Laden.</font>
+END
+;
+       open( FILE, "< $classfile" ) or die "Unable to read $classfile";
+       @classes = <FILE>;
+       close FILE;
+       foreach $classentry (sort @classes)
+       {
+               @classline = split( /\;/, $classentry );
+               $qossettings{'DEV'}=$classline[0];
+               $qossettings{'CLASS'}=$classline[1];
+               &gengraph($qossettings{'DEV'},$qossettings{'CLASS'});
+               print <<END
+               <tr><td colspan='2' align='center'><font color='darkblue'><b>$qossettings{'CLASS'} ($qossettings{'DEV'})</b></font>
+               <tr><td colspan='2' align='center'><img src='/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-packets.png'>
+               <tr><td colspan='2' align='center'><img src='/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-borrowed.png'>
+               <tr><td colspan='2' align='center'><img src='/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-bytes.png'>
+END
+;
+       }
+print <<END
+       </table>
+END
+;
+       &Header::closebox();
+       &Header::closebigbox();
+       &Header::closepage();
+       exit
+}
 elsif ($qossettings{'ACTION'} eq 'Parentklasse hinzufuegen')
 {
        &parentclass();
 elsif ($qossettings{'ACTION'} eq 'Parentklasse hinzufuegen')
 {
        &parentclass();
@@ -481,7 +518,13 @@ END
                <tr><td width='40%' align='right'>Uploadstandardklasse:         <td width='40%' align='left'>$qossettings{'DEFCLASS_OUT'}
                <tr><td width='40%' align='right'>ACKs:                         <td width='40%' align='left'>$qossettings{'ACK'}
                <tr><td colspan='3' width='100%'><hr>
                <tr><td width='40%' align='right'>Uploadstandardklasse:         <td width='40%' align='left'>$qossettings{'DEFCLASS_OUT'}
                <tr><td width='40%' align='right'>ACKs:                         <td width='40%' align='left'>$qossettings{'ACK'}
                <tr><td colspan='3' width='100%'><hr>
-               <tr><td colspan='3' width='100%' align='center'><input type='submit' name='ACTION' value='Parentklasse hinzufuegen'><input type='submit' name='ACTION' value='Erweiterte Einstellungen'><input type='submit' name='ACTION' value='Statusinformationen'>
+               <tr><td colspan='3' width='100%' align='center'>
+               <table boder='0' cellpadding='0' cellspacing='0'>
+                       <tr><td><input type='submit' name='ACTION' value='Parentklasse hinzufuegen'>
+                           <td><input type='submit' name='ACTION' value='Erweiterte Einstellungen'>
+                       <tr><td><input type='submit' name='ACTION' value='Statusinformationen'>
+                           <td><input type='submit' name='ACTION' value='Grafische Auswertung'>
+               </table>
        </form>
 END
 ;
        </form>
 END
 ;
@@ -1329,3 +1372,74 @@ sub validsubclass {
                }
        }
 }
                }
        }
 }
+
+sub gengraph {
+       $qossettings{'DEV'} = shift;
+       $qossettings{'CLASS'} = shift;
+       my $ERROR="";
+       if ( $qossettings{'DEV'} eq $qossettings{'RED_DEV'} ) { 
+               $qossettings{'CLASSPRFX'} = '1'; 
+       } else { 
+               $qossettings{'CLASSPRFX'} = '2'; 
+       }
+
+       RRDs::graph ("/home/httpd/html/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-packets.png",
+               "--start", "-3240", "-aPNG", "-i", "-z",
+               "--alt-y-grid", "-w 800", "-h 150", "-r",
+               "--color", "SHADEA#EAE9EE",
+               "--color", "SHADEB#EAE9EE",
+               "--color", "BACK#FFFFFF",
+               "-t $qossettings{'CLASS'} ($qossettings{'DEV'})",
+               "DEF:pkts=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:pkts:AVERAGE",
+               "DEF:dropped=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:dropped:AVERAGE",
+               "DEF:overlimits=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:overlimits:AVERAGE",
+               "AREA:pkts#00FFFF:packets",
+               "GPRINT:pkts:LAST:total packets\\:%8.3lf %s packets\\j",
+               "LINE3:dropped#FF0000:dropped",
+               "GPRINT:dropped:LAST:dropped packets\\:%8.3lf %s packets\\j",
+               "LINE3:overlimits#0000FF:overlimits",
+               "GPRINT:overlimits:LAST:overlimits\\:%8.3lf %s packets\\j",
+       );
+               $ERROR = RRDs::error;
+               print "$ERROR";
+
+       RRDs::graph ("/home/httpd/html/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-borrowed.png",
+               "--start", "-3240", "-aPNG", "-i", "-z",
+               "--alt-y-grid", "-w 800", "-h 150", "-r",
+               "--color", "SHADEA#EAE9EE",
+               "--color", "SHADEB#EAE9EE",
+               "--color", "BACK#FFFFFF",
+               "-t $qossettings{'CLASS'} ($qossettings{'DEV'})",
+               "DEF:lended=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:lended:AVERAGE",
+               "DEF:borrowed=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:borrowed:AVERAGE",
+               "DEF:giants=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:giants:AVERAGE",
+               "AREA:lended#99ff99:lended",
+               "GPRINT:lended:LAST:lended\\:%8.3lf %s packets\\j",
+               "LINE3:borrowed#f70566:borrowed",
+               "GPRINT:borrowed:LAST:borrowed\\:%8.3lf %s packets\\j",
+               "LINE3:giants#05ad05:giants",
+               "GPRINT:giants:LAST:giants\\:%8.3lf %s packets\\j",
+       );
+               $ERROR = RRDs::error;
+               print "$ERROR";
+
+       RRDs::graph ("/home/httpd/html/graphs/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}-bytes.png",
+               "--start", "-3240", "-aPNG", "-i", "-z",
+               "--alt-y-grid", "-w 800", "-h 150", "-r",
+               "--color", "SHADEA#EAE9EE",
+               "--color", "SHADEB#EAE9EE",
+               "--color", "BACK#FFFFFF",
+               "-t $qossettings{'CLASS'} ($qossettings{'DEV'})",
+               "DEF:bits=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:bits:AVERAGE",
+               "DEF:bytes=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$qossettings{'CLASS'}_$qossettings{'DEV'}.rrd:bytes:AVERAGE",
+               "CDEF:kbytes=bytes,1024,/",
+               "CDEF:kbits=bits,1024,/,8,/",
+               "AREA:kbytes#FFBE7D:kbytes",
+               "GPRINT:kbytes:LAST:rate\\: %8.3lf kbytes\\j",
+               "GPRINT:kbits:LAST:rate\\:%8.2lf kbits\\r",
+       );
+               $ERROR = RRDs::error;
+               print "$ERROR";
+
+
+}
\ No newline at end of file
index 797b49e666d7a60c051b1697070299828bb6aeba..ac9a06bc2b01a1a671f5763abca32c6f3344b35c 100644 (file)
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = applejuice
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = applejuice
-PAK_VER    = ipfire-beta1
+PAK_VER    = 1
 
 ###############################################################################
 # Top-level Rules
 
 ###############################################################################
 # Top-level Rules
@@ -80,5 +80,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && mkdir -p /opt/applejuice && mv -fv ajcore.jar /opt/applejuice
        cd $(DIR_APP) && mv -fv libajnetmask.so /opt/applejuice
        cd $(DIR_APP) && cp -rfv phpaj /opt/lampp/htdocs
        cd $(DIR_APP) && mkdir -p /opt/applejuice && mv -fv ajcore.jar /opt/applejuice
        cd $(DIR_APP) && mv -fv libajnetmask.so /opt/applejuice
        cd $(DIR_APP) && cp -rfv phpaj /opt/lampp/htdocs
+       -mkdir /var/ipfire/applejuice
+       echo "RAMSIZE=64" > /var/ipfire/applejuice/settings
+       chown nobody.nobody /var/ipfire/applejuice -R
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
\ No newline at end of file
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
\ No newline at end of file
diff --git a/make.sh b/make.sh
index 8a138dc73a2ac4c470bd48f37fc627f3b3735cad..ef4dfc0fd838cb91033c8a61a6261124f9e2cb1d 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -860,6 +860,8 @@ buildpackages() {
                cat $i | sed "s%^\./%#%" | sort >> $BASEDIR/log/FILES
        fi
   done
                cat $i | sed "s%^\./%#%" | sort >> $BASEDIR/log/FILES
        fi
   done
+  cd $BASEDIR/packages; ls -w1 *.tar.gz | awk -F ".tar.gz" '{ print $1 }' > $BASEDIR/packages/packages_list.txt
+  echo "###EOF###" >> $BASEDIR/packages/packages_list.txt
 
   cd $PWD
 
 
   cd $PWD
 
index f3b288bcda5f72f24fb7252301d0572a3010ddc3..f5faaa7a080d84ddceb6a4353cb4f7bb134f8a4c 100644 (file)
@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
                exit(1);
        }
 
                exit(1);
        }
 
-       safe_system("chmod 755 /var/ipfire/qos/bin/qos.sh");
+       safe_system("chmod 755 /var/ipfire/qos/bin/qos.sh 2>&1 >/dev/null");
        if (strcmp(argv[1], "start") == 0) {
                 if ((fd = open("/var/ipfire/qos/bin/qos.sh", O_RDONLY)) != -1)
                {
        if (strcmp(argv[1], "start") == 0) {
                 if ((fd = open("/var/ipfire/qos/bin/qos.sh", O_RDONLY)) != -1)
                {
diff --git a/src/paks/amavisd/depends.txt b/src/paks/amavisd/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
index f3534bfb94ccc23e2c7bfce5ca15de8b15587eb9..69de845d31f60a3b8736aedb7c930e9530880676 100644 (file)
@@ -1,3 +1,4 @@
+etc/init.d/applejuice
 opt/applejuice
 opt/applejuice/ajcore.jar
 opt/applejuice/libajnetmask.so
 opt/applejuice
 opt/applejuice/ajcore.jar
 opt/applejuice/libajnetmask.so
@@ -132,4 +133,5 @@ opt/lampp/htdocs/phpaj/style/tango/icons/up.png
 opt/lampp/htdocs/phpaj/style/tango/icons/warning.png
 opt/lampp/htdocs/phpaj/style/tango/icons/x.png
 opt/lampp/htdocs/phpaj/style/tango/tango.css
 opt/lampp/htdocs/phpaj/style/tango/icons/warning.png
 opt/lampp/htdocs/phpaj/style/tango/icons/x.png
 opt/lampp/htdocs/phpaj/style/tango/tango.css
-opt/lampp/htdocs/phpaj/vars.php
\ No newline at end of file
+opt/lampp/htdocs/phpaj/vars.php
+var/ipfire/applejuice
\ No newline at end of file
diff --git a/src/paks/applejuice/depends.txt b/src/paks/applejuice/depends.txt
new file mode 100644 (file)
index 0000000..f3d360b
--- /dev/null
@@ -0,0 +1 @@
+java
index 3a9ce551bfec4c48fea6d4d5c4ef4b35eb5d518c..2f78907fa2516b8648d4d94f3d08d41424507ddc 100644 (file)
@@ -8,4 +8,3 @@
 #
 # Extract the files
 tar xfz files.tgz -C /
 #
 # Extract the files
 tar xfz files.tgz -C /
-cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2
index ad6122665e575c751b4b3f5b3f1a66b62256213c..7ee2885e7335098f79f02aaeaea052f7dc37e723 100644 (file)
@@ -6,5 +6,3 @@
 #################################################################
 #
 # Delete the files
 #################################################################
 #
 # Delete the files
-## Befehl fehlt noch
-rm -f /opt/pakfire/installed/ROOTFILES.$2
diff --git a/src/paks/asterisk/depends.txt b/src/paks/asterisk/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/bristuff/depends.txt b/src/paks/bristuff/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/cftp/depends.txt b/src/paks/cftp/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/clamav/depends.txt b/src/paks/clamav/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
index 3a9ce551bfec4c48fea6d4d5c4ef4b35eb5d518c..2f78907fa2516b8648d4d94f3d08d41424507ddc 100644 (file)
@@ -8,4 +8,3 @@
 #
 # Extract the files
 tar xfz files.tgz -C /
 #
 # Extract the files
 tar xfz files.tgz -C /
-cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2
index ad6122665e575c751b4b3f5b3f1a66b62256213c..7ee2885e7335098f79f02aaeaea052f7dc37e723 100644 (file)
@@ -6,5 +6,3 @@
 #################################################################
 #
 # Delete the files
 #################################################################
 #
 # Delete the files
-## Befehl fehlt noch
-rm -f /opt/pakfire/installed/ROOTFILES.$2
diff --git a/src/paks/cups/depends.txt b/src/paks/cups/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/cyrusimap/depends.txt b/src/paks/cyrusimap/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/edonkeyclc/depends.txt b/src/paks/edonkeyclc/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/ethereal/depends.txt b/src/paks/ethereal/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/fetchmail/depends.txt b/src/paks/fetchmail/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/ghostscript/depends.txt b/src/paks/ghostscript/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/gnump3d/depends.txt b/src/paks/gnump3d/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/iptraf/depends.txt b/src/paks/iptraf/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/java/depends.txt b/src/paks/java/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/lame/depends.txt b/src/paks/lame/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libjpeg/depends.txt b/src/paks/libjpeg/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libogg/depends.txt b/src/paks/libogg/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libpri/depends.txt b/src/paks/libpri/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libtiff/depends.txt b/src/paks/libtiff/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libvorbis/depends.txt b/src/paks/libvorbis/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/libxml2/depends.txt b/src/paks/libxml2/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/lynx/depends.txt b/src/paks/lynx/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/mailx/depends.txt b/src/paks/mailx/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/mc/depends.txt b/src/paks/mc/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/mldonkey/depends.txt b/src/paks/mldonkey/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/mpg123/depends.txt b/src/paks/mpg123/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/ncftp/depends.txt b/src/paks/ncftp/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/nfs/depends.txt b/src/paks/nfs/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/nmap/depends.txt b/src/paks/nmap/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/ntop/depends.txt b/src/paks/ntop/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
index d3bdae8e7c1c26c06d57ba143e88e801fda18501..528386de905ce233198b7ec2c19a307625e2548b 100644 (file)
@@ -4,3 +4,6 @@ usr/sbin/pmap_set
 #usr/share/man/man8/pmap_dump.8
 #usr/share/man/man8/pmap_set.8
 #usr/share/man/man8/portmap.8
 #usr/share/man/man8/pmap_dump.8
 #usr/share/man/man8/pmap_set.8
 #usr/share/man/man8/portmap.8
+usr/lib/libwrap.so
+usr/lib/libwrap.so.0
+usr/lib/libwrap.so.0.7.6
diff --git a/src/paks/portmap/depends.txt b/src/paks/portmap/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/postfix/depends.txt b/src/paks/postfix/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/procmail/depends.txt b/src/paks/procmail/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/razor/depends.txt b/src/paks/razor/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/rsync/depends.txt b/src/paks/rsync/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/samba/depends.txt b/src/paks/samba/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/sane/depends.txt b/src/paks/sane/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/sox/depends.txt b/src/paks/sox/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/spamassassin/depends.txt b/src/paks/spamassassin/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/spandsp/depends.txt b/src/paks/spandsp/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/stunnel/depends.txt b/src/paks/stunnel/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/subversion/depends.txt b/src/paks/subversion/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/tcpwrapper/depends.txt b/src/paks/tcpwrapper/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/tftp-hpa/depends.txt b/src/paks/tftp-hpa/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/web-cyradm/depends.txt b/src/paks/web-cyradm/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/xampp/depends.txt b/src/paks/xampp/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/xinetd/depends.txt b/src/paks/xinetd/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/zaptel/depends.txt b/src/paks/zaptel/depends.txt
new file mode 100644 (file)
index 0000000..e69de29
index effffeb7826fa77c07abacce977e47c4f5bdf7ea..586860d996ae4ab0ff7e05cfd1e837b925332d81 100644 (file)
@@ -15,6 +15,7 @@ else
        mkdir -p  /install/packages/package
        cp -f /usr/src/src/paks/$PROG/{,un}install.sh /install/packages/package
        cp -f /usr/src/src/paks/$PROG/ROOTFILES       /install/packages/package
        mkdir -p  /install/packages/package
        cp -f /usr/src/src/paks/$PROG/{,un}install.sh /install/packages/package
        cp -f /usr/src/src/paks/$PROG/ROOTFILES       /install/packages/package
+       cp -f /usr/src/src/paks/$PROG/depends.txt     /install/packages/package
        chmod 755 /install/packages/package/{,un}install.sh
 
        cd /    && tar --create --directory=/ --files-from=/install/packages/package/ROOTFILES --file=/packagetmp.tar --exclude='#*'
        chmod 755 /install/packages/package/{,un}install.sh
 
        cd /    && tar --create --directory=/ --files-from=/install/packages/package/ROOTFILES --file=/packagetmp.tar --exclude='#*'
@@ -24,7 +25,7 @@ else
 
        cd /    && rm -rf /tmp/*
        cd /install/packages/package && cat ROOTFILES | grep -v "#" > ROOTFILES
 
        cd /    && rm -rf /tmp/*
        cd /install/packages/package && cat ROOTFILES | grep -v "#" > ROOTFILES
-       tar cfz ../$PROG-${VER}_$PAK_VER.tar.gz files.tgz install.sh uninstall.sh ROOTFILES
+       tar cfz ../$PROG-${VER}_$PAK_VER.tar.gz files.tgz install.sh uninstall.sh ROOTFILES depends.txt
 
        cd /install/packages && md5sum $PROG*.tar.gz > $PROG-${VER}_$PAK_VER.tar.gz.md5
        cd /install/packages && md5sum $PROG*.tar.gz >> all-progs.md5
 
        cd /install/packages && md5sum $PROG*.tar.gz > $PROG-${VER}_$PAK_VER.tar.gz.md5
        cd /install/packages && md5sum $PROG*.tar.gz >> all-progs.md5
index 2bae22ab465000aa720d5f8daa7b8afc440375f2..23e6678cf7c842943590803dea05d135b42245d3 100644 (file)
@@ -46,8 +46,8 @@ use strict;
 
 # Configuration options:
 #
 
 # Configuration options:
 #
-my  $device        = "imq0";
-our $rrd_datadir   = "/var/log/rrd";
+my  $device        = "$ARGV[0]";
+our $rrd_datadir   = "/var/log/rrd/";
 our $event_datadir = $rrd_datadir;
 our $STEP          = 10;
 our $tc_command    = "/sbin/tc";
 our $event_datadir = $rrd_datadir;
 our $STEP          = 10;
 our $tc_command    = "/sbin/tc";