/[smecontribs]/rpms/smeserver-awstats/contribs10/smeserver-awstats.spec
ViewVC logotype

Annotation of /rpms/smeserver-awstats/contribs10/smeserver-awstats.spec

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


Revision 1.8 - (hide annotations) (download)
Sat Jul 30 18:01:48 2022 UTC (22 months, 1 week ago) by brianr
Branch: MAIN
CVS Tags: smeserver-awstats-1_4-6_el7_sme
Changes since 1.7: +5 -2 lines
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.4-6.sme
- Re-build and link to latest devtools [SME: 11997]

1 brianr 1.8 # $Id: smeserver-awstats.spec,v 1.7 2022/07/21 18:15:34 jpp Exp $
2 brianr 1.1 # Authority: dungog
3     # Name: Stephen Noble
4    
5     %define realname smeserver-awstats
6     %define version 1.4
7 brianr 1.8 %define release 6
8 brianr 1.1
9     Summary: SME Server intergration rpm for awstats
10     Name: %{realname}
11     Version: %{version}
12     Release: %{release}%{?dist}
13     License: GNU GPL (GNU General Public License)
14     Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.gz
16     BuildRoot: /var/tmp/%{name}-%{version}
17     URL: http://www.dungog.net/sme
18     BuildArchitectures: noarch
19     BuildRequires: e-smith-devtools >= 1.13.1-03
20     Requires: e-smith-release >= 9
21     Requires: awstats >= 6.5
22     AutoReqProv: no
23 jpp 1.5 Patch0: smeserver-awstats-1.4-bz11045.patch
24 jpp 1.6 Patch1: smeserver-awstats-1.4-bz11998-backup.patch
25 brianr 1.1
26     %description
27 brianr 1.2 SME Server integration rpm for awstats.
28 brianr 1.1
29     %changelog
30 brianr 1.8 * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.4-6.sme
31     - Re-build and link to latest devtools [SME: 11997]
32    
33 jpp 1.7 * Thu Jul 21 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-5.sme
34 jpp 1.6 - add to core backup [SME: 11998]
35    
36 jpp 1.4 * Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-3.sme
37     - add update event for easy install [SME: 11045]
38     rewrite spec and createlinks to be more smeserver compliant
39     - run actions/awstats-upgrade on update of awstats or smeserver-awstats [SME: 10784]
40    
41 brianr 1.3 * Tue Oct 20 2020 BogusDateBot
42     - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
43     by assuming the date is correct and changing the weekday.
44     Tue May 27 2001 --> Tue May 22 2001 or Sun May 27 2001 or Tue May 29 2001 or ....
45    
46 brianr 1.2 * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-2.sme
47     - Initial import to SME10 tree [SME: 11045]
48    
49 brianr 1.1 * Fri Jul 20 2018 John Crisp <jcrisp@safeandsounit.co.uk> 1.4-1.sme
50     - Fix SkipHosts incomplete entry [SME: 10160]
51     - Add SkipHosts db key
52     - Update some code to newer API
53    
54     * Mon Sep 7 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.3-3.sme
55     - added smeserver-awstats-1.3.bz8450.remove_ExternalIP-LocalIP.patch
56     - removed ExternalIP_LocalIP_ExternalNetmask [SME: 8450]
57    
58     * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.3-1.sme
59     - initial import to SME9 contribs [SME: 8435]
60    
61     * Sat Sep 20 2008 Stephen Noble <support@dungog.net> 1.2-7
62     - clarify when domain is added to panel [sme 4543]
63    
64     * Tue Jun 26 2007 Stephen Noble <support@dungog.net> 1.2-5
65     - awstats upgrade script modified [sme 3087]
66    
67     * Tue Jun 26 2007 Stephen Noble <support@dungog.net> 1.2-4
68     - awstats upgrade triggers added [sme 2347]
69    
70     * Mon Jan 8 2007 Stephen Noble <support@dungog.net>
71     - old database path fixed, awstats.conf/10conf [sme 2254]
72     - [1.2-3]
73    
74     * Wed Apr 26 2006 Stephen Noble <support@dungog.net>
75     - symlinks to graphics fixed
76     - [1.2-2]
77    
78     * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
79     - update for sme7
80     - renamed smeserver-awstats
81     - split awstats out of rpm, so it can be updated independently
82     - [1.2-1]
83    
84     * Mon Jan 31 2005 Stephen Noble <support@dungog.net>
85     - AllowFullYearView=3 added to awstats.conf
86     - hostinfo plugin option removed from panel
87     - # to enable
88     - # /sbin/e-smith/db /sbin/e-smith/configuration setprop AWStats Hostinfo yes
89     - # and install perl-Net-XWhois rpm
90     - [6.3-1]
91    
92     * Sat Jan 29 2005 Stephen Noble <support@dungog.net>
93     - update to awstats 6.3
94     - [6.3-0]
95    
96     * Sat Sep 13 2003 Stephen Noble <support@dungog.net>
97     - delegation defaults to admin
98     can also delegate to everyone, a group or a single user
99     - [2.3.4]
100     * Mon Aug 25 2003 Michael Weinberger
101     - based on AWStats 5.7
102     - [2.3.3]
103     * Tue Jul 29 2003 stephen noble <support@dungog.net>
104     - everyone options in options
105     - language fixs thanks Pascal Schirrmann
106     - [2.3.2]
107     * Fri Jul 18 2003 stephen noble <support@dungog.net>
108     - remove /sbin/e-smith/config and options link to non admin users
109     - [2.3.1]
110     * Thu Jul 17 2003 Michael Weinberger
111     - based on AWStats 5.6
112     - supports servermanager navigation of SME6
113     - [2.3.0]
114     * Tue Jul 15 2003 stephen noble <support@dungog.net>
115     - user-manager support
116     - restrict virtual domains shown to users
117     - [2.2.2]
118     * Tue Jan 07 2003 Michael Weinberger
119     - changed to new commandline syntax (-/sbin/e-smith/config)
120     * Mon Jan 06 2003 Michael Weinberger
121     - based on AWStats 5.3
122     * Mon Jan 06 2003 Michael Weinberger
123     - set DNSLookup=1 as default
124     * Sat Dec 21 2002 Michael Weinberger
125     - based on AWStats 5.2
126     * Thu Feb 28 2002 Michael Weinberger
127     - based on AWStats 4.0 BETA
128     * Thu Feb 28 2002 Michael Weinberger
129     - now based on AWStats 3.2
130     * Fri Oct 05 2001 Michael Weinberger
131     - missing icons issue solved. Path to icons changed.
132     * Thu Oct 04 2001 Michael Weinberger
133     - based on AWStats 2.32
134     RPM name changed
135 brianr 1.3 * Sun May 27 2001 Michael Weinberger
136     Tue May 27 2001 --> Tue May 22 2001 or Sun May 27 2001 or Tue May 29 2001 or ....
137 brianr 1.1 - problems when started by e-smith events
138     awstats pre-processor now runs in background
139     * Tue May 01 2001 Michael Weinberger
140     - owner=admin, group=root for /home/e-smith/files/users/admin/home/awstats and all
141     dirs below, rw for owner and group.
142     (after e-smith upgrade permission set to drwx------, reported by Michael Doerner)
143     awstats_run now checks permissons and correct them if needed.
144     - more /sbin/e-smith/configuration options added, incl. 5 and 10 minute freq.
145     - Warning "Another instance running" suppressed, when launched by cron (-s option)
146     - Warning in the panel removed
147     * Sun Apr 29 2001 Michael Weinberger
148     - awstats_pos was not removed after a log rotate of access_log
149     * Fri Apr 27 2001 Michael Weinberger
150     - beta 1 release
151    
152    
153     %prep
154     %setup -q -n %{realname}-%{version}
155 jpp 1.4 %patch0 -p1
156 jpp 1.7 %patch1 -p1
157 brianr 1.1
158     %build
159     perl createlinks
160 jpp 1.4 mkdir -p root/home/e-smith/files/users/admin/home/awstats
161 brianr 1.1 mkdir -p root/etc/e-smith/web/panels/manager/html/awstats/icon
162     mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin/.awstats
163 jpp 1.4 #user-manager
164     mkdir -p root/etc/e-smith/web/panels/user/html/
165     mkdir -p root/etc/e-smith/web/panels/user/cgi-bin/
166     ln -fs /etc/e-smith/web/panels/manager/html/awstats root/etc/e-smith/web/panels/user/html/awstats
167     ln -fs /etc/e-smith/web/panels/manager/cgi-bin/.awstats root/etc/e-smith/web/panels/user/cgi-bin/.awstats
168    
169 brianr 1.1 echo %{version}-%{release} > root/etc/e-smith/web/panels/manager/cgi-bin/.awstats/version
170    
171     %install
172     rm -rf $RPM_BUILD_ROOT
173     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
174 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
175     --dir '/home/e-smith/files/users/admin/home/awstats' 'attr(40770,admin,root)' \
176     --dir '/etc/e-smith/web/panels/manager/cgi-bin/.awstats' 'attr(40770,root,root)' \
177     > %{name}-%{version}-filelist
178 brianr 1.1 echo "%doc " >> %{name}-%{version}-filelist
179    
180     %clean
181     cd ..
182     rm -rf %{name}-%{version}
183    
184     %pre
185     %post
186    
187    
188     %preun
189     %postun
190     if [ $1 = 0 ] ; then
191     /bin/rm -rf /etc/e-smith/web/panels/manager/html/awstats
192     /bin/rm -rf /etc/e-smith/web/panels/manager/cgi-bin/.awstats
193     /bin/rm -rf /etc/e-smith/web/panels/user/html/awstats
194     /bin/rm -rf /etc/e-smith/web/panels/user/cgi-bin/.awstats
195     /sbin/e-smith/config setprop AWStats status removed
196     /sbin/e-smith/expand-template /etc/crontab
197     fi
198    
199     %files -f %{name}-%{version}-filelist
200     %defattr(-,root,root)
201    

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