[packages] msmtp: update to v1.4.18, add libtool fixups, disable rpath, cleanup
[openwrt/svn-archive/archive.git] / mail / msmtp / Makefile
index 7ffed387edad6997d119945156ccfcddbb57aa55..dbb018b8e91ecdb13ac6f1dae3263e48f4dbf1f9 100644 (file)
@@ -9,13 +9,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=msmtp
-PKG_VERSION:=1.4.17
-PKG_RELEASE:=2
+PKG_VERSION:=1.4.18
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/msmtp
+PKG_MD5SUM:=74f80b41c058a0ee34819d6bf5ff3b1a
 
-PKG_MD5SUM:=b0b74f1144812b60688f590c62a0d3dd
+PKG_FIXUP:=libtool
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,6 +27,10 @@ define Package/msmtp/Default
   URL:=http://msmtp.sourceforge.net/
 endef
 
+define Package/msmtp/Default/conffiles
+/etc/msmtprc
+endef
+
 define Package/msmtp/Default/description
  msmtp is an SMTP client. In the default mode, it transmits a mail to
  an SMTP server (for example at a free mail provider) which does the
@@ -40,6 +45,10 @@ $(call Package/msmtp/Default)
   TITLE+= (with SSL support)
 endef
 
+define Package/msmtp/conffiles
+$(call Package/msmtp/Default/conffiles)
+endef
+
 define Package/msmtp/description
 $(call Package/msmtp/Default/description)
  This package is built with SSL support.
@@ -50,6 +59,10 @@ $(call Package/msmtp/Default)
   TITLE+= (without SSL support)
 endef
 
+define Package/msmtp-nossl/conffiles
+$(call Package/msmtp/Default/conffiles)
+endef
+
 define Package/msmtp-nossl/description
 $(call Package/msmtp/Default/description)
  This package is built without SSL support.
@@ -79,6 +92,7 @@ endef
 endef
 
 CONFIGURE_ARGS += \
+       --disable-rpath \
        --without-libssl32 \
        --without-libintl \
        --without-libgsasl \