Changeset 24919


Ignore:
Timestamp:
2011-01-06T05:53:53+01:00 (7 years ago)
Author:
swalker
Message:

[packages] fetchmail: update to 6.3.19, add ssl/nossl variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/mail/fetchmail/Makefile

    r20983 r24919  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=fetchmail 
    11 PKG_VERSION:=6.3.14 
     11PKG_VERSION:=6.3.19 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=http://download.berlios.de/fetchmail 
    16 PKG_MD5SUM:=86d3cfbce151881d8bf76a1efd5bda6a 
     16PKG_MD5SUM:=64519711c8533f5a34d20c9ff620d880 
    1717 
    18 PKG_INSTALL=1 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
    2122 
    22 define Package/fetchmail 
     23define Package/fetchmail/Default 
    2324  SECTION:=mail 
    2425  CATEGORY:=Mail 
     
    2728endef 
    2829 
    29 define Package/fetchmail/description 
     30define Package/fetchmail/Default/description 
    3031 Retrieves remote mail via POP/IMAP. 
    3132 Very useful in conjunction with mutt. 
     33endef 
     34 
     35define Package/fetchmail 
     36  $(call Package/fetchmail/Default) 
     37  DEPENDS+= +libopenssl 
     38  TITLE+= (with SSL support) 
     39  VARIANT:=ssl 
     40endef 
     41 
     42define Package/fetchmail/description 
     43 $(call Package/fetchmail/Default/description) 
     44 This package is built with SSL support. 
     45endef 
     46 
     47define Package/fetchmail-nossl 
     48  $(call Package/fetchmail/Default) 
     49  TITLE+= (without SSL support) 
     50  VARIANT:=nossl 
     51endef 
     52 
     53define Package/fetchmail-nossl/description 
     54 $(call Package/fetchmail/Default/description) 
     55 This package is built without SSL support. 
    3256endef 
    3357 
     
    3559        --enable-fallback=procmail \ 
    3660        --without-hesiod 
     61 
     62ifeq ($(BUILD_VARIANT),ssl) 
     63        CONFIGURE_ARGS += \ 
     64                --with-ssl="$(STAGING_DIR)/usr" 
     65endif 
     66 
     67ifeq ($(BUILD_VARIANT),nossl) 
     68        CONFIGURE_ARGS += \ 
     69                --without-ssl 
     70endif 
    3771 
    3872CONFIGURE_VARS += \ 
     
    4478endef 
    4579 
     80Package/fetchmail-nossl/install = $(Package/fetchmail/install) 
     81 
    4682$(eval $(call BuildPackage,fetchmail)) 
     83$(eval $(call BuildPackage,fetchmail-nossl)) 
Note: See TracChangeset for help on using the changeset viewer.