From 8bc4174b34467ad2caebe5d422eb7618593f0db5 Mon Sep 17 00:00:00 2001 From: Oliver Ertl Date: Thu, 30 Aug 2007 18:57:37 +0000 Subject: [PATCH] ssmtp: * Cleanup Makefile * Refresh patches SVN-Revision: 8555 --- net/ssmtp/Makefile | 10 ++-------- .../patches/500-debian-subset-2.61-2.patch | 18 ++++++++++++------ .../patches/901-strftime_space_padding.patch | 7 ++++--- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/net/ssmtp/Makefile b/net/ssmtp/Makefile index b6364945d3..060875b28a 100644 --- a/net/ssmtp/Makefile +++ b/net/ssmtp/Makefile @@ -15,7 +15,6 @@ PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/ PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9 -PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) EXTRA_LDFLAGS+=-Wl,-rpath-link,$(STAGING_DIR)/usr/lib @@ -38,13 +37,8 @@ define Package/ssmtp URL:=http://packages.debian.org/stable/mail/ssmtp endef -# uses GNU configure - -define Build/Configure - $(call Build/Configure/Default, \ - --enable-ssl \ - ) -endef +CONFIGURE_ARGS += \ + --enable-ssl define Package/ssmtp/install $(INSTALL_DIR) $(1)/etc/ssmtp diff --git a/net/ssmtp/patches/500-debian-subset-2.61-2.patch b/net/ssmtp/patches/500-debian-subset-2.61-2.patch index f682c97a13..db1a7855ad 100644 --- a/net/ssmtp/patches/500-debian-subset-2.61-2.patch +++ b/net/ssmtp/patches/500-debian-subset-2.61-2.patch @@ -1,5 +1,7 @@ ---- ssmtp-2.61.orig/ssmtp.conf -+++ ssmtp-2.61/ssmtp.conf +Index: ssmtp-2.61/ssmtp.conf +=================================================================== +--- ssmtp-2.61.orig/ssmtp.conf 2007-08-30 20:56:56.000000000 +0200 ++++ ssmtp-2.61/ssmtp.conf 2007-08-30 20:56:56.000000000 +0200 @@ -36,3 +36,8 @@ # Use this RSA certificate. @@ -9,8 +11,10 @@ +# If you want to have debugging of the config file parsing, move this option +# to the top of the config file and uncomment +#Debug=YES ---- ssmtp-2.61.orig/ssmtp.c -+++ ssmtp-2.61/ssmtp.c +Index: ssmtp-2.61/ssmtp.c +=================================================================== +--- ssmtp-2.61.orig/ssmtp.c 2007-08-30 20:56:56.000000000 +0200 ++++ ssmtp-2.61/ssmtp.c 2007-08-30 20:56:56.000000000 +0200 @@ -93,6 +93,7 @@ static char hextab[]="0123456789abcdef"; #endif @@ -233,8 +237,10 @@ return(0); } ---- ssmtp-2.61.orig/configure.in -+++ ssmtp-2.61/configure.in +Index: ssmtp-2.61/configure.in +=================================================================== +--- ssmtp-2.61.orig/configure.in 2007-08-30 20:56:56.000000000 +0200 ++++ ssmtp-2.61/configure.in 2007-08-30 20:56:56.000000000 +0200 @@ -24,8 +24,8 @@ AC_STRUCT_TM diff --git a/net/ssmtp/patches/901-strftime_space_padding.patch b/net/ssmtp/patches/901-strftime_space_padding.patch index dd0b9b116a..2a5832c93a 100644 --- a/net/ssmtp/patches/901-strftime_space_padding.patch +++ b/net/ssmtp/patches/901-strftime_space_padding.patch @@ -1,6 +1,7 @@ -diff -ruN ssmtp-2.60-old/arpadate.c ssmtp-2.60-new/arpadate.c ---- ssmtp-2.60-old/arpadate.c 2002-12-08 18:30:11.000000000 +0100 -+++ ssmtp-2.60-new/arpadate.c 2004-05-23 18:54:32.000000000 +0200 +Index: ssmtp-2.61/arpadate.c +=================================================================== +--- ssmtp-2.61.orig/arpadate.c 2007-08-30 20:56:56.000000000 +0200 ++++ ssmtp-2.61/arpadate.c 2007-08-30 20:56:56.000000000 +0200 @@ -79,7 +79,7 @@ time_t now; -- 2.30.2