summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-12-03 19:17:10 +0000
committerxtraeme <xtraeme>2003-12-03 19:17:10 +0000
commit1e2f6e91201c7d7ef87da3b42d20829e4d7d0703 (patch)
treec4af72943a4c5844c6cd97a451559ce5affa42b2 /devel
parent80d35c695dcf975650d61b4862975e43f6349e43 (diff)
downloadpkgsrc-1e2f6e91201c7d7ef87da3b42d20829e4d7d0703.tar.gz
Initial import of libidn-0.3.3 from pkgsrc-wip.
GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group. It is used to prepare internationalized strings (such as domain name labels, usernames, and passwords) in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA are supported.
Diffstat (limited to 'devel')
-rw-r--r--devel/libidn/DESCR12
-rw-r--r--devel/libidn/Makefile26
-rw-r--r--devel/libidn/PLIST41
-rw-r--r--devel/libidn/buildlink2.mk30
-rw-r--r--devel/libidn/distinfo4
5 files changed, 113 insertions, 0 deletions
diff --git a/devel/libidn/DESCR b/devel/libidn/DESCR
new file mode 100644
index 00000000000..6ef81b210cc
--- /dev/null
+++ b/devel/libidn/DESCR
@@ -0,0 +1,12 @@
+GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
+specifications defined by the IETF Internationalized Domain Names (IDN)
+working group. It is used to prepare internationalized strings (such as
+domain name labels, usernames, and passwords) in order to increase the
+likelihood that string input and string comparison work in ways that make
+sense for typical users throughout the world.
+
+The library contains a generic Stringprep implementation that does Unicode
+3.2 NFKC normalization, mapping and prohibition of characters, and
+bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep,
+SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
+IDNA are supported.
diff --git a/devel/libidn/Makefile b/devel/libidn/Makefile
new file mode 100644
index 00000000000..b7bc83138ee
--- /dev/null
+++ b/devel/libidn/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 19:17:10 xtraeme Exp $
+#
+
+DISTNAME= libidn-0.3.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=libidn/} \
+ http://josefsson.org/libidn/releases/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/libidn/
+COMMENT= Internationalized Domain Names command line tool
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_LIBTOOL= yes
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libidn.pc.in
+
+INFO_FILES= libidn.info
+
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../devel/libgetopt/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libidn/PLIST b/devel/libidn/PLIST
new file mode 100644
index 00000000000..011abfccc52
--- /dev/null
+++ b/devel/libidn/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 19:17:11 xtraeme Exp $
+bin/idn
+include/idn-int.h
+include/idna.h
+include/punycode.h
+include/stringprep.h
+info/libidn.info
+lib/libidn.a
+lib/libidn.la
+lib/libidn.so
+lib/libidn.so.12
+lib/libidn.so.12.0
+lib/pkgconfig/libidn.pc
+man/man1/idn.1
+man/man3/idna_to_ascii_4i.3
+man/man3/idna_to_ascii_4z.3
+man/man3/idna_to_ascii_8z.3
+man/man3/idna_to_ascii_lz.3
+man/man3/idna_to_unicode_44i.3
+man/man3/idna_to_unicode_4z4z.3
+man/man3/idna_to_unicode_8z4z.3
+man/man3/idna_to_unicode_8z8z.3
+man/man3/idna_to_unicode_8zlz.3
+man/man3/idna_to_unicode_lzlz.3
+man/man3/punycode_decode.3
+man/man3/punycode_encode.3
+man/man3/stringprep.3
+man/man3/stringprep_4i.3
+man/man3/stringprep_4zi.3
+man/man3/stringprep_check_version.3
+man/man3/stringprep_convert.3
+man/man3/stringprep_locale_charset.3
+man/man3/stringprep_locale_to_utf8.3
+man/man3/stringprep_profile.3
+man/man3/stringprep_ucs4_nfkc_normalize.3
+man/man3/stringprep_ucs4_to_utf8.3
+man/man3/stringprep_unichar_to_utf8.3
+man/man3/stringprep_utf8_nfkc_normalize.3
+man/man3/stringprep_utf8_to_locale.3
+man/man3/stringprep_utf8_to_ucs4.3
+man/man3/stringprep_utf8_to_unichar.3
diff --git a/devel/libidn/buildlink2.mk b/devel/libidn/buildlink2.mk
new file mode 100644
index 00000000000..461c1855bce
--- /dev/null
+++ b/devel/libidn/buildlink2.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/03 19:17:11 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use libidn.
+#
+# This file was created automatically using createbuildlink 2.8.
+#
+
+.if !defined(LIBIDN_BUILDLINK2_MK)
+LIBIDN_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libidn
+BUILDLINK_DEPENDS.libidn?= libidn>=0.3.3
+BUILDLINK_PKGSRCDIR.libidn?= ../../devel/libidn
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libidn=libidn
+BUILDLINK_PREFIX.libidn_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libidn+= include/idn-int.h
+BUILDLINK_FILES.libidn+= include/idna.h
+BUILDLINK_FILES.libidn+= include/punycode.h
+BUILDLINK_FILES.libidn+= include/stringprep.h
+BUILDLINK_FILES.libidn+= lib/libidn.*
+
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../devel/libgetopt/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libidn-buildlink
+
+libidn-buildlink: _BUILDLINK_USE
+
+.endif # LIBIDN_BUILDLINK2_MK
diff --git a/devel/libidn/distinfo b/devel/libidn/distinfo
new file mode 100644
index 00000000000..93999515f58
--- /dev/null
+++ b/devel/libidn/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/03 19:17:10 xtraeme Exp $
+
+SHA1 (libidn-0.3.3.tar.gz) = 23317b0322bc24e1d1d6cfe891e7361452110073
+Size (libidn-0.3.3.tar.gz) = 1518379 bytes