SPECS: scrub.spec (NEW) - initial
tommat
tommat at pld-linux.org
Tue Jan 29 16:30:34 CET 2008
Author: tommat Date: Tue Jan 29 15:30:34 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
scrub.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/scrub.spec
diff -u /dev/null SPECS/scrub.spec:1.1
--- /dev/null Tue Jan 29 16:30:34 2008
+++ SPECS/scrub.spec Tue Jan 29 16:30:29 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+#
+Summary: Destroy data on disk using DoD 5520.22-M or NNSA NAP-14.x algorithms
+Name: scrub
+Version: 1.9
+Release: 1
+License: GPL
+Group: Applications
+Source0: http://dl.sourceforge.net/diskscrub/%{name}-%{version}.tar.bz2
+# Source0-md5: 597a9c55aa031f2650546becf24cb2b0
+URL: https://computing.llnl.gov/linux/scrub.html
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This utility writes patterns on files or disk devices to make
+retrieving the data more difficult. It operates in one of three modes:
+1) the special file corresponding to an entire disk is scrubbed and
+all data on it is destroyed. 2) a regular file is scrubbed and only
+the data in the file (and optionally its name in the directory entry)
+is destroyed. 3) a regular file is created, expanded until the file
+system is full, then scrubbed as in 2).
+
+Scrub implements user-selectable pattern algorithms that are compliant
+with DoD 5520.22-M or NNSA NAP-14.x.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -s scrub $RPM_BUILD_ROOT%{_bindir}
+install scrub.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS DISCLAIMER COPYING
+%attr(755,root,root) %{_bindir}/scrub
+%{_mandir}/man*/*
+
+
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-01-29 15:30:29 tommat
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list