don't require gmake for /etc/raddb/certs/Makefile (admin-facing makefile)
ok pea@
This commit is contained in:
parent
576d07b1c8
commit
428380ecb2
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.63 2015/10/14 11:19:56 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.64 2015/11/03 22:54:23 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
SHARED_LIBS += freeradius-radius 4.2 # .0.0
|
||||
@ -11,6 +11,7 @@ COMMENT-pgsql= freeradius pgsql rlm addon
|
||||
COMMENT-ldap= freeradius ldap rlm addon
|
||||
|
||||
V= 2.2.9
|
||||
REVISION-main= 0
|
||||
DISTNAME= freeradius-server-$V
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
|
23
net/freeradius/patches/patch-raddb_certs_Makefile
Normal file
23
net/freeradius/patches/patch-raddb_certs_Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-raddb_certs_Makefile,v 1.1 2015/11/03 22:54:23 sthen Exp $
|
||||
|
||||
don't rely on gmake
|
||||
|
||||
--- raddb/certs/Makefile.orig Mon Nov 2 23:15:54 2015
|
||||
+++ raddb/certs/Makefile Mon Nov 2 23:16:14 2015
|
||||
@@ -34,11 +34,11 @@ ca: ca.der
|
||||
server: server.pem server.vrfy
|
||||
|
||||
passwords.mk: server.cnf ca.cnf client.cnf
|
||||
- @echo "PASSWORD_SERVER = '$(shell grep output_password server.cnf | sed 's/.*=//;s/^ *//')'" > $@
|
||||
- @echo "PASSWORD_CA = '$(shell grep output_password ca.cnf | sed 's/.*=//;s/^ *//')'" >> $@
|
||||
- @echo "PASSWORD_CLIENT = '$(shell grep output_password client.cnf | sed 's/.*=//;s/^ *//')'" >> $@
|
||||
- @echo "USER_NAME = '$(shell grep emailAddress client.cnf | grep '@' | sed 's/.*=//;s/^ *//')'" >> $@
|
||||
- @echo "CA_DEFAULT_DAYS = '$(shell grep default_days ca.cnf | sed 's/.*=//;s/^ *//')'" >> $@
|
||||
+ echo "PASSWORD_SERVER = '`grep output_password server.cnf | sed 's/.*=//;s/^ *//'`'" > $@
|
||||
+ echo "PASSWORD_CA = '`grep output_password ca.cnf | sed 's/.*=//;s/^ *//'`'" >> $@
|
||||
+ echo "PASSWORD_CLIENT = '`grep output_password client.cnf | sed 's/.*=//;s/^ *//'`'" >> $@
|
||||
+ echo "USER_NAME = '`grep emailAddress client.cnf | grep '@' | sed 's/.*=//;s/^ *//'`'" >> $@
|
||||
+ echo "CA_DEFAULT_DAYS = '`grep default_days ca.cnf | sed 's/.*=//;s/^ *//'`'" >> $@
|
||||
|
||||
######################################################################
|
||||
#
|
Loading…
x
Reference in New Issue
Block a user