diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-09-26 12:01:56 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-09-26 12:01:56 +0000 |
commit | 1d60ff3ecd90ab96440ec6213758a4cf74c3d9e1 (patch) | |
tree | 7dccb0990e128a3ad0ff18b64861f39319cb7051 | |
parent | e251e28b6c71e4a1ff1126fc9e638e44b476b1a2 (diff) | |
download | smtpd-starttls-proxy-1d60ff3ecd90ab96440ec6213758a4cf74c3d9e1.tar.gz smtpd-starttls-proxy-1d60ff3ecd90ab96440ec6213758a4cf74c3d9e1.tar.xz smtpd-starttls-proxy-1d60ff3ecd90ab96440ec6213758a4cf74c3d9e1.zip |
Add patch-for-solaris
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | patch-for-solaris | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/NEWS b/NEWS index 8c45fe2..4ffcfc6 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Changelog for mdevd. +Changelog for smtpd-starttls-proxy. In 0.0.1.0 ---------- diff --git a/patch-for-solaris b/patch-for-solaris new file mode 100755 index 0000000..2d1296b --- /dev/null +++ b/patch-for-solaris @@ -0,0 +1,21 @@ +#!/usr/xpg4/bin/sh + +patchit () { + echo '#!/usr/xpg4/bin/sh' > $1.tmp + tail -n +2 $1 >> $1.tmp + mv -f $1.tmp $1 + chmod 755 $1 +} + +# Solaris doesn't understand POSIX.1-2008 either. +sed -e 's/XOPEN_SOURCE=700/XOPEN_SOURCE=600/' < configure > configure.tmp +mv -f configure.tmp configure + +patchit ./configure +patchit ./tools/install.sh +patchit ./tools/gen-deps.sh + +echo 'SHELL := /usr/xpg4/bin/sh' > Makefile.tmp +echo >> Makefile.tmp +cat Makefile >> Makefile.tmp +mv -f Makefile.tmp Makefile |