/[smeserver]/smeserver-ipsec/F/smeserver-ipsec.spec
ViewVC logotype

Annotation of /smeserver-ipsec/F/smeserver-ipsec.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (hide annotations) (download)
Thu Dec 7 23:23:49 2006 UTC (17 years, 10 months ago) by slords
Branch: MAIN
Changes since 1.7: +7 -2 lines
Update release and packager

1 gordonr 1.1 Summary: IPSEC support for SME Server
2     %define name smeserver-ipsec
3     Name: %{name}
4 gordonr 1.3 %define version 0.0.2
5 slords 1.8 %define release 6
6 gordonr 1.1 Version: %{version}
7 slords 1.8 Release: %smerelease %{release}
8     Packager: %{_packager}
9 gordonr 1.4 License: GPL
10 gordonr 1.1 Group: Networking/Daemons
11     Source: %{name}-%{version}.tar.gz
12 gordonr 1.4 Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch
13 gordonr 1.5 Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch
14 gordonr 1.7 Patch2: smeserver-ipsec-modulehack.patch
15 gordonr 1.1 BuildRoot: /var/tmp/e-smith-buildroot
16     BuildArchitectures: noarch
17     Requires: e-smith-release >= 7
18     Requires: ipsec-tools
19     AutoReqProv: no
20     Obsoletes: dmc-mitel-freeswan
21     Obsoletes: devinfo-freeswan
22    
23     %changelog
24 slords 1.8 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
25     - Update to new release naming. No functional changes.
26     - Make Packager generic
27    
28 gordonr 1.7 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-05
29     - Add a hack to the local event to force loading of the af_key module
30     until we work out why it isn't being loaded automatically
31    
32 gordonr 1.6 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-04
33     - Comment out createlinks in build for now, until the old freeswan
34     based ones are removed/updated. Thankfully we don't need to do most
35     of this with SME7 and ipsec-tools
36    
37 gordonr 1.5 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-03
38     - Add db defaults ipsec=service|status|disabled
39    
40 gordonr 1.4 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-02
41     - Relocate masq fragments to templates from templates-custom
42    
43 gordonr 1.3 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-01
44     - Removed symlinks from imported tarball
45 gordonr 1.2
46 gordonr 1.1 * Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01
47     - Package renamed to smeserver-ipsec (from devinfo-freeswan)
48    
49     * Fri May 2 2003 Peter Schubert <psc@s-a-c-o.de>
50     - added template for /etc/sysctl.conf
51     - to set rp_filter to 0 as default
52     - added Funktion to change the PublicID of the Server
53    
54     * Sat Apr 12 2003 Shad L. Lords <slords@mail.com>
55     - 1.99-6sme56
56     - fixed bug in ipsec-install script. Thanks to Randy Brown.
57    
58     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
59     - 1.99-5sme56
60     - added ipsec devices as trusted local networks
61    
62     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
63     - 1.99-4sme56
64     - fixed many routing problems between networks
65     - added dependancy on e-smith-packetfilter
66    
67     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
68     - 1.99-3sme56
69     - updated info mailed to admin
70    
71     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
72     - 1.99-2sme56
73     - fixed bug in web panel
74    
75     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
76     - 1.99-1sme56
77     - bumped to v1.99
78     - many fixes in _updown script
79     - cleanup of /etc/ipsec.conf script
80     - cleanup web interface a little more
81     - added id tag to ipsec db entry
82    
83     * Thu Apr 10 2003 Shad L. Lords <slords@mail.com>
84     - 1.98b-3sme56
85     - fixed masq template for external interface
86    
87     * Thu Apr 10 2003 Shad L. Lords <slords@mail.com>
88     - 1.98b-2sme56
89     - fixed remoteHost and remoteID in ipsec.conv script
90    
91     * Thu Apr 10 2003 Shad L. Lords <slords@mail.com>
92     - 1.98b-1sme56
93     - changed configuration to no longer need nexthop information (now user %defaultroute)
94     - changed connection to allow hostnames
95     - changed description to be identification ID
96     - changed masq external interface to be ! internal
97     - added networking information to admin email
98     - code cleanup
99    
100     * Sat Feb 14 2003 Peter Schubert <psc@s-a-c-o.de>
101     - some fixes in the _updown script
102     - thanks to Steve Bush (steve_at_bushinc.com> for the tests and fixes
103    
104     * Thu Feb 04 2003 Peter Schubert <psc@s-a-c-o.de>
105     - another "cosmetic" fix in post section of the SPEC
106    
107     * Mon Feb 03 2003 Peter Schubert <psc@s-a-c-o.de>
108     - remove expand-template masq in post section
109    
110     * Mon Feb 03 2003 Peter Schubert <psc@s-a-c-o.de>
111     - updated for freeswan 1.98 and iptables
112     - [1.98-1sme56]
113    
114     * Sun Oct 20 2002 Darrell May <dmay@netsourced.com>
115     - panel updates
116     - [1.97-3sme55]
117    
118     * Sun Oct 20 2002 Darrell May <dmay@netsourced.com>
119     - added mail-ipsec-key action
120     - added WINS server config to panel
121     - [1.97-2sme55]
122    
123     * Sat Oct 19 2002 Darrell May <dmay@netsourced.com>
124     - updated for freeswan 1.97-07 and SME 5.5
125     - [1.97-1sme55]
126    
127     * Sun Dec 23 2001 Darrell May <dmay@netsourced.com>
128     - changed ipsec InitscriptOrder from 47 to 99
129     - 0.4-12
130    
131     * Fri Nov 9 2001 Darrell May <dmay@netsourced.com>
132     - release to 0.4-11
133     - added compress=yes to /etc/e-smith/templates/etc/ipsec.conf/20Default
134    
135     * Wed Nov 7 2001 Darrell May <dmay@netsourced.com>
136     - release 0.4-10
137     - removed /usr/lib/ipsec/_updown script for ipchains
138     - added /usr/lib/ipsec/_updown_1.8 and _updown_1.91 scripts for ipchains
139    
140     * Thu Nov 1 2001 Darrell May <dmay@netsourced.com>
141     - release 0.4-9
142     - updated /usr/lib/ipsec/_updown script for ipchains
143     - editing to virtualprivatedomain function
144    
145     * Sat Oct 20 2001 Darrell May <dmay@netsourced.com>
146     - release 0.4-8
147     - updated for Mitel SME Server V5
148     - name changed to dmc-mitel-freeswan
149    
150     * Wed Apr 4 2001 Andy Worthington <andy@rockcity.com>
151     - added another masq template fragment (45AllowIPSEC)
152     - fixed @name in ipsec.conf template
153    
154     * Thu Mar 15 2001 Andy Worthington <andy@rockcity.com>
155     - add post script back
156     - fixed permissions in filelist
157     - fix rsasig entries in ipsec.conf templates
158     - fix spelling of vpn link in manager/cgi-bin
159     - fix perms on vpn web page
160    
161     * Wed Mar 14 2001 Andy Worthington <andy@rockcity.com>
162     - change order of actions in ipsec-install
163     - fix masq template fragment
164    
165     * Fri Mar 09 2001 Andy Worthington <andy@rockcity.com>
166     - remove post script
167     - change masq template fragment to templates-custom dir
168    
169     * Fri Mar 09 2001 Andy Worthington <andy@rockcity.com>
170     - small fix in conf-ipsec-secrets and 10RSAKey
171     - changed order of actions in ipsec-install and added
172     conf-masq and restart-masq
173    
174     * Thu Mar 08 2001 Andy Worthington <andy@rockcity.com>
175     - added file to disable source address verification in masq
176     so KLIPS will function correctly
177    
178     * Tue Mar 06 2001 Andy Worthington <andy@rockcity.com>
179     - updated to version 0.4
180     - added to post event signal
181    
182     * Wed Feb 28 2001 Andy Worthington <andy@rockcity.com>
183     - updated to version 0.3
184    
185     * Fri Feb 23 2001 Andy Worthington <andy@rockcity.com>
186     - updated to version 0.2
187    
188     * Wed Feb 21 2001 Andy Worthington <andy@rockcity.com>
189     - initial release
190    
191     %description
192     Mitel SME Server enhancement to configure ipsec connections
193     through the web manager
194    
195     %prep
196     %setup
197 gordonr 1.4 %patch0 -p1
198 gordonr 1.5 %patch1 -p1
199 gordonr 1.7 %patch2 -p1
200 gordonr 1.1
201     %build
202 gordonr 1.6 # perl createlinks
203 gordonr 1.1
204     %install
205     rm -rf $RPM_BUILD_ROOT
206    
207     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
208     rm -f e-smith-%{version}-filelist
209 gordonr 1.7 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
210     --file /etc/e-smith/events/local/ipsec-module-hack 'attr(0755,root,root)' \
211     > %{name}-%{version}-filelist
212 gordonr 1.1 %files -f %{name}-%{version}-filelist
213    
214     %defattr(-,root,root)
215    
216     %clean
217     rm -rf $RPM_BUILD_ROOT
218    
219     %pre
220    
221     %preun
222    
223     %post
224     if [ -f /etc/ipsec.conf ]
225     then
226     cp -f --backup=t /etc/ipsec.conf /etc/ipsec.conf.prerpm > /dev/null 2> /dev/null
227     fi
228     if [ -f /etc/ipsec.secrets ]
229     then
230     cp -f --backup=t /etc/ipsec.secrets /etc/ipsec.secrets.prerpm > /dev/null 2> /dev/null
231     fi
232     if [ -f /usr/local/lib/ipsec/_updown ]
233     then
234     cp -f --backup=t /usr/local/lib/ipsec/_updown /usr/local/lib/ipsec/_updown.prerpm > /dev/null 2> /dev/null
235     fi
236     /bin/cp /usr/local/lib/ipsec/_updown_1.99 /usr/local/lib/ipsec/_updown
237     /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
238     /sbin/e-smith/expand-template /etc/sysctl.conf
239    
240     %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed