SHA256
1
0
forked from pool/amtu
OBS User unknown
2009-07-28 23:38:15 +00:00
committed by Git OBS Bridge
parent 499cfb206b
commit 8f0053361c
5 changed files with 31 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92fd3559a20537e74ce800b4e7a50fe4f5df44004efa3428583c4df9444875a4
size 54728

3
amtu-1.0.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1bd4921be034e72a0a3061c18f86d9d5930b1579b3fca29f266cafba1c135f0
size 131957

View File

@@ -0,0 +1,10 @@
--- amtu-1.0.8/src/memsep.c.orig 2009-07-23 16:40:14.000000000 +0200
+++ amtu-1.0.8/src/memsep.c 2009-07-23 16:43:05.000000000 +0200
@@ -292,6 +292,7 @@
}
last_end = end;
}
+ fclose(fp);
#ifndef HAVE_LIBAUDIT
/* On RHEL4 don't need to change back, still root */

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jul 24 17:04:38 CEST 2009 - thomas@novell.com
- fixed %files section in spec file by adding %doc
-------------------------------------------------------------------
Thu Jul 23 16:56:05 CEST 2009 - thomas@novell.com
- upgraded to version 1.0.8
- added patch for missing fclose() in src/memsep.c (bnc#523353)
-------------------------------------------------------------------
Fri Mar 2 15:26:12 CET 2007 - ro@suse.de

View File

@@ -1,5 +1,5 @@
#
# spec file for package amtu (Version 1.0.4)
# spec file for package amtu (Version 1.0.8)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,12 +24,13 @@ License: Common Public License - v 1.0
Group: Productivity/Security
Requires: audit >= 1.2.9
AutoReqProv: on
Version: 1.0.4
Release: 101
Version: 1.0.8
Release: 1
Summary: Abstract Machine Test Utility
Source: %{name}-%{version}.tar.gz
#Patch0: %{name}-%{version}-ia64.patch
#Patch1: %{name}-%{version}-memsep.patch
Patch0: amtu-1.0.8_memsep_fclose_bnc523353.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audit audit-devel audit-libs
@@ -50,7 +51,7 @@ Authors:
%prep
%setup amtu
#%patch0 -p1
%patch0 -p1
#%patch1 -p1
%build
@@ -72,7 +73,6 @@ export CC CFLAGS
# rm -rf %{_defaultdocdir}/amtu
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/amtu
make DESTDIR=$RPM_BUILD_ROOT install-strip
install -m 644 doc/AMTUHowTo.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/amtu/AMTUHowTo.txt
install -m 644 doc/amtu.8 $RPM_BUILD_ROOT/%{_mandir}/man8/amtu.8
%clean
@@ -81,23 +81,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%attr(700,root,root)/usr/sbin/amtu
%attr(444,root,root) %{_mandir}/man8/amtu.8*
%attr(755,root,root) %{_defaultdocdir}/amtu
%attr(444,root,root) %{_defaultdocdir}/amtu/AMTUHowTo.txt
%doc %attr(444,root,root) %{_mandir}/man8/amtu.8*
%doc %attr(755,root,root) %{_defaultdocdir}/amtu
%changelog
* Fri Mar 02 2007 ro@suse.de
- fix buildreq
* Tue Feb 27 2007 draht@suse.de
- port from sles9 tree to sle10-sp for SP1, initial package in
CODE10
- version upgrade to 1.0.4; featuring audit (LAF) support for
compliance with CAPP
* Mon Sep 06 2004 thomas@suse.de
- added laus, laus-devel to needforbuild
* Thu Aug 26 2004 thomas@suse.de
- added patch to make memory separation testcase work on
machines with kernel f_pos race fix. it is needed due to
new permissions on /proc/self/maps.
* Fri Aug 20 2004 thomas@suse.de
- created initial package for EAL4 evaluation of SLES9