fdm: Switch to GitHub releases.

Sourceforge link went away. The GitHub mirror also has the wrong path.

Replaced compatibility patches with upstream solution.

Also added an OpenSSL 1.1.0 compile fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-03-25 19:26:01 -07:00
parent f4ee5ce092
commit c7c40703d0
11 changed files with 428 additions and 686 deletions
+8 -15
View File
@@ -9,13 +9,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fdm
PKG_VERSION:=1.9
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_LICENSE:=BSD-2-Clause
PKG_SOURCE:=$(PKG_VERSION).zip
PKG_SOURCE_URL:=https://github.com/nicm/fdm/archive
PKG_HASH:=ee08f9133657c8c959b738079c2e4f556cf5cca2daa8343feaf4f07698ad6086
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/nicm/fdm/releases/download/$(PKG_VERSION)
PKG_HASH:=16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@@ -24,7 +27,7 @@ define Package/fdm
SECTION:=mail
CATEGORY:=Mail
TITLE:=fetch mail and deliver
URL:=http://fdm.sourceforge.net/
URL:=https://github.com/nicm/fdm
MAINTAINER:=Dmitry V. Zimin <pfzim@mail.ru>
MENU:=1
DEPENDS:=+tdb +zlib +libopenssl +FDM_WITH_PCRE:libpcre
@@ -47,16 +50,6 @@ MAKE_FLAGS += \
PREFIX="/usr" \
$(if $(CONFIG_FDM_WITH_PCRE),PCRE=1)
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) ./src/compat/* $(PKG_BUILD_DIR)/
endef
define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh )
$(call Build/Configure/Default)
endef
define Package/fdm/config
source "$(SOURCE)/Config.in"
endef