]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
HinzugefĆ¼gt:
[people/pmueller/ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index 4680c4fac980a4a4f36765ae4667f0403b3d0ad9..7d02c139ced4496d00bbbb34f922de4dfd50669d 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -704,6 +704,7 @@ buildipcop() {
   ipcopmake portmap
   ipcopmake nmap
   ipcopmake nfs
+  ipcopmake ncftp
 #  wget http://www.guzu.net/linux/hddtemp.db && mv hddtemp.db $BASEDIR/build/etc/hddtemp.db
 #  ipcopmake hddtemp
 #  ipcopmake stunnel # Ausgeschaltet, weil wir es doch nicht nutzen
@@ -1086,6 +1087,7 @@ diff)
 sync)
        echo -e "Syncing Cache to FTP:"
        echo -ne "Password for mirror.ipfire.org: "; read PASS
+       rm -f doc/packages-to-remove-from-ftp
        ncftpls -u web3 -p $PASS ftp://mirror.ipfire.org/html/source-packages/source/ > ftplist
        for i in `ls -w1 cache/`; do
                grep $i ftplist
@@ -1095,9 +1097,16 @@ sync)
                                echo -e "$i was successfully uploaded to the ftp server."
                        else
                                echo -e "There was an error while uploading $i to the ftp server."
+               
                        fi
                fi
        done
+       for i in `cat ftplist`; do
+               ls -w1 cache/ | grep $i
+               if [ "$?" -eq "1" ]; then
+                       echo $i | grep -v toolchain >> doc/packages-to-remove-from-ftp
+               fi
+       done
        rm -f ftplist
        ;;
 *)