libxcrypt move
This commit is contained in:
+31316
-30709
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
068d52b3c3d6ab8a17dea79cffcf9ab8d11df1be
|
||||
4f9a12809a41e18b84666635b9cfacd7a31765db
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
3ef9bcf01f715c28cdcae3e61bc81bfa1f3ab9f7
|
||||
73aa7480235eee900d6be95fe261f9df08d954d6
|
||||
@@ -0,0 +1,88 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def setup():
|
||||
shelltools.system("mkdir build-libxcrypt build-libxcrypt-compat")
|
||||
|
||||
if not get.buildTYPE() == "emul32":
|
||||
shelltools.cd("build-libxcrypt")
|
||||
# autotools.autoreconf("-fi")
|
||||
shelltools.system("../configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-failure-tokens")
|
||||
|
||||
shelltools.cd("..")
|
||||
|
||||
shelltools.cd("build-libxcrypt-compat")
|
||||
# autotools.autoreconf("-fi")
|
||||
autotools.system("../configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-failure-tokens")
|
||||
|
||||
shelltools.cd("..")
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
|
||||
shelltools.cd("build-libxcrypt")
|
||||
shelltools.system("../configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
--disable-static \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-failure-tokens")
|
||||
|
||||
shelltools.cd("..")
|
||||
|
||||
shelltools.cd("build-libxcrypt-compat")
|
||||
# autotools.autoreconf("-fi")
|
||||
autotools.system("../configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
--disable-static \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-failure-tokens")
|
||||
|
||||
# shelltools.cd("..")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build-libxcrypt")
|
||||
autotools.make()
|
||||
|
||||
shelltools.cd("..")
|
||||
shelltools.cd("build-libxcrypt-compat")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build-libxcrypt")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
shelltools.cd("build-libxcrypt-compat")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
return
|
||||
|
||||
# Fix conflicts with glibc
|
||||
# pisitools.rename("/usr/lib/libcrypt.so", "libxcrypt.so")
|
||||
# pisitools.rename("/usr/include/crypt.h", "xcrypt.h")
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING.LIB")
|
||||
@@ -0,0 +1,118 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxcrypt</Name>
|
||||
<Homepage>https://github.com/besser82/libxcrypt/</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Modern library for one-way hashing of passwords</Summary>
|
||||
<Description>libxcrypt is a modern library for one-way hashing of passwords. It supports a wide variety of both modern and historical hashing methods: yescrypt, gost-yescrypt, scrypt, bcrypt, sha512crypt, sha256crypt, md5crypt, SunMD5, sha1crypt, NT, bsdicrypt, bigcrypt, and descrypt.</Description>
|
||||
<Archive sha1sum="9aa2fa261be6144af492e9b6bfd03bfaa47f7159" type="tarxz">https://github.com/besser82/libxcrypt/releases/download/v4.4.38/libxcrypt-4.4.38.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libxcrypt</Name>
|
||||
<RuntimeDependencies>
|
||||
<!-- <Dependency></Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxcrypt-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libxcrypt</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<!-- <Dependency>libpng-32bit</Dependency> -->
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxcrypt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxcrypt-devel</Name>
|
||||
<Summary>Development files for libxcrypt</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxcrypt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2025-10-30</Date>
|
||||
<Version>4.4.38</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2024-06-06</Date>
|
||||
<Version>4.4.36</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2023-08-18</Date>
|
||||
<Version>4.4.36</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2023-06-01</Date>
|
||||
<Version>4.4.34</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2022-11-19</Date>
|
||||
<Version>4.4.33</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2022-11-12</Date>
|
||||
<Version>4.4.30</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2022-08-10</Date>
|
||||
<Version>4.4.28</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2021-01-14</Date>
|
||||
<Version>4.4.17</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxcrypt</Name>
|
||||
<Summary xml:lang="tr">libxcrypt, şifrelerin tek yönlü hash edilmesi için modern bir kitaplıktır.</Summary>
|
||||
<Description xml:lang="tr">libxcrypt, şifrelerin tek yönlü hash edilmesi için modern bir kitaplıktır. Çok çeşitli modern ve tarihsel hashing yöntemlerini destekler: yescrypt, gost-yescrypt, scrypt, bcrypt, sha512crypt, sha256crypt, md5crypt, SunMD5, sha1crypt, NT, bsdicrypt, bigcrypt ve descrypt.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user