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

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

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


Revision 1.5 - (hide annotations) (download)
Tue Apr 26 19:16:25 2016 UTC (8 years ago) by guedel
Branch: MAIN
CVS Tags: smeserver-affa-3_2_2_3-4_el6_sme
Changes since 1.4: +11 -3 lines
* Wed Mar 23 2016 Arnaud Guillaume <smeserver-affa@guedel.eu> 3.2.2.3-4.sme
- Fix use of uninitialized value $1 in concatentation (.) or string at /sbin/affa/ line 4059 [SME: 9139]
- Fix "RPMCheck" not working [SME: 9270]
- Fix Inconsistent smb.conf when samba share option set to "yes" [SME: 9298]
- Fix affa --diskusage does not umount attached storage [SME: 9147]

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

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