ports/83386: New port: security/newpki-client

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 13 14:50:20 UTC 2005


>Number:         83386
>Category:       ports
>Synopsis:       New port: security/newpki-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 13 14:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
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.

GUI client that uses wxWidgets.
>How-To-Repeat:
>Fix:

--- newpki-client-2.0.0b4.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	newpki-client
#	newpki-client/pkg-descr
#	newpki-client/Makefile
#	newpki-client/distinfo
#	newpki-client/files
#	newpki-client/files/patch-configure
#
echo c - newpki-client
mkdir -p newpki-client > /dev/null 2>&1
echo x - newpki-client/pkg-descr
sed 's/^X//' >newpki-client/pkg-descr << 'END-of-newpki-client/pkg-descr'
XNewPKI is a PKI based on the OpenSSL low-level API, all the datas are handled
Xthrough a database, which provides a much more flexible PKI than with OpenSSL,
Xsuch as seeking a certificate with a search engine.
X
XWWW:	http://www.newpki.org
END-of-newpki-client/pkg-descr
echo x - newpki-client/Makefile
sed 's/^X//' >newpki-client/Makefile << 'END-of-newpki-client/Makefile'
X# New ports collection makefile for:	newpki-client
X# Date created:		2005-07-05
X# Whom:			Vsevolod Stakhov <vsevolod at highsecure.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	newpki-client
XPORTVERSION=	2.0.0b4
XCATEGORIES=	security
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	newpki
XDISTNAME=	${PORTNAME}-2.0.0-beta4
X
XMAINTAINER=	vsevolod at highsecure.ru
XCOMMENT=	C++ PKI client from newpki project
X
XLIB_DEPENDS=	newpki.2:${PORTSDIR}/security/newpki-lib \
X		xml2:${PORTSDIR}/textproc/libxml2 \
X		wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-2.0.0
X
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL_VER=	15
XUSE_GETTEXT=	yes
XUSE_OPENSSL=	yes
XWX_CONFIG=	${X11BASE}/bin/wxgtk2-2.4-config
XUSE_GNOME=	gnometarget
XUSE_GMAKE=	yes
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include ${PTHREAD_CFLAGS}" \
X		LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib ${PTHREAD_LDFLAGS}" \
X		WXCONFIG=${WX_CONFIG}
XCONFIGURE_ARGS+=	--with-newpki-include=${PREFIX}/include/newpki \
X			--with-newpki-lib=${PREFIX}/lib \
X			--with-libxml2-include=${PREFIX}/include/libxml2
X
XPLIST_FILES=	bin/newpki-client
X
X.if defined(WITHOUT_NLS)
XCONFIGURE_ARGS+=	--disable-nls
X.else
XPLIST_FILES+=	share/locale/fr/LC_MESSAGES/newpki-client.mo
XCONFIGURE_ARGS+=	--with-libintl-prefix=${LOCALBASE}
X.endif
X
X.include <bsd.port.mk>
END-of-newpki-client/Makefile
echo x - newpki-client/distinfo
sed 's/^X//' >newpki-client/distinfo << 'END-of-newpki-client/distinfo'
XMD5 (newpki-client-2.0.0-beta4.tar.gz) = 6455dda0e568a8ee56bb4069f7b8c011
XSIZE (newpki-client-2.0.0-beta4.tar.gz) = 632666
END-of-newpki-client/distinfo
echo c - newpki-client/files
mkdir -p newpki-client/files > /dev/null 2>&1
echo x - newpki-client/files/patch-configure
sed 's/^X//' >newpki-client/files/patch-configure << 'END-of-newpki-client/files/patch-configure'
X--- configure.in	Wed Jul  6 18:52:02 2005
X+++ configure	Wed Jul  6 18:53:03 2005
X@@ -10798,48 +10798,6 @@
X fi
X 
X 
X-# Extract the first word of "wx-config", so it can be a program name with args.
X-set dummy wx-config; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_WXCONFIG+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$WXCONFIG"; then
X-  ac_cv_prog_WXCONFIG="$WXCONFIG" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_WXCONFIG=""yes""
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-  test -z "$ac_cv_prog_WXCONFIG" && ac_cv_prog_WXCONFIG=""no""
X-fi
X-fi
X-WXCONFIG=$ac_cv_prog_WXCONFIG
X-if test -n "$WXCONFIG"; then
X-  echo "$as_me:$LINENO: result: $WXCONFIG" >&5
X-echo "${ECHO_T}$WXCONFIG" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-if test x"$WXCONFIG" != x"yes"; then
X-	{ { echo "$as_me:$LINENO: error: wx-config not found" >&5
X-echo "$as_me: error: wx-config not found" >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-
X ac_ext=c
X ac_cpp='$CPP $CPPFLAGS'
X ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X@@ -10848,8 +10806,8 @@
X 
X 
X 
X-WXCXX=`wx-config --cxxflags`
X-WXLIB=`wx-config --libs`
X+WXCXX=`${WXCONFIG} --cxxflags`
X+WXLIB=`${WXCONFIG} --libs`
X 
X CPPFLAGS="$WXCXX -DWXINTL_NO_GETTEXT_MACRO $CPPFLAGS"
X LIBS="$WXLIB -lnewpki $LIBS"
END-of-newpki-client/files/patch-configure
exit
--- newpki-client-2.0.0b4.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list