Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
opie.import4812
opie.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opie.spec of Package opie.import4812
# # spec file for package opie # # Copyright (c) 2011 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/ # Name: opie #!BuildIgnore: opie BuildRequires: bison pam-devel Url: http://www.inner.net/opie Version: 2.4 Release: 711.<RELEASE714> License: GPLv2+ Group: Productivity/Security Provides: pam_opie AutoReqProv: on %define name_pam pam_opie %define version_pam 0.21 Source0: %{name}-%{version}.tar.bz2 Source1: %{name_pam}-%{version_pam}.tar.bz2 Source2: baselibs.conf Patch0: %{name}-%{version}.diff Patch1: %{name_pam}-%{version_pam}.diff Patch2: %{name}-%{version}.newseed.diff Patch3: uint4_def.patch Patch4: %name-2.4-bison.patch Patch5: %name-2.4-nonvoid.patch Patch6: %name-2.4-decl.diff Patch7: %name-2.4-nul-overflow.patch Patch8: %name-2.4-cxx.patch Patch9: %name-2.4-undef.patch Patch10: %name-2.4-noroot.patch Patch11: %{name}-%{version}_array-subscript.patch Patch12: %{name_pam}-%{version_pam}_array-subscript.patch Patch13: %name-2.4-getline.patch Patch14: %name-2.4-fclose.patch Patch15: opielogin-setuid-CVE-2011-2490.patch Patch16: opiesu-overflow-CVE-2011-2489.patch Requires: permissions Summary: Support for One-Time Passwords BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OPIE stands for One-time Passwords In Everything. One-time passwords can be used to foil password sniffers because they cannot be reused by the attacker. This package provides a PAM module and several utility programs that let you use one-time passwords for authentication. %prep %setup -q -n %{name}-%{version} -a 1 %patch0 -p1 %patch2 -p1 %patch3 %patch4 %patch5 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 perl -pi -e 's/(?<!DESTDIR\))\$\(KEY_FILE\)/\$\(DESTDIR\)\$\(KEY_FILE\)/g' Makefile.in perl -pi -e 's/(?<!DESTDIR\))\$\(LOCK_DIR\)/\$\(DESTDIR\)\$\(LOCK_DIR\)/g' Makefile.in perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALBIN\)/\$\(DESTDIR\)\$\(LOCALBIN\)/g' Makefile.in perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALMAN\)/\$\(DESTDIR\)\$\(LOCALMAN\)/g' Makefile.in %patch10 -p1 %patch11 cd %{name_pam} %patch1 -p0 %patch12 cd .. %patch13 %patch14 %patch15 %patch16 %build # build opie export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-insecure-override make %{?_smp_mflags} # build pam_opie cd %{name_pam} make %{?_smp_mflags} %install # install opie mkdir -p $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/ # make CHOWN=/bin/echo DESTDIR=$RPM_BUILD_ROOT install install -m 644 -D opie.h $RPM_BUILD_ROOT%{_includedir}/opie.h install -m 644 -D libopie/libopie.a $RPM_BUILD_ROOT%{_libdir}/libopie.a mv %{name_pam}/README ./README.PAM # install pam_opie cd %{name_pam} make FAKEROOT=$RPM_BUILD_ROOT \ SECUREDIR=/%{_lib}/security install %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %verifyscript %verify_permissions -e /usr/bin/opiepasswd -e /usr/bin/opiesu %verify_permissions -e /usr/bin/opiesu %post %run_permissions %files %defattr(-,root,root) %dir /etc/opielocks %config(noreplace) /etc/opiekeys /usr/bin/opieftpd /usr/bin/opiegen /usr/bin/opieinfo /usr/bin/opiekey /usr/bin/opielogin %verify(not mode) /usr/bin/opiepasswd %verify(not mode) /usr/bin/opiesu /usr/bin/otp-md4 /usr/bin/otp-md5 /%{_lib}/security/pam_opie.so /%{_includedir}/opie.h /%{_libdir}/libopie.a %doc BUG-REPORT COPYRIGHT.NRL INSTALL License.TIN README README.PAM %doc %{_mandir}/man*/* %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