xbps-rindex(8): added support for XBPS_PASSPHRASE env var.

- XBPS_PASSPHRASE (if set) will be supplied as passphrase when signing repos.
- Use the default OpenSSL passphrase cb when loading the private key.
This commit is contained in:
Juan RP
2013-10-12 09:55:03 +02:00
parent c91050fc35
commit 43b9be6046
6 changed files with 19 additions and 156 deletions

View File

@@ -2,8 +2,6 @@ TOPDIR = ../..
-include $(TOPDIR)/config.mk
BIN = xbps-rindex
OBJS = main.o index-add.o remove-obsoletes.o repoflush.o
OBJS += readpassphrase.o sign.o
EXTRA_CFLAGS = -Wno-unused-result
OBJS = main.o index-add.o remove-obsoletes.o repoflush.o sign.o
include $(TOPDIR)/mk/prog.mk