/[smecontribs]/rpms/smeserver-affa/contribs8/smeserver-affa.spec
ViewVC logotype

Annotation of /rpms/smeserver-affa/contribs8/smeserver-affa.spec

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


Revision 1.5 - (hide annotations) (download)
Mon Jun 6 18:25:21 2016 UTC (7 years, 11 months ago) by guedel
Branch: MAIN
CVS Tags: smeserver-affa-3_2_2_3-3_el5_sme
Changes since 1.4: +10 -1 lines
* Wed Mar 23 2016 Arnaud Guillaume <affa@guedel.eu> 3.2.2.3-3.sme
- Fix use of uninitialized value $1 in concatentation (.) or string at /sbin/affa/ line 4059 [SME: 9139]
- Fix Inconsistent smb.conf when samba share option set to "yes" [SME: 9298]
- Fix affa --diskusage does not umount attached storage [SME: 9147]
- Fix typos in config files (John Crisp <jcrisp@safeandsoundit.co.uk> 29.01.2016) [SME: 9094]

1 stephdl 1.4 Summary: A rsync-based backup program for linux, adapted to sme server 8
2 unnilennium 1.1 %define name smeserver-affa
3     Name: %{name}
4 stephdl 1.4 %define version 3.2.2.3
5 guedel 1.5 %define release 3
6 unnilennium 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8 stephdl 1.4 Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu>
9 unnilennium 1.2 License: GNU General Public License
10 unnilennium 1.1 Group: Applications/Archiving
11     Source: %{name}-%{version}.tar.gz
12     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13     BuildArch: noarch
14     AutoReq: no
15 stephdl 1.4 Requires: openssh-clients
16     Requires: perl-Config-IniFiles
17 unnilennium 1.1 Requires: perl-Filesys-DiskFree
18 stephdl 1.4 Requires: perl-MailTools
19     Requires: perl-Proc-ProcessTable
20     Requires: perl-TimeDate
21     Requires: rsync
22 unnilennium 1.1
23 guedel 1.5 Patch1: smeserver-affa-fix-typo_rise_smb_diskusage.patch
24    
25 unnilennium 1.1 %description
26 stephdl 1.4 Affa is a rsync-based backup program
27     Documentation: http://affa.sf.net
28     with SMEServer + RPMCheck + Watchdog + rise
29 unnilennium 1.2
30     %prep
31     %setup -q -n %{name}-%{version}
32 guedel 1.5 %patch1 -p1
33 unnilennium 1.2
34     %build
35    
36     %install
37     rm -rf $RPM_BUILD_ROOT
38     rm -f %{name}-%{version}-filelist
39 stephdl 1.4 (cd root ;find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
40 unnilennium 1.2
41    
42     # Set version String
43 stephdl 1.4 cp -a $RPM_BUILD_ROOT/sbin/affa $RPM_BUILD_ROOT/sbin/affa.tmp
44 unnilennium 1.2 VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'`
45 stephdl 1.4 sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/affa.tmp > $RPM_BUILD_ROOT/sbin/affa
46     rm -f $RPM_BUILD_ROOT/sbin/affa.tmp
47 unnilennium 1.2
48     rm -f %{name}-%{version}-filelist
49    
50     find $RPM_BUILD_ROOT -depth -type f -print |\
51     sed -e "s@^$RPM_BUILD_ROOT@@g" \
52 stephdl 1.4 -e "s@^/sbin/@%attr(0750,root,root) &@"\
53 unnilennium 1.2 -e "s@^/etc/profile.d/@%attr(0555,root,root) &@"\
54 stephdl 1.4 -e "s@^/etc/sudoers.d/@%attr(0440,root,root) &@"\
55     -e "s@^/etc/cron.d/@%attr(0444,root,root)%config(noreplace) &@"\
56     -e "s@^/usr/lib/affa/LICENSE@%attr(0444,root,root) &@"\
57     -e "s@^/usr/lib/affa/WARRANTY@%attr(0444,root,root) &@"\
58     -e "s@^/usr/man/man1/@%attr(0444,root,root) &@"\
59     -e "s@^/etc/affa/scripts/@%attr(0750,root,root)%config(noreplace) &@"\
60     -e "s@^/etc/affa/@%attr(0640,root,root)%config(noreplace) &@"\
61 unnilennium 1.2 >> %{name}-%{version}-filelist
62    
63 stephdl 1.4
64     find $RPM_BUILD_ROOT -depth -type d -print |\
65     sed -e "s@^$RPM_BUILD_ROOT@%dir @g" >> %{name}-%{version}-filelist
66    
67 unnilennium 1.2 find $RPM_BUILD_ROOT -depth -type l -print |\
68     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
69    
70     %clean
71     rm -rf $RPM_BUILD_ROOT
72 stephdl 1.4
73     %files -f %{name}-%{version}-filelist
74     %defattr(-,root,root)
75    
76     %pre
77 unnilennium 1.2 exit 0
78    
79 stephdl 1.4 %post
80     exit 0
81    
82     %preun
83     exit 0
84 unnilennium 1.2
85 stephdl 1.4 %postun
86     exit 0
87 unnilennium 1.1
88     %changelog
89 guedel 1.5 * Wed Mar 23 2016 Arnaud Guillaume <affa@guedel.eu> 3.2.2.3-3.sme
90     - Fix use of uninitialized value $1 in concatentation (.) or string at /sbin/affa/ line 4059 [SME: 9139]
91     - Fix Inconsistent smb.conf when samba share option set to "yes" [SME: 9298]
92     - Fix affa --diskusage does not umount attached storage [SME: 9147]
93     - Fix typos in config files (John Crisp <jcrisp@safeandsoundit.co.uk> 29.01.2016) [SME: 9094]
94    
95 stephdl 1.4 * Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.2.3-2.sme
96     - Initial release to contribs8
97 unnilennium 1.3
98 stephdl 1.4 * Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.2.3-1
99     - fixed column ExecTime shift
100     - Adjusted column indices in report
101     - Fixed typo in remoteHostName [SME: 9062]
102     - Code done by mats schuh <m.schuh@neckargeo.net>
103    
104     * Tue Jan 13 2015 mats schuh <m.schuh@neckargeo.net> 3.2.2.2-1
105     - Added TotalBytesSent to archive reports and fixed report layout
106    
107     * Sun Dec 07 2014 Arnaud Guillaume 3.2.2.2
108     - integration of the patch of Mats Schuh in order to enable check for external disk label before unmount
109     * Sat Aug 23 2014 Arnaud Guillaume 3.2.2.1
110     - adapted to the new release of rsync (bug by calculating the number and the size of the transfered files)
111     * Sat Apr 05 2014 Arnaud Guillaume 3.2.2.0
112     - first adaptation for sme server8
113     * Sun Mar 04 2012 Michael Weinberger 3.2.2
114     - Improved NRPE and sudoers config
115     - Fixed bug in DiskUsageRaw()
116     - Added NRPE command affa_diskusagenrpe
117     * Fri Mar 02 2012 Michael Weinberger 3.2.1
118     - Bugfix: command_prefix definiton was not added to /etc/nagios/affa-nrpe.cfg
119     * Thu Mar 01 2012 Michael Weinberger 3.2.0
120     - Bugfix: remoteRsyncBinary and localRsyncBinary was not used
121     * Sun Feb 26 2012 Michael Weinberger 3.1.7
122     - Bugfixes in showSchedule()
123     * Sun Feb 26 2012 Michael Weinberger 3.1.6
124     - added ICINGA/Nagios auto-configuration
125     * Fri Feb 24 2012 Michael Weinberger 3.1.4
126     - do not show Dedup interrupted in --status after the very first run
127     - improved --nrpe function
128     - added script yum_install_packages.sh
129     * Tue Oct 11 2011 Michael Weinberger 3.1.3
130     - MINOR IMPROVEMENTS
131     --send-key: mkdir of RemoteAuthorizedKeysFile. Avoid errors if dir does not exist
132     --log-tail: show last rotated if current log is empty or too short
133     --check-conncetions: allow jobs as arguments
134     * Sun Aug 29 2011 Michael Weinberger 3.1.2
135     - Bugfix: postJobCommand and postJobCommandRemote were not executed
136     * Sat Aug 13 2011 Michael Weinberger 3.1.1
137     - process state 'rsync interrupted' and 'dedup interrupted'
138     - --resume-interrupted
139     - resume interrupted jobs after server boot
140     * Sun Aug 07 2011 Michael Weinberger 3.1.0-1
141     - introduced status 'interrupted'(with --status)
142     * Fri Aug 05 2011 Michael Weinberger 3.1.0-0
143     - Release of 3.1.0
144     * Thu Aug 04 2011 Michael Weinberger 3.0.2-14
145     - de-duplicate, execPreJobCommand and execPostJobCommand only on scheduled run
146     - removed Command arg from sample scripts
147     - Fixed: Concatenated config in /tmp was world readable
148     - De-duplication info added to --show-schedule
149     * Tue Aug 02 2011 Michael Weinberger 3.0.2-6
150     - De-Duplication (freedup)
151     - De-Dup info in --status and --list-archives
152     - --status: only show enabled jobs. All with --all
153     - Fix: property globalStatus was not working
154     - Running state rsync or de-deduplicating display in --status
155     - Show de-deduplicating busy in --list-archives for scheduled.0
156     - new property dedupKill. When set no, --kill does not kill a job when de-duplicating
157     - new option --show-property
158    
159     * Wed Jul 27 2011 Michael Weinberger 3.0.1-7
160     - Bug fixes: RemoteUser was not always used in ssh commands
161    
162     * Sun Jul 24 2011 Michael Weinberger 3.0.1-6
163     - fixed bug in affa --status
164     - GlobalAffaConfig was mounted as Samba share
165     - call setupSamba() only in cronSetup()
166     - updated man
167    
168     * Sat Jul 23 2011 Michael Weinberger 3.0.1-5
169     - new key NRPEtrigger
170     - full affa path required when starting re-run from cronjob
171     - improved deletion of shift out archives, --delete-job and --cleanup
172     - added --single-transaction to /etc/affa/scripts/mysql-dump-tables
173 unnilennium 1.1
174 stephdl 1.4 * Wed Jul 20 2011 Michael Weinberger 3.0.0-0
175     - generic linux version made from Affa 2.0 (SME Version)
176 unnilennium 1.1
177     * Mon Apr 02 2007 Michael Weinberger
178 stephdl 1.4 - bash version re-written in Perl
179 unnilennium 1.1

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