~ubuntu-branches/ubuntu/saucy/shorewall/saucy-proposed

« back to all changes in this revision

Viewing changes to shorewall.spec

  • Committer: Package Import Robot
  • Author(s): Roberto C. Sanchez
  • Date: 2012-04-14 21:57:42 UTC
  • mfrom: (1.3.46)
  • Revision ID: package-import@ubuntu.com-20120414215742-0ejkotwovqesavu7
Tags: 4.5.2.2-1
* New Upstream Version
* Convert to debhelper compatibility level 8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%define name shorewall
2
 
%define version 4.5.0
3
 
%define release 3
 
2
%define version 4.5.2
 
3
%define release 2
4
4
 
5
5
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
6
6
Name: %{name}
29
29
%build
30
30
 
31
31
%install
32
 
export DESTDIR=$RPM_BUILD_ROOT ; \
33
 
export OWNER=`id -n -u` ; \
34
 
export GROUP=`id -n -g` ;\
35
 
./install.sh
 
32
 
 
33
./configure.pl --host=%{_vendor} \
 
34
               --prefix=%{_prefix} \
 
35
               --tmpdir=%{_tmpdir} \
 
36
               --perllibdir=%{perl_vendorlib} \
 
37
               --libexecdir=%{_libexecdir}
 
38
 
 
39
DESTDIR=%{buildroot} ./install.sh
36
40
 
37
41
%clean
38
 
rm -rf $RPM_BUILD_ROOT
 
42
rm -rf %{buildroot}
39
43
 
40
44
%post
41
45
 
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;
47
51
        fi
51
55
 
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
57
61
        fi
70
74
 
71
75
%files
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
106
111
 
107
112
%attr(0644,root,root) /usr/share/shorewall/configfiles/*
108
113
 
112
117
%doc COPYING INSTALL changelog.txt releasenotes.txt Contrib/* Samples
113
118
 
114
119
%changelog
115
 
* Wed Feb 29 2012 Tom Eastep tom@shorewall.net
116
 
- Updated to 4.5.0-3
117
 
* Mon Feb 27 2012 Tom Eastep tom@shorewall.net
118
 
- Updated to 4.5.0-2
119
 
* Mon Feb 13 2012 Tom Eastep tom@shorewall.net
120
 
- Updated to 4.5.0-1
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
 
121
- Updated to 4.5.2-2
 
122
* Tue Apr 10 2012 Tom Eastep tom@shorewall.net
 
123
- Updated to 4.5.2-1
 
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