Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9340f9d38a | ||
|
|
e90c3d9705 | ||
|
|
721ff1b8c9 |
5 changed files with 86 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
aimage-3.2.0.tar.gz
|
||||
21
aimage-3.2.0-gcc44.patch
Normal file
21
aimage-3.2.0-gcc44.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff -up aimage-3.2.0/src/aimage_os.cpp.gcc44 aimage-3.2.0/src/aimage_os.cpp
|
||||
--- aimage-3.2.0/src/aimage_os.cpp.gcc44 2009-03-02 13:36:09.000000000 +0100
|
||||
+++ aimage-3.2.0/src/aimage_os.cpp 2009-03-02 13:41:32.000000000 +0100
|
||||
@@ -33,11 +33,15 @@ void checkline(const char *name,const ch
|
||||
{
|
||||
while(buf[0] && isspace(buf[0])) buf++; // advance buf to end of spaces
|
||||
|
||||
- char *pos = strstr(buf,name);
|
||||
+ char *buf_tmp;
|
||||
+ char *name_tmp;
|
||||
+ strcpy(buf_tmp, buf);
|
||||
+ strcpy(name_tmp, name);
|
||||
+ char *pos = strstr(buf_tmp,name_tmp);
|
||||
if(pos==0) return;
|
||||
|
||||
/* The string was found */
|
||||
- char *cc = pos + strlen(name); // skip past to the end of the string
|
||||
+ char *cc = pos + strlen(name_tmp); // skip past to the end of the string
|
||||
while(*cc && isspace(*cc)) cc++; // scan to end of spaces
|
||||
char *dd = index(cc,'\n'); // can we find a \n?
|
||||
if(dd) *dd = '\000'; // yes; clear it
|
||||
63
aimage.spec
Normal file
63
aimage.spec
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
Name: aimage
|
||||
Version: 3.2.0
|
||||
Release: 4%{?dist}
|
||||
Summary: Advanced Disk Imager
|
||||
|
||||
Group: Applications/System
|
||||
License: BSD with advertising
|
||||
URL: http://www.afflib.org
|
||||
Source0: http://www.afflib.org/downloads/aimage-%{version}.tar.gz
|
||||
Patch0: aimage-3.2.0-gcc44.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: afflib-devel
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%description
|
||||
Advanced Disk Imager.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .gcc44
|
||||
|
||||
|
||||
%build
|
||||
%configure --enable-opt
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog
|
||||
%{_bindir}/aimage
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 2 2009 kwizart < kwizart at gmail.com > - 3.2.0-4
|
||||
- Fix for gcc44
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 3.2.0-2
|
||||
- rebuild with new openssl
|
||||
|
||||
* Tue Sep 23 2008 kwizart < kwizart at gmail.com > - 3.2.0-1
|
||||
- Update to 3.2.0
|
||||
|
||||
* Thu Sep 4 2008 kwizart < kwizart at gmail.com > - 3.1.2-1
|
||||
- Update to 3.1.2
|
||||
|
||||
* Wed Mar 12 2008 kwizart < kwizart at gmail.com > - 3.1.0-1
|
||||
- Initial spec file
|
||||
|
|
@ -1 +0,0 @@
|
|||
2014-06-04 - This package was already retired in pkgdb/blocked in koji, but no dead.package file existed. The original retirement reason is unclear.
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
58218cfc5cfcfdbabb216f1f8c0f9c39 aimage-3.2.0.tar.gz
|
||||
Reference in a new issue