Hinzugefügt:

* mpg123 - Für Wartemusik im Asterisk
  * CUPS - Drucker-Daemon
  * Ghostscript - Braucht CUPS
  * GNUmp3d - MP3-Streamer
  * lame - Braucht GNUmp3d


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@110 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-05-02 20:19:59 +00:00
parent 54113aa2dd
commit a31b2bc409
26 changed files with 568 additions and 2 deletions

91
lfs/cups Normal file
View File

@@ -0,0 +1,91 @@
###############################################################################
# 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> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.1.23
THISAPP = cups-$(VER)-source
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = ftp://ftp.easysw.com/pub/cups/$(VER)
DIR_APP = $(DIR_SRC)/cups-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 4ce09b1dce09b6b9398af0daae9adf63
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
make-packages.sh cups $(THISAPP)-ipfire-beta-1
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -i -e "s@pam/pam@security/pam@g" {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
# cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/patches/cups-1.1.23-testsuite_fix-1.patch
cd $(DIR_APP) && ./configure
cd $(DIR_APP) && make
# cd $(DIR_APP) && make check
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)

106
lfs/ghostscript Normal file
View File

@@ -0,0 +1,106 @@
###############################################################################
# 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> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 8.15.1
THISAPP = espgs-$(VER)-source
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = ftp://ftp3.easysw.com/pub/ghostscript/$(VER)
DIR_APP = $(DIR_SRC)/espgs-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE) \
ghostscript-fonts-std-8.11.tar.gz \
gnu-gs-fonts-other-6.0.tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
ghostscript-fonts-std-8.11.tar.gz = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz
gnu-gs-fonts-other-6.0.tar.gz = http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz
$(DL_FILE)_MD5 = 2a21136953c3559e6088522753b06b1f
ghostscript-fonts-std-8.11.tar.gz_MD5 = 6865682b095f8c4500c54b285ff05ef6
gnu-gs-fonts-other-6.0.tar.gz_MD5 = 33457d3f37de7ef03d2eea05a9e6aa4f
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
make-packages.sh ghostscript $(THISAPP)-ipfire-beta-1
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
# cd $(DIR_APP) && sed -i "s/bbox.dev$/x11.dev/" Makefile.in
cd $(DIR_APP) && ./configure --prefix=/usr --enable-threads --without-omni
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
rmdir -v /usr/lib/ghostscript/8.15 /usr/lib/ghostscript
# ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-8.15.1
# for INSTFILE in `ls doc`
# do
# if [ ! -f /usr/share/doc/espgs-8.15.1/$INSTFILE ]; then
# install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-8.15.1/
# fi
# done
tar xfz $(DIR_SRC)/cache/ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript
tar xfz $(DIR_SRC)/cache/gnu-gs-fonts-other-6.0.tar.gz -C /usr/share/ghostscript
chown -v root:root /usr/share/ghostscript/fonts/*
@rm -rf $(DIR_APP)
@$(POSTBUILD)

86
lfs/gnump3d Normal file
View File

@@ -0,0 +1,86 @@
###############################################################################
# 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> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.9.8
THISAPP = gnump3d-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = http://download.savannah.gnu.org/releases/gnump3d
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 329507d7c6b3a05549fc04e223908825
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
make-packages.sh gnump3d $(THISAPP)-ipfire-beta-1
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)

88
lfs/lame Normal file
View File

@@ -0,0 +1,88 @@
###############################################################################
# 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> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 3.96.1
THISAPP = lame-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = http://prdownloads.sourceforge.net/lame
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = e1206c46a5e276feca11a7149e2fc6ac
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
make-packages.sh lame $(THISAPP)-ipfire-beta-1
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --enable-mp3rtp
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)

88
lfs/mpg123 Normal file
View File

@@ -0,0 +1,88 @@
###############################################################################
# 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> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 0.59r
THISAPP = mpg123-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = ftp://alge.anart.no/pub/audio
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 95df59ad1651dd2346d49fafc83747e7
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
make-packages.sh mpg123 $(THISAPP)-ipfire-beta-1
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/patch/mpg123-0.59r-security-1.patch
cd $(DIR_APP) && make PREFIX=/usr linux
cd $(DIR_APP) && make PREFIX=/usr install
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -658,23 +658,25 @@ buildipcop() {
ipcopmake saslauthd PASS=1
ipcopmake openldap
ipcopmake saslauthd PASS=2
ipcopmake xinetd
ipcopmake samba
ipcopmake sudo
ipcopmake mc
ipcopmake pwlib
ipcopmake openh323
ipcopmake xinetd
ipcopmake wget
ipcopmake bridge-utils
ipcopmake postfix
ipcopmake fetchmail
ipcopmake cyrusimap
ipcopmake stund
ipcopmake lpd
# ipcopmake lpd
ipcopmake openvpn
ipcopmake asterisk
ipcopmake edonkeyclc
ipcopmake sane
ipcopmake ghostscript
ipcopmake cups
# 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

0
src/paks/cups/CONFFILES Normal file
View File

0
src/paks/cups/ROOTFILES Normal file
View File

11
src/paks/cups/install.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Extract the files
tar xfz files.tgz -C /
cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Delete the files
## Befehl fehlt noch
rm -f /opt/pakfire/installed/ROOTFILES.$2

View File

View File

View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Extract the files
tar xfz files.tgz -C /
cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Delete the files
## Befehl fehlt noch
rm -f /opt/pakfire/installed/ROOTFILES.$2

View File

View File

View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Extract the files
tar xfz files.tgz -C /
cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Delete the files
## Befehl fehlt noch
rm -f /opt/pakfire/installed/ROOTFILES.$2

0
src/paks/lame/CONFFILES Normal file
View File

0
src/paks/lame/ROOTFILES Normal file
View File

11
src/paks/lame/install.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Extract the files
tar xfz files.tgz -C /
cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Delete the files
## Befehl fehlt noch
rm -f /opt/pakfire/installed/ROOTFILES.$2

View File

View File

View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Extract the files
tar xfz files.tgz -C /
cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#################################################################
# #
# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org #
# #
#################################################################
#
# Delete the files
## Befehl fehlt noch
rm -f /opt/pakfire/installed/ROOTFILES.$2