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

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

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


Revision 1.3 - (hide annotations) (download)
Mon Mar 29 13:15:26 2021 UTC (3 years, 8 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-affa-3_3_1-1_el7_sme
Changes since 1.2: +12 -4 lines
Import smeserver-affa-3.3.1

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

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