]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
HinzugefĆ¼gt:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 17 May 2006 17:04:11 +0000 (17:04 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 17 May 2006 17:04:11 +0000 (17:04 +0000)
  * Procmail

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

doc/packages-list.txt
lfs/procmail [new file with mode: 0644]
make.sh
src/paks/procmail/CONFFILES [new file with mode: 0644]
src/paks/procmail/ROOTFILES [new file with mode: 0644]
src/paks/procmail/install.sh [new file with mode: 0644]
src/paks/procmail/uninstall.sh [new file with mode: 0644]

index 0563a1859fe0e4c1289e3311e63bf3fdff094c1c..864504b0acb1d0ec3ea18e5ea00b09d538e7bc53 100644 (file)
@@ -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
   * 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 (file)
index 0000000..0ed7efe
--- /dev/null
@@ -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.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 45e0aca9bcd6c67eb82b4e9c656b4d1ab05a9190..4a19aa2f6ef0caa8e3653e151f3f76a4efd6492a 100644 (file)
--- 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 (file)
index 0000000..e69de29
diff --git a/src/paks/procmail/ROOTFILES b/src/paks/procmail/ROOTFILES
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/procmail/install.sh b/src/paks/procmail/install.sh
new file mode 100644 (file)
index 0000000..3a9ce55
--- /dev/null
@@ -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 (file)
index 0000000..ad61226
--- /dev/null
@@ -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