fetchmail: New package
authorBernd Kuhls <berndkuhls@hotmail.com>
Fri, 14 Mar 2014 22:21:33 +0000 (23:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Mar 2014 20:18:31 +0000 (21:18 +0100)
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/fetchmail/Config.in [new file with mode: 0644]
package/fetchmail/fetchmail.mk [new file with mode: 0644]

index 70d702334667b879987c06652ae346642ca0ef0f..51d1e24bb216fd74c54ac0351f9a0b710a188b42 100644 (file)
@@ -841,6 +841,7 @@ source "package/sound-theme-freedesktop/Config.in"
 endmenu
 
 menu "Mail"
+source "package/fetchmail/Config.in"
 source "package/heirloom-mailx/Config.in"
 source "package/libesmtp/Config.in"
 source "package/msmtp/Config.in"
diff --git a/package/fetchmail/Config.in b/package/fetchmail/Config.in
new file mode 100644 (file)
index 0000000..3419821
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_FETCHMAIL
+       bool "fetchmail"
+       select BR2_PACKAGE_CA_CERTIFICATES
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_ZLIB
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+       depends on BR2_USE_MMU # fork()
+       help
+         Fetchmail - the mail-retrieval daemon
+         Client daemon to move mail from POP and IMAP to your local computer
+
+         http://sourceforge.net/projects/fetchmail/
diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk
new file mode 100644 (file)
index 0000000..d891760
--- /dev/null
@@ -0,0 +1,23 @@
+################################################################################
+#
+# fetchmail
+#
+################################################################################
+
+FETCHMAIL_VERSION_MAJOR = 6.3
+FETCHMAIL_VERSION_MINOR = 26
+FETCHMAIL_VERSION = $(FETCHMAIL_VERSION_MAJOR).$(FETCHMAIL_VERSION_MINOR)
+FETCHMAIL_SOURCE = fetchmail-$(FETCHMAIL_VERSION).tar.xz
+FETCHMAIL_SITE = http://downloads.sourceforge.net/project/fetchmail/branch_$(FETCHMAIL_VERSION_MAJOR)/
+FETCHMAIL_LICENSE = GPLv2; some exceptions are mentioned in COPYING
+FETCHMAIL_LICENSE_FILES = COPYING
+
+FETCHMAIL_CONF_OPT = \
+       --with-ssl=$(STAGING_DIR)/usr
+
+FETCHMAIL_DEPENDENCIES = \
+       ca-certificates \
+       openssl \
+       $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
+
+$(eval $(autotools-package))