Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
u2f-utils
0005-Fix-make-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Fix-make-install.patch of Package u2f-utils
From 82f3c0c9e24571c8f67b2ca75806e55d953cd44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?= <darix@nordisch.org> Date: Mon, 19 Jan 2015 16:02:02 +0100 Subject: [PATCH 5/5] Fix make install --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cf29e30..a19640a 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ all: u2f-enroll u2f-sign pam UNAME := $(shell uname) - -SSL=/usr/local/ssl +PREFIX=/usr/local/ +BINDIR=$(PREFIX)/bin +PAMDIR=/lib64/security/ +SSL=$(PREFIX)/ssl CXX=c++ CC=cc @@ -62,8 +64,8 @@ u2f-sign: sign.o u2f_util.o install: - cp u2f-sign /usr/local/bin - cp u2f-enroll /usr/local/bin - cp pam-enroll /usr/local/bin - cp pam_fido-u2f.so /lib64/security + install -D -m 0755 u2f-sign $(DESTDIR)$(BINDIR)/u2f-sign + install -D -m 0755 u2f-enroll $(DESTDIR)$(BINDIR)/u2f-enroll + install -D -m 0755 pam-enroll $(DESTDIR)$(BINDIR)/pam-enroll + install -D -m 0755 pam_fido-u2f.so $(DESTDIR)$(PAMDIR)/pam_fido-u2f.so -- 2.1.2
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