summaryrefslogtreecommitdiffstats
path: root/source.local/n/rdist
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-03-22 16:47:17 -0700
committer Eric Hameleers <alien@slackware.com>2013-03-22 16:47:17 -0700
commit69dd99f961988fa15da8d7f0d63b62f3385419c3 (patch)
treed57eb3e85e1d08e7815787de26946ee42c398b66 /source.local/n/rdist
downloadalienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.gz
alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.xz
Initial commit of a Slackware cross-arch bootstrap framework.
Diffstat (limited to 'source.local/n/rdist')
-rw-r--r--source.local/n/rdist/rdist-6.1.5-00.linux.diff.gzbin0 -> 360 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-01.links.diff.gzbin0 -> 836 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-03.hardlink.diff.gzbin0 -> 419 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-04.bison.diff.gzbin0 -> 929 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-05.varargs.diff.gzbin0 -> 233 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-06.maxargs.diff.gzbin0 -> 271 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-07.lfs.diff.gzbin0 -> 1500 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-08.cleanup.diff.gzbin0 -> 12347 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-09.svr4.diff.gzbin0 -> 304 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-10.ssh.diff.gzbin0 -> 253 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-11.mkstemp.diff.gzbin0 -> 419 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-12.stat64.diff.gzbin0 -> 963 bytes
-rw-r--r--source.local/n/rdist/rdist-6.1.5-14.fix-msgsndnotify-loop.diff.gzbin0 -> 462 bytes
-rw-r--r--source.local/n/rdist/rdist-eu-license.txt118
-rwxr-xr-xsource.local/n/rdist/rdist.SlackBuild128
-rw-r--r--source.local/n/rdist/slack-desc19
16 files changed, 265 insertions, 0 deletions
diff --git a/source.local/n/rdist/rdist-6.1.5-00.linux.diff.gz b/source.local/n/rdist/rdist-6.1.5-00.linux.diff.gz
new file mode 100644
index 0000000..ae25152
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-00.linux.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-01.links.diff.gz b/source.local/n/rdist/rdist-6.1.5-01.links.diff.gz
new file mode 100644
index 0000000..be8c7fd
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-01.links.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-03.hardlink.diff.gz b/source.local/n/rdist/rdist-6.1.5-03.hardlink.diff.gz
new file mode 100644
index 0000000..9059e7d
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-03.hardlink.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-04.bison.diff.gz b/source.local/n/rdist/rdist-6.1.5-04.bison.diff.gz
new file mode 100644
index 0000000..14cc16a
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-04.bison.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-05.varargs.diff.gz b/source.local/n/rdist/rdist-6.1.5-05.varargs.diff.gz
new file mode 100644
index 0000000..61d3e6c
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-05.varargs.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-06.maxargs.diff.gz b/source.local/n/rdist/rdist-6.1.5-06.maxargs.diff.gz
new file mode 100644
index 0000000..2bfaf3a
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-06.maxargs.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-07.lfs.diff.gz b/source.local/n/rdist/rdist-6.1.5-07.lfs.diff.gz
new file mode 100644
index 0000000..eec67ba
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-07.lfs.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-08.cleanup.diff.gz b/source.local/n/rdist/rdist-6.1.5-08.cleanup.diff.gz
new file mode 100644
index 0000000..3951c08
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-08.cleanup.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-09.svr4.diff.gz b/source.local/n/rdist/rdist-6.1.5-09.svr4.diff.gz
new file mode 100644
index 0000000..060bb13
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-09.svr4.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-10.ssh.diff.gz b/source.local/n/rdist/rdist-6.1.5-10.ssh.diff.gz
new file mode 100644
index 0000000..aac3d8d
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-10.ssh.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-11.mkstemp.diff.gz b/source.local/n/rdist/rdist-6.1.5-11.mkstemp.diff.gz
new file mode 100644
index 0000000..8d23177
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-11.mkstemp.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-12.stat64.diff.gz b/source.local/n/rdist/rdist-6.1.5-12.stat64.diff.gz
new file mode 100644
index 0000000..8e96531
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-12.stat64.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-6.1.5-14.fix-msgsndnotify-loop.diff.gz b/source.local/n/rdist/rdist-6.1.5-14.fix-msgsndnotify-loop.diff.gz
new file mode 100644
index 0000000..f7cea75
--- /dev/null
+++ b/source.local/n/rdist/rdist-6.1.5-14.fix-msgsndnotify-loop.diff.gz
Binary files differ
diff --git a/source.local/n/rdist/rdist-eu-license.txt b/source.local/n/rdist/rdist-eu-license.txt
new file mode 100644
index 0000000..7ae1591
--- /dev/null
+++ b/source.local/n/rdist/rdist-eu-license.txt
@@ -0,0 +1,118 @@
+ MagniComp - End User License Agreement
+
+ www.MagniComp.com
+
+ RDist Version 6.1
+
+ Version of This Document: 19990724
+
+GRANT.
+
+MagniComp grants you a non-exclusive license to use RDist version 6.1 and
+all subsequent versions called 6.1.X software (the "Software") free of
+charge.
+
+This license does not entitle you to hard-copy documentation, support or
+telephone assistance. MagniComp reserves the right at any time to alter
+prices, features, specifications, capabilities, functions, licensing terms,
+general availability of the Software.
+
+SCOPE OF GRANT.
+
+You may:
+
+ * use the Software in any way you wish on any computer regardless of
+ ownership of said computer;
+ * redistribute the Software in any form, including source and binary, to
+ any party with or without charging a fee;
+ * copy the Software for any purpose.
+
+You may not:
+
+ * remove or alter this notice;
+ * remove or alter any proprietary notices or labels on the Software.
+
+REQUIREMENTS.
+
+ * All advertising materials mentioning features or use of this software
+ must display the following acknowledgement:
+
+ This product includes software developed by MagniComp
+ (www.MagniComp.com) and its contributors.
+
+ * Redistributions in binary form must reproduce this copyright notice,
+ this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither name of MagniComp nor the names of its contributors may be used
+ to endorse or promote products derived from this software without
+ specific prior written permission.
+
+TITLE.
+
+Title, ownership rights, and intellectual property rights in the Software
+shall remain in MagniComp and/or its suppliers. The Software is protected by
+copyright and other intellectual property laws and by international
+treaties. Title and related rights in the content accessed through the
+Software is the property of the applicable content owner and may be
+protected by applicable law. This license gives you no rights to such
+content.
+
+TERMINATION.
+
+The license will terminate automatically if you fail to comply with the
+limitations described herein. Upon termination of this license, you agree to
+destroy all copies of the Software.
+
+DISCLAIMER OF WARRANTY.
+
+The Software is provided on an "AS IS" basis, without warranty of any kind,
+including without limitation the warranties of merchantability, fitness for
+a particular purpose and non-infringement. The entire risk as to the quality
+and performance of the Software is borne by you. Should the Software prove
+defective, you and not MagniComp or its suppliers assume the entire cost of
+any service and repair. In addition, the security mechanisms implemented by
+MagniComp software have inherent limitations, and you must determine that
+the Software sufficiently meets your requirements. This disclaimer of
+warranty constitutes an essential part of the agreement. SOME JURISDICTIONS
+DO NOT ALLOW EXCLUSIONS OF AN IMPLIED WARRANTY, SO THIS DISCLAIMER MAY NOT
+APPLY TO YOU AND YOU MAY HAVE OTHER LEGAL RIGHTS THAT VARY BY JURISDICTION.
+
+LIMITATION OF LIABILITY.
+
+UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT, OR
+OTHERWISE, SHALL MAGNICOMP OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR
+ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
+GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL
+OTHER COMMERCIAL DAMAGES OR LOSSES. IN NO EVENT WILL MAGNICOMP BE LIABLE FOR
+ANY DAMAGES, EVEN IF MAGNICOMP SHALL HAVE BEEN INFORMED OF THE POSSIBILITY
+OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. THIS LIMITATION OF
+LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY TO THE
+EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. FURTHERMORE, SOME
+JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
+CONSEQUENTIAL DAMAGES, SO THIS LIMITATION AND EXCLUSION MAY NOT APPLY TO
+YOU.
+
+HIGH RISK ACTIVITIES.
+
+The Software is not fault-tolerant and is not designed, manufactured or
+intended for use or resale as on-line control equipment in hazardous
+environments requiring fail-safe performance, such as in the operation of
+nuclear facilities, aircraft navigation or communication systems, air
+traffic control, direct life support machines, or weapons systems, in which
+the failure of the Software could lead directly to death, personal injury,
+or severe physical or environmental damage ("High Risk Activities").
+MagniComp and its suppliers specifically disclaim any express or implied
+warranty of fitness for High Risk Activities.
+
+MISCELLANEOUS.
+
+This Agreement represents the complete agreement concerning this license and
+may amended only by a writing executed by both parties. If any provision of
+this Agreement is held to be unenforceable, such provision shall be reformed
+only to the extent necessary to make it enforceable. This Agreement shall be
+governed by California law (except for conflict of law provisions). The
+application the United Nations Convention of Contracts for the International
+Sale of Goods is expressly excluded.
+
+ END
diff --git a/source.local/n/rdist/rdist.SlackBuild b/source.local/n/rdist/rdist.SlackBuild
new file mode 100755
index 0000000..48faca0
--- /dev/null
+++ b/source.local/n/rdist/rdist.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/sh
+# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# 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.
+
+# Modified 2012 by Eric Hameleers <alien at slackware.com> for ARM port.
+
+
+PKGNAM=rdist
+VERSION=${VERSION:-6.1.5}
+BUILD=${BUILD:-2}
+
+NUMJOBS=${NUMJOBS:-" -j7 "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+else
+ SLKCFLAGS="-O2"
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-${PKGNAM}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+
+rm -rf $PKGNAM-$VERSION
+tar xf $CWD/$PKGNAM-$VERSION.tar.gz || exit 1
+cd ${PKGNAM}-$VERSION || exit 1
+
+# Make sure ownerships and permissions are sane:
+chown -R root:root .
+find . -perm 666 -exec chmod 644 {} \;
+find . -perm 664 -exec chmod 644 {} \;
+find . -perm 600 -exec chmod 644 {} \;
+find . -perm 444 -exec chmod 644 {} \;
+find . -perm 400 -exec chmod 644 {} \;
+find . -perm 440 -exec chmod 644 {} \;
+find . -perm 777 -exec chmod 755 {} \;
+find . -perm 775 -exec chmod 755 {} \;
+find . -perm 511 -exec chmod 755 {} \;
+find . -perm 711 -exec chmod 755 {} \;
+find . -perm 555 -exec chmod 755 {} \;
+
+# Patch:
+for diff in $CWD/*.diff.gz ; do
+ zcat $diff | patch -p1 --verbose || exit 1
+done
+
+# Build:
+make $NUMJOBS || make || exit 1
+
+# Install:
+mkdir -p $PKG/usr/bin
+cp -a src/{rdist,rdistd} $PKG/usr/bin
+
+mkdir -p $PKG/usr/man/man1
+cat doc/rdist.man | gzip -9c > $PKG/usr/man/man1/rdist.1.gz
+cat doc/rdistd.man | gzip -9c > $PKG/usr/man/man1/rdistd.1.gz
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a \
+ $CWD/rdist-eu-license.txt Copyright README \
+ $PKG/usr/doc/$PKGNAM-$VERSION
+
+# Strip binaries:
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.?
+ )
+ done
+ )
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $TMP/package-${PKGNAM}
+/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
+
diff --git a/source.local/n/rdist/slack-desc b/source.local/n/rdist/slack-desc
new file mode 100644
index 0000000..b6e2fa7
--- /dev/null
+++ b/source.local/n/rdist/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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+rdist: rdist (remote file distribution program)
+rdist:
+rdist: Rdist is a remote file distribution program. It is used to maintain
+rdist: identical copies of files over multiple network hosts. It preserves
+rdist: the owner, group, mode, and mtime of files if possible and can update
+rdist: programs that are executing.
+rdist:
+rdist:
+rdist:
+rdist:
+rdist: