]>
Commit | Line | Data |
---|---|---|
8feada5b MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = libxcrypt | |
7 | version = 4.4.33 | |
93cdb055 | 8 | release = 2 |
8feada5b MT |
9 | |
10 | groups = System/Libraries | |
11 | url = https://github.com/besser82/libxcrypt/ | |
12 | license = LGPLv2.1 | |
13 | summary = Extended crypt library for descrypt, md5crypt, bcrypt, and others | |
14 | ||
15 | description | |
16 | libxcrypt is a modern library for one-way hashing of passwords. | |
17 | It supports a wide variety of both modern and historical hashing methods: | |
18 | yescrypt, gost-yescrypt, scrypt, bcrypt, sha512crypt, sha256crypt, | |
19 | md5crypt, SunMD5, sha1crypt, NT, bsdicrypt, bigcrypt, and descrypt. | |
20 | It provides the traditional Unix crypt and crypt_r interfaces, as well | |
21 | as a set of extended interfaces pioneered by Openwall Linux, crypt_rn, | |
22 | crypt_ra, crypt_gensalt, crypt_gensalt_rn, and crypt_gensalt_ra. | |
23 | ||
24 | libxcrypt is intended to be used by login(1), passwd(1), and other | |
25 | similar programs; that is, to hash a small number of passwords during | |
26 | an interactive authentication dialogue with a human. | |
27 | end | |
28 | ||
29 | source_dl = https://github.com/besser82/libxcrypt/releases/download/v%{version}/ | |
30 | sources = %{thisapp}.tar.xz | |
31 | ||
32 | build | |
33 | requires | |
34 | perl | |
93cdb055 MT |
35 | perl(FindBin) |
36 | perl(open) | |
8feada5b MT |
37 | end |
38 | ||
39 | configure_options += \ | |
40 | --disable-static \ | |
41 | --enable-hashes=strong,glibc \ | |
42 | --disable-obsolete-api \ | |
43 | --disable-failure-tokens | |
44 | ||
45 | test | |
46 | LD_LIBRARY_PATH="%{DIR_APP}/.libs" make check | |
47 | end | |
48 | end | |
49 | ||
50 | packages | |
51 | package %{name} | |
52 | ||
53 | package %{name}-devel | |
54 | template DEVEL | |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |