/[smecontribs]/rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli.spec
ViewVC logotype

Annotation of /rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli.spec

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


Revision 1.2 - (hide annotations) (download)
Tue Apr 15 15:18:07 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-coova-chilli-0_1-1_el4_sme
Changes since 1.1: +1 -2 lines
Cleanup spec

1 slords 1.2 # $Id: smeserver-coova-chilli.spec,v 1.1 2008/04/15 15:04:56 slords Exp $
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Summary: Coova-Chilli, a captive portal based on ChilliSpot configured for SME server
6     %define name smeserver-coova-chilli
7     Name: %{name}
8     %define version 0.1
9     %define release 1
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Remote access
14     Source: %{name}-%{version}.tar.gz
15     Patch1: smeserver-coova-chilli-0.1-bypass_auth_with_squid_fix.patch
16     Patch2: smeserver-coova-chilli-0.1-expand_masq_fix.patch
17     URL: http://sme.firewall-services.com
18     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19     BuildArchitectures: noarch
20     Requires: e-smith-release >= 7.0 openssl coova-chilli
21     BuildRequires: e-smith-devtools >= 1.13.1-03
22    
23     %description
24     This package allow you to configure a third interface
25     (eth2). Just plug a WiFi AP on it, and you'll have
26     a secured captive portal. Users will be redirected
27     on a logon page and they'll have to enter credentials
28     (sme accounts) before the server allows them. By default,
29     they'll only have web access if they are members of the group "chilli"
30    
31     %changelog
32     * Tue Apr 15 2008 Daniel Berteaud <daniel@firewall-services.com>
33     - [0.1-1]
34     - security fixe: auth bypass with squid (patch1)
35     - masq template not expanded (patch2)
36    
37     * Fri Apr 04 2008 Daniel Berteaud <daniel@firewall-services.com>
38     - [0.1]
39     - initiale release
40    
41     %prep
42     %setup
43     %patch1 -p1
44     %patch2 -p1
45    
46     %build
47     /usr/bin/perl createlinks
48    
49     %install
50     /bin/rm -rf $RPM_BUILD_ROOT
51     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
52     /bin/rm -f %{name}-%{version}-filelist
53     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
54     --file /etc/chilli/conup.sh 'attr(0750,root,root)' \
55     --file /etc/chilli/condown.sh 'attr(0750,root,root)' \
56     > %{name}-%{version}-filelist
57    
58     %files -f %{name}-%{version}-filelist
59     %defattr(-,root,root)
60    
61     %clean
62     rm -rf $RPM_BUILD_ROOT
63    
64     %post
65     if [ ! -e /opt/chilli ]; then
66     /bin/cp -a /opt/chilli.rpmnew /opt/chilli
67     fi
68    
69     %preun
70     if [ $1 == 0 ]; then
71     /sbin/e-smith/db configuration setprop chilli status disabled
72     /sbin/e-smith/signal-event chilli-update
73     fi
74    

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