From 3b9f63495811d9ab2792f999d6fce150e7eea87b Mon Sep 17 00:00:00 2001 From: ms Date: Mon, 15 May 2006 20:08:54 +0000 Subject: [PATCH] =?utf8?q?Hinzugef=C3=BCgt:=20=20=20*=20TCP=20Wrappers=20f?= =?utf8?q?=C3=BCr=20NFS=20=20=20*=20SpamAssassin=20-=20geht=20noch=20nicht?= =?utf8?q?!=20Ge=C3=A4ndert:=20=20=20*=20Cups=20mit=20Samba=20verlinkt.=20?= =?utf8?q?=20=20*=20Neue=20Prozedur=20in=20./make.sh=20commit=20-=20L?= =?utf8?q?=C3=A4dt=20alles=20ins=20SVN=20und=20aktualisiert=20vorher=20den?= =?utf8?q?=20ChangeLog.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@115 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- doc/ChangeLog | 473 ----------------------------- doc/packages-list.txt | 1 + lfs/cups | 1 + lfs/samba | 1 - lfs/spamassassin | 83 +++++ lfs/tcpwrapper | 84 +++++ make.sh | 9 +- src/paks/spamassassin/CONFFILES | 0 src/paks/spamassassin/ROOTFILES | 0 src/paks/spamassassin/install.sh | 11 + src/paks/spamassassin/uninstall.sh | 10 + src/paks/tcpwrapper/CONFFILES | 0 src/paks/tcpwrapper/ROOTFILES | 0 src/paks/tcpwrapper/install.sh | 11 + src/paks/tcpwrapper/uninstall.sh | 10 + 15 files changed, 219 insertions(+), 475 deletions(-) create mode 100644 lfs/spamassassin create mode 100644 lfs/tcpwrapper create mode 100644 src/paks/spamassassin/CONFFILES create mode 100644 src/paks/spamassassin/ROOTFILES create mode 100644 src/paks/spamassassin/install.sh create mode 100644 src/paks/spamassassin/uninstall.sh create mode 100644 src/paks/tcpwrapper/CONFFILES create mode 100644 src/paks/tcpwrapper/ROOTFILES create mode 100644 src/paks/tcpwrapper/install.sh create mode 100644 src/paks/tcpwrapper/uninstall.sh diff --git a/doc/ChangeLog b/doc/ChangeLog index 5fe13dcc4e..e69de29bb2 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,473 +0,0 @@ ------------------------------------------------------------------------- -r112 | ms | 2006-05-04 12:50:41 +0200 (Do, 04 Mai 2006) | 3 lines - -Hauptsächlich Quellenupdate. Apache - Bind - hddtemp - hdparm - lame -Ghostscript und CUPS aktiviert. Samba jetzt mit libcups-Support. - ------------------------------------------------------------------------- -r111 | ms | 2006-05-04 12:48:33 +0200 (Do, 04 Mai 2006) | 5 lines - -Hinzugefügt: - * Patch für MPG123 -Geändert: - * CUPS - ------------------------------------------------------------------------- -r110 | ms | 2006-05-02 22:19:59 +0200 (Di, 02 Mai 2006) | 7 lines - -Hinzugefügt: - * mpg123 - Für Wartemusik im Asterisk - * CUPS - Drucker-Daemon - * Ghostscript - Braucht CUPS - * GNUmp3d - MP3-Streamer - * lame - Braucht GNUmp3d - ------------------------------------------------------------------------- -r109 | ms | 2006-05-02 08:06:43 +0200 (Di, 02 Mai 2006) | 4 lines - -Geändert: - * Samba wird jetzt ohne Dokumentation installiert - * Gettoolchain repariert - ------------------------------------------------------------------------- -r108 | ms | 2006-05-01 21:47:04 +0200 (Mo, 01 Mai 2006) | 2 lines - -Quellenupdate! wireless, ntp, shadow, uClibc - ------------------------------------------------------------------------- -r106 | ms | 2006-04-28 16:57:32 +0200 (Fr, 28 Apr 2006) | 7 lines - -Hinzugefügt: - * fetchmail - * cyrusimap -Geändert: - * xampp - * pam - ------------------------------------------------------------------------- -r105 | ms | 2006-04-20 16:20:28 +0200 (Do, 20 Apr 2006) | 7 lines - -Hinzugefügt: - * Sane - Scanning - * LibJPEG -Geändert: - * pwlib - * xinetd - ------------------------------------------------------------------------- -r104 | ms | 2006-04-20 16:15:50 +0200 (Do, 20 Apr 2006) | 2 lines - -Allgemeine Aufräumarbeiten und Optimierungen - ------------------------------------------------------------------------- -r103 | ms | 2006-04-19 18:02:55 +0200 (Mi, 19 Apr 2006) | 4 lines - -Geändert: - * pwlib wird bei jedem Durchgang kompiliert, auch wenn schon geschehen :( - * Mirror-URL geändert - ------------------------------------------------------------------------- -r102 | ms | 2006-04-19 15:30:44 +0200 (Mi, 19 Apr 2006) | 9 lines - -Geändert: - * Asterisk mit H323 -Neue Versionen: - * OpenVPN - * pwlib - * openh323 -Fixed: - * Menü im Webinterface - ------------------------------------------------------------------------- -r101 | ms | 2006-04-15 01:12:47 +0200 (Sa, 15 Apr 2006) | 10 lines - -Hinzugefügt: - * Asterisk - mit Zaptel/LibPRI/BRISTUFF/app_fax - * Spandsp - * LibTIFF - * LibXML2 - * eDonkey-commandline-client -Geändert: - * busybox - tar-parameter zurückgesetzt - * postfix hat Beta-Status-1 - ------------------------------------------------------------------------- -r100 | ms | 2006-04-11 00:33:24 +0200 (Di, 11 Apr 2006) | 6 lines - -Hinzugefügt: - * Samba - Erste Test-Version - * STUNNEL - bisher nicht verwendet, aber SWAT sendet das root-Passwort im Klartext über die Leitung -Geändert: - * Linux-PAM - Libs waren falsch verlinkt - ------------------------------------------------------------------------- -r99 | casemaster | 2006-04-10 23:10:53 +0200 (Mo, 10 Apr 2006) | 2 lines - -pwlib geändert. -busybox: tar.c größe auf 150 gesetzt. ------------------------------------------------------------------------- -r98 | ms | 2006-04-10 20:39:59 +0200 (Mo, 10 Apr 2006) | 4 lines - -Hinzugefügt: - * Xinetd - Super-Daemon - * Sudo - ------------------------------------------------------------------------- -r97 | ms | 2006-04-09 22:23:54 +0200 (So, 09 Apr 2006) | 4 lines - -Hinzugefügt: - * OpenVPN - * LZO - ------------------------------------------------------------------------- -r96 | ms | 2006-04-09 19:55:27 +0200 (So, 09 Apr 2006) | 7 lines - -Hinzugefügt: - * Midnight Commander 4.6.1 (GLIB/PKG-CONFIG) -Geändert: - * OpenLDAP - * PWLib - Compilier-Optionen - * make-packages - Funktionen erweitert - ------------------------------------------------------------------------- -r95 | ms | 2006-04-04 19:19:54 +0200 (Di, 04 Apr 2006) | 2 lines - -Kleine Fixes an den Graphs und dem Menü! - ------------------------------------------------------------------------- -r94 | casemaster | 2006-04-02 14:18:42 +0200 (So, 02 Apr 2006) | 2 lines - -src fuer openldap geaendert. -ldap Unterstuetzung bei pwlib entfernt. ------------------------------------------------------------------------- -r93 | ms | 2006-03-28 20:54:43 +0200 (Di, 28 Mär 2006) | 5 lines - -Hinzugefügt: - * OpenLDAP -Geändert: - * SASLAUTHD kann jetzt OpenLDAP. - ------------------------------------------------------------------------- -r92 | ms | 2006-03-28 17:35:56 +0200 (Di, 28 Mär 2006) | 2 lines - -Allgemeine FIXES! Das Build sollte nun durchlaufen... - ------------------------------------------------------------------------- -r91 | ms | 2006-03-28 16:16:15 +0200 (Di, 28 Mär 2006) | 1 line - -SASL-Authd nun ohne PostgreSQL-Support. ------------------------------------------------------------------------- -r90 | ms | 2006-03-27 21:50:44 +0200 (Mo, 27 Mär 2006) | 1 line - -URL von den Bridge-Utils gefixt. ------------------------------------------------------------------------- -r89 | casemaster | 2006-03-27 17:06:13 +0200 (Mo, 27 Mär 2006) | 1 line - -Test gelöscht. ------------------------------------------------------------------------- -r88 | ms | 2006-03-27 16:43:30 +0200 (Mo, 27 Mär 2006) | 3 lines - -Toolchain-Download mit ./make.sh gettoolchain -Beim Netstatus werden ab jetzt nur noch aktive Verbindungen angezeigt. Erhöht die Übersichtlichkeit... - ------------------------------------------------------------------------- -r87 | casemaster | 2006-03-27 16:35:38 +0200 (Mo, 27 Mär 2006) | 1 line - -Test 2 Write ------------------------------------------------------------------------- -r86 | ms | 2006-03-27 16:02:24 +0200 (Mo, 27 Mär 2006) | 2 lines - -Repariert: lib-links für postfix - ------------------------------------------------------------------------- -r85 | ms | 2006-03-26 20:46:32 +0200 (So, 26 Mär 2006) | 5 lines - -Update Squid to 2.5STABLE13. -Added WGET/HDDTEMP/BRIDGE-UTILS. -SCSI-GRUB-Konfiguration angepasst. - - ------------------------------------------------------------------------- -r84 | ms | 2006-03-25 16:06:35 +0100 (Sa, 25 Mär 2006) | 4 lines - -Erste Version des Paketerstellers. -Bisher nur Postfix. :( - - ------------------------------------------------------------------------- -r82 | ms | 2006-03-22 20:11:17 +0100 (Mi, 22 Mär 2006) | 8 lines - -Webinterface gefixt. -Ohne Anmeldung kommt man im Webinterface nichtmehr auf die Index-Seite. -Berkeley-DB neu implementiert. -Postfix geht jetzt. -Graphs gefixt. -IPCop-Updates gelöscht. - - ------------------------------------------------------------------------- -r81 | ms | 2006-03-18 12:24:42 +0100 (Sa, 18 Mär 2006) | 1 line - -Quellenupdate ------------------------------------------------------------------------- -r80 | ms | 2006-03-17 01:46:51 +0100 (Fr, 17 Mär 2006) | 1 line - -TEMP-DIR von /tmp nach /var/tmp verschoben. ------------------------------------------------------------------------- -r79 | ms | 2006-03-12 22:09:13 +0100 (So, 12 Mär 2006) | 11 lines - -Hinzugefügt: - * Postfix 2.2.9 - * PostGreSQL -Gefixt und neu implementiert: - * PAM - * Berkeley-DB - * XAMPP + PostGreSQL - * SASLAUTHD -/opt/lampp/lib und /opt/lampp/lib/mysql befinden sich im Lib-Cache -leichtes aufräumen in der make.sh - ------------------------------------------------------------------------- -r78 | ms | 2006-03-12 16:52:13 +0100 (So, 12 Mär 2006) | 1 line - -New Webinterface-Style by benne ------------------------------------------------------------------------- -r77 | ms | 2006-03-06 15:30:36 +0100 (Mo, 06 Mär 2006) | 1 line - -Webinterface-Bilder neu gemacht | IPAC-NG-Patches installiert | Berkeley-DB installiert ------------------------------------------------------------------------- -r76 | ms | 2006-03-02 21:55:58 +0100 (Do, 02 Mär 2006) | 1 line - -PAM-MySQL + BerkeleyDB + SASLauthd hinzugefuegt ------------------------------------------------------------------------- -r75 | ms | 2006-02-28 22:11:50 +0100 (Di, 28 Feb 2006) | 1 line - -ROOTFILES.i386 aufgeräumt ------------------------------------------------------------------------- -r74 | ms | 2006-02-28 22:10:58 +0100 (Di, 28 Feb 2006) | 1 line - -ISO vergößert und XAMPP-1.5.1 DEVEL Paket installiert ------------------------------------------------------------------------- -r73 | ms | 2006-02-27 21:13:17 +0100 (Mo, 27 Feb 2006) | 2 lines - -Quellenupdate... ipaddr busybox kernel - ------------------------------------------------------------------------- -r72 | ms | 2006-02-27 18:13:57 +0100 (Mo, 27 Feb 2006) | 2 lines - -OpenH323 hinzugefügt - ------------------------------------------------------------------------- -r71 | ms | 2006-02-22 21:23:30 +0100 (Mi, 22 Feb 2006) | 1 line - -IPAC-NG ging nicht... mal sehen ------------------------------------------------------------------------- -r70 | ms | 2006-02-22 21:21:51 +0100 (Mi, 22 Feb 2006) | 1 line - -ROOTFILES aktualisiert ------------------------------------------------------------------------- -r69 | ms | 2006-02-22 20:52:10 +0100 (Mi, 22 Feb 2006) | 1 line - -Endlich neues Webinterface ------------------------------------------------------------------------- -r68 | ms | 2006-02-21 22:26:55 +0100 (Di, 21 Feb 2006) | 2 lines - -SSH von vornherein aktiviert - ------------------------------------------------------------------------- -r67 | ms | 2006-02-21 21:38:06 +0100 (Di, 21 Feb 2006) | 2 lines - -SMP-Config angepasst.. CGIs usw. wurden im Windoof-Format gespeichert... muss noch alles korrigiert werden... - ------------------------------------------------------------------------- -r66 | ms | 2006-02-21 19:55:53 +0100 (Di, 21 Feb 2006) | 1 line - -immernoch das alte Problem... ------------------------------------------------------------------------- -r64 | ms | 2006-02-20 22:23:51 +0100 (Mo, 20 Feb 2006) | 2 lines - -Kernel Config für SMP angepasst... - ------------------------------------------------------------------------- -r63 | ms | 2006-02-20 21:46:53 +0100 (Mo, 20 Feb 2006) | 2 lines - -Windows hat sie wieder zerschossen... :( - ------------------------------------------------------------------------- -r62 | ms | 2006-02-20 21:13:28 +0100 (Mo, 20 Feb 2006) | 1 line - -SMP wieder aktiviert (Zumindest versucht) ------------------------------------------------------------------------- -r61 | ms | 2006-02-20 21:01:45 +0100 (Mo, 20 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r60 | ms | 2006-02-20 21:01:31 +0100 (Mo, 20 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r59 | ms | 2006-02-20 20:57:20 +0100 (Mo, 20 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r58 | ms | 2006-02-20 20:56:37 +0100 (Mo, 20 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r57 | ms | 2006-02-20 20:55:36 +0100 (Mo, 20 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r56 | ms | 2006-02-20 20:51:27 +0100 (Mo, 20 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r55 | ms | 2006-02-20 20:50:08 +0100 (Mo, 20 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r54 | ms | 2006-02-20 20:49:08 +0100 (Mo, 20 Feb 2006) | 2 lines - -Sicherheits-Update packages-list - ------------------------------------------------------------------------- -r53 | ms | 2006-02-20 02:46:27 +0100 (Mo, 20 Feb 2006) | 2 lines - -driver.img ohne SMP - ------------------------------------------------------------------------- -r52 | ms | 2006-02-20 02:39:21 +0100 (Mo, 20 Feb 2006) | 2 lines - -GD und gd Konflikt gelöst... -make.sh zerstört :( ------------------------------------------------------------------------- -r51 | ms | 2006-02-20 02:32:51 +0100 (Mo, 20 Feb 2006) | 1 line - -Removed file/folder gd ------------------------------------------------------------------------- -r50 | ms | 2006-02-20 02:10:06 +0100 (Mo, 20 Feb 2006) | 5 lines - -ipac-ng fix -uClibc fix -pam-patch fix - - ------------------------------------------------------------------------- -r49 | ms | 2006-02-19 23:25:48 +0100 (So, 19 Feb 2006) | 2 lines - -SMP entfernt / gd hinzugefügt! - ------------------------------------------------------------------------- -r48 | ms | 2006-02-19 18:04:08 +0100 (So, 19 Feb 2006) | 2 lines - -Quellen-Update - ------------------------------------------------------------------------- -r47 | ms | 2006-02-19 15:12:52 +0100 (So, 19 Feb 2006) | 1 line - -Neuer Boot-Screen für GRUB ------------------------------------------------------------------------- -r46 | ms | 2006-02-19 14:16:13 +0100 (So, 19 Feb 2006) | 2 lines - -Installer repariert - ------------------------------------------------------------------------- -r45 | ms | 2006-02-19 14:12:53 +0100 (So, 19 Feb 2006) | 2 lines - -Installer repariert - ------------------------------------------------------------------------- -r44 | ms | 2006-02-19 13:19:49 +0100 (So, 19 Feb 2006) | 2 lines - -make.sh gefixt - ------------------------------------------------------------------------- -r42 | ms | 2006-02-19 12:34:16 +0100 (So, 19 Feb 2006) | 1 line - -Renamed File ------------------------------------------------------------------------- -r41 | ms | 2006-02-19 12:25:43 +0100 (So, 19 Feb 2006) | 2 lines - -Port 445 -> 444 gewechselt und XTAccess-Regeln ausgeschaltet. -Nach der Installation sind alle Ports geschlossen! ------------------------------------------------------------------------- -r40 | ms | 2006-02-18 22:39:37 +0100 (Sa, 18 Feb 2006) | 1 line - -Ordnerstruktur 3. Teil ------------------------------------------------------------------------- -r38 | ms | 2006-02-18 22:26:02 +0100 (Sa, 18 Feb 2006) | 1 line - -Vernünftige Ordnerstruktur ------------------------------------------------------------------------- -r37 | ms | 2006-02-16 22:18:00 +0100 (Do, 16 Feb 2006) | 1 line - -Neuer Installer eingefügt... ------------------------------------------------------------------------- -r36 | ms | 2006-02-16 20:20:41 +0100 (Do, 16 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r35 | ms | 2006-02-16 20:09:00 +0100 (Do, 16 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r34 | ms | 2006-02-16 20:07:58 +0100 (Do, 16 Feb 2006) | 1 line - -Renamed remotely ------------------------------------------------------------------------- -r31 | ipfire | 2006-02-16 13:20:54 +0100 (Do, 16 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r30 | ipfire | 2006-02-16 13:18:34 +0100 (Do, 16 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r29 | ipfire | 2006-02-16 13:18:15 +0100 (Do, 16 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r28 | ipfire | 2006-02-16 13:09:46 +0100 (Do, 16 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r27 | ipfire | 2006-02-16 13:07:28 +0100 (Do, 16 Feb 2006) | 1 line - -Removed Files ------------------------------------------------------------------------- -r26 | ipfire | 2006-02-16 13:06:41 +0100 (Do, 16 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r25 | ipfire | 2006-02-15 22:36:29 +0100 (Mi, 15 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r24 | ipfire | 2006-02-15 22:36:15 +0100 (Mi, 15 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r22 | ipfire | 2006-02-15 22:33:28 +0100 (Mi, 15 Feb 2006) | 1 line - -Renamed remotely ------------------------------------------------------------------------- -r21 | ipfire | 2006-02-15 22:33:06 +0100 (Mi, 15 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r20 | ipfire | 2006-02-15 22:32:33 +0100 (Mi, 15 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r19 | ipfire | 2006-02-15 22:31:56 +0100 (Mi, 15 Feb 2006) | 1 line - -Removed file/folder ------------------------------------------------------------------------- -r16 | ipfire | 2006-02-15 22:15:54 +0100 (Mi, 15 Feb 2006) | 1 line - - ------------------------------------------------------------------------- -r14 | ipfire | 2006-02-15 22:07:30 +0100 (Mi, 15 Feb 2006) | 1 line - - ------------------------------------------------------------------------- diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 4b5ed6e7a0..229be9e79f 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -174,6 +174,7 @@ * syslinux-2.11 * sysvinit-2.86 * tar-1.13.25 + * tcp_wrappers_7.6 * tcpdump-3.8.3 * texinfo-4.7 * tiff-3.8.2 diff --git a/lfs/cups b/lfs/cups index 7cd0822467..d66978a9ac 100644 --- a/lfs/cups +++ b/lfs/cups @@ -87,5 +87,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make # cd $(DIR_APP) && make check cd $(DIR_APP) && make install + cd $(DIR_APP) && ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/lfs/samba b/lfs/samba index bd86d757a9..c3010e9c76 100644 --- a/lfs/samba +++ b/lfs/samba @@ -120,6 +120,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) echo "}" >> /etc/xinetd.d/swat echo "" >> /etc/xinetd.d/swat echo "# End /etc/xinetd.d/swat" >> /etc/xinetd.d/swat - @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/lfs/spamassassin b/lfs/spamassassin new file mode 100644 index 0000000000..8437cdd1e8 --- /dev/null +++ b/lfs/spamassassin @@ -0,0 +1,83 @@ +############################################################################### +# 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 = 3.1.1 + +THISAPP = Mail-SpamAssassin-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = http://www.artfiles.org/apache.org/spamassassin/source +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = f7844cbc149de3d7b09a4310f4ab6739 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh spamassassin $(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) && yes 'n' | perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/tcpwrapper b/lfs/tcpwrapper new file mode 100644 index 0000000000..fc5915592f --- /dev/null +++ b/lfs/tcpwrapper @@ -0,0 +1,84 @@ +############################################################################### +# 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 = 7.6 + +THISAPP = tcp_wrappers_$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = ftp://ftp.porcupine.org/pub/security +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = e6fa25f71226d090f34de3f6b122fb5a + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh tcpwrapper $(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 /usr/src/src/patches/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch + cd $(DIR_APP) && sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c + cd $(DIR_APP) && make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 1d8079cb6a..38807e20b8 100644 --- a/make.sh +++ b/make.sh @@ -680,7 +680,9 @@ buildipcop() { ipcopmake lame ipcopmake gnump3d ipcopmake clamav +# ipcopmake spamassassin ipcopmake rsync + ipcopmake tcpwrapper # 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 @@ -1042,8 +1044,13 @@ update) echo "Load the latest source-files:" svn update ;; +commit) + echo "Upload the changed files:" + ./make.sh changelog + svn commit + ;; *) - echo "Usage: $0 {build|changelog|check|checkclean|clean|dist|gettoolchain|newpak|prefetch|rootfiles|shell|toolchain|update}" + echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|dist|gettoolchain|newpak|prefetch|shell|toolchain|update}" cat doc/make.sh-usage exit 1 ;; diff --git a/src/paks/spamassassin/CONFFILES b/src/paks/spamassassin/CONFFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/spamassassin/ROOTFILES b/src/paks/spamassassin/ROOTFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/spamassassin/install.sh b/src/paks/spamassassin/install.sh new file mode 100644 index 0000000000..3a9ce551bf --- /dev/null +++ b/src/paks/spamassassin/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/spamassassin/uninstall.sh b/src/paks/spamassassin/uninstall.sh new file mode 100644 index 0000000000..ad6122665e --- /dev/null +++ b/src/paks/spamassassin/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 diff --git a/src/paks/tcpwrapper/CONFFILES b/src/paks/tcpwrapper/CONFFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/tcpwrapper/ROOTFILES b/src/paks/tcpwrapper/ROOTFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/tcpwrapper/install.sh b/src/paks/tcpwrapper/install.sh new file mode 100644 index 0000000000..3a9ce551bf --- /dev/null +++ b/src/paks/tcpwrapper/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/tcpwrapper/uninstall.sh b/src/paks/tcpwrapper/uninstall.sh new file mode 100644 index 0000000000..ad6122665e --- /dev/null +++ b/src/paks/tcpwrapper/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