32
export DESTDIR=$RPM_BUILD_ROOT ; \
33
export OWNER=`id -n -u` ; \
34
export GROUP=`id -n -g` ;\
33
./configure.pl --host=%{_vendor} \
36
--perllibdir=%{perl_vendorlib} \
37
--libexecdir=%{_libexecdir}
39
DESTDIR=%{buildroot} ./install.sh
38
rm -rf $RPM_BUILD_ROOT
42
46
if [ $1 -eq 1 ]; then
43
47
if [ -x /sbin/insserv ]; then
44
/sbin/insserv /etc/rc.d/shorewall
48
/sbin/insserv %{_initddir}/shorewall
45
49
elif [ -x /sbin/chkconfig ]; then
46
50
/sbin/chkconfig --add shorewall;
52
56
if [ $1 = 0 ]; then
53
57
if [ -x /sbin/insserv ]; then
54
/sbin/insserv -r /etc/init.d/shorewall
58
/sbin/insserv -r %{_initddir}/shorewall
55
59
elif [ -x /sbin/chkconfig ]; then
56
60
/sbin/chkconfig --del shorewall
72
76
%defattr(0644,root,root,0755)
73
%attr(0544,root,root) /etc/init.d/shorewall
77
%attr(0544,root,root) %{_initddir}/shorewall
74
78
%attr(0755,root,root) %dir /etc/shorewall
79
%ghost /etc/shorewall/isusable
75
80
%attr(0755,root,root) %dir /usr/share/shorewall/configfiles
76
81
%attr(0700,root,root) %dir /var/lib/shorewall
77
82
%attr(0644,root,root) %config(noreplace) /etc/shorewall/*
102
107
%attr(755,root,root) /usr/share/shorewall/compiler.pl
103
108
%attr(755,root,root) /usr/share/shorewall/getparams
104
109
%attr(0644,root,root) /usr/share/shorewall/prog.*
105
%attr(0644,root,root) /usr/share/shorewall/Shorewall/*.pm
110
%attr(0644,root,root) %{perl_vendorlib}/Shorewall/*.pm
107
112
%attr(0644,root,root) /usr/share/shorewall/configfiles/*
112
117
%doc COPYING INSTALL changelog.txt releasenotes.txt Contrib/* Samples
115
* Wed Feb 29 2012 Tom Eastep tom@shorewall.net
117
* Mon Feb 27 2012 Tom Eastep tom@shorewall.net
119
* Mon Feb 13 2012 Tom Eastep tom@shorewall.net
121
* Sun Feb 12 2012 Tom Eastep tom@shorewall.net
122
- Unghost /etc/shorewall/blacklist
123
* Mon Feb 06 2012 Tom Eastep tom@shorewall.net
124
- Updated to 4.5.0-0base
125
* Sat Feb 04 2012 Tom Eastep tom@shorewall.net
126
- Updated to 4.5.0-0RC2
120
* Sat Apr 14 2012 Tom Eastep tom@shorewall.net
122
* Tue Apr 10 2012 Tom Eastep tom@shorewall.net
124
* Sat Apr 07 2012 Tom Eastep tom@shorewall.net
125
- Updated to 4.5.2-0base
126
* Wed Apr 04 2012 Tom Eastep tom@shorewall.net
127
- Updated to 4.5.2-0RC2
128
* Sun Apr 01 2012 Tom Eastep tom@shorewall.net
129
- Updated to 4.5.2-0RC1
130
* Thu Mar 29 2012 Tom Eastep tom@shorewall.net
131
- Updated to 4.5.2-0Beta5
132
* Mon Mar 26 2012 Tom Eastep tom@shorewall.net
133
- Updated to 4.5.2-0Beta4
134
* Tue Mar 20 2012 Tom Eastep tom@shorewall.net
135
- Updated to 4.5.2-0Beta3
136
* Sat Mar 17 2012 Tom Eastep tom@shorewall.net
137
- Updated to 4.5.2-0Beta2
138
* Wed Mar 14 2012 Tom Eastep tom@shorewall.net
139
- Updated to 4.5.2-0Beta1
140
* Sat Mar 10 2012 Tom Eastep tom@shorewall.net
141
- Updated to 4.5.1-0base
142
* Sat Mar 03 2012 Tom Eastep tom@shorewall.net
143
- Updated to 4.5.1-0RC1
144
* Thu Feb 23 2012 Tom Eastep tom@shorewall.net
145
- Updated to 4.5.1-0Beta3
146
* Sun Feb 19 2012 Tom Eastep tom@shorewall.net
147
- Updated to 4.5.1-0Beta2
148
* Fri Feb 03 2012 Tom Eastep tom@shorewall.net
149
- Updated to 4.5.1-0Beta1
127
150
* Wed Jan 18 2012 Tom Eastep tom@shorewall.net
128
151
- Updated to 4.5.0-0RC1
129
152
* Sun Jan 15 2012 Tom Eastep tom@shorewall.net