Add version file to Shorewall-perl

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6396 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-17 22:24:01 +00:00
parent 64bf02598a
commit 2c6571789c
3 changed files with 4 additions and 1 deletions

View File

@ -800,6 +800,7 @@ sub compiler( $ ) {
# E x e c u t i o n S t a r t s H e r e
#
my $objectfile = $ARGV[0];
#
# Get shorewall.conf and capabilities.
#
@ -807,4 +808,4 @@ get_configuration( $export );
#
# Compile/Check the configuration.
#
compiler $ARGV[0];
compiler $objectfile;

View File

@ -185,6 +185,7 @@ for f in prog.* ; do
echo "Program skeleton file ${f#*.} installed as ${PREFIX}/usr/share/shorewall-perl/$f"
done
echo $VERSION > ${PREFIX}/usr/share/shorewall-perl/version
#
# Report Success
#

View File

@ -58,6 +58,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) /usr/share/shorewall-perl/prog.header
%attr(0644,root,root) /usr/share/shorewall-perl/prog.functions
%attr(0644,root,root) /usr/share/shorewall-perl/prog.footer
%attr(0644,root,root) /usr/share/shorewall-perl/version
%attr(0555,root,root) /usr/share/shorewall-perl/Shorewall/Accounting.pm
%attr(0555,root,root) /usr/share/shorewall-perl/Shorewall/Actions.pm
%attr(0555,root,root) /usr/share/shorewall-perl/Shorewall/Chains.pm