From 800c06e8c93bbf4defba4e846349e2ef33e40891 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 21 Apr 2016 08:12:41 -0700 Subject: [PATCH] Rename lib.core to lib.runtime Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Compiler.pm | 6 +++--- Shorewall/Perl/{lib.core => lib.runtime} | 2 +- Shorewall/uninstall.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename Shorewall/Perl/{lib.core => lib.runtime} (99%) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index 0f03d89b7..2f45842be 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -76,7 +76,7 @@ sub initialize_package_globals( $$$ ) { # # First stage of script generation. # -# Copy lib.core and lib.common to the generated script. +# Copy lib.runtime and lib.common to the generated script. # Generate the various user-exit jacket functions. # # Note: This function is not called when $command eq 'check'. So it must have no side effects other @@ -94,8 +94,8 @@ sub generate_script_1( $ ) { emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#"; - copy $globals{SHAREDIRPL} . '/lib.core', 0; - copy2 $globals{SHAREDIRPL} . '/lib.common', $debug; + copy $globals{SHAREDIRPL} . '/lib.runtime', 0; + copy2 $globals{SHAREDIRPL} . '/lib.common' , $debug; } } diff --git a/Shorewall/Perl/lib.core b/Shorewall/Perl/lib.runtime similarity index 99% rename from Shorewall/Perl/lib.core rename to Shorewall/Perl/lib.runtime index dc95b3acc..5bb83bd80 100644 --- a/Shorewall/Perl/lib.core +++ b/Shorewall/Perl/lib.runtime @@ -49,7 +49,7 @@ # generated this program # ################################################################################ -# Functions imported from /usr/share/shorewall/lib.core +# Functions imported from /usr/share/shorewall/lib.runtime ################################################################################ # Address family-neutral Functions ################################################################################ diff --git a/Shorewall/uninstall.sh b/Shorewall/uninstall.sh index 9826fe00e..74b92b944 100755 --- a/Shorewall/uninstall.sh +++ b/Shorewall/uninstall.sh @@ -215,7 +215,7 @@ rm -rf ${SHAREDIR}/shorewall/configfiles/ rm -rf ${SHAREDIR}/shorewall/Samples/ rm -rf ${SHAREDIR}/shorewall/Shorewall/ rm -f ${SHAREDIR}/shorewall/lib.cli-std -rm -f ${SHAREDIR}/shorewall/lib.core +rm -f ${SHAREDIR}/shorewall/lib.runtime rm -f ${SHAREDIR}/shorewall/compiler.pl rm -f ${SHAREDIR}/shorewall/prog.* rm -f ${SHAREDIR}/shorewall/module*