new module: libidn

Bernd Kosmahl spam at famkos.net
Sun Dec 19 13:43:54 UTC 2004


Hi,
I needed this for the keym at n software by Cherry for the CyMotion 
keyboard. Please check and proceed with it as you want to.
-- 
Bernd "beko" Kosmahl
http://duke.famkos.net
beko (a-nospam-t) duke.famkos.net
-------------- next part --------------
          MODULE=libidn                                      # Module name, yes it's redundant
         VERSION=0.5.6                                       # Version, changes *often*
          SOURCE=$MODULE-$VERSION.tar.gz                     # Source filename
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION           # Where source unpacks
                                                             # ($BUILD_DIRECTORY=/usr/src)
   SOURCE_URL[0]=ftp://alpha.gnu.org/pub/gnu/$MODULE/$SOURCE # Alternate URL(s)
   SOURCE_URL[1]=http://josefsson.org/libidn/releases/$SOURCE
      SOURCE_VFY=sha1:7ea4a61d75c933600c8bc02c825d2f971adefd11 # Sets sha1hash or pgp/gpg sig url
        WEB_SITE=http://www.gnu.org/software/libidn          # where to learn more
         ENTERED=20041219                                    # First appearance in moonbase
         UPDATED=20041219                                    # Date of latest change.
                                                             # Force update by setting this
    # The remaining lines are used for input to the 'lvu what' command
    # and are best copied from the source-maintainer's own description.
           SHORT="Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF IDN"
cat << EOF
GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 
specifications defined by the IETF Internationalized Domain Names 
(IDN) working group, used for internationalized domain names. The 
package is available under the GNU Lesser General Public License.

The library contains a generic Stringprep implementation that does 
Unicode 3.2 NFKC normalization, mapping and prohibitation 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.

The Stringprep API consists of two main functions, one for converting 
data from the system's native representation into UTF-8, and one 
function to perform the Stringprep processing. Adding a new Stringprep 
profile for your application within the API is straightforward. The 
Punycode API consists of one encoding function and one decoding #
function. The IDNA API consists of the ToASCII and ToUnicode functions, 
as well as an high-level interface for converting entire domain names 
to and from the ACE encoded form.

The library is used by, e.g., GNU SASL and Shishi to process user 
names and passwords. Libidn can be built into GNU Libc to enable a 
new system-wide getaddrinfo() flag for IDN processing.
EOF


More information about the Lunar mailing list