1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Updates the msyslog port to the latest version: 1.04d

PR:		27856
Submitted by:	Anders Nordby <anders@fix.no>
This commit is contained in:
James E. Housley 2001-06-07 11:12:51 +00:00
parent 4202c9f72c
commit 4ec1a59c35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43591
3 changed files with 10 additions and 7 deletions

View File

@ -6,10 +6,10 @@
# #
PORTNAME= msyslog PORTNAME= msyslog
PORTVERSION= 1.04b PORTVERSION= 1.04d
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://www.core-sdi.com/soft/ MASTER_SITES= http://www.core-sdi.com/soft/
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/b//} DISTNAME= ${PORTNAME}-v${PORTVERSION}
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
MAINTAINER= anders@fix.no MAINTAINER= anders@fix.no
@ -47,6 +47,8 @@ DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
FIXPREFIX= README src/man/om_peo.8 src/man/syslog.conf.5 \ FIXPREFIX= README src/man/om_peo.8 src/man/syslog.conf.5 \
src/man/syslogd.8 src/TODO src/syslogd.h src/man/syslogd.8 src/TODO src/syslogd.h
WRKSRC= ${WRKDIR}/releases/${DISTNAME}
pre-patch: pre-patch:
.for f in ${FIXPREFIX} .for f in ${FIXPREFIX}
${PERL} -pi -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \ ${PERL} -pi -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \

View File

@ -1 +1 @@
MD5 (msyslog-v1.04.tgz) = 441387853471fd418fd1ad3e03a084ec MD5 (msyslog-v1.04d.tgz) = 4a854a95ca33e433252f4600bafc569e

View File

@ -1,5 +1,5 @@
--- configure.in.orig Tue May 1 04:25:49 2001 --- configure.in.orig Wed May 30 02:08:44 2001
+++ configure.in Mon May 14 00:23:17 2001 +++ configure.in Sun Jun 3 19:50:11 2001
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
AC_DEFINE_UNQUOTED(MSYSLOG_VERSION_STR, "$MSYSLOG_VERSION")dnl AC_DEFINE_UNQUOTED(MSYSLOG_VERSION_STR, "$MSYSLOG_VERSION")dnl
echo msyslog version... $MSYSLOG_VERSION echo msyslog version... $MSYSLOG_VERSION
@ -24,15 +24,16 @@
AC_CHECK_LIB(socket, connect, SYSLOGD_LIBS="$SYSLOGD_LIBS -lsocket")dnl AC_CHECK_LIB(socket, connect, SYSLOGD_LIBS="$SYSLOGD_LIBS -lsocket")dnl
AC_CHECK_LIB(nsl, gethostbyname, SYSLOGD_LIBS="$SYSLOGD_LIBS -lnsl")dnl AC_CHECK_LIB(nsl, gethostbyname, SYSLOGD_LIBS="$SYSLOGD_LIBS -lnsl")dnl
AC_DEFINE(SYSLOGD_LIBS, $SYSLOGD_LIBS)dnl AC_DEFINE(SYSLOGD_LIBS, $SYSLOGD_LIBS)dnl
@@ -155,6 +155,11 @@ @@ -153,6 +153,12 @@
AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "_")dnl AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "_")dnl
SHARED_PARAMS="-Bshareable" SHARED_PARAMS="-Bshareable"
DCCFLAGS="-fPIC" DCCFLAGS="-fPIC"
+elif test "$UNAME" = "FreeBSD" ; then +elif test "$UNAME" = "FreeBSD" ; then
+ AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY)dnl + AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY)dnl
+ AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")dnl
+ SHARED_PARAMS="-Bshareable" + SHARED_PARAMS="-Bshareable"
+ DCCFLAGS="-fPIC" + DCCFLAGS="-fPIC"
+ SYSLOGD_LIBS="$SYSLOGD_LIBS -Wl,-E" + SYSLOGD_LIBS="$SYSLOGD_LIBS -Wl,-E"
elif test "$UNAME" = "Linux" ; then elif test "$UNAME" = "Linux" ; then
AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY | RTLD_GLOBAL)dnl AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY | RTLD_GLOBAL)dnl
MAIN_CPPFLAGS="-Xlinker -E"; AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")dnl