Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libsecprog
libsecprog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsecprog.spec of Package libsecprog
# # spec file for package libsecprog (Version 0.8) # # Copyright (c) 2009 SUSE LINUX Products 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/ # # norootforbuild Name: libsecprog Url: http://www.suse.de/~thomas/projects/secproglib/index.html Summary: Secure Replacements for Problematic C Functions Version: 0.8 Release: 142 License: GPL v2 or later Group: Development/Libraries/C and C++ Source: %{name}-%{version}.tar.bz2 Patch1: %{name}-%{version}_str-with-n-equal-zero.diff Patch2: %{name}-%{version}_strliteralcmp.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The "Secure Programming Library" provides several functions that should serve as a replacement for problematic C functions from glibc. Besides the replacement functions, there are some helper functions, such as safe_reopen() or sigprotection(), that can be used for developing exposed applications. Authors: -------- Thomas Biege <thomas@suse.de> %package devel License: GPL v2 or later Group: Development/Libraries/C and C++ Summary: Secure Replacements for Problematic C Functions Requires: %{name} = %{version} glibc-devel %description devel The "Secure Programming Library" provides several functions that should serve as a replacement for problematic C functions from glibc. Besides the replacement functions there are some helper-functions (like: safe_reopen() or sigprotection()) that can be used for developing exposed applications. Authors: -------- Thomas Biege <thomas@suse.de> %prep %setup -q -n libsecprog %patch1 -p1 %patch2 -p0 %build autoreconf --install export CFLAGS="$RPM_OPT_FLAGS" %configure --disable-static --with-pic make %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %attr(555,root,root) %{_libdir}/libsecprog.so.* %files devel %defattr(-,root,root) %attr(555,root,root) %{_libdir}/libsecprog.so %attr(444,root,root) /usr/include/secprog.h %doc %attr(444,root,root) %{_mandir}/man3/secprog.3.* %exclude %{_libdir}/libsecprog.la %changelog * Wed Dec 26 2007 crrodriguez@suse.de - fix library-without-ldconfig-* error. - libsecprog.la has empty dependency_libs and hence has been removed. - disable static libraries - -devel package should required base package. * Tue Jan 09 2007 thomas@suse.de - added patch to remove compiler warning (bug #232114) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Dec 13 2005 thomas@suse.de - added patch to handle n == 0, thanks to Ilja van Sprundel * Mon Feb 21 2005 thomas@suse.de - removed insecure rm call from spec file * Thu Apr 22 2004 thomas@suse.de - initial packaging version 0.8
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