mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
NewPKI is a PKI based on the OpenSSL low-level API, all the datas are handled
through a database, which provides a much more flexible PKI than with OpenSSL, such as seeking a certificate with a search engine. CA implementation. PR: ports/83387 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
This commit is contained in:
parent
64b73b6642
commit
f6febd09e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139209
@ -229,6 +229,7 @@
|
||||
SUBDIR += nettle
|
||||
SUBDIR += newpki-client
|
||||
SUBDIR += newpki-lib
|
||||
SUBDIR += newpki-server
|
||||
SUBDIR += nikto
|
||||
SUBDIR += nmap
|
||||
SUBDIR += nmapfe
|
||||
|
62
security/newpki-server/Makefile
Normal file
62
security/newpki-server/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
# New ports collection makefile for: newpki-lib
|
||||
# Date created: 2005-07-05
|
||||
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= newpki-server
|
||||
DISTVERSION= 2.0.0-beta4
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= newpki
|
||||
|
||||
MAINTAINER= vsevolod@highsecure.ru
|
||||
COMMENT= C++ PKI server from newpki project
|
||||
|
||||
LIB_DEPENDS= newpki.2:${PORTSDIR}/security/newpki-lib
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-2.0.0
|
||||
|
||||
USE_LIBTOOL_VER= 15
|
||||
USE_ICONV= yes
|
||||
USE_OPENSSL= yes
|
||||
USE_GMAKE= yes
|
||||
USE_MYSQL= yes
|
||||
USE_OPENLDAP= yes
|
||||
USE_REINPLACE= yes
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS+= --with-newpki-include=${LOCALBASE}/include/newpki \
|
||||
--with-newpki-lib=${LOCALBASE}/lib \
|
||||
--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--program-transform-name=
|
||||
|
||||
MAN1= newpki-server.1
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.else
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
USE_GCC= 3.4
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure \
|
||||
${WRKSRC}/publication/ldap/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/config.conf ${PREFIX}/etc/newpki.conf.sample
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/newpki-server.1.gz ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
security/newpki-server/distinfo
Normal file
2
security/newpki-server/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (newpki-server-2.0.0-beta4.tar.gz) = dd4d1f3602261bc86ba72b78648ec647
|
||||
SIZE (newpki-server-2.0.0-beta4.tar.gz) = 686378
|
@ -0,0 +1,11 @@
|
||||
--- publication/ldap/configure.orig Wed Jul 6 23:16:06 2005
|
||||
+++ publication/ldap/configure Wed Jul 6 23:17:19 2005
|
||||
@@ -7312,7 +7312,7 @@
|
||||
# Prevent multiple expansion
|
||||
|
||||
|
||||
-libdir=/etc/newpki/modules
|
||||
+libdir=$prefix/lib/newpki/modules
|
||||
|
||||
am__api_version="1.6"
|
||||
# Find a good install program. We prefer a C program (faster),
|
11
security/newpki-server/files/patch-src_Makefile.in
Normal file
11
security/newpki-server/files/patch-src_Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/Makefile.in.orig Wed Jul 6 22:52:00 2005
|
||||
+++ src/Makefile.in Wed Jul 6 22:55:51 2005
|
||||
@@ -212,7 +212,7 @@
|
||||
newpki_server-RepStore_ASN1.$(OBJEXT) \
|
||||
newpki_server-SQL.$(OBJEXT) newpki_server-SQL_Conn.$(OBJEXT)
|
||||
newpki_server_OBJECTS = $(am_newpki_server_OBJECTS)
|
||||
-newpki_server_LDADD = $(LDADD)
|
||||
+newpki_server_LDADD = $(LDADD) $(LTLIBINTL) $(LTLIBICONV)
|
||||
newpki_server_DEPENDENCIES =
|
||||
newpki_server_LDFLAGS =
|
||||
|
5
security/newpki-server/pkg-descr
Normal file
5
security/newpki-server/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
NewPKI is a PKI based on the OpenSSL low-level API, all the datas are handled
|
||||
through a database, which provides a much more flexible PKI than with OpenSSL,
|
||||
such as seeking a certificate with a search engine.
|
||||
|
||||
WWW: http://www.newpki.org
|
8
security/newpki-server/pkg-plist
Normal file
8
security/newpki-server/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
etc/newpki.conf.sample
|
||||
lib/newpki/modules/libpublication_ldap.la
|
||||
lib/newpki/modules/libpublication_ldap.so
|
||||
lib/newpki/modules/libpublication_ldap.so.0
|
||||
sbin/newpki-server
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/newpki-server.mo
|
||||
@dirrm lib/newpki/modules
|
||||
@dirrm lib/newpki
|
Loading…
Reference in New Issue
Block a user