New package: libscrypt-1.21
This commit is contained in:
parent
3932e89010
commit
2e3350c810
|
@ -3084,3 +3084,4 @@ libarcan_shmif.so.0.11 arcan-0.5.4.3_1
|
|||
libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1
|
||||
libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1
|
||||
libarcan_tui.so.0.11 arcan-0.5.4.3_1
|
||||
libscrypt.so.0 libscrypt-devel-1.21_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libscrypt
|
|
@ -0,0 +1,20 @@
|
|||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
CC?=gcc
|
||||
CFLAGS?=-O2 -Wall -g -D_FORTIFY_SOURCE=2 -fstack-protector -fPIC
|
||||
-LDFLAGS?=-Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
|
||||
+MYLDFLAGS?=-Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
|
||||
CFLAGS_EXTRA?=-Wl,-rpath=.
|
||||
|
||||
all: reference
|
||||
@@ -14,7 +14,7 @@
|
||||
OBJS= crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o
|
||||
|
||||
libscrypt.so.0: $(OBJS)
|
||||
- $(CC) $(LDFLAGS) -shared -o libscrypt.so.0 $(OBJS) -lm -lc
|
||||
+ $(CC) $(MYLDFLAGS) -shared -o libscrypt.so.0 $(OBJS) -lm -lc $(LDFLAGS)
|
||||
ar rcs libscrypt.a $(OBJS)
|
||||
|
||||
reference: libscrypt.so.0 main.o crypto_scrypt-hexconvert.o
|
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'libscrypt'
|
||||
pkgname=libscrypt
|
||||
version=1.21
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Library that implements scrypt() functionality"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="2-clause-BSD"
|
||||
homepage="https://github.com/technion/"
|
||||
distfiles="https://github.com/technion/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=68e377e79745c10d489b759b970e52d819dbb80dd8ca61f8c975185df3f457d3
|
||||
|
||||
libscrypt-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue