Remove libcrypt

We moved to libxcrypt everywhere:
https://github.com/msys2/MSYS2-packages/issues/3505
This commit is contained in:
Christoph Reiter
2023-10-20 20:10:54 +02:00
parent 629ffba045
commit e1d4eb8a22
2 changed files with 0 additions and 65 deletions

View File

@@ -1,41 +0,0 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgbase=libcrypt
pkgname=('libcrypt')
# 2023-07-14: TODO: remove this package in a year
pkgver=2.1
pkgrel=5
pkgdesc="Encryption/Decryption utility and library"
arch=('i686' 'x86_64')
license=('custom')
url="https://cygwin.com/"
makedepends=('gcc' 'git' 'make')
source=(${pkgbase}-${pkgver}::git+https://sourceware.org/git/cygwin-apps/crypt.git#tag=crypt-${pkgver//./_}-release
msysize.patch)
sha256sums=('SKIP'
'f0646267208c94d96cf07b6f90296b7c7211b7daa64cb85c6a80128ac3f6ebff')
msys2_references=(
'cygwin: crypt'
)
prepare() {
cd ${srcdir}/${pkgbase}-${pkgver}
patch -p1 -i ${srcdir}/msysize.patch
}
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
make CC=gcc AR=ar CFLAGS="${CFLAGS}"
make DESTDIR=${srcdir}/dest install
}
package() {
pkgdesc="Encryption/Decryption library"
groups=('libraries')
depends=('gcc-libs')
mkdir -p ${pkgdir}/usr/bin
cp -f ${srcdir}/dest/usr/bin/*.dll ${pkgdir}/usr/bin/
}

View File

@@ -1,24 +0,0 @@
--- crypt/Makefile.orig 2014-10-31 00:14:16.525400000 +0300
+++ crypt/Makefile 2014-10-31 00:14:39.395000000 +0300
@@ -8,11 +8,11 @@
bindir=$(prefix)/bin
libdir=$(prefix)/lib
incdir=$(prefix)/include
-docdir=$(prefix)/share/doc/Cygwin
+docdir=$(prefix)/share/doc/Msys
DLLVER=0
STATICLIB=libcrypt.a
-SHAREDLIB=cygcrypt-$(DLLVER).dll
+SHAREDLIB=msys-crypt-$(DLLVER).dll
IMPORTLIB=libcrypt.dll.a
LIBS=$(STATICLIB) $(SHAREDLIB)
--- crypt/crypt.def.orig 2014-11-01 00:41:22.483000000 +0300
+++ crypt/crypt.def 2014-11-01 00:41:27.865000000 +0300
@@ -1,4 +1,4 @@
-LIBRARY "cygcrypt-0.dll"
+LIBRARY "msys-crypt-0.dll"
EXPORTS
encrypt