]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/amavisd
lfs: Drop quotes in DEPS variable
[ipfire-2.x.git] / lfs / amavisd
index 39464e4e6916314ec0041dc1f939c5bec77ad653..43d3c6060c4d559111c4735865433ed8196a8e51 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = 2.5.2
+VER        = 2.11.1
 
 THISAPP    = amavisd-new-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = amavisd
-PAK_VER    = 1
+PAK_VER    = 3
 
-DEPS       = "clamav spamassassin"
+DEPS       = clamav spamassassin perl-Net-LibIDN
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 52d227d442fac64916488b83d79806d7
+$(DL_FILE)_MD5 = f89fc043c790e35137121e45f2890703
 
 install : $(TARGET)
 
@@ -76,10 +76,14 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && cp -f amavisd /usr/bin
        chown root.root /usr/bin/amavisd
        chmod 755 /usr/bin/amavisd
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,amavisd)
+
        cp -fv $(DIR_SRC)/config/amavisd/amavisd.conf /etc
        chown root.root /etc/amavisd.conf
        chmod 644 /etc/amavisd.conf