]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/pakfire/pakfire.conf
Update:
[ipfire-2.x.git] / src / pakfire / pakfire.conf
index e00c2322f6fad490f60e561b3c49714d6905bf77..2cb9c5dcbf6f7e56b1643bbf980aafa70457264b 100644 (file)
@@ -3,29 +3,31 @@
 # IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen;      #
 ############################################################################################
 
+PAKVER=2.0beta
+
 # Home Verzeichnis von Pakman
-HOME=/opt/pakfire/
+PAKHOME=/opt/pakfire
+
+SERVERS_LIST=servers.list_$PAKVER
+PACKAGE_LIST=packages_list.txt
 
-# Verionsfile von IPFire
-VERS=/etc/ipfire_vers
+# Haupt-Mirrorliste
+H_MIRROR=http://download.ipfire.eu/servers/$SERVERS_LIST
 
 # URL Mirrorfile
-PURL=/opt/pakfire/patch.http
+PURL=`cat /opt/pakfire/cache/$SERVERS_LIST 2>/dev/null`
 
 # LOG_file
 LOG=/var/log/pakfire.log
 
-# Filename der Patchliste
-LIST_NAME=packages_list.txt
-
-# Zielverzeichnis der Patchliste
-DEST_DIR=/opt/pakfire/list/
+# Datenbank
+DB_DIR=/opt/pakfire/database
 
 # Update Verzeichnis
 UP_DIR=/opt/pakfire/updates/
 
-# Verzeichnis mit nicht installierten Paketen
-NIP_DIR=/opt/pakfire/notinstalled/
+# temp directory
+TMP_DIR=$PAKHOME/tmp
 
 # Verzeichnis mit Installierten Paketen
 IP_DIR=/opt/pakfire/installed/
@@ -33,24 +35,27 @@ 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
+HOST_TEST=$PAKHOME/lib/test_host.sh
 
 # Paket Filenamen festlegen
 # Das eigentliche Paket
-PAK_PROG=prog.tar.gz
+PAK_FILES=files.tgz
 # Abhängigkeits Liste
-PAK_ABH=abh.txt
+DEPS=depends.txt
 # Installer Script
-PAK_INST=install.sh
+INSTALL=install.sh
 # Uninstaller Script
-PAK_UNINST=uninstall.sh
+UNINSTALL=uninstall.sh
 
 # Cacheverzeichnis
 CACHE_DIR=/opt/pakfire/cache/
+
+### DO NOT CHANGE ANYTHING AFTER THIS LINE!!! ###
+
+pakfire_logger() {
+       echo "`date -u '+%b %e %T'` $*" | tee -a $LOG
+}
\ No newline at end of file