[Midnightbsd-cvs] mports: mports/security: Add gsasl

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Dec 28 15:35:55 EST 2007


Log Message:
-----------
Add gsasl

Modified Files:
--------------
    mports/security:
        Makefile (r1.69 -> r1.70)

Added Files:
-----------
    mports/security/gsasl:
        Makefile (r1.1)
        Makefile.man (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/security/gsasl/files:
        patch-doc_gsasl.texi (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.69
retrieving revision 1.70
diff -L security/Makefile -L security/Makefile -u -r1.69 -r1.70
--- security/Makefile
+++ security/Makefile
@@ -25,6 +25,7 @@
     SUBDIR += gnupg1
     SUBDIR += gnutls
     SUBDIR += gpgme
+    SUBDIR += gsasl
     SUBDIR += l0phtcrack
     SUBDIR += libassuan
     SUBDIR += libgcrypt
--- /dev/null
+++ security/gsasl/Makefile.man
@@ -0,0 +1,112 @@
+MAN1+=	gsasl.1
+MAN3+=	gsasl_appinfo_get.3
+MAN3+=	gsasl_appinfo_set.3
+MAN3+=	gsasl_application_data_get.3
+MAN3+=	gsasl_application_data_set.3
+MAN3+=	gsasl_base64_decode.3
+MAN3+=	gsasl_base64_encode.3
+MAN3+=	gsasl_base64_from.3
+MAN3+=	gsasl_base64_to.3
+MAN3+=	gsasl_callback.3
+MAN3+=	gsasl_callback_hook_get.3
+MAN3+=	gsasl_callback_hook_set.3
+MAN3+=	gsasl_callback_set.3
+MAN3+=	gsasl_check_version.3
+MAN3+=	gsasl_client_application_data_get.3
+MAN3+=	gsasl_client_application_data_set.3
+MAN3+=	gsasl_client_callback_anonymous_get.3
+MAN3+=	gsasl_client_callback_anonymous_set.3
+MAN3+=	gsasl_client_callback_authentication_id_get.3
+MAN3+=	gsasl_client_callback_authentication_id_set.3
+MAN3+=	gsasl_client_callback_authorization_id_get.3
+MAN3+=	gsasl_client_callback_authorization_id_set.3
+MAN3+=	gsasl_client_callback_maxbuf_get.3
+MAN3+=	gsasl_client_callback_maxbuf_set.3
+MAN3+=	gsasl_client_callback_passcode_get.3
+MAN3+=	gsasl_client_callback_passcode_set.3
+MAN3+=	gsasl_client_callback_password_get.3
+MAN3+=	gsasl_client_callback_password_set.3
+MAN3+=	gsasl_client_callback_pin_get.3
+MAN3+=	gsasl_client_callback_pin_set.3
+MAN3+=	gsasl_client_callback_qop_get.3
+MAN3+=	gsasl_client_callback_qop_set.3
+MAN3+=	gsasl_client_callback_realm_get.3
+MAN3+=	gsasl_client_callback_realm_set.3
+MAN3+=	gsasl_client_callback_service_get.3
+MAN3+=	gsasl_client_callback_service_set.3
+MAN3+=	gsasl_client_ctx_get.3
+MAN3+=	gsasl_client_finish.3
+MAN3+=	gsasl_client_listmech.3
+MAN3+=	gsasl_client_mechlist.3
+MAN3+=	gsasl_client_start.3
+MAN3+=	gsasl_client_step.3
+MAN3+=	gsasl_client_step_base64.3
+MAN3+=	gsasl_client_suggest_mechanism.3
+MAN3+=	gsasl_client_support_p.3
+MAN3+=	gsasl_ctx_get.3
+MAN3+=	gsasl_decode.3
+MAN3+=	gsasl_decode_inline.3
+MAN3+=	gsasl_done.3
+MAN3+=	gsasl_encode.3
+MAN3+=	gsasl_encode_inline.3
+MAN3+=	gsasl_finish.3
+MAN3+=	gsasl_free.3
+MAN3+=	gsasl_hmac_md5.3
+MAN3+=	gsasl_init.3
+MAN3+=	gsasl_md5.3
+MAN3+=	gsasl_md5pwd_get_password.3
+MAN3+=	gsasl_nonce.3
+MAN3+=	gsasl_property_fast.3
+MAN3+=	gsasl_property_get.3
+MAN3+=	gsasl_property_set.3
+MAN3+=	gsasl_property_set_raw.3
+MAN3+=	gsasl_random.3
+MAN3+=	gsasl_randomize.3
+MAN3+=	gsasl_register.3
+MAN3+=	gsasl_saslprep.3
+MAN3+=	gsasl_server_application_data_get.3
+MAN3+=	gsasl_server_application_data_set.3
+MAN3+=	gsasl_server_callback_anonymous_get.3
+MAN3+=	gsasl_server_callback_anonymous_set.3
+MAN3+=	gsasl_server_callback_cipher_get.3
+MAN3+=	gsasl_server_callback_cipher_set.3
+MAN3+=	gsasl_server_callback_cram_md5_get.3
+MAN3+=	gsasl_server_callback_cram_md5_set.3
+MAN3+=	gsasl_server_callback_digest_md5_get.3
+MAN3+=	gsasl_server_callback_digest_md5_set.3
+MAN3+=	gsasl_server_callback_external_get.3
+MAN3+=	gsasl_server_callback_external_set.3
+MAN3+=	gsasl_server_callback_gssapi_get.3
+MAN3+=	gsasl_server_callback_gssapi_set.3
+MAN3+=	gsasl_server_callback_maxbuf_get.3
+MAN3+=	gsasl_server_callback_maxbuf_set.3
+MAN3+=	gsasl_server_callback_qop_get.3
+MAN3+=	gsasl_server_callback_qop_set.3
+MAN3+=	gsasl_server_callback_realm_get.3
+MAN3+=	gsasl_server_callback_realm_set.3
+MAN3+=	gsasl_server_callback_retrieve_get.3
+MAN3+=	gsasl_server_callback_retrieve_set.3
+MAN3+=	gsasl_server_callback_securid_get.3
+MAN3+=	gsasl_server_callback_securid_set.3
+MAN3+=	gsasl_server_callback_service_get.3
+MAN3+=	gsasl_server_callback_service_set.3
+MAN3+=	gsasl_server_callback_validate_get.3
+MAN3+=	gsasl_server_callback_validate_set.3
+MAN3+=	gsasl_server_ctx_get.3
+MAN3+=	gsasl_server_finish.3
+MAN3+=	gsasl_server_listmech.3
+MAN3+=	gsasl_server_mechlist.3
+MAN3+=	gsasl_server_start.3
+MAN3+=	gsasl_server_step.3
+MAN3+=	gsasl_server_step_base64.3
+MAN3+=	gsasl_server_suggest_mechanism.3
+MAN3+=	gsasl_server_support_p.3
+MAN3+=	gsasl_session_hook_get.3
+MAN3+=	gsasl_session_hook_set.3
+MAN3+=	gsasl_simple_getpass.3
+MAN3+=	gsasl_step.3
+MAN3+=	gsasl_step64.3
+MAN3+=	gsasl_strerror.3
+MAN3+=	gsasl_stringprep_nfkc.3
+MAN3+=	gsasl_stringprep_saslprep.3
+MAN3+=	gsasl_stringprep_trace.3
--- /dev/null
+++ security/gsasl/pkg-descr
@@ -0,0 +1,18 @@
+GNU SASL is an implementation of the Simple Authentication and Security Layer
+framework and a few common SASL mechanisms. SASL is used by network servers
+(e.g., IMAP, SMTP) to request authentication from clients, and in clients to
+authenticate against servers.
+
+GNU SASL contains a library (`libgsasl'), a command line utility (`gsasl') to
+access the library from the shell, and a manual. The library includes support
+for the SASL framework (with authentication functions and application data
+privacy and integrity functions) and at least partial support for the CRAM-MD5,
+EXTERNAL, GSSAPI, ANONYMOUS, PLAIN, SECURID, DIGEST-MD5, LOGIN, NTLM and
+KERBEROS_V5 mechanisms.
+
+The library is portable because it does not do network communication by itself,
+but rather leaves it up to the calling application. The library is flexible
+with regards to the authorization infrastructure used, as it utilizes callbacks
+into the application to decide whether an user is authorized or not.
+
+WWW: http://www.gnu.org/software/gsasl/
--- /dev/null
+++ security/gsasl/pkg-plist
@@ -0,0 +1,54 @@
+bin/gsasl
+include/gsasl-compat.h
+include/gsasl-mech.h
+include/gsasl.h
+lib/libgsasl.a
+lib/libgsasl.la
+lib/libgsasl.so
+lib/libgsasl.so.11
+libdata/pkgconfig/libgsasl.pc
+%%PORTDOCS%%%%DOCSDIR%%/gsasl.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/abstraction.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/ch01.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/controlflow.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/controlflow2.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/gsasl-gsasl.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/gsasl-gsasl-compat.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/gsasl-gsasl-mech.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/gsasl.devhelp
+%%PORTDOCS%%%%DOCSDIR%%/reference/gsasl.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/reference/home.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/index.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/index.sgml
+%%PORTDOCS%%%%DOCSDIR%%/reference/ix01.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/ix02.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/ix03.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/ix04.html
+%%PORTDOCS%%%%DOCSDIR%%/reference/left.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/right.png
+%%PORTDOCS%%%%DOCSDIR%%/reference/style.css
+%%PORTDOCS%%%%DOCSDIR%%/reference/up.png
+%%NLS%%share/locale/de/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/libgsasl.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gsasl.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gsasl.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ security/gsasl/Makefile
@@ -0,0 +1,63 @@
+# ex:ts=8
+# Ports collection makefile for:	gsasl
+# Date created:			Oct 18, 2003
+# Whom:				ijliao
+#
+# $MidnightBSD: mports/security/gsasl/Makefile,v 1.1 2007/12/28 20:35:53 laffer1 Exp $
+# $FreeBSD: ports/security/gsasl/Makefile,v 1.34 2007/09/05 13:55:04 krion Exp $
+#
+
+PORTNAME=	gsasl
+PORTVERSION=	0.2.21
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GNU_ALPHA} \
+		http://josefsson.org/${PORTNAME}/releases/
+MASTER_SITE_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	GNU SASL Library
+LICENSE=	gpl3
+
+LIB_DEPENDS=	idn.16:${PORTSDIR}/dns/libidn \
+		gcrypt.13:${PORTSDIR}/security/libgcrypt \
+		ntlm.0:${PORTSDIR}/security/libntlm
+
+USE_GNOME=	gnomehack gnometarget pkgconfig
+USE_GETOPT_LONG=	yes
+USE_PERL5_BUILD=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_LDCONFIG=	yes
+
+INFO=	gsasl
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.else
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.endif
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
+post-patch:
+.for file in \
+	lib/po/LINGUAS \
+	po/LINGUAS
+	@${REINPLACE_CMD} -e '1,2d' ${WRKSRC}/${file}
+.endfor
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}/reference
+	${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* ${DOCSDIR}/reference
+.endif
+
+.include "Makefile.man"
+.include <bsd.port.post.mk>
--- /dev/null
+++ security/gsasl/distinfo
@@ -0,0 +1,3 @@
+MD5 (gsasl-0.2.21.tar.gz) = e4e3ad374a5317d0860b08aa0b5c63b6
+SHA256 (gsasl-0.2.21.tar.gz) = aedf0731884400e7c7c568d4b0166f1771110fa4d1722d3c3612319ff1fb694b
+SIZE (gsasl-0.2.21.tar.gz) = 3293537
--- /dev/null
+++ security/gsasl/files/patch-doc_gsasl.texi
@@ -0,0 +1,20 @@
+
+$FreeBSD: ports/security/gsasl/files/patch-doc_gsasl.texi,v 1.1 2004/11/11 19:16:57 krion Exp $
+
+--- doc/gsasl.texi.orig
++++ doc/gsasl.texi
+@@ -123,14 +123,6 @@
+ and the command-line interface, self-tests and examples are licensed
+ under the GNU General Public License.
+ 
+- at float Illustration,fig:abstraction
+- at image{abstraction,10cm,5cm}
+-
+- at caption{Logical overview showing how applications use authentication
+-mechanisms through an abstract interface.}
+-
+- at end float
+-
+ @menu
+ * Getting Started::
+ * Features::


More information about the Midnightbsd-cvs mailing list