Skip to content

Commit 38f089f

Browse files
authored
Merge pull request #21 from Tripwire/dev/2.4.3.4
OST 2.4.3.4
2 parents 2617c9a + e88df2f commit 38f089f

File tree

7 files changed

+28
-25
lines changed

7 files changed

+28
-25
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2017-03-05 Brian Cox <[email protected]>
2+
* Bump version to 2.4.3.4
3+
* Fix issue with printing level 2 reports, introduced by fixing a Clang static analyzer quibble in 2.4.3.3. Sigh.
4+
* 'make install-strip' actually strips binaries now.
5+
16
2017-02-21 Brian Cox <[email protected]>
27
* Bump version to 2.4.3.3
38
* Run Clang static analyzer & fix some of its quibbles

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ SUBDIRS = man src
33
EXTRA_DIST = COMMERCIAL MAINTAINERS TRADEMARK LICENSE Packaging ReadMe-2.4.3 README.md autogen.sh autogen.sh.README touchconfig.sh contrib policy installer
44

55
install-data-hook:
6+
export INSTALL_STRIP_FLAG
67
prefix="$(prefix)" sysconfdir="$(sysconfdir)" \
78
path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \
89
./installer/install.sh

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@ uninstall-am:
798798

799799

800800
install-data-hook:
801+
export INSTALL_STRIP_FLAG
801802
prefix="$(prefix)" sysconfdir="$(sysconfdir)" \
802803
path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \
803804
./installer/install.sh

configure

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/sh
2-
# From configure.ac Revision: 2.4.3.3 .
2+
# From configure.ac Revision: 2.4.3.4 .
33
# Guess values for system-dependent variables and create Makefiles.
4-
# Generated by GNU Autoconf 2.69 for tripwire 2.4.3.3.
4+
# Generated by GNU Autoconf 2.69 for tripwire 2.4.3.4.
55
#
66
# Report bugs to <https://github.com/Tripwire/tripwire-open-source/issues>.
77
#
@@ -584,8 +584,8 @@ MAKEFLAGS=
584584
# Identity of this package.
585585
PACKAGE_NAME='tripwire'
586586
PACKAGE_TARNAME='tripwire'
587-
PACKAGE_VERSION='2.4.3.3'
588-
PACKAGE_STRING='tripwire 2.4.3.3'
587+
PACKAGE_VERSION='2.4.3.4'
588+
PACKAGE_STRING='tripwire 2.4.3.4'
589589
PACKAGE_BUGREPORT='https://github.com/Tripwire/tripwire-open-source/issues'
590590
PACKAGE_URL='https://github.com/Tripwire/tripwire-open-source'
591591

@@ -1321,7 +1321,7 @@ if test "$ac_init_help" = "long"; then
13211321
# Omit some internal or obsolete options to make the list less imposing.
13221322
# This message is too long to be a string in the A/UX 3.1 sh.
13231323
cat <<_ACEOF
1324-
\`configure' configures tripwire 2.4.3.3 to adapt to many kinds of systems.
1324+
\`configure' configures tripwire 2.4.3.4 to adapt to many kinds of systems.
13251325
13261326
Usage: $0 [OPTION]... [VAR=VALUE]...
13271327
@@ -1393,7 +1393,7 @@ fi
13931393

13941394
if test -n "$ac_init_help"; then
13951395
case $ac_init_help in
1396-
short | recursive ) echo "Configuration of tripwire 2.4.3.3:";;
1396+
short | recursive ) echo "Configuration of tripwire 2.4.3.4:";;
13971397
esac
13981398
cat <<\_ACEOF
13991399
@@ -1504,7 +1504,7 @@ fi
15041504
test -n "$ac_init_help" && exit $ac_status
15051505
if $ac_init_version; then
15061506
cat <<\_ACEOF
1507-
tripwire configure 2.4.3.3
1507+
tripwire configure 2.4.3.4
15081508
generated by GNU Autoconf 2.69
15091509
15101510
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2391,7 +2391,7 @@ cat >config.log <<_ACEOF
23912391
This file contains any messages produced by compilers while
23922392
running configure, to aid debugging if configure makes a mistake.
23932393
2394-
It was created by tripwire $as_me 2.4.3.3, which was
2394+
It was created by tripwire $as_me 2.4.3.4, which was
23952395
generated by GNU Autoconf 2.69. Invocation command line was
23962396
23972397
$ $0 $@
@@ -3365,7 +3365,7 @@ fi
33653365

33663366
# Define the identity of the package.
33673367
PACKAGE='tripwire'
3368-
VERSION='2.4.3.3'
3368+
VERSION='2.4.3.4'
33693369

33703370

33713371
cat >>confdefs.h <<_ACEOF
@@ -7633,7 +7633,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76337633
# report actual input values of CONFIG_FILES etc. instead of their
76347634
# values after options handling.
76357635
ac_log="
7636-
This file was extended by tripwire $as_me 2.4.3.3, which was
7636+
This file was extended by tripwire $as_me 2.4.3.4, which was
76377637
generated by GNU Autoconf 2.69. Invocation command line was
76387638
76397639
CONFIG_FILES = $CONFIG_FILES
@@ -7700,7 +7700,7 @@ _ACEOF
77007700
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77017701
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
77027702
ac_cs_version="\\
7703-
tripwire config.status 2.4.3.3
7703+
tripwire config.status 2.4.3.4
77047704
configured by $0, generated by GNU Autoconf 2.69,
77057705
with options \\"\$ac_cs_config\\"
77067706

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ dnl Process this file with autoconf to produce a configure script.
22
dnl
33
dnl
44

5-
AC_INIT([tripwire], [2.4.3.3], [https://github.com/Tripwire/tripwire-open-source/issues], [tripwire], [https://github.com/Tripwire/tripwire-open-source])
5+
AC_INIT([tripwire], [2.4.3.4], [https://github.com/Tripwire/tripwire-open-source/issues], [tripwire], [https://github.com/Tripwire/tripwire-open-source])
66
AC_CONFIG_SRCDIR([src/tw/tw.cpp])
77
AC_CANONICAL_TARGET([])
88
AM_INIT_AUTOMAKE
99
AM_CONFIG_HEADER(config.h)
1010

1111
AC_COPYRIGHT([The developer of the original code and/or files is Tripwire, Inc. Portions created by Tripwire, Inc. are copyright 2000-2017 Tripwire, Inc. Tripwire is a registered trademark of Tripwire, Inc. All rights reserved.])
12-
AC_REVISION([$Revision: 2.4.3.3 $])
12+
AC_REVISION([$Revision: 2.4.3.4 $])
1313

1414
dnl #################################
1515
dnl Cleanup Cruft Leftover From Patch

installer/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,11 @@ for i in $loosefiles; do
605605
fi
606606
done
607607

608+
if [ -n "$INSTALL_STRIP_FLAG" ] ; then
609+
echo "INSTALL_STRIP_FLAG is set, stripping binaries"
610+
strip "$TWBIN/siggen" "$TWBIN/tripwire" "$TWBIN/twadmin" "$TWBIN/twprint"
611+
fi
612+
608613
#Make extra sure we don't install the unit test binary to sbin
609614
if [ -e "$TWBIN/twtest" ] ; then
610615
rm -f "$TWBIN/twtest"

src/tw/textreportviewer.cpp

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,9 +1519,6 @@ void cTextReportViewer::DisplayChangedProps( const iFCO* const pfcoOld, const iF
15191519

15201520
void cTextReportViewer::OutputAddedSummary( const cFCOReportSpecIter& ri, FCOList* pFCONameList )
15211521
{
1522-
if (!pFCONameList)
1523-
return;
1524-
15251522
if( ! ri.GetAddedSet()->IsEmpty() )
15261523
{
15271524
(*mpOut) << TSS_GetString( cTW, tw::STR_ADDED ) << _T(":") << endl;
@@ -1533,7 +1530,7 @@ void cTextReportViewer::OutputAddedSummary( const cFCOReportSpecIter& ri, FCOLis
15331530
PrintBallotLine( *pSetIterAdded->FCO() );
15341531

15351532
// if we're updating, save a list of FCO names
1536-
if( mfUpdate )
1533+
if( mfUpdate && pFCONameList)
15371534
pFCONameList->insert( pSetIterAdded->FCO()->GetName() );
15381535
}
15391536
(*mpOut) << endl;
@@ -1542,9 +1539,6 @@ void cTextReportViewer::OutputAddedSummary( const cFCOReportSpecIter& ri, FCOLis
15421539

15431540
void cTextReportViewer::OutputRemovedSummary( const cFCOReportSpecIter& ri, FCOList* pFCONameList)
15441541
{
1545-
if (!pFCONameList)
1546-
return;
1547-
15481542
if( ! ri.GetRemovedSet()->IsEmpty() )
15491543
{
15501544
(*mpOut) << TSS_GetString( cTW, tw::STR_REMOVED ) << _T(":") << endl;
@@ -1556,7 +1550,7 @@ void cTextReportViewer::OutputRemovedSummary( const cFCOReportSpecIter& ri, FCOL
15561550
PrintBallotLine( *pSetIterRemoved->FCO() );
15571551

15581552
// if we're updating, save a list of FCO names
1559-
if( mfUpdate )
1553+
if( mfUpdate && pFCONameList)
15601554
pFCONameList->insert( pSetIterRemoved->FCO()->GetName() );
15611555
}
15621556
(*mpOut) << endl;
@@ -1565,9 +1559,6 @@ void cTextReportViewer::OutputRemovedSummary( const cFCOReportSpecIter& ri, FCOL
15651559

15661560
void cTextReportViewer::OutputChangedSummary( const cFCOReportSpecIter& ri, FCOList* pFCONameList )
15671561
{
1568-
if (!pFCONameList)
1569-
return;
1570-
15711562
if( ri.GetNumChanged() > 0 )
15721563
{
15731564
(*mpOut) << TSS_GetString( cTW, tw::STR_CHANGED ) << _T(":") << endl;
@@ -1579,7 +1570,7 @@ void cTextReportViewer::OutputChangedSummary( const cFCOReportSpecIter& ri, FCOL
15791570
PrintBallotLine( *changedIter.GetNew() );
15801571

15811572
// if we're updating, save a list of FCO names
1582-
if( mfUpdate )
1573+
if( mfUpdate && pFCONameList)
15831574
pFCONameList->insert( changedIter.GetNew()->GetName() );
15841575
}
15851576

0 commit comments

Comments
 (0)