]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - make.sh
SVN ist durcheinandergekommen bei Pfad-Anpassung Part 2 (Ende)
[ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index 8a138dc73a2ac4c470bd48f37fc627f3b3735cad..6b886be62ab59540b71c49bbb0d0b7af4f8c802d 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -26,7 +26,7 @@
   NAME="IPFire"                        # Software name
   SNAME="ipfire"                       # Short name
   VERSION="2.0"                        # Version number
-  SLOGAN="www.ipfire.org"              # Software slogan
+  SLOGAN="www.ipfire.eu"               # Software slogan
   CONFIG_ROOT=/var/ipfire              # Configuration rootdir
   NICE=10
   MAX_RETRIES=3                        # prefetch/check loop
@@ -344,7 +344,7 @@ ipcopmake() {
 
 ipfiredist() {
        if [ -f $BASEDIR/build/usr/src/lfs/$1 ]; then
-#         if [ ! `ls -w1 $BASEDIR/packages/*.tar.gz | grep $1` ]; then
+#         if [ ! `ls -w1 $BASEDIR/packages/*.ipfire | grep $1` ]; then
                echo "`date -u '+%b %e %T'`: Packaging $1" | tee -a $LOGFILE
                chroot $LFS /tools/bin/env -i   HOME=/root \
                                                TERM=$TERM PS1='\u:\w\$ ' \
@@ -587,6 +587,11 @@ buildipcop() {
   ipcopmake python
   ipcopmake libnet
   ipcopmake libpng
+  ipcopmake libtiff
+  ipcopmake libjpeg
+  ipcopmake lcms
+  ipcopmake libmng
+  ipcopmake freetype
   ipcopmake gd
   ipcopmake popt
   ipcopmake slang
@@ -594,7 +599,16 @@ buildipcop() {
   ipcopmake libcap
   ipcopmake pciutils
   ipcopmake pcre
-  ipcopmake apache
+  ipcopmake readline
+  ipcopmake libxml2
+  ipcopmake berkeley
+  ipcopmake BerkeleyDB ## The Perl module
+  ipcopmake mysql
+  ipcopmake saslauthd PASS=1
+  ipcopmake openldap
+  #ipcopmake apache
+  ipcopmake apache2
+  ipcopmake php
   ipcopmake arping
   ipcopmake beep
   ipcopmake bind
@@ -652,8 +666,6 @@ buildipcop() {
   ipcopmake Locale-Country
   ipcopmake GeoIP
   ipcopmake fwhits
-  ipcopmake berkeley
-  ipcopmake BerkeleyDB ## The Perl module
   ipcopmake noip_updater
   ipcopmake ntp
   ipcopmake oinkmaster
@@ -665,15 +677,13 @@ buildipcop() {
   ipcopmake setup
   ipcopmake snort
   #ipcopmake speedycgi
-  ipcopmake saslauthd PASS=1
-  ipcopmake openldap
   ipcopmake squid
   ipcopmake squid-graph
   ipcopmake squidguard
   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
@@ -681,13 +691,7 @@ buildipcop() {
   ipcopmake startscripts
 ## Zuerst die Libs und dann die Programme. Ordnung muss sein!
   ipcopmake java
-  ipcopmake libtiff
-  ipcopmake libjpeg
-  ipcopmake lcms
-  ipcopmake libmng
-  ipcopmake freetype
   ipcopmake bootsplash
-  ipcopmake libxml2
   ipcopmake spandsp
   ipcopmake lzo
   ipcopmake openvpn
@@ -732,12 +736,17 @@ buildipcop() {
   ipcopmake bristuff
   ipcopmake asterisk
   ipcopmake mpg123
-  echo -ne "`date -u '+%b %e %T'`: Building ### MP3-Server ### \n" | tee -a $LOGFILE
+  echo -ne "`date -u '+%b %e %T'`: Building ### Multimedia-Server ### \n" | tee -a $LOGFILE
+  ipcopmake libmad
   ipcopmake libogg
   ipcopmake libvorbis
   ipcopmake lame
+  ipcopmake xvid
+  ipcopmake mpeg2dec
+  ipcopmake ffmpeg
   ipcopmake sox
   ipcopmake gnump3d
+  ipcopmake videolan
   echo -ne "`date -u '+%b %e %T'`: Building ### P2P-Clients ### \n" | tee -a $LOGFILE
   ipcopmake applejuice
   ipcopmake ocaml
@@ -758,8 +767,10 @@ buildipcop() {
   ipcopmake etherwake
   ipcopmake ethereal
   ipcopmake tftp-hpa
-  ipcopmake subversion
+  #ipcopmake subversion
   ipcopmake iptraf
+  ipcopmake nagios
+  ipcopmake yasuc
 #  ipcopmake stunnel # Ausgeschaltet, weil wir es doch nicht nutzen
 }
 
@@ -860,6 +871,8 @@ buildpackages() {
                cat $i | sed "s%^\./%#%" | sort >> $BASEDIR/log/FILES
        fi
   done
+  cd $BASEDIR/packages; ls -w1 *.ipfire | awk -F ".ipfire" '{ print $1 }' > $BASEDIR/packages/packages_list.txt
+  echo -n "###EOF###" >> $BASEDIR/packages/packages_list.txt
 
   cd $PWD
 
@@ -878,16 +891,20 @@ ipfirepackages() {
   ipfiredist cups
   ipfiredist cyrusimap
   ipfiredist fetchmail
+  ipfiredist ffmpeg
   ipfiredist gnump3d
   ipfiredist iptraf
   ipfiredist java
   ipfiredist lame
+  ipfiredist libmad
   ipfiredist libogg
   ipfiredist libtiff
   ipfiredist libvorbis
   ipfiredist libxml2
   ipfiredist mailx
   ipfiredist mldonkey
+  ipfiredist mpeg2dec
+  ipfiredist nagios
   ipfiredist nfs
   ipfiredist nmap
   ipfiredist ntop
@@ -898,11 +915,14 @@ ipfirepackages() {
   ipfiredist sox
   ipfiredist spamassassin
   ipfiredist subversion
+  ipfiredist videolan
   ipfiredist web-cyradm
   ipfiredist xampp
 #  ipfiredist xinetd
+  ipfiredist xvid
+  ipfiredist yasuc
   test -d $BASEDIR/packages || mkdir $BASEDIR/packages
-  mv -f $LFS/install/packages/*.{tar.gz,md5} $BASEDIR/packages >> $LOGFILE 2>&1
+  mv -f $LFS/install/packages/*.{ipfire,md5} $BASEDIR/packages >> $LOGFILE 2>&1
   rm -rf  $BASEDIR/build/install/packages/*
 }
 
@@ -1160,20 +1180,20 @@ svn)
        case "$2" in
          update|up)
                # clear
-               echo -n "Load the latest source files..."
-               svn update >> $PWD/log/_build.svn.update.log
+               echo "Loading the latest source files..."
+               svn update | tee -a $PWD/log/_build.svn.update.log
                if [ $? -eq 0 ]; then
-                       echo ".Done!"
+                       echo "Finished!"
                else
-                       echo ".Fail!"
+                       echo "Failure!"
                        exit 1
                fi
-               echo -n "Write the svn info to a file..."
+               echo -n "Writing the svn-info to a file..."
                svn info > $PWD/svn_status
                if [ "$?" -eq "0" ]; then
-                       echo ".Done!"
+                       echo ".Finished!"
                else
-                       echo ".Fail!"
+                       echo ".Failure!"
                        exit 1
                fi
                chmod 755 $0
@@ -1182,7 +1202,9 @@ svn)
          commit|ci)
                clear
                if [ -e /sbin/yast ]; then
-                       $0 changelog
+                       if [ "`echo $SVN_REVISION | cut -c 3`" -eq "0" ]; then
+                               $0 changelog
+                       fi
                fi
                echo "Upload the changed files..."
                sleep 1
@@ -1220,7 +1242,7 @@ svn)
                        exit 1
                fi
          ;;
-         diff)
+         diff|di)
                echo -ne "Make a local diff to last svn revision..."
                svn diff > ipfire-diff-`date +'%Y-%m-%d-%H:%M'`-r`svn info | grep Revision | cut -c 11-`.diff
                if [ "$?" -eq "0" ]; then
@@ -1601,6 +1623,16 @@ batch)
                exit 0
        fi
        ;;
+watch)
+       echo "Exit with Ctrl+A, Ctrl+D."
+       echo -n "Preparing..."
+       for i in `seq 5`; do
+               sleep 0.1; echo -n "."
+       done
+       echo ".Ready!"
+       sleep 0.3
+       screen -x ipfire
+       ;;
 *)
        clear
        svn info
@@ -1614,14 +1646,7 @@ batch)
                $0 build-silent
                ;;
        "IPFIRE: Watch Build")
-               echo "Exit with Ctrl+A, Ctrl+D."
-               echo -n "Preparing..."
-               for i in `seq 10`; do
-                       sleep 0.1; echo -n "."
-               done
-               echo ".Ready!"
-               sleep 0.3
-               screen -x ipfire
+               $0 watch
                ;;
        "IPFIRE: Batch")
                $0 batch
@@ -1634,6 +1659,7 @@ batch)
                if [ "$input" == "yes" ]; then
                        $0 svn commit
                fi
+               $0 sync
                ;;
        "SVN: Update")
                $0 svn update