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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Feb 10 21:10:42 2014 UTC (10 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: affa-3_2_2-1, HEAD
Initial import

1 unnilennium 1.1 Summary: A rsync-based backup program for linux
2     %define name affa
3     Name: %{name}
4     %define version 3.2.2
5     %define release 1
6     Version: %{version}
7     Release: %{release}
8     Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net>
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     AutoReq: no
15     Requires: openssh-clients
16     Requires: perl-Config-IniFiles
17     Requires: perl-Filesys-DiskFree
18     Requires: perl-MailTools
19     Requires: perl-Proc-ProcessTable
20     Requires: perl-TimeDate
21     Requires: rsync
22    
23     %description
24     Affa is a rsync-based backup program
25     Documentation: http://affa.sf.net
26    
27     %prep
28     %setup -q -n %{name}-%{version}
29    
30     %build
31    
32     %install
33     rm -rf $RPM_BUILD_ROOT
34     rm -f %{name}-%{version}-filelist
35     (find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
36    
37    
38     # Set version String
39     cp -a $RPM_BUILD_ROOT/sbin/affa $RPM_BUILD_ROOT/sbin/affa.tmp
40     VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'`
41     sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/affa.tmp > $RPM_BUILD_ROOT/sbin/affa
42     rm -f $RPM_BUILD_ROOT/sbin/affa.tmp
43    
44     rm -f %{name}-%{version}-filelist
45    
46     find $RPM_BUILD_ROOT -depth -type f -print |\
47     sed -e "s@^$RPM_BUILD_ROOT@@g" \
48     -e "s@^/sbin/@%attr(0750,root,root) &@"\
49     -e "s@^/etc/profile.d/@%attr(0555,root,root) &@"\
50     -e "s@^/etc/sudoers.d/@%attr(0440,root,root) &@"\
51     -e "s@^/etc/cron.d/@%attr(0444,root,root)%config(noreplace) &@"\
52     -e "s@^/usr/lib/affa/LICENSE@%attr(0444,root,root) &@"\
53     -e "s@^/usr/lib/affa/WARRANTY@%attr(0444,root,root) &@"\
54     -e "s@^/usr/man/man1/@%attr(0444,root,root) &@"\
55     -e "s@^/etc/affa/scripts/@%attr(0750,root,root)%config(noreplace) &@"\
56     -e "s@^/etc/affa/@%attr(0640,root,root)%config(noreplace) &@"\
57     >> %{name}-%{version}-filelist
58    
59    
60     find $RPM_BUILD_ROOT -depth -type d -print |\
61     sed -e "s@^$RPM_BUILD_ROOT@%dir @g" >> %{name}-%{version}-filelist
62    
63     find $RPM_BUILD_ROOT -depth -type l -print |\
64     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
65    
66     %clean
67     rm -rf $RPM_BUILD_ROOT
68    
69     %files -f %{name}-%{version}-filelist
70     %defattr(-,root,root)
71    
72     %pre
73     exit 0
74    
75     %post
76     exit 0
77    
78     %preun
79     exit 0
80    
81     %postun
82     exit 0
83    
84     %changelog
85     * Sun Mar 04 2012 Michael Weinberger 3.2.2
86     - Improved NRPE and sudoers config
87     - Fixed bug in DiskUsageRaw()
88     - Added NRPE command affa_diskusagenrpe
89     * Fri Mar 02 2012 Michael Weinberger 3.2.1
90     - Bugfix: command_prefix definiton was not added to /etc/nagios/affa-nrpe.cfg
91     * Thu Mar 01 2012 Michael Weinberger 3.2.0
92     - Bugfix: remoteRsyncBinary and localRsyncBinary was not used
93     * Sun Feb 26 2012 Michael Weinberger 3.1.7
94     - Bugfixes in showSchedule()
95     * Sun Feb 26 2012 Michael Weinberger 3.1.6
96     - added ICINGA/Nagios auto-configuration
97     * Fri Feb 24 2012 Michael Weinberger 3.1.4
98     - do not show Dedup interrupted in --status after the very first run
99     - improved --nrpe function
100     - added script yum_install_packages.sh
101     * Tue Oct 11 2011 Michael Weinberger 3.1.3
102     - MINOR IMPROVEMENTS
103     --send-key: mkdir of RemoteAuthorizedKeysFile. Avoid errors if dir does not exist
104     --log-tail: show last rotated if current log is empty or too short
105     --check-conncetions: allow jobs as arguments
106     * Sun Aug 29 2011 Michael Weinberger 3.1.2
107     - Bugfix: postJobCommand and postJobCommandRemote were not executed
108     * Sat Aug 13 2011 Michael Weinberger 3.1.1
109     - process state 'rsync interrupted' and 'dedup interrupted'
110     - --resume-interrupted
111     - resume interrupted jobs after server boot
112     * Sun Aug 07 2011 Michael Weinberger 3.1.0-1
113     - introduced status 'interrupted'(with --status)
114     * Fri Aug 05 2011 Michael Weinberger 3.1.0-0
115     - Release of 3.1.0
116     * Thu Aug 04 2011 Michael Weinberger 3.0.2-14
117     - de-duplicate, execPreJobCommand and execPostJobCommand only on scheduled run
118     - removed Command arg from sample scripts
119     - Fixed: Concatenated config in /tmp was world readable
120     - De-duplication info added to --show-schedule
121     * Tue Aug 02 2011 Michael Weinberger 3.0.2-6
122     - De-Duplication (freedup)
123     - De-Dup info in --status and --list-archives
124     - --status: only show enabled jobs. All with --all
125     - Fix: property globalStatus was not working
126     - Running state rsync or de-deduplicating display in --status
127     - Show de-deduplicating busy in --list-archives for scheduled.0
128     - new property dedupKill. When set no, --kill does not kill a job when de-duplicating
129     - new option --show-property
130    
131     * Wed Jul 27 2011 Michael Weinberger 3.0.1-7
132     - Bug fixes: RemoteUser was not always used in ssh commands
133    
134     * Sun Jul 24 2011 Michael Weinberger 3.0.1-6
135     - fixed bug in affa --status
136     - GlobalAffaConfig was mounted as Samba share
137     - call setupSamba() only in cronSetup()
138     - updated man
139    
140     * Sat Jul 23 2011 Michael Weinberger 3.0.1-5
141     - new key NRPEtrigger
142     - full affa path required when starting re-run from cronjob
143     - improved deletion of shift out archives, --delete-job and --cleanup
144     - added --single-transaction to /etc/affa/scripts/mysql-dump-tables
145    
146     * Wed Jul 20 2011 Michael Weinberger 3.0.0-0
147     - generic linux version made from Affa 2.0 (SME Version)
148    
149     * Mon Apr 02 2007 Michael Weinberger
150     - bash version re-written in Perl
151    

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