From 27eff6e0bd8d43396f48f34e01d3a00c088dfaf5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 16 2016 10:46:53 +0000 Subject: import screen-4.1.0-0.23.20120314git3c2946.el7_2 --- diff --git a/SOURCES/screen-STIG-GEN003660.patch b/SOURCES/screen-STIG-GEN003660.patch new file mode 100644 index 0000000..42814e2 --- /dev/null +++ b/SOURCES/screen-STIG-GEN003660.patch @@ -0,0 +1,25 @@ +diff --git a/src/attacher.c b/src/attacher.c +index 2565a0f..9e916eb 100644 +--- a/src/attacher.c ++++ b/src/attacher.c +@@ -37,6 +37,10 @@ + + #include + ++#ifndef NOSYSLOG ++#include ++#endif ++ + static int WriteMessage __P((int, struct msg *)); + static sigret_t AttacherSigInt __P(SIGPROTOARG); + #if defined(SIGWINCH) && defined(TIOCGWINSZ) +@@ -1001,6 +1005,9 @@ screen_builtin_lck() + bzero(cp1, strlen(cp1)); + } + bzero(cp1, strlen(cp1)); ++#ifndef NOSYSLOG ++ syslog(LOG_AUTHPRIV | LOG_NOTICE, "authentication success; logname=%s uid=%d", ppp->pw_name, ppp->pw_uid); ++#endif + debug("password ok.\n"); + } + diff --git a/SPECS/screen.spec b/SPECS/screen.spec index b9a4b3a..32c74cc 100644 --- a/SPECS/screen.spec +++ b/SPECS/screen.spec @@ -4,7 +4,7 @@ Summary: A screen manager that supports multiple logins on one terminal Name: screen Version: 4.1.0 -Release: 0.22.20120314git3c2946%{?dist} +Release: 0.23.20120314git3c2946%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/screen @@ -35,6 +35,7 @@ Patch10: screen-help-update.patch Patch11: screen-altscreen.patch Patch12: screen-fix-term.patch Patch13: screen-reattach.patch +Patch14: screen-STIG-GEN003660.patch %description The screen utility allows you to have multiple logins on just one @@ -61,6 +62,7 @@ support multiple logins on one terminal. %patch11 -p2 -b .altscreen.patch %patch12 -p2 -b .fix-term %patch13 -p2 -b .cannot-reattach +%patch14 -p2 -b .STIG-GEN003660 %build @@ -157,7 +159,11 @@ fi %endif %changelog -* Tue Jun 30 2015 Petr Hracek - 4.1.0-0.22.20120314git3c2946 +* Fri Jan 15 2016 Petr Hracek - 4.1.0-0.23.20120314git3c2946 +- screen does not log successful authentication messages with STIG GEN003660 +- Resolves: #1299394 + +* Thu Oct 15 2015 Petr Hracek - 4.1.0-0.22.20120314git3c2946 - cannot reattach to screen sessions (regression 'LoginName to long') - Resolves: #1253697