]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Hinzugefügt:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 20 May 2006 11:34:29 +0000 (11:34 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 20 May 2006 11:34:29 +0000 (11:34 +0000)
  * Pakfire in die ISO gepackt. (Welche nocheinmal kleiner geworden ist.)
  * Neues Shutdown-Bild
Geändert:
  * Zahlreiche Schönheitsfehler im Pakfire korrigiert. ^^
Gelöscht:
  * Ein kleines Überbleibsel vom IPCop entfernt.

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

20 files changed:
doc/ChangeLog
doc/How-to-make-update [deleted file]
doc/packages-list.txt
html/cgi-bin/shutdown.cgi
html/html/images/ipfire_big.gif [new file with mode: 0644]
lfs/pakfire [new file with mode: 0644]
make.sh
src/ROOTFILES.i386
src/pakfire/lib/check_pak.sh
src/pakfire/lib/get_conf.sh
src/pakfire/lib/get_list.sh
src/pakfire/lib/get_mirror.sh
src/pakfire/lib/get_pak.sh
src/pakfire/lib/get_pakname.sh
src/pakfire/lib/test.sh
src/pakfire/lib/test_host.sh
src/pakfire/lib/unpak_pak.sh
src/pakfire/lib/url_zerl.sh
src/pakfire/pakfire
src/pakfire/pakfire.conf

index aea002c8a18f82f03446f916bf08f81fea56a3fa..740c32c6c999038810e1e28f54f9403eb14f28ce 100644 (file)
@@ -1,3 +1,9 @@
+------------------------------------------------------------------------
+r127 | ms | 2006-05-20 11:34:19 +0200 (Sa, 20 Mai 2006) | 3 lines
+
+Hinzugefügt:
+  * Erste Version des Pakfire von Peter
+
 ------------------------------------------------------------------------
 r126 | ms | 2006-05-19 16:29:15 +0200 (Fr, 19 Mai 2006) | 3 lines
 
diff --git a/doc/How-to-make-update b/doc/How-to-make-update
deleted file mode 100644 (file)
index 4be2bf3..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-Prerequisites
-- have release right on sourceforge to be able to affect uploaded files to a release
-- have 'IPCop development Group' private gpg key (and password) to sign the patch, import the key with gpg --import (private key file name)
-- you can create your own key with whatever name you want and replace (temporarily!) the pub key in 
-  your box (/root/.gnupg/*) for testing your patch
-
-Build
-- ./make.sh changelog and commit : update doc/Changelog (include in the .iso)
-- ./make.sh build
-- ./make.sh dist :
-       build source package by exporting from CVS,
-       create a check-list of modified files in doc/updated-sources.txt
-- manually check all necessary files are include in updates/1.4.x/ROOTFILES.*.1.4.x comparing with /doc/updated-sources.txt
-- sign the patch with gpg --local-user "IPCop Development Group" --sign ipcop-update-1.4.x.tgz (or with another name given to the key)
-- for the announce, files md5 are obtained with md5sum ipcop-*
-
-Sourceforge
-- in case of test files, rename them with rename 1.4.x 1.4.xtest *1.4.x*
-- upload files via ftp to upload.sourceforge.net in incoming directory
- (may need to have more than 30s inactivity timeout to be able to connect on sourceforge)
-- add a new release
-       for test file, status active under "IPCop test versions" package
-       for official release, status active under "IPCop" package
-       affect uploaded files (web interface Files Release System) on the release
-       add Changelog and text abstract at the release
-- control file size under Files web page once files are affected to the package
-- with ssh, update every patch list on shell.sourceforge.net /home/groups/i/ip/ipcop/htdocs/patches preceding the previous v1.4.x version with :
-       the content of updates/1.4x/information (and add the link to the release on sourceforge at the end of the line)
-- add a new entry corresponding to the next version number in the patch list with only "----START LIST----" inside
-  chmod 664 the file
-- In Tracker, Tracker administration, bugs, add a new group corresponding to the version number
-
-Update CVS :
-- with the tag of the release
- cvs tag IPCOP_v1_4_(x)_FINAL
-
-- bump VERSION and PREVIOUSTAG in make.sh
-- ./make.sh newupdate
-  will add a new directory in updates corresponding to the new version number with files:
-       information (Id number should be 003 for VERSION=1.4.3)
-       ROOTFILES.alpha-1.4.x
-       ROOTFILES.i386-1.4.x
-       setup
-       .cvsignore (containing patch.tar.gz )
-
-www.ipcop.org
-- update with doc/packages-list.txt
-  http://www.ipcop.org/modules.php?op=modload&name=phpWiki&file=index&pagename=IPCopSoftwares
-
-News
-- send news on user devel announce lists (subscribe to announce before if necessary)
index 3b22776be670300dfdae916b0b58eae9519cb1f4..73aab01082e701095bf96666e7d63a2fa3b138a6 100644 (file)
   * openssl-0.9.7i
   * openswan-1.0.10
   * openvpn-2.0.7
+  * pakfire
   * pam_mysql-0.7RC1
   * patch-2.5.4
   * pciutils-2.1.11
index cd50dd831ac09c1f5bb03d88241fefd7caec981b..6305ca9c6f985a28344eab43ad9c38f722eb59df 100644 (file)
@@ -6,8 +6,6 @@
 #
 # (c) The SmoothWall Team
 #
-# $Id: shutdown.cgi,v 1.5.2.10 2006/01/02 16:21:00 eoberlander Exp $
-#
 
 use strict;
 
@@ -216,7 +214,7 @@ END
 <div align='center'>
 <table width='100%' bgcolor='#ffffff'>
 <tr><td align='center'>
-<br /><br /><img src='/ipcop_big.gif' /><br /><br /><br />
+<br /><br /><img src='/ipfire_big.gif' /><br /><br /><br />
 </td></tr>
 </table>
 <br />
diff --git a/html/html/images/ipfire_big.gif b/html/html/images/ipfire_big.gif
new file mode 100644 (file)
index 0000000..a43729f
Binary files /dev/null and b/html/html/images/ipfire_big.gif differ
diff --git a/lfs/pakfire b/lfs/pakfire
new file mode 100644 (file)
index 0000000..77f7302
--- /dev/null
@@ -0,0 +1,57 @@
+###############################################################################
+# This file is part of the IPCop Firewall.                                    #
+#                                                                             #
+# IPCop is free software; you can redistribute it and/or modify               #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation; either version 2 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# IPCop is distributed in the hope that it will be useful,                    #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with IPCop; if not, write to the Free Software                        #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
+#                                                                             #
+# Makefiles are based on LFSMake, which is                                    #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 
+
+THISAPP    = pakfire
+DIR_APP    = /opt/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+install : $(TARGET)
+
+check : 
+
+download : 
+
+md5 : 
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && cp -fRv src/pakfire $(DIR_APP)
+       cd $(DIR_APP) && mv -vf pakfire.conf /etc
+       cd $(DIR_APP) && chown root.root $(DIR_APP) -R && chmod 755 pakfire lib/*
+       cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
+       @$(POSTBUILD)
\ No newline at end of file
diff --git a/make.sh b/make.sh
index 944b70392ea1505c293eecc95b471b8b8dce32d1..6bf3bebdb0e28bcd5832eb3378a1f11c02763d28 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -653,7 +653,8 @@ buildipcop() {
   ipcopmake wireless
   ipcopmake libsafe
   ipcopmake 3c5x9setup
-  echo -ne "`date -u '+%b %e %T'`: Building IPFire modules \n" | tee -a $LOGFILE
+  echo -ne "`date -u '+%b %e %T'`: Building ### IPFire modules ### \n" | tee -a $LOGFILE
+  ipcopmake pakfire
 ## Zuerst die Libs und dann die Programme. Ordnung muss sein!
   ipcopmake berkeley
   ipcopmake BerkeleyDB ## The Perl module
@@ -673,7 +674,7 @@ buildipcop() {
   ipcopmake xinetd
   ipcopmake ghostscript
   ipcopmake cups
-#  ipcopmake lpd
+#  ipcopmake lpd ## Im Moment aus, da CUPS vorhanden ist.
   ipcopmake samba
   ipcopmake sudo
   ipcopmake mc
@@ -681,7 +682,7 @@ buildipcop() {
   ipcopmake openh323
   ipcopmake wget
   ipcopmake bridge-utils
-  echo -ne "`date -u '+%b %e %T'`: Building Mailserver \n" | tee -a $LOGFILE
+  echo -ne "`date -u '+%b %e %T'`: Building ### Mailserver ### \n" | tee -a $LOGFILE
   ipcopmake postfix
   ipcopmake fetchmail
   ipcopmake cyrusimap
@@ -690,13 +691,13 @@ buildipcop() {
   ipcopmake razor
   ipcopmake spamassassin
   ipcopmake amavisd
-  echo -ne "`date -u '+%b %e %T'`: Building VoIP-Server \n" | tee -a $LOGFILE
+  echo -ne "`date -u '+%b %e %T'`: Building ### VoIP-Server ### \n" | tee -a $LOGFILE
   ipcopmake stund
   ipcopmake asterisk
   ipcopmake openvpn
   ipcopmake edonkeyclc
   ipcopmake sane
-  echo -ne "`date -u '+%b %e %T'`: Building MP3-Server \n" | tee -a $LOGFILE
+  echo -ne "`date -u '+%b %e %T'`: Building ### MP3-Server ### \n" | tee -a $LOGFILE
   ipcopmake lame
   ipcopmake gnump3d
   ipcopmake rsync
index 6df18cb708734b1d4d34d119dbd51d04ce0c7236..a8088a270a43bf7c396af1c9114a106be8303502 100644 (file)
@@ -26436,3 +26436,8 @@ usr/sbin/visudo
 #usr/share/man/man8/sudo.8
 #usr/share/man/man8/sudoedit.8
 #usr/share/man/man8/visudo.8
+##
+## pakfire
+##
+/opt/pakfire
+/etc/pakfire.conf
index 4a8b11d873c95602a5ee13eaf3d44b15ea7cb488..3e5c4f44e6332bcccab647c5b90f2d6f825cd290 100644 (file)
@@ -1,26 +1,26 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Verzeichnis von Pakman
 VERZ=$(get_conf.sh HOME)
 
-# Update Verzeichnis
+# Update-Verzeichnis
 UP_DIR=$(get_conf.sh UP_DIR)
 
 # Verzeichnis mit nicht Installierten Paketen
 NIP_DIR=$(get_conf.sh NIP_DIR)
 
 # Verzeichnis mit Installierten Paketen
-IP_DIR=$(get_conf.sh ^IP_DIR)
+IP_DIR=$(get_conf.sh IP_DIR)
 
 # Patchliste
-PATCH_LIST=$(get_conf.sh DEST_DIR)$(get_conf.sh LIST_NAME)
+PATCH_LIST=$(get_conf.sh DEST_DIR)/$(get_conf.sh LIST_NAME)
 
 # Zerlegte Listen
-ZERL_PATCH=$(get_conf.sh DEST_DIR)zerl_
+ZERL_PATCH=$(get_conf.sh DEST_DIR)/zerl_
 
 # Listen Verzeichnis
 LIST_DIR=$(get_conf.sh DEST_DIR)
index 46b6dccd627636936cd8991d2a01cacd43302e44..ffef70e05c3ea0e42c63966ddfe2edc6e46ad81d 100644 (file)
@@ -1,15 +1,15 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Conf File festlegen
-CONF_File=/opt/pakfire/pakfire.conf
+CONF_FILE=/opt/pakfire/pakfire.conf
 
-if [ -r $CONF_File ]
+if [ -r $CONF_FILE ]
 then 
- STRI=$(grep $1 $CONF_File)
+ STRI=$(grep $1 $CONF_FILE)
  STRI=${STRI#*=}
 fi
 
index 9fd789cfa37701b872b6f43481b76dd2d0069a32..1fa815e2fde02acb59f89c120389a207e7908333 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Verzeichnis von Pakman
-VERZ=$(/bin/get_conf.sh HOME)
+VERZ=$(get_conf.sh HOME)
 
 # Version des IPFire ermitteln
 VERS=$(get_conf.sh VERS print)
@@ -20,7 +20,7 @@ LOG_file=$(get_conf.sh LOG)
 LIST_NAME=$(get_conf.sh LIST_NAME)
 
 # Ziel Verzeichnis
-DEST_DIR=$(get_conf.sh DEST_DIR)
+DEST_DIR=$(get_conf.sh HOME)/list
 
 # Host Tester
 HOST_TEST=$(get_conf.sh HOST_TEST)
@@ -33,27 +33,27 @@ fi
 
 # Falls URL nicht gesetzt wurde abbruch des Scripts
 if [ -z $URL ]
- then echo "Kann keinen Patchserver finden">>$LOG_file
+ then echo "Kann keinen Listenserver finden.">>$LOG_file
   exit 1
 fi
 
 # Verzeichnis in Zielverzeichnis wechseln für Download
 cd $DEST_DIR
 
-# Pruefen ob bereits ein File vorhanden ist falls ja dann wird sie nun gelöscht
-if [ -f ${DEST_DIR}${LIST_NAME} ]
- then rm ${DEST_DIR}${LIST_NAME}
+# Pruefen ob bereits ein File vorhanden ist - falls ja, dann wird sie nun gelöscht
+if [ -f ${DEST_DIR}/${LIST_NAME} ]
+ then rm ${DEST_DIR}/${LIST_NAME}
 fi
 
 # Download der Liste
 if /usr/bin/wget -q $URL/${VERS}/${LIST_NAME} >/dev/null 2>&1
  then
   cd -
-  echo "Updateliste herunter geladen von $URL">>$LOG_file
+  echo "Updateliste heruntergeladen von $URL">>$LOG_file
   exit 0
  else
   cd -
-  echo "Updateliste konnnte nicht herunter geladen werden von $URL">>$LOG_file
+  echo "Updateliste konnnte nicht heruntergeladen werden von $URL">>$LOG_file
   exit 1
 fi
 
index 29b6623ed3a82f15d73afe164cdbc25266859e1a..e12c517c25615cfcda820181aaac7437dec0c81e 100644 (file)
@@ -1,27 +1,27 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
-# Haupturl
+# Haupt-URL
 http=$(get_conf.sh H_MIRROR)
 
-# Ziel Verzeichnis
+# Ziel-Verzeichnis
 dest=$(get_conf.sh HOME)
 
-# URL Zerleger
+# URL-Zerleger
 URL_ZERL=$(get_conf.sh URL_ZERL)
 
-# Host Tester
+# Host-Tester
 HOST_TEST=$(get_conf.sh HOST_TEST)
 
-# Testen ob Server erreichbar
+# Testen ob Server erreichbar ist
 if ! $HOST_TEST $($URL_ZERL $http get_host) >/dev/null 2>&1
  then exit 1
 fi
 
-# Verzeichnis wechseln
+# Ins Verzeichnis wechseln
 cd $dest
 
 # Überprüfen ob File schon vorhanden ist
@@ -29,7 +29,7 @@ if [ -e ${dest}$($URL_ZERL $http get_file) ]
  then rm ${dest}$($URL_ZERL $http get_file)
 fi
 
-# File herunter laden
+# File herunterladen
 if /usr/bin/wget -q $http >/dev/null 2>&1
  then 
   cd -
index 194836810fdfd819174f6e403024284ef91d0032..01c816fc70d91fa1a0f4cc37ba1117a5b4a325b2 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Download Zielverzeichnis
index 978bfe5405a818680e4732c480c36cd281bce8ef..f78dbd748014b4ff62d1ca70ca15320c70a00e88 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Update Verzeichnis
index 3ce53f75133b2e49e7f45b95f807103ed1b34b3b..c7f6763ff6126bf62b1b00ab6efabceb4892bdce 100644 (file)
@@ -1,4 +1,8 @@
 #!/bin/bash
+############################################################################################
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
+############################################################################################
 
 echo $?
 echo $$
index 7def31f73f8ca3909a2f9a4f300ffd80383ea6e6..2e8edb8ce3088ceb3ad07d8272483c6fcb64a6a5 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # URL Zerleger
index 252684bcc5462620152ee5f86a8dcf4d112d3e52..8140c9e3039fa927fde5998f0771d0a56640d25d 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 # Source Verzeichnis
index 0da841996855db78df67bd771b431de9b11ae7f8..91db43d492d480a10a234aaa37cf97d10b3f9321 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 ############################################################################################
-# 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;      #
+# Version 0.1a, Copyright (C) 2006  by IPFire.org                                                #
+# IPFire ist freie Software, die Sie unter bestimmten Bedingungen weitergeben dürfen.      #
 ############################################################################################
 
 protokoll=${1%%:*}
index 594ecf17f9976e3c5f2106f073ccb4f057a263c5..af00031aa5e9c9aea109c54a5555fb1a41784d5c 100644 (file)
@@ -6,12 +6,12 @@
 
 case "$1" in
 
-       renewlist)      $(get_conf.sh HOME)/lib/get_mirror.sh
+       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
-               ;;
+       ;;
 
-       *) echo -e "pakfire install [Paket]\npakfire update [Paket]\npakfiren remove [Paket]\npakfire renewlist"
+       *) 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."
 
 esac
 
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7974f512400f6cae5e63927fcfc8e313835e2373 100644 (file)
@@ -0,0 +1,6 @@
+VERS=1.4-beta-1
+HOME=/opt/pakfire
+H_MIRROR=http://mirror.ipfire.org/pakfire
+HOST_TEST=ping -c 5 
+LOG=/var/log/pakfire.log
+LIST_NAME=paklist