From 61aa3d9b15f7c58a81715eb9574c6753bdbec689 Mon Sep 17 00:00:00 2001 From: Gerardo Zamudio Date: Fri, 22 May 2020 14:13:30 -0500 Subject: [PATCH] netcat-openbsd: Nuevo --- CHECKSUMS.md5 | 18 ++-- CHECKSUMS.md5.asc | 28 ++--- CHECKSUMS.md5.gz | Bin 681 -> 805 bytes CHECKSUMS.md5.gz.asc | 28 ++--- ChangeLog.rss | 15 ++- ChangeLog.txt | 4 + ChangeLog.txt.gz | Bin 206 -> 223 bytes FILELIST.TXT | 36 ++++--- PACKAGES.TXT | 2 +- PACKAGES.TXT.gz | Bin 78 -> 78 bytes netcat-openbsd/HEADER.txt | 19 ++++ netcat-openbsd/README | 19 ++++ netcat-openbsd/build/README | 16 +++ .../build/netcat-openbsd.SlackBuild | 97 ++++++++++++++++++ netcat-openbsd/build/netcat-openbsd.info | 10 ++ netcat-openbsd/build/slack-desc | 19 ++++ 16 files changed, 261 insertions(+), 50 deletions(-) create mode 100644 netcat-openbsd/HEADER.txt create mode 100644 netcat-openbsd/README create mode 100644 netcat-openbsd/build/README create mode 100644 netcat-openbsd/build/netcat-openbsd.SlackBuild create mode 100644 netcat-openbsd/build/netcat-openbsd.info create mode 100644 netcat-openbsd/build/slack-desc diff --git a/CHECKSUMS.md5 b/CHECKSUMS.md5 index 10a8940..945480e 100644 --- a/CHECKSUMS.md5 +++ b/CHECKSUMS.md5 @@ -10,17 +10,23 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less /pub/gnu, or at any GNU mirror site. MD5 message digest Filename -409b919145f3ec327fd4715b251aaa83 ./ChangeLog.rss -57911f509b9cfc76ba36df577e1b4e07 ./ChangeLog.txt -0aa486af415d548badf7925024854423 ./ChangeLog.txt.gz -4f90e684e54c271fc8617260199b8dba ./FILELIST.TXT +f95bb3696d47595bcb4494f1483b7666 ./ChangeLog.rss +6261e6b4d30f9755fe464a307029f502 ./ChangeLog.txt +be513b1949550edd5e44c3e8d5930fc9 ./ChangeLog.txt.gz +61b7bc9dcec809b53d57c72a9a2ba0a4 ./FILELIST.TXT 7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY 4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2 -8438191efae13eeeb69109db14932424 ./PACKAGES.TXT -841f16af15d2ac13444499bd136defe9 ./PACKAGES.TXT.gz +04a391d755a9a53ae7b3c19bc1bf0c3a ./PACKAGES.TXT +920bb1e125575f95ed119ca2a15a6320 ./PACKAGES.TXT.gz 2a3afe2705bdb554268e914ae7d16cb5 ./libbsd/HEADER.txt 2a3afe2705bdb554268e914ae7d16cb5 ./libbsd/README 894649015f310283d3359cbdc913b924 ./libbsd/build/README 626f2b45e1d378735efdedecaf176e9a ./libbsd/build/libbsd.SlackBuild 801c444e8b99f255a005637d0635e9d1 ./libbsd/build/libbsd.info 2a3afe2705bdb554268e914ae7d16cb5 ./libbsd/build/slack-desc +5828207b4d464e307e80e3832f61e194 ./netcat-openbsd/HEADER.txt +5828207b4d464e307e80e3832f61e194 ./netcat-openbsd/README +3036aa1d0b82465a71678fd12cdac3c0 ./netcat-openbsd/build/README +899cd1151e7b956e59e2b7570788972c ./netcat-openbsd/build/netcat-openbsd.SlackBuild +6b2215060c477573ed353c1a4a67844c ./netcat-openbsd/build/netcat-openbsd.info +5828207b4d464e307e80e3832f61e194 ./netcat-openbsd/build/slack-desc diff --git a/CHECKSUMS.md5.asc b/CHECKSUMS.md5.asc index a2c33d5..7999b69 100644 --- a/CHECKSUMS.md5.asc +++ b/CHECKSUMS.md5.asc @@ -1,17 +1,17 @@ -----BEGIN PGP SIGNATURE----- -iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IJCkZHGd6YW11ZGlv -QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV6joD/9WpFfsXqpm02jNpUqsHc18 -nyzXG7jrmN3gYXOz8PEHeHX/OGtKdAY6aQUUM/ONlyrPPYHJU5nd/I53b86rb/o6 -pM4qTXfLkg6O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lUTC7Vsqhv68w/GWf9E4uhRjPFCJnppKCk9HF93mGZKAbXBlewjaisOiEwb +O5e0QJE6pqvNoaiwQmm0Qw== +=2NxE -----END PGP SIGNATURE----- diff --git a/ChangeLog.rss b/ChangeLog.rss index 32bf5af..37fc8ed 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,20 @@ Repositorio de software para Slackare Linux proporcionado por Libre Expresión México en-us urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33 - Fri, 22 May 2020 19:12:30 GMT - Fri, 22 May 2020 19:12:37 GMT + Fri, 22 May 2020 19:13:18 GMT + Fri, 22 May 2020 19:13:23 GMT gen_repos_files.sh v 1.98 + + Fri, 22 May 2020 19:13:18 GMT + https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt + Fri, 22 May 2020 19:13:18 GMT + 20200522141318 + + +netcat-openbsd: Nuevo + ]]> + + Fri, 22 May 2020 19:12:30 GMT https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt diff --git a/ChangeLog.txt b/ChangeLog.txt index dcae3e8..1e57800 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ ++--------------------------+ +Fri May 22 19:13:18 UTC 2020 +netcat-openbsd: Nuevo + +--------------------------+ Fri May 22 19:12:30 UTC 2020 libbsd: Asumir el mantenimiento diff --git a/ChangeLog.txt.gz b/ChangeLog.txt.gz index 04fc0ce3072df599b5db9357ac7a328fc9aedeba..228fcfec155201904e2743ffca745bf5d531e882 100644 GIT binary patch literal 223 zcmV<503iP#iwFo)B*6S%gK`Safv1 Zu>jcIuN~!P0JBjl!~@&o{8)_v008=AX7m66 literal 206 zcmV;<05Sg`iwFoMB*^p(SlGcqC_!z{P~k#F*&Y-W$F=Z}~MI*%^df+<`F&VjeIaQaGPdV3bkP zU{TnLLt^_D4af#sp`29MqEt>3;{8t3m`AHm`q0bUKhT;-F%RFMy}}ZOs`Pv>y$Dsy zOxL~}98}X{WT!1UZBS1gj*Td . @@ -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 3 1000 100 4096 2020-05-22 14:12 . --rw-r--r-- 1 1000 100 1147 2020-05-22 14:09 ./CHECKSUMS.md5 --rw-r--r-- 1 1000 100 870 2020-05-22 14:09 ./CHECKSUMS.md5.asc --rw-r--r-- 1 1000 100 682 2020-05-22 14:09 ./CHECKSUMS.md5.gz --rw-r--r-- 1 1000 100 870 2020-05-22 14:09 ./CHECKSUMS.md5.gz.asc --rw-r--r-- 1 1000 100 2212 2020-05-22 14:12 ./ChangeLog.rss --rw-r--r-- 1 1000 100 316 2020-05-22 14:12 ./ChangeLog.txt --rw-r--r-- 1 1000 100 206 2020-05-22 14:12 ./ChangeLog.txt.gz --rw-r--r-- 1 1000 100 311 2020-05-22 14:12 ./FILELIST.TXT +drwxr-xr-x 4 1000 100 4096 2020-05-22 14:13 . +-rw-r--r-- 1 1000 100 1147 2020-05-22 14:12 ./CHECKSUMS.md5 +-rw-r--r-- 1 1000 100 870 2020-05-22 14:12 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 1000 100 681 2020-05-22 14:12 ./CHECKSUMS.md5.gz +-rw-r--r-- 1 1000 100 870 2020-05-22 14:12 ./CHECKSUMS.md5.gz.asc +-rw-r--r-- 1 1000 100 2609 2020-05-22 14:13 ./ChangeLog.rss +-rw-r--r-- 1 1000 100 397 2020-05-22 14:13 ./ChangeLog.txt +-rw-r--r-- 1 1000 100 223 2020-05-22 14:13 ./ChangeLog.txt.gz +-rw-r--r-- 1 1000 100 311 2020-05-22 14:13 ./FILELIST.TXT -r--r--r-- 1 1000 100 6217 2020-05-22 13:49 ./GPG-KEY --rw-r--r-- 1 1000 100 14 2020-05-22 14:12 ./MANIFEST.bz2 --rw-r--r-- 1 1000 100 45 2020-05-22 14:12 ./PACKAGES.TXT --rw-r--r-- 1 1000 100 78 2020-05-22 14:12 ./PACKAGES.TXT.gz +-rw-r--r-- 1 1000 100 14 2020-05-22 14:13 ./MANIFEST.bz2 +-rw-r--r-- 1 1000 100 45 2020-05-22 14:13 ./PACKAGES.TXT +-rw-r--r-- 1 1000 100 78 2020-05-22 14:13 ./PACKAGES.TXT.gz drwxr-xr-x 3 1000 100 4096 2020-05-22 02:03 ./libbsd -rw-r--r-- 1 1000 100 905 2020-05-22 02:03 ./libbsd/HEADER.txt -rw-r--r-- 1 1000 100 905 2020-05-22 02:03 ./libbsd/README @@ -27,3 +27,13 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 02:03 ./libbsd/build -rw-r--r-- 1 1000 100 3384 2020-05-22 02:03 ./libbsd/build/libbsd.SlackBuild -rw-r--r-- 1 1000 100 305 2020-05-22 02:03 ./libbsd/build/libbsd.info -rw-r--r-- 1 1000 100 905 2020-05-22 02:03 ./libbsd/build/slack-desc +drwxr-xr-x 4 1000 100 4096 2020-05-22 14:13 ./netcat-openbsd +-rw-r--r-- 1 1000 100 975 2020-05-22 14:13 ./netcat-openbsd/HEADER.txt +-rw-r--r-- 1 1000 100 975 2020-05-22 14:13 ./netcat-openbsd/README +drwxr-xr-x 2 1000 100 4096 2020-05-22 14:13 ./netcat-openbsd/build +-rw-r--r-- 1 1000 100 859 2020-05-21 23:29 ./netcat-openbsd/build/README +-rw-r--r-- 1 1000 100 3065 2020-05-21 23:29 ./netcat-openbsd/build/netcat-openbsd.SlackBuild +-rw-r--r-- 1 1000 100 364 2020-05-21 23:29 ./netcat-openbsd/build/netcat-openbsd.info +-rw-r--r-- 1 1000 100 975 2020-05-21 23:29 ./netcat-openbsd/build/slack-desc +drwxr-xr-x 3 1000 100 4096 2020-05-22 14:13 ./netcat-openbsd/pkg64 +drwxr-xr-x 2 1000 100 4096 2020-05-22 14:13 ./netcat-openbsd/pkg64/current diff --git a/PACKAGES.TXT b/PACKAGES.TXT index a349905..96fb0b2 100644 --- a/PACKAGES.TXT +++ b/PACKAGES.TXT @@ -1,2 +1,2 @@ -PACKAGES.TXT; Fri May 22 19:12:30 UTC 2020 +PACKAGES.TXT; Fri May 22 19:13:18 UTC 2020 diff --git a/PACKAGES.TXT.gz b/PACKAGES.TXT.gz index 0ac7f3cf16bb1208cfca9a0fc78b3de5dd89867c..0f0599f2815d942c952397952f433d18a38407d9 100644 GIT binary patch delta 36 rcmebCW0mjb;0T$>YACVIXiESGZ(*2$k%7^JM@$U9tE&@r85kG +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=netcat-openbsd +VERSION=${VERSION:-1.217_1} +SRCVER=$(echo $VERSION | tr _ -) +BUILD=${BUILD:-1} +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 + +# Exit if netcat is in the system, but not if netcat-openbsd is there (thx ponce) +if [ -x /usr/bin/nc ] && [ ! -h /usr/bin/nc ]; then + echo " You must remove nc before installing this!" + exit 1 +fi + +set -e + +rm -rf $PKG + +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER +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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +make CFLAGS="$SLKCFLAGS -DNETCAT_VERSION=\"\\\"$VERSION\\\"\"" + +mkdir -p $PKG/usr/bin/ $PKG/usr/man/man1/ +install -s -m 0755 nc $PKG/usr/bin/nc.openbsd +ln -s /usr/bin/nc.openbsd $PKG/usr/bin/nc +gzip -9c nc.1 > $PKG/usr/man/man1/nc.openbsd.1.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a changelog copyright README* $PKG/usr/doc/$PRGNAM-$VERSION + +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} diff --git a/netcat-openbsd/build/netcat-openbsd.info b/netcat-openbsd/build/netcat-openbsd.info new file mode 100644 index 0000000..9e6928e --- /dev/null +++ b/netcat-openbsd/build/netcat-openbsd.info @@ -0,0 +1,10 @@ +PRGNAM="netcat-openbsd" +VERSION="1.217_1" +HOMEPAGE="https://github.com/duncan-roe/netcat-openbsd" +DOWNLOAD="https://github.com/duncan-roe/netcat-openbsd/archive/1.217-1/netcat-openbsd-1.217-1.tar.gz" +MD5SUM="8babccac46097ae5b746ffa00c01ac0f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="%README% libbsd" +MAINTAINER="Duncan Roe" +EMAIL="duncan_roe@optusnet.com.au" diff --git a/netcat-openbsd/build/slack-desc b/netcat-openbsd/build/slack-desc new file mode 100644 index 0000000..61d112f --- /dev/null +++ b/netcat-openbsd/build/slack-desc @@ -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------------------------------------------------------| +netcat-openbsd: netcat-openbsd (reads and writes data across network connections) +netcat-openbsd: +netcat-openbsd: This package contains the OpenBSD rewrite of netcat, +netcat-openbsd: including support for IPv6, proxies, and Unix sockets. +netcat-openbsd: +netcat-openbsd: Before installing this, be sure to remove the nc package +netcat-openbsd: that comes with Slackware. +netcat-openbsd: +netcat-openbsd: http://packages.debian.org/sid/netcat-openbsd +netcat-openbsd: +netcat-openbsd: