From 4f8b66957b2b7b97417e3035282ef123f92dafc4 Mon Sep 17 00:00:00 2001 From: ms Date: Thu, 18 May 2006 11:14:03 +0000 Subject: [PATCH] =?utf8?q?Hinzugef=C3=BCgt:=20=20=20*=20Amavisd-new=20=20?= =?utf8?q?=20*=20Spamassassin=20(geht=20nun)=20=20=20*=20S=C3=A4mtlich=20P?= =?utf8?q?erlmodule=20f=C3=BCr=20Amavis=20Ge=C3=A4ndert:=20=20=20*=20./mak?= =?utf8?q?e.sh=20make=20bearbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@123 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/etc/group | 1 + config/etc/passwd | 1 + doc/ChangeLog | 13 +++++ doc/packages-list.txt | 14 +++++- lfs/Archive-Tar | 82 +++++++++++++++++++++++++++++++ lfs/Archive-Zip | 82 +++++++++++++++++++++++++++++++ lfs/BerkeleyDB | 82 +++++++++++++++++++++++++++++++ lfs/Convert-TNEF | 82 +++++++++++++++++++++++++++++++ lfs/Convert-UUlib | 82 +++++++++++++++++++++++++++++++ lfs/IO-Stringy | 82 +++++++++++++++++++++++++++++++ lfs/MIME-Tools | 82 +++++++++++++++++++++++++++++++ lfs/Mail-Tools | 82 +++++++++++++++++++++++++++++++ lfs/Net-Server | 82 +++++++++++++++++++++++++++++++ lfs/Unix-Syslog | 82 +++++++++++++++++++++++++++++++ lfs/amavisd | 91 +++++++++++++++++++++++++++++++++++ make.sh | 27 +++++++++-- src/paks/amavisd/CONFFILES | 0 src/paks/amavisd/ROOTFILES | 0 src/paks/amavisd/install.sh | 11 +++++ src/paks/amavisd/uninstall.sh | 10 ++++ 20 files changed, 982 insertions(+), 6 deletions(-) create mode 100644 lfs/Archive-Tar create mode 100644 lfs/Archive-Zip create mode 100644 lfs/BerkeleyDB create mode 100644 lfs/Convert-TNEF create mode 100644 lfs/Convert-UUlib create mode 100644 lfs/IO-Stringy create mode 100644 lfs/MIME-Tools create mode 100644 lfs/Mail-Tools create mode 100644 lfs/Net-Server create mode 100644 lfs/Unix-Syslog create mode 100644 lfs/amavisd create mode 100644 src/paks/amavisd/CONFFILES create mode 100644 src/paks/amavisd/ROOTFILES create mode 100644 src/paks/amavisd/install.sh create mode 100644 src/paks/amavisd/uninstall.sh diff --git a/config/etc/group b/config/etc/group index f4ebc02b3d..22830f1c95 100644 --- a/config/etc/group +++ b/config/etc/group @@ -33,3 +33,4 @@ postfix:x:107: postdrop:x:108: clamav:x:109: rsyncd:x:48: +amavis:x:110: diff --git a/config/etc/passwd b/config/etc/passwd index 69f0e4f970..65a5e59e86 100644 --- a/config/etc/passwd +++ b/config/etc/passwd @@ -16,3 +16,4 @@ postfix:x:1000:100::/var/spool/postfix:/bin/false stunnel:x:51:51:Stunnel Daemon:/var/lib/stunnel:/bin/false clamav:x:109:109:Clam AntiVirus:/home/clamav:/bin/false rsyncd:x:48:48:rsyncd Daemon:/home/rsync:/bin/false +amavis:x:110:110:Amavisd-new user:/home/amavis: diff --git a/doc/ChangeLog b/doc/ChangeLog index ae41d67d59..063a7ae788 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,16 @@ +------------------------------------------------------------------------ +r122 | ms | 2006-05-18 11:14:22 +0200 (Do, 18 Mai 2006) | 10 lines + +Hinzugefügt: + * Razor - Spamkiller + * ./make.sh make - Holt erst die Pakete und kompiliert dann... +Geändert: + * Asterisk - Compiler-Optionen + * Postfix - nur optische Änderungen + * ROOTFILES.i386 - Wegen saslauthd-Änderungen einige Dateien gestrichen + * ./make.sh changelog bearbeitet + * ChangeLog-Update + ------------------------------------------------------------------------ r121 | ms | 2006-05-17 19:04:11 +0200 (Mi, 17 Mai 2006) | 3 lines diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 508c34d5c4..a0b9312372 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -1,26 +1,37 @@ ====== List of softwares used to build IPFire Version: 1.4 ====== * 3c5x9setup-1.00 * 3cp4218-2003-10-22 + * Archive-Tar-1.29 + * Archive-Zip-1.16 + * BerkeleyDB-0.27 * CnxADSL-TgrATMcln-20041004 * Compress-Zlib-1.35 + * Convert-TNEF-0.17 + * Convert-UUlib-1.06 * Digest-1.08 * Digest-HMAC-1.01 * Digest-SHA1-2.10 * GD-2.12 * HTML-Parser-3.45 * HTML-Tagset-3.04 + * IO-stringy-2.110 * Linux-PAM-0.99.3.0 + * MIME-tools-5.420 + * Mail-SpamAssassin-3.1.1 + * MailTools-1.74 * Net-DNS-0.47 * Net-IPv4Addr-0.10 + * Net-Server-0.93 * Net_SSLeay.pm-1.25 * Python-2.3.4 * URI-1.35 + * Unix-Syslog-0.100 + * amavisd-new-2.4.1 * amedyn-2004-08-04 * apache_1.3.34 * arping-2.05 * as86-0.16.17 * asterisk-1.2.7.1 - * asterisk-1.2.7.1_1st * autoconf-2.59 * automake-1.8.4 * bash-2.05b @@ -158,6 +169,7 @@ * psmisc-21.4 * pulsar-4.0.19 * pwlib-ipfire1 + * razor-agents-2.81 * rp-pppoe-3.5 * rrdtool-1.0.49 * rsync-2.6.8 diff --git a/lfs/Archive-Tar b/lfs/Archive-Tar new file mode 100644 index 0000000000..3e1734880c --- /dev/null +++ b/lfs/Archive-Tar @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.29 + +THISAPP = Archive-Tar-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/K/KA/KANE +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = a4c09ec0d0ada293150a3c0a5db07ee9 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Archive-Tar $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Archive-Zip b/lfs/Archive-Zip new file mode 100644 index 0000000000..c25dfae8d0 --- /dev/null +++ b/lfs/Archive-Zip @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.16 + +THISAPP = Archive-Zip-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = e28dff400d07b1659d659d8dde7071f1 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Archive-Zip $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/BerkeleyDB b/lfs/BerkeleyDB new file mode 100644 index 0000000000..d5f843c08a --- /dev/null +++ b/lfs/BerkeleyDB @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.27 + +THISAPP = BerkeleyDB-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/P/PM/PMQS +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 43aa72c0c6941af0d656d749ad543e96 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh BerkeleyDB $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Convert-TNEF b/lfs/Convert-TNEF new file mode 100644 index 0000000000..9a9852c3c4 --- /dev/null +++ b/lfs/Convert-TNEF @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.17 + +THISAPP = Convert-TNEF-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 31cddf42fae9495b4a686b17ec68d7e0 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Convert-TNEF $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Convert-UUlib b/lfs/Convert-UUlib new file mode 100644 index 0000000000..2a7243cc21 --- /dev/null +++ b/lfs/Convert-UUlib @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.06 + +THISAPP = Convert-UUlib-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 92514be4d146e8c4ea1941a7f7472dcb + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Convert-UUlib $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/IO-Stringy b/lfs/IO-Stringy new file mode 100644 index 0000000000..873f2619d7 --- /dev/null +++ b/lfs/IO-Stringy @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.110 + +THISAPP = IO-stringy-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://cpan.noris.de/authors/id/D/DS/DSKOLL +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 2e6a976cfa5521e815c1fdf4006982de + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh IO-Stringy $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/MIME-Tools b/lfs/MIME-Tools new file mode 100644 index 0000000000..224a4012c4 --- /dev/null +++ b/lfs/MIME-Tools @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 5.420 + +THISAPP = MIME-tools-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 4db6505cc0132c80c5a9cc54f443a21a + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh MIME-Tools $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Mail-Tools b/lfs/Mail-Tools new file mode 100644 index 0000000000..424ce845e7 --- /dev/null +++ b/lfs/Mail-Tools @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.74 + +THISAPP = MailTools-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = aba82a7eb87906278d98174e10d838be + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Mail-Tools $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Net-Server b/lfs/Net-Server new file mode 100644 index 0000000000..5aad827314 --- /dev/null +++ b/lfs/Net-Server @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.93 + +THISAPP = Net-Server-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 52f10776f695ea2ea94f656aa900dd0e + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Net-Server $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/Unix-Syslog b/lfs/Unix-Syslog new file mode 100644 index 0000000000..16cd94058e --- /dev/null +++ b/lfs/Unix-Syslog @@ -0,0 +1,82 @@ +############################################################################### +# 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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.100 + +THISAPP = Unix-Syslog-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 655d2e04a043b3e92d1bb47caf8e8a3b + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +#dist: +# make-packages.sh Unix-Syslog $(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) && perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/amavisd b/lfs/amavisd new file mode 100644 index 0000000000..94fe299eab --- /dev/null +++ b/lfs/amavisd @@ -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 # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.4.1 + +THISAPP = amavisd-new-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://www.ijs.si/software/amavisd +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = bf770a3c7eee8a9c93932a04485e6a35 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh amavisd $(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) && cp -f amavisd /usr/local/bin + cd $(DIR_APP) && chown root.root /usr/local/bin/amavisd + cd $(DIR_APP) && chmod 755 /usr/local/bin/amavisd + cd $(DIR_APP) && cp amavisd.conf /etc + cd $(DIR_APP) && chown root.root /etc/amavisd.conf + cd $(DIR_APP) && chmod 644 /etc/amavisd.conf + cd $(DIR_APP) && test -d /var/virusmails || mkdir /var/virusmails + cd $(DIR_APP) && chown amavis.amavis /var/virusmails + cd $(DIR_APP) && chmod 750 /var/virusmails + cd $(DIR_APP) && test -d /var/amavis || mkdir /var/amavis + cd $(DIR_APP) && chown amavis.amavis /var/amavis + cd $(DIR_APP) && chmod 750 /var/amavis + @rm -rf $(DIR_APP) + @$(POSTBUILD) \ No newline at end of file diff --git a/make.sh b/make.sh index 1772888a01..6908a2175f 100644 --- a/make.sh +++ b/make.sh @@ -623,6 +623,15 @@ buildipcop() { ipcopmake Net-DNS ipcopmake Net-IPv4Addr ipcopmake Net_SSLeay + ipcopmake IO-Stringy + ipcopmake Unix-Syslog + ipcopmake Mail-Tools + ipcopmake MIME-Tools + ipcopmake Net-Server + ipcopmake Convert-TNEF + ipcopmake Convert-UUlib + ipcopmake Archive-Tar + ipcopmake Archive-Zip ipcopmake noip_updater ipcopmake ntp ipcopmake oinkmaster @@ -645,6 +654,7 @@ buildipcop() { echo -ne "`date -u '+%b %e %T'`: Building IPFire modules \n" | tee -a $LOGFILE ## Zuerst die Libs und dann die Programme. Ordnung muss sein! ipcopmake berkeley + ipcopmake BerkeleyDB ## The Perl module ipcopmake libtiff ipcopmake libjpeg ipcopmake libxml2 @@ -676,7 +686,8 @@ buildipcop() { ipcopmake procmail ipcopmake clamav ipcopmake razor -# ipcopmake spamassassin + ipcopmake spamassassin + ipcopmake amavisd echo -ne "`date -u '+%b %e %T'`: Building VoIP-Server \n" | tee -a $LOGFILE ipcopmake stund ipcopmake asterisk @@ -913,11 +924,12 @@ clean) fi ;; dist) - echo "Updating & building source package from SVN: " + echo -ne "Updating & building source package from SVN: " svn up > /dev/null svn export http://svn.ipfire.eu/svn/ipfire ipfire-source/ --force > /dev/null tar cfz ipfire-source-`date +'%Y-%m-%d'`-r`svn info | grep Revision | cut -c 11-`.tar.gz ipfire-source rm ipfire-source/ -r + echo "Finished!" ;; newpak) # create structure for a new package @@ -1060,11 +1072,16 @@ commit) ;; make) echo "Do a complete compile:" - ./make.sh prefetch - ./make.sh build + ./make.sh prefetch && ./make.sh build + ;; +diff) + echo -ne "Make a local diff to last SVN revision: " + svn diff > ipfire-diff-`date +'%Y-%m-%d-%H:%M'`-r`svn info | grep Revision | cut -c 11-`.diff + echo "Finished!" + echo "Diff was successfully saved to ipfire-diff-`date +'%Y-%m-%d-%H:%M'`-r`svn info | grep Revision | cut -c 11-`.diff" ;; *) - echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|dist|gettoolchain|make|newpak|prefetch|shell|toolchain|update}" + echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|diff|dist|gettoolchain|make|newpak|prefetch|shell|toolchain|update}" cat doc/make.sh-usage exit 1 ;; diff --git a/src/paks/amavisd/CONFFILES b/src/paks/amavisd/CONFFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/amavisd/ROOTFILES b/src/paks/amavisd/ROOTFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/amavisd/install.sh b/src/paks/amavisd/install.sh new file mode 100644 index 0000000000..3a9ce551bf --- /dev/null +++ b/src/paks/amavisd/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/amavisd/uninstall.sh b/src/paks/amavisd/uninstall.sh new file mode 100644 index 0000000000..ad6122665e --- /dev/null +++ b/src/paks/amavisd/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