mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
security/shishi: fix build with libgcrypt 1.6.x
PR: 192164 Approved by: johans@FreeBSD.org (maintainer)
This commit is contained in:
parent
2e886df3a5
commit
1075ba838c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363080
24
security/shishi/files/patch-Makefile.in
Normal file
24
security/shishi/files/patch-Makefile.in
Normal file
@ -0,0 +1,24 @@
|
||||
--- Makefile.in-orig 2014-07-27 15:08:30.000000000 +0200
|
||||
+++ Makefile.in 2014-07-27 15:09:35.000000000 +0200
|
||||
@@ -1808,19 +1808,10 @@
|
||||
|
||||
|
||||
install-data-hook:
|
||||
- @echo Initializing database and creating host key...
|
||||
+ @echo Initializing database...
|
||||
if test ! -d $(DESTDIR)$(DBDIR); then \
|
||||
if mkdir -m 0700 -p $(DESTDIR)$(DBDIR); then \
|
||||
- if test ! -f $(DESTDIR)$(KEYDIR)/shishi.keys; then \
|
||||
- if $(DESTDIR)$(bindir)/shisa$(EXEEXT) -a > \
|
||||
- $(DESTDIR)$(KEYDIR)/shishi.keys; then \
|
||||
- echo Successfully created database and host key.; \
|
||||
- else \
|
||||
- echo Unable to create database, see $(DESTDIR)$(KEYDIR)/shishi.keys.; \
|
||||
- fi; \
|
||||
- else \
|
||||
- echo Key file $(DESTDIR)$(KEYDIR)/shishi.keys already exist.; \
|
||||
- fi; \
|
||||
+ echo Created directory root$(DESTDIR)$(DBDIR).; \
|
||||
else \
|
||||
echo Could not create directory root$(DESTDIR)$(DBDIR).; \
|
||||
fi; \
|
11
security/shishi/files/patch-configure
Normal file
11
security/shishi/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure-orig 2014-07-27 15:01:15.000000000 +0200
|
||||
+++ configure 2014-07-27 15:01:50.000000000 +0200
|
||||
@@ -24494,7 +24494,7 @@
|
||||
/* GCRY_MODULE_ID_USER was added in 1.4.4 and gc-libgcrypt.c
|
||||
will fail on startup if we don't have 1.4.4 or later, so
|
||||
test for it early. */
|
||||
-#if !defined GCRY_MODULE_ID_USER
|
||||
+#if GCRYPT_VERSION_NUMBER < 0x010404
|
||||
error too old libgcrypt
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user