snappy: Nuevo

master
Gerardo Zamudio 5 years ago
parent ccbeb3b6c5
commit 31fac25534
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,14 +10,14 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site.
MD5 message digest Filename
3f75a6440547ec361703f581f64ba6ea ./ChangeLog.rss
ed5f70d6febac2edc1f4aa75715873f5 ./ChangeLog.txt
a93fda59a1a1acd834fb1c5d70b846f8 ./ChangeLog.txt.gz
04388193b5c130157523abdc3daea49d ./FILELIST.TXT
215bf816fa9053677594b4bb3ff3a8ee ./ChangeLog.rss
f4a10aee8b7dc7b9e41e45d7334d9f0f ./ChangeLog.txt
e7a229691af545660718f023c57264cb ./ChangeLog.txt.gz
6b1a902bbecb1e6e8a88ca7372384483 ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2
b7173747be0daaea1b560612a93f1829 ./PACKAGES.TXT
bf4e5c7fcf592258843dba21716ce74c ./PACKAGES.TXT.gz
7cb99b6646a44995905e8ed2801a7258 ./PACKAGES.TXT
4cb479c8e7a6a30f72ccfd92f46062f5 ./PACKAGES.TXT.gz
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README
8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README
@ -75,6 +75,13 @@ cd4fff5b767e6146f810dd0ff6d89292 ./pcsc-lite/build/rc.pcscd
c33f62c6d3b1b12fb33eac44592e0673 ./phodav/build/phodav.SlackBuild
1343a3977ba0ca3cce30cbabd3868acd ./phodav/build/phodav.info
2dce1917306bd96bddf884a61dc7c1af ./phodav/build/slack-desc
2c75546a222f606d0a3454d25a24d17a ./snappy/73.patch
f2cfef625aabcd995951b07cf9a1f896 ./snappy/HEADER.txt
f2cfef625aabcd995951b07cf9a1f896 ./snappy/README
0a9e81ce93d7dcbb3accea312cf9ecd1 ./snappy/build/README
f2cfef625aabcd995951b07cf9a1f896 ./snappy/build/slack-desc
cec2bee0f0ae1e18aa0ca1e372bb1245 ./snappy/build/snappy.SlackBuild
816cda3f79cf0363c87662142cccb1fd ./snappy/build/snappy.info
25e31c7494d409d85ec8e04eecad78b0 ./spice-protocol/HEADER.txt
25e31c7494d409d85ec8e04eecad78b0 ./spice-protocol/README
70f629775727f2d486266049f3eaa649 ./spice-protocol/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IOrYZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV2NOEACb2BWmEE2g+ViD3h3IYkom
y9bviTmdrjr1tijfAiE07l6ok7Hju65y4PYaLBlr5Q5mT2U1hN5bFM7RkH8H6IV5
D25r6KVaxD8oliEnQhMs4iUivmHqBUqYnTu/AZBs5zGmuWiz65ldES+6jWd8w1Q7
ObvyX6e8iaqj0ntqip10vSeGUaUs3wWdfpQvcRXhAhamPxHI7ij9t/ys7lKxmnFK
uVDfbr/D7fUcH3tDnLusmGcTy2XsczhXR7nm4c34muO+9vHSBMUJa4dHwk2wzz7x
EJqLOI6Pe6A2s/MAgMPAhSfwSOkCWeWcsmplfdSCQDvSMiGrbTc8AvpgcOPQsSQX
gCc8amTkJcKMYAT8QrTN8hccf11QX/oaVxeH8fbUsWb5g+ybHYSMbzoaLZ8QStHG
MCzg2UlCvOko1nLLl7f9mZYZnnRyBglQWknBMAywjW6ZXD+hxFVuli+7QrJNIbt0
V5oOHlQxGB9j1ZTB/9IHQL7DsChoAP/qAJBYYBeuXui8as36gqOWC2Vq7G5/aL3l
uv/06McjQT47GzWnVo8IS6JBZY2Ww3nPUL4bgcdU0Q08tafYSeX6qvTMUUhLed1z
LA6zaVUFDPVd58PC1srVby8UCTpt/E5BXqqgXj3Il0Q0kj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0NroEmEvRhlDxhgE1elCQha0B2iwM4BauqobT1zeavevF5fdsra32+dZ
xBsfbZVO4YyuPuSE2FSCtFst14xr7A4JLGiq1DA1j9FI2K9UTX5ZjE2F2dAxm7dQ
M9GvOnMxVepSaaACC3Y+bwOJFfXB7F9jFIXtdKJV1VxserHsJ45FWZFMVFqTjp6m
yebFw0PsczqwtrR7hzkOuxyBFdidqyVKLEgtoonKx1sIE9cJQLgKnYBLf+Wv83/W
322oJXPGMLPc0xz3mrWecPaaFmTaUb57lVIZ7S5v+ugvNSTEuKDGJL4H3Q4eXwXD
IMZUVwpMRx2pVxyepmKfMpvRSD4WALNMfSDGhneFYWkvRVuRG48oborGu0hBFioB
Zl5x6tlcl7nf/ZwmPE0eMg==
=LXoI
-----END PGP SIGNATURE-----

@ -11,9 +11,20 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Fri, 22 May 2020 20:48:49 GMT</pubDate>
<lastBuildDate>Fri, 22 May 2020 20:48:53 GMT</lastBuildDate>
<pubDate>Fri, 22 May 2020 20:58:00 GMT</pubDate>
<lastBuildDate>Fri, 22 May 2020 20:58:11 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Fri, 22 May 2020 20:58:00 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Fri, 22 May 2020 20:58:00 GMT</pubDate>
<guid isPermaLink="false">20200522155800</guid>
<description>
<![CDATA[<pre>
snappy: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Fri, 22 May 2020 20:48:49 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
@ -190,16 +201,5 @@ libcacard: Asumir el mantenimiento
</pre>]]>
</description>
</item>
<item>
<title>Fri, 22 May 2020 19:19:57 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Fri, 22 May 2020 19:19:57 GMT</pubDate>
<guid isPermaLink="false">20200522141957</guid>
<description>
<![CDATA[<pre>
libcacard: Nuevo
</pre>]]>
</description>
</item>
</channel>
</rss>

@ -1,3 +1,7 @@
+--------------------------+
Fri May 22 20:58:00 UTC 2020
snappy: Nuevo
+--------------------------+
Fri May 22 20:48:49 UTC 2020
libnfs: Asumir el mantenimiento

Binary file not shown.

@ -1,4 +1,4 @@
Fri May 22 20:48:49 UTC 2020
Fri May 22 20:58:00 UTC 2020
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,19 +6,19 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator
refresh the mirror.
drwxr-xr-x 14 1000 100 4096 2020-05-22 15:48 .
-rw-r--r-- 1 1000 100 5535 2020-05-22 15:44 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-22 15:44 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 2056 2020-05-22 15:44 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-22 15:44 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7848 2020-05-22 15:48 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 2439 2020-05-22 15:48 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 492 2020-05-22 15:48 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-22 15:48 ./FILELIST.TXT
drwxr-xr-x 15 1000 100 4096 2020-05-22 15:58 .
-rw-r--r-- 1 1000 100 5535 2020-05-22 15:48 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-22 15:48 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 2052 2020-05-22 15:48 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-22 15:48 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7845 2020-05-22 15:58 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 2512 2020-05-22 15:58 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 505 2020-05-22 15:58 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-22 15:58 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-22 15:11 ./GPG-KEY
-rw-r--r-- 1 1000 100 14 2020-05-22 15:48 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-22 15:48 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 76 2020-05-22 15:48 ./PACKAGES.TXT.gz
-rw-r--r-- 1 1000 100 14 2020-05-22 15:58 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-22 15:58 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 76 2020-05-22 15:58 ./PACKAGES.TXT.gz
drwxr-xr-x 4 1000 100 4096 2020-05-22 15:38 ./device-tree-compiler
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/HEADER.txt
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/README
@ -98,6 +98,17 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 15:11 ./phodav/build
-rw-r--r-- 1 1000 100 3218 2020-05-22 15:11 ./phodav/build/phodav.SlackBuild
-rw-r--r-- 1 1000 100 302 2020-05-22 15:11 ./phodav/build/phodav.info
-rw-r--r-- 1 1000 100 940 2020-05-22 15:11 ./phodav/build/slack-desc
drwxr-xr-x 4 1000 100 4096 2020-05-22 15:57 ./snappy
-rw-r--r-- 1 1000 100 732 2020-05-21 23:29 ./snappy/73.patch
-rw-r--r-- 1 1000 100 1003 2020-05-22 15:57 ./snappy/HEADER.txt
-rw-r--r-- 1 1000 100 1003 2020-05-22 15:57 ./snappy/README
drwxr-xr-x 2 1000 100 4096 2020-05-22 15:57 ./snappy/build
-rw-r--r-- 1 1000 100 1104 2020-05-21 23:29 ./snappy/build/README
-rw-r--r-- 1 1000 100 1003 2020-05-21 23:29 ./snappy/build/slack-desc
-rw-r--r-- 1 1000 100 1959 2020-05-21 23:29 ./snappy/build/snappy.SlackBuild
-rw-r--r-- 1 1000 100 304 2020-05-21 23:29 ./snappy/build/snappy.info
drwxr-xr-x 3 1000 100 4096 2020-05-22 15:57 ./snappy/pkg64
drwxr-xr-x 2 1000 100 4096 2020-05-22 15:57 ./snappy/pkg64/current
drwxr-xr-x 3 1000 100 4096 2020-05-22 15:11 ./spice-protocol
-rw-r--r-- 1 1000 100 991 2020-05-22 15:11 ./spice-protocol/HEADER.txt
-rw-r--r-- 1 1000 100 991 2020-05-22 15:11 ./spice-protocol/README

@ -1,2 +1,2 @@
PACKAGES.TXT; Fri May 22 20:48:49 UTC 2020
PACKAGES.TXT; Fri May 22 20:58:00 UTC 2020

Binary file not shown.

@ -0,0 +1,23 @@
From 89342ecf34894461cc64c9cbe3f8bc0d18df5073 Mon Sep 17 00:00:00 2001
From: "liangyukun.lyk" <lyk19961210@gmail.com>
Date: Mon, 27 Aug 2018 18:08:46 +0800
Subject: [PATCH] fix cmake build error
---
CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41a2124..2a822dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,6 +145,9 @@ if(SNAPPY_BUILD_TESTS)
target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H)
target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES})
+ if(HAVE_GTEST)
+ target_link_libraries(snappy_unittest gtest)
+ endif(HAVE_GTEST)
if(HAVE_LIBZ)
target_link_libraries(snappy_unittest z)
endif(HAVE_LIBZ)

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
snappy: snappy (A fast compressor/decompressor)
snappy:
snappy: Snappy is a compression/decompression library. It does not aim for
snappy: maximum compression, or compatibility with any other compression
snappy: library; instead, it aims for very high speeds and reasonable
snappy: compression. For instance, compared to the fastest mode of zlib,
snappy: Snappy is an order of magnitude faster for most inputs, but the
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
snappy:
snappy:
snappy:

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
snappy: snappy (A fast compressor/decompressor)
snappy:
snappy: Snappy is a compression/decompression library. It does not aim for
snappy: maximum compression, or compatibility with any other compression
snappy: library; instead, it aims for very high speeds and reasonable
snappy: compression. For instance, compared to the fastest mode of zlib,
snappy: Snappy is an order of magnitude faster for most inputs, but the
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
snappy:
snappy:
snappy:

@ -0,0 +1,21 @@
Snappy is a compression/decompression library. It does not aim for maximum
compression, or compatibility with any other compression library; instead,
it aims for very high speeds and reasonable compression. For instance,
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
for most inputs, but the resulting compressed files are anywhere from 20% to
100% bigger. (For more information, see "Performance", below.)
Snappy has the following properties:
* Fast: Compression speeds at 250 MB/sec and beyond, with no assembler code.
See "Performance" below.
* Stable: Over the last few years, Snappy has compressed and decompressed
petabytes of data in Google's production environment. The Snappy bitstream
format is stable and will not change between versions.
* Robust: The Snappy decompressor is designed not to crash in the face of
corrupted or malicious input.
* Free and open source software: Snappy is licensed under a BSD-type license.
For more information, see the included COPYING file.
Snappy has previously been called "Zippy" in some Google presentations
and the like.

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
snappy: snappy (A fast compressor/decompressor)
snappy:
snappy: Snappy is a compression/decompression library. It does not aim for
snappy: maximum compression, or compatibility with any other compression
snappy: library; instead, it aims for very high speeds and reasonable
snappy: compression. For instance, compared to the fastest mode of zlib,
snappy: Snappy is an order of magnitude faster for most inputs, but the
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
snappy:
snappy:
snappy:

@ -0,0 +1,86 @@
#!/bin/sh
#
# Slackware build script for Snappy
# Written by Mário Antunes (mariolpantunes@gmail.com)
PRGNAM=snappy
VERSION=${VERSION:-1.1.8}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix build with gtest installed
patch -p1 < $CWD/73.patch
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
..
make
make install DESTDIR=$PKG
cd ..
ls -la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

@ -0,0 +1,10 @@
PRGNAM="snappy"
VERSION="1.1.8"
HOMEPAGE="https://github.com/google/snappy"
DOWNLOAD="https://github.com/google/snappy/archive/1.1.8/snappy-1.1.8.tar.gz"
MD5SUM="70e48cba7fecf289153d009791c9977f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Mário Antunes"
EMAIL="mariolpantunes@gmail.com"
Loading…
Cancel
Save