Merge pull request #8844 from maxice8/libtomcrypt
libtomcrypt: update to 1.18.0.
This commit is contained in:
commit
41e6d562f8
5 changed files with 8 additions and 58 deletions
|
@ -1104,7 +1104,7 @@ libqrencode.so.4 libqrencode-4.0.0_1
|
||||||
libwayland-server.so.0 wayland-1.6.0_1
|
libwayland-server.so.0 wayland-1.6.0_1
|
||||||
libwayland-client.so.0 wayland-1.10.0_1
|
libwayland-client.so.0 wayland-1.10.0_1
|
||||||
libwayland-cursor.so.0 wayland-1.6.0_1
|
libwayland-cursor.so.0 wayland-1.6.0_1
|
||||||
libtomcrypt.so.0 libtomcrypt-1.17_1
|
libtomcrypt.so.1 libtomcrypt-1.18.0_1
|
||||||
libOpenCL.so.1 libOpenCL-1.0_1
|
libOpenCL.so.1 libOpenCL-1.0_1
|
||||||
libHX.so.28 libHX-3.14_1
|
libHX.so.28 libHX-3.14_1
|
||||||
libxkbcommon.so.0 libxkbcommon-0.2.0_1
|
libxkbcommon.so.0 libxkbcommon-0.2.0_1
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=bk
|
pkgname=bk
|
||||||
reverts="7.3ce.1_1 7.3ce.1_2 7.3ce_1 7.3ce_2"
|
reverts="7.3ce.1_1 7.3ce.1_2 7.3ce_1 7.3ce_2"
|
||||||
version=7.3.2
|
version=7.3.2
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="gperf groff perl bison pkg-config"
|
hostmakedepends="gperf groff perl bison pkg-config"
|
||||||
makedepends="libXft-devel libtomcrypt-devel libtommath-devel pcre-devel lz4-devel"
|
makedepends="libXft-devel libtomcrypt-devel libtommath-devel pcre-devel lz4-devel"
|
||||||
# bundles: tcl tk
|
# bundles: tcl tk
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'chrony'
|
# Template file for 'chrony'
|
||||||
pkgname=chrony
|
pkgname=chrony
|
||||||
version=3.2
|
version=3.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
|
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
|
|
@ -11,16 +11,6 @@
|
||||||
+Version: 1.17
|
+Version: 1.17
|
||||||
+Libs: -L${libdir} -ltomcrypt
|
+Libs: -L${libdir} -ltomcrypt
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
--- libtomcrypt-1.17.orig/makefile
|
|
||||||
+++ libtomcrypt-1.17/makefile
|
|
||||||
@@ -340,7 +340,6 @@
|
|
||||||
rm -f crypt.aux crypt.dvi crypt.idx crypt.ilg crypt.ind crypt.log crypt.toc
|
|
||||||
rm -f $(TV) $(PROF) $(SMALL) $(CRYPT) $(HASHSUM) $(MULTI) $(TIMING) $(TEST)
|
|
||||||
rm -rf doc/doxygen
|
|
||||||
- rm -f doc/*.pdf
|
|
||||||
rm -f *.txt
|
|
||||||
|
|
||||||
#build the doxy files (requires Doxygen, tetex and patience)
|
|
||||||
--- libtomcrypt-1.17.orig/libtomcrypt.3
|
--- libtomcrypt-1.17.orig/libtomcrypt.3
|
||||||
+++ libtomcrypt-1.17/libtomcrypt.3
|
+++ libtomcrypt-1.17/libtomcrypt.3
|
||||||
@@ -0,0 +1,96 @@
|
@@ -0,0 +1,96 @@
|
||||||
|
@ -120,43 +110,3 @@
|
||||||
+.PP
|
+.PP
|
||||||
+This manual page was written by Michael Stapelberg <michael@stapelberg.de>,
|
+This manual page was written by Michael Stapelberg <michael@stapelberg.de>,
|
||||||
+for the Debian project (and may be used by others).
|
+for the Debian project (and may be used by others).
|
||||||
--- a/makefile.shared.orig 2007-05-12 16:46:25.000000000 +0200
|
|
||||||
+++ b/makefile.shared 2013-07-18 03:38:06.551390390 +0200
|
|
||||||
@@ -9,7 +9,7 @@
|
|
||||||
VERSION=0:117
|
|
||||||
|
|
||||||
# Compiler and Linker Names
|
|
||||||
-CC=libtool --mode=compile --tag=CC gcc
|
|
||||||
+CC=libtool --mode=compile --tag=CC @@CC@@
|
|
||||||
|
|
||||||
# ranlib tools
|
|
||||||
ifndef RANLIB
|
|
||||||
@@ -231,7 +231,7 @@ default:library
|
|
||||||
|
|
||||||
#ciphers come in two flavours... enc+dec and enc
|
|
||||||
src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
|
|
||||||
- $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
|
|
||||||
+ libtool --mode=compile --tag=CC @@CC@@ $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
|
|
||||||
|
|
||||||
#These are the rules to make certain object files.
|
|
||||||
src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
|
|
||||||
@@ -248,15 +248,16 @@ testprof/$(LIBTEST):
|
|
||||||
|
|
||||||
objs: $(OBJECTS)
|
|
||||||
|
|
||||||
-$(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
|
|
||||||
- libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
|
|
||||||
+$(LIBNAME): $(OBJECTS)
|
|
||||||
+ libtool --tag=CC --mode=link @@CC@@ $(CFLAGS) -rpath $(LIBPATH) -version-info $(VERSION) -o $(LIBNAME) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS)
|
|
||||||
|
|
||||||
install: $(LIBNAME)
|
|
||||||
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
|
|
||||||
- cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) make -f makefile.shared install
|
|
||||||
libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la
|
|
||||||
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
|
|
||||||
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
|
|
||||||
+ install -d $(DESTDIR)$(LIBPATH)/pkgconfig
|
|
||||||
+ install -m 0644 -g $(GROUP) -o $(USER) libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/libtomcrypt.pc
|
|
||||||
|
|
||||||
#This rule makes the hash program included with libtomcrypt
|
|
||||||
hashsum: library
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'libtomcrypt'
|
# Template file for 'libtomcrypt'
|
||||||
pkgname=libtomcrypt
|
pkgname=libtomcrypt
|
||||||
version=1.17
|
version=1.18.0
|
||||||
revision=7
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
hostmakedepends="libtool"
|
hostmakedepends="libtool"
|
||||||
short_desc="Fairly comprehensive, modular and portable cryptographic toolkit"
|
short_desc="Fairly comprehensive, modular and portable cryptographic toolkit"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Public domain"
|
license="Public domain"
|
||||||
homepage="http://www.libtom.net/?page=features&newsitems=5&whatfile=crypt"
|
homepage="http://www.libtom.net/?page=features&newsitems=5&whatfile=crypt"
|
||||||
distfiles="https://github.com/libtom/libtomcrypt/releases/download/${version}/crypt-${version}.tar.bz2"
|
distfiles="https://github.com/libtom/libtomcrypt/releases/download/v${version}/crypt-${version}.tar.xz"
|
||||||
checksum=e33b47d77a495091c8703175a25c8228aff043140b2554c08a3c3cd71f79d116
|
checksum=da9df56a314afaab71963aa71bb6a075ea6bdee3d4db4af045f6bfe23e88b87a
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -e "s,@@CC@@,$CC,g;s,\$(CC),$CC,g" -i makefile.shared
|
sed -e "s,@@CC@@,$CC,g;s,\$(CC),$CC,g" -i makefile.shared
|
||||||
|
@ -21,7 +21,7 @@ do_build() {
|
||||||
make RANLIB=$RANLIB -f makefile.shared ${makejobs}
|
make RANLIB=$RANLIB -f makefile.shared ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make -f makefile.shared GROUP="$(whoami)" USER="$(whoami)" NODOCS=1 DESTDIR=${DESTDIR} install
|
make -f makefile.shared GROUP="$(whoami)" USER="$(whoami)" NODOCS=1 DESTDIR=${DESTDIR} PREFIX=/usr install
|
||||||
vman ${sourcepkg}.3
|
vman ${sourcepkg}.3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue