Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:netsroth
safecat
safecat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File safecat.spec of Package safecat
# # spec file for package safecat # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _version 1.13 Name: safecat Version: 1.13.2 Release: 0 Summary: Write Data Safely to a Directory License: BSD-4-Clause Group: Productivity/File utilities URL: https://directory.fsf.org/wiki/Safecat Source: %{name}-%{_version}.tar.gz # PATCH-FIX-UPSTREAM Use permissive output mode by default http://bugs.debian.org/211546 Patch0: 01-respect-umask.patch # PATCH-FIX-UPSTREAM Don't add RP- and DTLINE http://bugs.debian.org/240647 Patch1: 02-no-RPLINE-DTLINE.patch # PATCH-FIX-UPSTREAM Strip build time from version.h Patch2: 03-reproducible-build.patch # Buildfix for a race with uint64 in tempfile.c Patch3: 04-fix-uint64-deps.patch BuildRequires: cpp BuildRequires: groff %description safecat implements Dan Bernsteins maildir algorithm, copying standard input safely to a specified directory. With safecat, the user is offered two assurances. First, if safecat returns successfully, then all data is guaranteed to be saved in the destination directory. Second, if a file exists in the destination directory, placed there by safecat, then the file is guaranteed to be complete. %prep %setup -q -n %{name}-%{_version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 mv $RPM_BUILD_DIR/%{name}-%{_version}/conf-root $RPM_BUILD_DIR/%{name}-%{_version}/conf-root.old awk "{ sub(/\/usr\/local/, \"$RPM_BUILD_ROOT\/usr\"); print; }" $RPM_BUILD_DIR/%{name}-%{_version}/conf-root.old > $RPM_BUILD_DIR/%{name}-%{_version}/conf-root %build make %{?_smp_mflags} %install make setup check rm -rf %{buildroot}%{_prefix}/man/cat1 %{buildroot}%{_prefix}/man/man1 %{buildroot}%{_bindir}/maildir %files %doc CHANGES README %{_bindir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor