From dacdde52d290e742636409b6261a53dbf1a3703f Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 29 Jun 2002 21:28:23 +0000 Subject: Update to version 1.2.30. --- security/ssh/files/patch-bi | 106 +++++++++++++++++++++----------------------- 1 file changed, 50 insertions(+), 56 deletions(-) (limited to 'security/ssh/files') diff --git a/security/ssh/files/patch-bi b/security/ssh/files/patch-bi index 77ff392db911..158c7583691b 100644 --- a/security/ssh/files/patch-bi +++ b/security/ssh/files/patch-bi @@ -1,56 +1,50 @@ -*** log-server.c.orig Wed May 12 13:19:26 1999 ---- log-server.c Mon Jan 10 22:56:13 2000 -*************** -*** 146,151 **** ---- 146,170 ---- - syslog(LOG_INFO, "log: %.500s", buf); - } - -+ #ifdef ENABLE_LOG_AUTH -+ void log_auth(const char *fmt, ...) -+ { -+ char buf[1024]; -+ va_list args; -+ extern int log_auth_flag; -+ if (!log_auth_flag) -+ return; -+ if (log_quiet) -+ return; -+ va_start(args, fmt); -+ vsprintf(buf, fmt, args); -+ va_end(args); -+ if (log_on_stderr) -+ fprintf(stderr, "log: %s\n", buf); -+ syslog(LOG_INFO|LOG_AUTH, "%.500s", buf); -+ } -+ #endif /* ENABLE_LOG_AUTH */ -+ - /* Converts portable syslog severity to machine-specific syslog severity. */ - - static int syslog_severity(int severity) -*************** -*** 322,327 **** ---- 341,349 ---- - { - char buf[1024]; - va_list args; -+ #ifdef ENABLE_LOG_AUTH -+ extern char *unauthenticated_user; -+ #endif /* ENABLE_LOG_AUTH */ - - if (log_quiet) - exit(1); -*************** -*** 331,336 **** ---- 353,363 ---- - if (log_on_stderr) - fprintf(stderr, "fatal: %s\n", buf); - syslog(syslog_severity(severity), "fatal: %.500s", buf); -+ #ifdef ENABLE_LOG_AUTH -+ if (unauthenticated_user) -+ log_auth("LOGIN FAILED %.100s from %.200s", -+ unauthenticated_user, get_canonical_hostname()); -+ #endif /* ENABLE_LOG_AUTH */ - - do_fatal_cleanups(); - +--- log-server.c.orig Wed Jul 5 08:26:48 2000 ++++ log-server.c Sat Jun 29 14:25:37 2002 +@@ -160,6 +160,25 @@ + closelog(); + } + ++#ifdef ENABLE_LOG_AUTH ++void log_auth(const char *fmt, ...) ++{ ++ char buf[1024]; ++ va_list args; ++ extern int log_auth_flag; ++ if (!log_auth_flag) ++ return; ++ if (log_quiet) ++ return; ++ va_start(args, fmt); ++ vsprintf(buf, fmt, args); ++ va_end(args); ++ if (log_on_stderr) ++ fprintf(stderr, "log: %s\n", buf); ++ syslog(LOG_INFO|LOG_AUTH, "%.500s", buf); ++} ++#endif /* ENABLE_LOG_AUTH */ ++ + /* Converts portable syslog severity to machine-specific syslog severity. */ + + static int syslog_severity(int severity) +@@ -344,6 +363,9 @@ + { + char buf[1024]; + va_list args; ++#ifdef ENABLE_LOG_AUTH ++ extern char *unauthenticated_user; ++#endif /* ENABLE_LOG_AUTH */ + + if (log_quiet) + exit(1); +@@ -354,6 +376,11 @@ + fprintf(stderr, "fatal: %s\n", buf); + openlog(prg_name, LOG_PID, log_facility); + syslog(syslog_severity(severity), "fatal: %.500s", buf); ++#ifdef ENABLE_LOG_AUTH ++ if (unauthenticated_user) ++ log_auth("LOGIN FAILED %.100s from %.200s", ++ unauthenticated_user, get_canonical_hostname()); ++#endif /* ENABLE_LOG_AUTH */ + closelog(); + + do_fatal_cleanups(); -- cgit iptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/astro/wmglobe
Commit message (Expand)AuthorAgeFilesLines
* Mark a few ports BROKEN in astro and archivers category (unfetchable)antoine2015-04-051-0/+2
* Remove Authors from pkg-descrbapt2015-03-031-1/+0
* Update graphics/giflib to 5.0.5antoine2015-01-151-1/+1
* Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-1/+1
* Rename old-style patch-xy patches in astro to reflect what filesadamw2014-07-281-0/+0
* x11-wm/libwraster:tijl2014-06-301-1/+1
* Support stagebapt2014-01-201-5/+5
* In preparation for making libtool generate libraries with a sane name, fix allbapt2013-12-111-1/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-5/+2
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - remove maintainer tags from pkg-descreadler2011-10-231-2/+0
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-221-2/+0
* - Add ports to "geography" virtual categorylaszlof2007-07-231-1/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Move mastersite and WWW from http://perso.linuxfr.org/jdumont/wmg/edwin2005-11-253-2/+3
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-062-1/+1
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1