commit 5cfed2d8a5fc0ce59a2d4784f9d6c07a7b27b805 Author: Rosa Date: Wed Feb 1 19:28:35 2012 +0400 Automatic import for version 2.3.1 diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..fa1ef41 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "wipe-2.3.1.tar.bz2": 72aa8bcbeb54deb676ae08af78401132860703de diff --git a/wipe-2.3.1.tar.bz2.sig b/wipe-2.3.1.tar.bz2.sig new file mode 100644 index 0000000..1d362a9 --- /dev/null +++ b/wipe-2.3.1.tar.bz2.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkrt+egACgkQ8bTfnhV0Hs6RYwCeKnKQ5YMzcpAZqSc/M0HYImSJ +v3gAn24YkQ3uPoO7r5lHppnYEtekHt9s +=bpo5 +-----END PGP SIGNATURE----- diff --git a/wipe-rootbuildfix.patch b/wipe-rootbuildfix.patch new file mode 100644 index 0000000..1844b0b --- /dev/null +++ b/wipe-rootbuildfix.patch @@ -0,0 +1,19 @@ +diff -ru wipe-2.2.0.orig/Makefile.in wipe-2.2.0/Makefile.in +--- wipe-2.2.0.orig/Makefile.in 2003-08-31 03:18:03.000000000 +0200 ++++ wipe-2.2.0/Makefile.in 2004-01-12 00:58:45.000000000 +0100 +@@ -60,12 +60,12 @@ + $(INSTALL_BIN) -d $(bindir) + $(INSTALL_BIN) -s $(BIN_OUT) $(bindir) + $(INSTALL) -d $(mandir)/man1 +- $(INSTALL) -o root -m 0644 wipe.1 $(mandir)/man1/ ++ $(INSTALL) -m 0644 wipe.1 $(mandir)/man1/ + rm -rf $(datadir)/doc/wipe* + $(INSTALL) -d $(datadir)/doc/wipe + + for file in $(DOCS); do \ +- $(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \ ++ $(INSTALL) -m 0644 $$file $(datadir)/doc/wipe/; \ + done + + install_home: $(BIN_OUT) +Only in wipe-2.2.0: Makefile.in~ diff --git a/wipe.spec b/wipe.spec new file mode 100644 index 0000000..9278fff --- /dev/null +++ b/wipe.spec @@ -0,0 +1,99 @@ +Name: wipe +Version: 2.3.1 +Release: %mkrel 2 +Epoch: 0 +Summary: Secure file deletion utility +License: GPLv2 +Group: File tools +URL: http://wipe.sourceforge.net/ +Source0: http://unc.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Source1: http://unc.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2.sig +Patch0: %{name}-rootbuildfix.patch +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildRoot: %{_tmppath}/%{name}-buildroot + +%description +Wipe is a tool that effectively degauses the surface of a hard +disk, making it virtually impossible to retrieve the data that was +stored on it. This tool is designed to make sure secure data that is +erased from a hard drive is unrecoverable. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure2_5x +%make + +%install +rm -rf %{buildroot} +%{makeinstall} +%{__mv} %{buildroot}%{_bindir}/wipe %{buildroot}%{_bindir}/wipe.wipe +%{__mv} %{buildroot}%{_mandir}/man1/wipe.1 %{buildroot}%{_mandir}/man1/wipe.wipe.1 + +# remove package installed docs +rm -rf %{buildroot}/%{_datadir}/doc/%{name} + +%clean +rm -rf %{buildroot} + +%post +%{_sbindir}/update-alternatives --install %{_bindir}/wipe wipe %{_bindir}/wipe.wipe 10 --slave %{_mandir}/man1/wipe.1.lzma wipe.1.lzma %{_mandir}/man1/wipe.wipe.1.lzma + +%postun +%{_sbindir}/update-alternatives --remove wipe %{_bindir}/wipe.wipe + +%files +%defattr(0644,root,root,0755) +%doc LICENSE copyright README CHANGES TODO INSTALL TESTING +%attr(0755,root,root) %{_bindir}/wipe.wipe +%{_mandir}/man1/wipe.wipe.1* + + + + +%changelog +* Wed Dec 08 2010 Oden Eriksson 0:2.3.1-2mdv2011.0 ++ Revision: 615437 +- the mass rebuild of 2010.1 packages + +* Tue Apr 13 2010 Sandro Cazzaniga 0:2.3.1-1mdv2010.1 ++ Revision: 534194 +- fix license to GPLV2 +- remove P1, applied upstream +- new version 2.3.1 + +* Sun Sep 20 2009 Thierry Vignaud 0:2.2.0-8mdv2010.0 ++ Revision: 445816 +- rebuild + +* Wed Mar 11 2009 Lev Givon 0:2.2.0-7mdv2009.1 ++ Revision: 353568 +- Fix alternatives link to man file. + +* Sun Aug 03 2008 Thierry Vignaud 0:2.2.0-6mdv2009.0 ++ Revision: 261991 +- rebuild + +* Wed Jul 30 2008 Thierry Vignaud 0:2.2.0-5mdv2009.0 ++ Revision: 256027 +- rebuild + + + Olivier Blin + - restore BuildRoot + +* Mon Dec 17 2007 Thierry Vignaud 0:2.2.0-3mdv2008.1 ++ Revision: 129367 +- kill re-definition of %%buildroot on Pixel's request + + +* Thu Mar 08 2007 David Walluck 2.2.0-3mdv2007.1 ++ Revision: 134929 +- spec cleanup +- Import wipe + +* Fri Jun 03 2005 Nicolas Lécureuil 2.2.0-2mdk +- Rebuild +