xmail: Update to version 1.27
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Feb 2014 23:00:23 +0000 (23:00 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Feb 2014 23:00:23 +0000 (23:00 +0000)
This patch updates xmail to the latest version available, and
includes a quick fix for IPv6 support in CtrlClnt (XMail's
control client) commandline utility.

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>
SVN-Revision: 39497

mail/xmail/Makefile
mail/xmail/patches/010-Makefile.common.patch
mail/xmail/patches/020-Makefile.lnx.patch
mail/xmail/patches/030-sysmachine.patch
mail/xmail/patches/040-honour_opt_flags.patch

index 2e3cc26287ba51f639fde1b1d19f97e2045a8c7d..62969a115ad3804a6338bd79c8b05e631b55f6c0 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xmail
-PKG_VERSION:=1.26
-PKG_RELEASE:=4
+PKG_VERSION:=1.27
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.xmailserver.org/
-PKG_MD5SUM:=26d35c2fc104d79ebb6397c7dece5b15
+PKG_MD5SUM:=73c9d95012709d7b11511dfb6dd6ab3d
 
 include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
@@ -43,7 +43,7 @@ endef
 
 define Package/xmail/install
        $(INSTALL_DIR) $(1)/usr/bin/
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/* $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/{CtrlClnt,MkUsers,XMCrypt,XMail,sendmail} $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/etc
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/MailRoot.tar.bz2 $(1)/etc/
        $(INSTALL_DIR) $(1)/etc/config
index af6aa709f637a13913b63021172bff89fab01e10..0417268e8119213d898156f76e15b9e001b36de0 100644 (file)
@@ -1,11 +1,11 @@
 --- a/Makefile.common
 +++ b/Makefile.common
-@@ -76,15 +76,15 @@
- SENDMAILOBJS = SendMail.o
+@@ -77,15 +77,15 @@ SENDMAILOBJS = $(addprefix $(OUTDIR)/, $
  
- %.o : %.cpp
--      ${CC} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
-+      ${CXX} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
+ $(OUTDIR)/%.o: %.cpp
+-      ${CC} ${CPPFLAGS} ${CFLAGS} -o $(OUTDIR)/$*.o -c $*.cpp
++      ${CXX} ${CPPFLAGS} ${CFLAGS} -o $(OUTDIR)/$*.o -c $*.cpp
  
  all: ${OUTDIR} ${MKMACHDEPINC} ${MAILSVR} ${CRTLCLNT} ${XMCRYPT} ${MKUSERS} ${SENDMAIL}
  
index 3f8866b0726b525ccb34ce2746ecb4caa5f7d7cc..bdc52234aa6683c614256a3af023defeb21a7390 100644 (file)
@@ -11,5 +11,5 @@
 +LD = $(CXX)
 +#STRIP = strip
  
- ifneq ("$(WITH_SSL_INCLUDE)", "")
-     CFLAGS := $(CFLAGS) -I$(WITH_SSL_INCLUDE)
+ ifeq ("$(XMAIL_FILE_OFF_BITS)", "")
+     CFLAGS := $(CFLAGS) -D_FILE_OFFSET_BITS=64
index c181e12766eb2d54f6b1588f7e52d68047a5f4b3..716c46beba6dcbfe7be2ba1d9cbd4fe479fd47e2 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN xmail-1.25.orig/SysMachine.h xmail-1.25/SysMachine.h
---- xmail-1.25.orig/SysMachine.h       1970-01-01 01:00:00.000000000 +0100
-+++ xmail-1.25/SysMachine.h    2008-07-28 10:16:47.000000000 +0200
+--- /dev/null
++++ b/SysMachine.h
 @@ -0,0 +1,30 @@
 +#ifndef _MACHDEFS_H
 +#define _MACHDEFS_H
index 51704322cd3b756f3072fba566231293b68927bd..99cc46fbfd4b70a9c7444e43b2a86eebced61963 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.common
 +++ b/Makefile.common
-@@ -24,10 +24,10 @@
+@@ -24,10 +24,10 @@ ifeq ($(DEBUG_OSSL), 1)
  endif
  
  ifeq ($(XMAIL_DEBUG), 1)