aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/msyslog/files
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-03-24 02:28:13 +0800
committeranders <anders@FreeBSD.org>2002-03-24 02:28:13 +0800
commite97d40d183c9f3d7b58caed4d4e0c7dea5a54f46 (patch)
treee912d8ba752ca9ade9dc3ce851215cb425796dcb /sysutils/msyslog/files
parentd966ec4a66d218a5ffcae36e840746d7ab498fdb (diff)
downloadfreebsd-ports-gnome-e97d40d183c9f3d7b58caed4d4e0c7dea5a54f46.tar.gz
freebsd-ports-gnome-e97d40d183c9f3d7b58caed4d4e0c7dea5a54f46.tar.zst
freebsd-ports-gnome-e97d40d183c9f3d7b58caed4d4e0c7dea5a54f46.zip
Update to version 1.08f.
Reclaim maintainership.
Diffstat (limited to 'sysutils/msyslog/files')
-rw-r--r--sysutils/msyslog/files/patch-configure.in41
-rw-r--r--sysutils/msyslog/files/patch-im_udp.c15
2 files changed, 29 insertions, 27 deletions
diff --git a/sysutils/msyslog/files/patch-configure.in b/sysutils/msyslog/files/patch-configure.in
index 826266d9d80b..1e87ad52261e 100644
--- a/sysutils/msyslog/files/patch-configure.in
+++ b/sysutils/msyslog/files/patch-configure.in
@@ -1,31 +1,34 @@
---- configure.in.orig Wed May 30 02:08:44 2001
-+++ configure.in Sun Jun 3 19:50:11 2001
-@@ -57,7 +57,7 @@
- AC_DEFINE_UNQUOTED(MSYSLOG_VERSION_STR, "$MSYSLOG_VERSION")dnl
+--- configure.in.orig Wed Nov 21 07:49:36 2001
++++ configure.in Sat Mar 23 18:20:54 2002
+@@ -33,7 +33,7 @@
+ AC_STRUCT_TM
+
+ dnl Checks for library functions.
+-AC_CHECK_LIB(dl, dlopen, SYSLOGD_LIBS="$SYSLOGD_LIBS -ldl")
++AC_CHECK_LIB(c, dlopen)dnl
+ AC_CHECK_LIB(socket, connect, SYSLOGD_LIBS="$SYSLOGD_LIBS -lsocket")
+ AC_CHECK_LIB(nsl, gethostbyname, SYSLOGD_LIBS="$SYSLOGD_LIBS -lnsl")
+ AC_DEFINE(SYSLOGD_LIBS, $SYSLOGD_LIBS)
+@@ -65,7 +65,7 @@
+ AC_DEFINE_UNQUOTED(MSYSLOG_VERSION_STR, "$MSYSLOG_VERSION")
echo msyslog version... $MSYSLOG_VERSION
-MLIBNAME="libmsyslog.so.$MSYSLOG_VERSION" ;
-+MLIBNAME="libmsyslog.so.4" ;
- AC_DEFINE_UNQUOTED(MLIBNAME_STR, "$MLIBNAME")dnl
++MLIBNAME="libmsyslog.so.1" ;
+ AC_DEFINE_UNQUOTED(MLIBNAME_STR, "$MLIBNAME")
MANPAGES="syslog.conf.5 syslogd.8"
-@@ -66,12 +66,12 @@
+@@ -74,7 +74,7 @@
then
prefix=$ac_default_prefix
fi
-AC_DEFINE_UNQUOTED(INSTALL_LIBDIR, "$prefix/lib/alat")
+AC_DEFINE_UNQUOTED(INSTALL_LIBDIR, "$prefix/lib")
- dnl
- dnl Check needed libs for daemon
- dnl
--AC_CHECK_LIB(dl, dlopen, SYSLOGD_LIBS="$SYSLOGD_LIBS -ldl")dnl
-+AC_CHECK_LIB(c, dlopen)dnl
- AC_CHECK_LIB(socket, connect, SYSLOGD_LIBS="$SYSLOGD_LIBS -lsocket")dnl
- AC_CHECK_LIB(nsl, gethostbyname, SYSLOGD_LIBS="$SYSLOGD_LIBS -lnsl")dnl
- AC_DEFINE(SYSLOGD_LIBS, $SYSLOGD_LIBS)dnl
-@@ -153,6 +153,12 @@
- AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "_")dnl
+ AC_MSG_CHECKING(wheter optreset is needed)
+ AC_TRY_LINK([#include <unistd.h>],
+@@ -150,6 +150,12 @@
+ AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "_")
SHARED_PARAMS="-Bshareable"
DCCFLAGS="-fPIC"
+elif test "$UNAME" = "FreeBSD" ; then
@@ -35,5 +38,5 @@
+ DCCFLAGS="-fPIC"
+ SYSLOGD_LIBS="$SYSLOGD_LIBS -Wl,-E"
elif test "$UNAME" = "Linux" ; then
- AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY | RTLD_GLOBAL)dnl
- AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")dnl
+ AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY | RTLD_GLOBAL)
+ AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")
diff --git a/sysutils/msyslog/files/patch-im_udp.c b/sysutils/msyslog/files/patch-im_udp.c
index b15b6b4da474..3dd32fb092cf 100644
--- a/sysutils/msyslog/files/patch-im_udp.c
+++ b/sysutils/msyslog/files/patch-im_udp.c
@@ -1,15 +1,14 @@
---- src/modules/im_udp.c.orig Thu Apr 26 00:43:50 2001
-+++ src/modules/im_udp.c Sun May 13 23:44:03 2001
-@@ -58,12 +58,6 @@
+--- src/modules/im_udp.c.orig Sat Mar 23 18:14:04 2002
++++ src/modules/im_udp.c Sat Mar 23 18:14:24 2002
+@@ -58,11 +58,6 @@
#include "../modules.h"
#include "../syslogd.h"
--/* recvfrom() and others like socklen_t, Irix doesn't provide it */
+-/* recvfrom() and others like socklen_t, Irix doesn't provide it */
-#ifndef HAVE_SOCKLEN_T
- typedef int socklen_t;
-#endif
-
--
- /*
- * get messge
- *
+ struct im_udp_ctx {
+ int flags;
+ };