mirror of
https://abf.rosa.ru/djam/wipe.git
synced 2025-02-23 17:52:55 +00:00
Automatic import for version 2.3.1
This commit is contained in:
commit
5cfed2d8a5
4 changed files with 127 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
"wipe-2.3.1.tar.bz2": 72aa8bcbeb54deb676ae08af78401132860703de
|
7
wipe-2.3.1.tar.bz2.sig
Normal file
7
wipe-2.3.1.tar.bz2.sig
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1.4.9 (GNU/Linux)
|
||||||
|
|
||||||
|
iEYEABECAAYFAkrt+egACgkQ8bTfnhV0Hs6RYwCeKnKQ5YMzcpAZqSc/M0HYImSJ
|
||||||
|
v3gAn24YkQ3uPoO7r5lHppnYEtekHt9s
|
||||||
|
=bpo5
|
||||||
|
-----END PGP SIGNATURE-----
|
19
wipe-rootbuildfix.patch
Normal file
19
wipe-rootbuildfix.patch
Normal file
|
@ -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~
|
99
wipe.spec
Normal file
99
wipe.spec
Normal file
|
@ -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 <oeriksson@mandriva.com> 0:2.3.1-2mdv2011.0
|
||||||
|
+ Revision: 615437
|
||||||
|
- the mass rebuild of 2010.1 packages
|
||||||
|
|
||||||
|
* Tue Apr 13 2010 Sandro Cazzaniga <kharec@mandriva.org> 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 <tv@mandriva.org> 0:2.2.0-8mdv2010.0
|
||||||
|
+ Revision: 445816
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Wed Mar 11 2009 Lev Givon <lev@mandriva.org> 0:2.2.0-7mdv2009.1
|
||||||
|
+ Revision: 353568
|
||||||
|
- Fix alternatives link to man file.
|
||||||
|
|
||||||
|
* Sun Aug 03 2008 Thierry Vignaud <tv@mandriva.org> 0:2.2.0-6mdv2009.0
|
||||||
|
+ Revision: 261991
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Wed Jul 30 2008 Thierry Vignaud <tv@mandriva.org> 0:2.2.0-5mdv2009.0
|
||||||
|
+ Revision: 256027
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
+ Olivier Blin <oblin@mandriva.com>
|
||||||
|
- restore BuildRoot
|
||||||
|
|
||||||
|
* Mon Dec 17 2007 Thierry Vignaud <tv@mandriva.org> 0:2.2.0-3mdv2008.1
|
||||||
|
+ Revision: 129367
|
||||||
|
- kill re-definition of %%buildroot on Pixel's request
|
||||||
|
|
||||||
|
|
||||||
|
* Thu Mar 08 2007 David Walluck <walluck@mandriva.org> 2.2.0-3mdv2007.1
|
||||||
|
+ Revision: 134929
|
||||||
|
- spec cleanup
|
||||||
|
- Import wipe
|
||||||
|
|
||||||
|
* Fri Jun 03 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.2.0-2mdk
|
||||||
|
- Rebuild
|
||||||
|
|
Loading…
Add table
Reference in a new issue