mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Permission changes for non-root compile for export
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3337 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1e763c24d9
commit
31958c0a0e
@ -4,7 +4,7 @@
|
|||||||
# /etc/shorewall/capabilities
|
# /etc/shorewall/capabilities
|
||||||
#
|
#
|
||||||
# This file is used when compiling with the -e flag. It specifies
|
# This file is used when compiling with the -e flag. It specifies
|
||||||
# the capabilities of the kernel/iptables on the remote system.
|
# the capabilities of the kernel/iptables on the target system.
|
||||||
# The capabilities are listed in the same order as they appear in
|
# The capabilities are listed in the same order as they appear in
|
||||||
# the output of "shorewall show capabilities". If the capability
|
# the output of "shorewall show capabilities". If the capability
|
||||||
# is available, set the corresponding variable to "Yes". Otherwise
|
# is available, set the corresponding variable to "Yes". Otherwise
|
||||||
|
@ -249,6 +249,10 @@ echo "Shorewall script installed in ${PREFIX}${DEST}/$INIT"
|
|||||||
mkdir -p ${PREFIX}/etc/shorewall
|
mkdir -p ${PREFIX}/etc/shorewall
|
||||||
mkdir -p ${PREFIX}/usr/share/shorewall
|
mkdir -p ${PREFIX}/usr/share/shorewall
|
||||||
mkdir -p ${PREFIX}/var/lib/shorewall
|
mkdir -p ${PREFIX}/var/lib/shorewall
|
||||||
|
|
||||||
|
chmod 755 ${PREFIX}/etc/shorewall
|
||||||
|
chmod 755 ${PREFIX}/usr/share/shorewall
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install the config file
|
# Install the config file
|
||||||
#
|
#
|
||||||
@ -549,7 +553,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the Standard Actions file
|
# Install the Standard Actions file
|
||||||
#
|
#
|
||||||
install_file actions.std ${PREFIX}/usr/share/shorewall/actions.std 0600
|
install_file actions.std ${PREFIX}/usr/share/shorewall/actions.std 0644
|
||||||
echo
|
echo
|
||||||
echo "Standard actions file installed as ${PREFIX}/etc/shorewall/actions.std"
|
echo "Standard actions file installed as ${PREFIX}/etc/shorewall/actions.std"
|
||||||
|
|
||||||
@ -557,7 +561,7 @@ echo "Standard actions file installed as ${PREFIX}/etc/shorewall/actions.std"
|
|||||||
# Install the Actions file
|
# Install the Actions file
|
||||||
#
|
#
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/actions ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/actions ]; then
|
||||||
run_install $OWNERSHIP -m 0600 actions ${PREFIX}/etc/shorewall/actions
|
run_install $OWNERSHIP -m 0644 actions ${PREFIX}/etc/shorewall/actions
|
||||||
echo
|
echo
|
||||||
echo "Actions file installed as ${PREFIX}/etc/shorewall/actions"
|
echo "Actions file installed as ${PREFIX}/etc/shorewall/actions"
|
||||||
fi
|
fi
|
||||||
@ -573,7 +577,7 @@ echo "Makefile installed as ${PREFIX}/etc/shorewall/Makefile"
|
|||||||
# Install the Action files
|
# Install the Action files
|
||||||
#
|
#
|
||||||
for f in action.* ; do
|
for f in action.* ; do
|
||||||
install_file $f ${PREFIX}/usr/share/shorewall/$f 0600
|
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
|
||||||
echo
|
echo
|
||||||
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||||
done
|
done
|
||||||
@ -584,7 +588,7 @@ echo "Limit action extension script installed as ${PREFIX}/usr/share/shorewall/L
|
|||||||
# Install the Macro files
|
# Install the Macro files
|
||||||
#
|
#
|
||||||
for f in macro.* ; do
|
for f in macro.* ; do
|
||||||
install_file $f ${PREFIX}/usr/share/shorewall/$f 0600
|
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
|
||||||
echo
|
echo
|
||||||
echo "Macro ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
echo "Macro ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||||
done
|
done
|
||||||
@ -592,7 +596,7 @@ done
|
|||||||
# Install the program skeleton files
|
# Install the program skeleton files
|
||||||
#
|
#
|
||||||
for f in prog.* ; do
|
for f in prog.* ; do
|
||||||
install_file $f ${PREFIX}/usr/share/shorewall/$f 0600
|
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
|
||||||
echo
|
echo
|
||||||
echo "Program skeleton file ${f#*.} installed as ${PREFIX}/usr/share/shorewall/$f"
|
echo "Program skeleton file ${f#*.} installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||||
done
|
done
|
||||||
|
@ -67,7 +67,7 @@ fi
|
|||||||
%attr(0700,root,root) %dir /etc/shorewall
|
%attr(0700,root,root) %dir /etc/shorewall
|
||||||
%attr(0700,root,root) %dir /usr/share/shorewall
|
%attr(0700,root,root) %dir /usr/share/shorewall
|
||||||
%attr(0700,root,root) %dir /var/lib/shorewall
|
%attr(0700,root,root) %dir /var/lib/shorewall
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/shorewall.conf
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall/shorewall.conf
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/zones
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/zones
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/policy
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/policy
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/interfaces
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/interfaces
|
||||||
@ -101,68 +101,70 @@ fi
|
|||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcdevices
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcdevices
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/Makefile
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/Makefile
|
||||||
|
|
||||||
%attr(0544,root,root) /sbin/shorewall
|
%attr(05555,root,root) /sbin/shorewall
|
||||||
|
|
||||||
%attr(0600,root,root) /usr/share/shorewall/version
|
%attr(0644,root,root) /usr/share/shorewall/version
|
||||||
%attr(0600,root,root) /usr/share/shorewall/actions.std
|
%attr(0644,root,root) /usr/share/shorewall/actions.std
|
||||||
%attr(0600,root,root) /usr/share/shorewall/action.Drop
|
%attr(0644,root,root) /usr/share/shorewall/action.Drop
|
||||||
%attr(0600,root,root) /usr/share/shorewall/action.Limit
|
%attr(0644,root,root) /usr/share/shorewall/action.Limit
|
||||||
%attr(0600,root,root) /usr/share/shorewall/action.Reject
|
%attr(0644,root,root) /usr/share/shorewall/action.Reject
|
||||||
%attr(0600,root,root) /usr/share/shorewall/action.template
|
%attr(0644,root,root) /usr/share/shorewall/action.template
|
||||||
%attr(0444,root,root) /usr/share/shorewall/functions
|
%attr(0444,root,root) /usr/share/shorewall/functions
|
||||||
%attr(0544,root,root) /usr/share/shorewall/firewall
|
%attr(0544,root,root) /usr/share/shorewall/firewall
|
||||||
%attr(0544,root,root) /usr/share/shorewall/help
|
%attr(0544,root,root) /usr/share/shorewall/help
|
||||||
%attr(0600,root,root) /usr/share/shorewall/Limit
|
%attr(0644,root,root) /usr/share/shorewall/Limit
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.AllowICMPs
|
%attr(0644,root,root) /usr/share/shorewall/macro.AllowICMPs
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Amanda
|
%attr(0644,root,root) /usr/share/shorewall/macro.Amanda
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Auth
|
%attr(0644,root,root) /usr/share/shorewall/macro.Auth
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.BitTorrent
|
%attr(0644,root,root) /usr/share/shorewall/macro.BitTorrent
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.CVS
|
%attr(0644,root,root) /usr/share/shorewall/macro.CVS
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Distcc
|
%attr(0644,root,root) /usr/share/shorewall/macro.Distcc
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.DNS
|
%attr(0644,root,root) /usr/share/shorewall/macro.DNS
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.DropDNSrep
|
%attr(0644,root,root) /usr/share/shorewall/macro.DropDNSrep
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.DropUPnP
|
%attr(0644,root,root) /usr/share/shorewall/macro.DropUPnP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Edonkey
|
%attr(0644,root,root) /usr/share/shorewall/macro.Edonkey
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.FTP
|
%attr(0644,root,root) /usr/share/shorewall/macro.FTP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Gnutella
|
%attr(0644,root,root) /usr/share/shorewall/macro.Gnutella
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.ICQ
|
%attr(0644,root,root) /usr/share/shorewall/macro.ICQ
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.IMAP
|
%attr(0644,root,root) /usr/share/shorewall/macro.IMAP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.LDAP
|
%attr(0644,root,root) /usr/share/shorewall/macro.LDAP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.MySQL
|
%attr(0644,root,root) /usr/share/shorewall/macro.MySQL
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.NNTP
|
%attr(0644,root,root) /usr/share/shorewall/macro.NNTP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.NTP
|
%attr(0644,root,root) /usr/share/shorewall/macro.NTP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.NTPbrd
|
%attr(0644,root,root) /usr/share/shorewall/macro.NTPbrd
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.PCA
|
%attr(0644,root,root) /usr/share/shorewall/macro.PCA
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Ping
|
%attr(0644,root,root) /usr/share/shorewall/macro.Ping
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.POP3
|
%attr(0644,root,root) /usr/share/shorewall/macro.POP3
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.PostgreSQL
|
%attr(0644,root,root) /usr/share/shorewall/macro.PostgreSQL
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Rdate
|
%attr(0644,root,root) /usr/share/shorewall/macro.Rdate
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Rsync
|
%attr(0644,root,root) /usr/share/shorewall/macro.Rsync
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SMB
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMB
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SMBswat
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMBswat
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SMTP
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMTP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SNMP
|
%attr(0644,root,root) /usr/share/shorewall/macro.SNMP
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SPAMD
|
%attr(0644,root,root) /usr/share/shorewall/macro.SPAMD
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SSH
|
%attr(0644,root,root) /usr/share/shorewall/macro.SSH
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Submission
|
%attr(0644,root,root) /usr/share/shorewall/macro.Submission
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.SVN
|
%attr(0644,root,root) /usr/share/shorewall/macro.SVN
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Syslog
|
%attr(0644,root,root) /usr/share/shorewall/macro.Syslog
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Telnet
|
%attr(0644,root,root) /usr/share/shorewall/macro.Telnet
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.template
|
%attr(0644,root,root) /usr/share/shorewall/macro.template
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Trcrt
|
%attr(0644,root,root) /usr/share/shorewall/macro.Trcrt
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.VNC
|
%attr(0644,root,root) /usr/share/shorewall/macro.VNC
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.VNCL
|
%attr(0644,root,root) /usr/share/shorewall/macro.VNCL
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Web
|
%attr(0644,root,root) /usr/share/shorewall/macro.Web
|
||||||
%attr(0600,root,root) /usr/share/shorewall/macro.Webmin
|
%attr(0644,root,root) /usr/share/shorewall/macro.Webmin
|
||||||
%attr(0600,root,root) /usr/share/shorewall/prog.footer
|
%attr(0644,root,root) /usr/share/shorewall/prog.footer
|
||||||
%attr(0600,root,root) /usr/share/shorewall/prog.header
|
%attr(0644,root,root) /usr/share/shorewall/prog.header
|
||||||
%attr(0600,root,root) /usr/share/shorewall/rfc1918
|
%attr(0644,root,root) /usr/share/shorewall/rfc1918
|
||||||
%attr(0600,root,root) /usr/share/shorewall/configpath
|
%attr(0644,root,root) /usr/share/shorewall/configpath
|
||||||
|
|
||||||
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
|
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 20 2006 Tom Eastep tom@shorewall.net
|
* Fri Jan 20 2006 Tom Eastep tom@shorewall.net
|
||||||
|
- Change permissions for compile by ordinary user
|
||||||
|
* Fri Jan 20 2006 Tom Eastep tom@shorewall.net
|
||||||
- Updated to 3.1.3-1
|
- Updated to 3.1.3-1
|
||||||
* Tue Jan 17 2006 Tom Eastep tom@shorewall.net
|
* Tue Jan 17 2006 Tom Eastep tom@shorewall.net
|
||||||
- Added program skeleton Files
|
- Added program skeleton Files
|
||||||
|
Loading…
Reference in New Issue
Block a user