Hinzugefügt:

* 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
This commit is contained in:
ms
2006-05-20 11:34:29 +00:00
parent c1ae1ad691
commit b34fd95d16
20 changed files with 129 additions and 102 deletions

View File

@@ -1,3 +1,9 @@
------------------------------------------------------------------------
r127 | ms | 2006-05-20 11:34:19 +0200 (Sa, 20 Mai 2006) | 3 lines
Hinzugef<EFBFBD>gt:
* Erste Version des Pakfire von Peter
------------------------------------------------------------------------
r126 | ms | 2006-05-19 16:29:15 +0200 (Fr, 19 Mai 2006) | 3 lines

View File

@@ -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)

View File

@@ -152,6 +152,7 @@
* 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

View 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 />

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

57
lfs/pakfire Normal file
View File

@@ -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)

11
make.sh
View File

@@ -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

View 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

View 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)

View 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

View 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<65>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<65>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

View 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
# <20>berpr<70>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 -

View 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

View 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

View 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 $$

View 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

View 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

View 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%%:*}

View 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- <20>berpr<70>ft nach neuen Updates."
esac

View 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