diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-06-17 00:03:58 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-06-17 00:03:58 +0000 |
commit | 7da1d13b26964e2af353b886bbd8b998df1af653 (patch) | |
tree | bd41d86d44c2a562618481b6cf9025613067f8f5 /security/smtpmap/files | |
parent | e2fa11337b952217eb4b4401e319ce2302089032 (diff) | |
download | ports-7da1d13b26964e2af353b886bbd8b998df1af653.tar.gz ports-7da1d13b26964e2af353b886bbd8b998df1af653.zip |
Add smtpmap 0.8, an SMTP software identifier.
PR: 46552
Submitted by: Hubert Tournier <hubert@frbsd.org>
Notes
Notes:
svn path=/head/; revision=83126
Diffstat (limited to 'security/smtpmap/files')
-rw-r--r-- | security/smtpmap/files/patch-include::small_socket.h | 12 | ||||
-rw-r--r-- | security/smtpmap/files/patch-include::types.h | 20 | ||||
-rw-r--r-- | security/smtpmap/files/patch-makefile.conf | 15 |
3 files changed, 47 insertions, 0 deletions
diff --git a/security/smtpmap/files/patch-include::small_socket.h b/security/smtpmap/files/patch-include::small_socket.h new file mode 100644 index 000000000000..304e062016a2 --- /dev/null +++ b/security/smtpmap/files/patch-include::small_socket.h @@ -0,0 +1,12 @@ +--- include/small_socket.h.orig Tue Oct 29 19:16:01 2002 ++++ include/small_socket.h Tue Jun 17 01:30:21 2003 +@@ -8,8 +8,8 @@ + #define __SMALL_SOCKET_H + + extern "C" { +-#include <sys/socket.h> + #include <sys/types.h> ++#include <sys/socket.h> + #include <sys/time.h> // For NetBSD compatibility + #include <netinet/in.h> + #include <fcntl.h> diff --git a/security/smtpmap/files/patch-include::types.h b/security/smtpmap/files/patch-include::types.h new file mode 100644 index 000000000000..f1011d5f76d2 --- /dev/null +++ b/security/smtpmap/files/patch-include::types.h @@ -0,0 +1,20 @@ +--- include/types.h.orig Wed Dec 25 23:26:52 2002 ++++ include/types.h Wed Dec 25 23:27:14 2002 +@@ -13,7 +13,7 @@ + #ifndef __TYPES_H + #define __TYPES_H + +-#ifdef __linux__ ++#ifdef __FreeBSD__ + typedef bool BOOL; + typedef float double32; + typedef double double64; +@@ -29,7 +29,7 @@ + + typedef signed short sint16; + typedef unsigned short uint16; +-#endif // __linux__ ++#endif // __FreeBSD__ + + #ifdef __sparc__ + typedef bool BOOL; diff --git a/security/smtpmap/files/patch-makefile.conf b/security/smtpmap/files/patch-makefile.conf new file mode 100644 index 000000000000..ce4e0b7d5d30 --- /dev/null +++ b/security/smtpmap/files/patch-makefile.conf @@ -0,0 +1,15 @@ +--- makefile.conf.orig Thu Oct 31 23:37:00 2002 ++++ makefile.conf Tue Jun 17 01:20:41 2003 +@@ -4,9 +4,8 @@ + # Internal Configuration, do not touch + TMPDIR=.smtpmap-$(VERSION) + CC=g++ +-#CFLAGS=-O -Wall -pg -g -D_PREFIX=\"$(PREFIX)\" + CFLAGS=-O -Wall -g3 -D_PREFIX=\"$(PREFIX)\" +-INC=-I ../include +-LIBS= ++INC+=-I../include -I/usr/include + DEPFLAG=-M $(INC) +-PREFIX=/usr ++PREFIX=%%PREFIX%% ++LOCALBASE=%%LOCALBASE%% |