Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
pam_mktemp
pam_mktemp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_mktemp.spec of Package pam_mktemp
# # spec file for package pam_mktemp (Version 1.0.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: pam_mktemp Url: http://www.openwall.com/pam/ BuildRequires: pam-devel License: Other uncritical OpenSource License Group: System/Libraries Requires: pam Provides: pam-modules:/%_lib/security/pam_mktemp.so AutoReqProv: on Version: 1.0.3 Release: 4 Summary: PAM Module to Provide Per-User Private Directories Under /tmp Source0: pam_mktemp-1.0.3.tar.bz2 Source50: dlopen.sh Patch0: pam_mktemp-1.0.3.dif Patch1: pam_mktemp-1.0.2-include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policies without having to recompile programs that do authentication. pam_mktemp is a PAM module which may be used with a PAM-aware login service to provide per-user private directories under /tmp as a part of PAM session or account management. %prep %setup %patch0 %patch1 -p1 %build EXTRA_CFLAGS="-fno-strict-aliasing" %ifnarch ia64 EXTRA_CFLAGS="$EXTRA_CFLAGS -Wa,--noexecstack" %endif make CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS -fPIC -DHAVE_SHADOW -DLINUX_PAM" %install mkdir -p $RPM_BUILD_ROOT/%{_lib}/security make DESTDIR=$RPM_BUILD_ROOT install # # Remove stuff we don't wish to have now: # rm -rf $RPM_BUILD_ROOT/usr/{include,lib} rm -rf $RPM_BUILD_ROOT/%{_lib}/security/*.la # # On 64bit archs, we need to move same libraries ourself: # if [ %_lib = lib64 ]; then mv $RPM_BUILD_ROOT/lib/security/* $RPM_BUILD_ROOT/%{_lib}/security/ fi # Check for module problems. Specifically, check that every module we just # installed can actually be loaded by a minimal PAM-aware application. for module in $RPM_BUILD_ROOT/%{_lib}/security/pam*.so ; do if ! sh $RPM_SOURCE_DIR/dlopen.sh -lpam -ldl ${module} ; then exit 1 fi done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %doc LICENSE README %attr(755,root,root) /%{_lib}/security/pam_*.so %changelog * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Thu Apr 03 2008 mc@suse.de - update to version 1.0.3 - Restricted list of global symbols exported by the PAM module to standard set of six pam_sm_* functions. - Changed Makefile to pass list of libraries to linker after regular object files, to fix build with -Wl,--as-needed. - Corrected specfile to make it build on x86_64. * Thu Mar 22 2007 ssommer@suse.de - fix build with newer kernel headers * Wed Aug 09 2006 mc@suse.de - version 1.0.2 branched from pam-modules
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