diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-02 05:46:25 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 16:25:42 +0700 |
commit | 1f78a6434461f3244fd15c3c9fca8f599352fecc (patch) | |
tree | 51455bca041cc5fdc24ebc5f447b09267b509587 | |
parent | 7f5944c546910b360990fa466317462eadd5baa2 (diff) |
network/openrdate: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/openrdate/README | 5 | ||||
-rw-r--r-- | network/openrdate/openrdate.SlackBuild | 87 | ||||
-rw-r--r-- | network/openrdate/openrdate.info | 10 | ||||
-rw-r--r-- | network/openrdate/slack-desc | 19 |
4 files changed, 0 insertions, 121 deletions
diff --git a/network/openrdate/README b/network/openrdate/README deleted file mode 100644 index a8ff621639df..000000000000 --- a/network/openrdate/README +++ /dev/null @@ -1,5 +0,0 @@ -Good-old rdate date- and time-setting software implementing RFC 868 -(inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package -of OpenBSD's rdate program. - -An alternative to netdate and ntpd/ntpdate. diff --git a/network/openrdate/openrdate.SlackBuild b/network/openrdate/openrdate.SlackBuild deleted file mode 100644 index 593e64b74cb2..000000000000 --- a/network/openrdate/openrdate.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash - -# Slackware build script for openrdate -# Written by slakmagik <slakmagik@gmail.com> -# Released under the WTFPL - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=openrdate -VERSION=${VERSION:-1.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -# I put this in sbin because, while an unprivileged user can do 'rdate -p -# SERVER', it's still a system management command and the manual's in 8, etc. -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --bindir=/usr/sbin \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -make -make DESTDIR=$PKG install-strip - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [ACINR]* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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 diff --git a/network/openrdate/openrdate.info b/network/openrdate/openrdate.info deleted file mode 100644 index 0d4ca6d7cb01..000000000000 --- a/network/openrdate/openrdate.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="openrdate" -VERSION="1.2" -HOMEPAGE="https://sourceforge.net/projects/openrdate/" -DOWNLOAD="https://downloads.sourceforge.net/openrdate/openrdate-1.2.tar.gz" -MD5SUM="ad9bd58e1fb7babc74d0a0a16a1248a2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="slakmagik" -EMAIL="slakmagik@gmail.com" diff --git a/network/openrdate/slack-desc b/network/openrdate/slack-desc deleted file mode 100644 index 53c44ee1e4ce..000000000000 --- a/network/openrdate/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -openrdate: openrdate (date/time printing/setting program) -openrdate: -openrdate: Good-old rdate date- and time-setting software implementing RFC -openrdate: 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent -openrdate: package of the OpenBSD's rdate program. -openrdate: -openrdate: Homepage: https://sourceforge.net/projects/openrdate/ -openrdate: -openrdate: -openrdate: -openrdate: |