rpms/scrub/devel scrub-1.6-rpmoptflags.patch, NONE, 1.1 scrub.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri May 20 00:49:02 UTC 2005


Author: spot

Update of /cvs/extras/rpms/scrub/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18709/devel

Modified Files:
	.cvsignore sources 
Added Files:
	scrub-1.6-rpmoptflags.patch scrub.spec 
Log Message:
auto-import scrub-1.6-1 on branch devel from scrub-1.6-1.src.rpm

scrub-1.6-rpmoptflags.patch:

--- NEW FILE scrub-1.6-rpmoptflags.patch ---
--- scrub-1.6/Makefile.BAD	2005-05-19 19:41:25.000000000 -0500
+++ scrub-1.6/Makefile	2005-05-19 19:41:33.000000000 -0500
@@ -6,7 +6,7 @@
 OBJS= 		scrub.o md5.o genrand.o
 CC=		gcc
 # if rand_r comes up undefined, add -DNEED_RAND_R to CFLAGS
-CFLAGS=-O -Wall -g
+CFLAGS=${RPM_OPT_FLAGS}
 
 
 all: scrub pad


--- NEW FILE scrub.spec ---
Name:		scrub
Version:	1.6
Release:	1%{?dist}
Summary:	Disk scrubbing program
License:	GPL
Group:		System Environment/Base
URL:		http://www.llnl.gov/linux/scrub/scrub.html	
Source0:	ftp://ftp.llnl.gov/pub/linux/scrub/%{name}-%{version}-1.tgz
Patch0:		scrub-1.6-rpmoptflags.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Scrub writes patterns on special files (i.e. raw disk devices) or
regular files to reduce the possibility of someone retrieving the
data. There are up to six passes, each of which fills the disk
with a particular pattern.

%prep
%setup -q
%patch0 -p1

%build
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -s -m 755 scrub $RPM_BUILD_ROOT%{_bindir}
gzip scrub.1
install -m 644 scrub.1.gz $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README ChangeLog DISCLAIMER
%{_bindir}/scrub
%{_mandir}/man1/scrub.1.gz

%changelog
* Thu May 19 2005 Tom "spot" Callaway <tcallawa at redhat.com> 1.6-1
- initial package for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/scrub/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 May 2005 00:47:16 -0000	1.1
+++ .cvsignore	20 May 2005 00:49:00 -0000	1.2
@@ -0,0 +1 @@
+scrub-1.6-1.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/scrub/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 May 2005 00:47:16 -0000	1.1
+++ sources	20 May 2005 00:49:00 -0000	1.2
@@ -0,0 +1 @@
+63b8a3d4d9c6bc1b172af5890dd8cec1  scrub-1.6-1.tgz




More information about the fedora-extras-commits mailing list