From f9a5a4f0e3e3b0b935b1c674a0c963f0675fec6e Mon Sep 17 00:00:00 2001 From: ms Date: Wed, 17 May 2006 17:04:11 +0000 Subject: [PATCH] =?utf8?q?Hinzugef=C3=BCgt:=20=20=20*=20Procmail?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@121 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- doc/packages-list.txt | 2 + lfs/procmail | 88 ++++++++++++++++++++++++++++++++++ make.sh | 1 + src/paks/procmail/CONFFILES | 0 src/paks/procmail/ROOTFILES | 0 src/paks/procmail/install.sh | 11 +++++ src/paks/procmail/uninstall.sh | 10 ++++ 7 files changed, 112 insertions(+) create mode 100644 lfs/procmail create mode 100644 src/paks/procmail/CONFFILES create mode 100644 src/paks/procmail/ROOTFILES create mode 100644 src/paks/procmail/install.sh create mode 100644 src/paks/procmail/uninstall.sh diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 0563a1859..864504b0a 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -39,6 +39,7 @@ * cups-1.1.23-source * cxacru-2003-10-05 * cyrus-imapd-2.2.12 + * cyrus-imapd-2.2.13 * cyrus-sasl-2.1.21 * cyrus-sasl-2.1.21-ldap * db-4.4.20 @@ -152,6 +153,7 @@ * ppp-2.4.2 * pptp-1.6.0 * procinfo-18 + * procmail-3.22 * procps-3.2.5 * psmisc-21.4 * pulsar-4.0.19 diff --git a/lfs/procmail b/lfs/procmail new file mode 100644 index 000000000..0ed7efe29 --- /dev/null +++ b/lfs/procmail @@ -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 # +# # +# 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.22 + +THISAPP = procmail-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = ftp://ftp.procmail.net/pub/procmail +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 1678ea99b973eb77eda4ecf6acae53f1 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh procmail $(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 LOCKINGTEST=/tmp install + # cd $(DIR_APP) && make install-suid ### Dunno what's better + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 45e0aca9b..4a19aa2f6 100644 --- a/make.sh +++ b/make.sh @@ -671,6 +671,7 @@ buildipcop() { ipcopmake postfix ipcopmake fetchmail ipcopmake cyrusimap + ipcopmake procmail ipcopmake stund # ipcopmake lpd ipcopmake openvpn diff --git a/src/paks/procmail/CONFFILES b/src/paks/procmail/CONFFILES new file mode 100644 index 000000000..e69de29bb diff --git a/src/paks/procmail/ROOTFILES b/src/paks/procmail/ROOTFILES new file mode 100644 index 000000000..e69de29bb diff --git a/src/paks/procmail/install.sh b/src/paks/procmail/install.sh new file mode 100644 index 000000000..3a9ce551b --- /dev/null +++ b/src/paks/procmail/install.sh @@ -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 diff --git a/src/paks/procmail/uninstall.sh b/src/paks/procmail/uninstall.sh new file mode 100644 index 000000000..ad6122665 --- /dev/null +++ b/src/paks/procmail/uninstall.sh @@ -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 -- 2.39.2