summaryrefslogtreecommitdiffstats
path: root/network/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'network/krb5')
-rw-r--r--network/krb5/EXPORT13
-rw-r--r--network/krb5/README10
-rw-r--r--network/krb5/README.krb552
-rw-r--r--network/krb5/doinst.sh26
-rw-r--r--network/krb5/krb5.SlackBuild115
-rw-r--r--network/krb5/krb5.info10
-rw-r--r--network/krb5/rc.kadmind54
-rw-r--r--network/krb5/rc.krb5kdc54
-rw-r--r--network/krb5/slack-desc19
9 files changed, 0 insertions, 353 deletions
diff --git a/network/krb5/EXPORT b/network/krb5/EXPORT
deleted file mode 100644
index d868a9e27e..0000000000
--- a/network/krb5/EXPORT
+++ /dev/null
@@ -1,13 +0,0 @@
-EXPORT LAW WARNINGS:
-
- * Export of this software from the United States of America may be
-subject to the Export Administration Regulations of the United States
-Department of Commerce, currently (October 2003) codified as Title 15
-CFR Parts 730-774.
- * You are responsible for complying with all applicable export
-regulations, including obtaining an export license if required.
- * You may not download this software if you are located in, or are
-a citizen or national of, any country for which the US government
-prohibits the export of encryption source code, currently (October
-2003) Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria. (15 CFR
-Sections 734(b)(3), 740.13(e)(4))
diff --git a/network/krb5/README b/network/krb5/README
deleted file mode 100644
index 2058088316..0000000000
--- a/network/krb5/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Kerberos is a network authentication protocol. It is designed to
-provide strong authentication for client/server applications by using
-secret-key cryptography. A free implementation of this protocol is
-available from the Massachusetts Institute of Technology. Kerberos is
-available in many commercial products as well.
-
-Note:
-We provide 2 RC scripts that you can use for your own usage:
-- rc.kadmind: Kerberos KADM5 administration server init script
-- rc.krb5kdc: Kerberos V5 KDC init script
diff --git a/network/krb5/README.krb5 b/network/krb5/README.krb5
deleted file mode 100644
index 72c522b6a7..0000000000
--- a/network/krb5/README.krb5
+++ /dev/null
@@ -1,52 +0,0 @@
-Kerberos is a network authentication protocol. It is designed to
-provide strong authentication for client/server applications by using
-secret-key cryptography. A free implementation of this protocol is
-available from the Massachusetts Institute of Technology. Kerberos is
-available in many commercial products as well.
-
-The Internet is an insecure place. Many of the protocols used in the
-Internet do not provide any security. Tools to "sniff" passwords off
-of the network are in common use by malicious hackers. Thus,
-applications which send an unencrypted password over the network are
-extremely vulnerable. Worse yet, other client/server applications rely
-on the client program to be "honest" about the identity of the user
-who is using it. Other applications rely on the client to restrict its
-activities to those which it is allowed to do, with no other
-enforcement by the server.
-
-Some sites attempt to use firewalls to solve their network security
-problems. Unfortunately, firewalls assume that "the bad guys" are on
-the outside, which is often a very bad assumption. Most of the really
-damaging incidents of computer crime are carried out by insiders.
-Firewalls also have a significant disadvantage in that they restrict
-how your users can use the Internet. (After all, firewalls are simply
-a less extreme example of the dictum that there is nothing more secure
-then a computer which is not connected to the network --- and powered
-off!) In many places, these restrictions are simply unrealistic and
-unacceptable.
-
-Kerberos was created by MIT as a solution to these network security
-problems. The Kerberos protocol uses strong cryptography so that a
-client can prove its identity to a server (and vice versa) across an
-insecure network connection. After a client and server has used
-Kerberos to prove their identity, they can also encrypt all of their
-communications to assure privacy and data integrity as they go about
-their business.
-
-Kerberos is freely available from MIT, under copyright permissions
-very similar those used for the BSD operating system and the X Window
-System. MIT provides Kerberos in source form so that anyone who wishes
-to use it may look over the code for themselves and assure themselves
-that the code is trustworthy. In addition, for those who prefer to
-rely on a professionally supported product, Kerberos is available as a
-product from many different vendors.
-
-In summary, Kerberos is a solution to your network security problems.
-It provides the tools of authentication and strong cryptography over
-the network to help you secure your information systems across your
-entire enterprise. We hope you find Kerberos as useful as it has been
-to us. At MIT, Kerberos has been invaluable to our
-Information/Technology architecture.
-
-Additional information is available from the MIT Kerberos website:
-http://web.mit.edu/kerberos/
diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh
deleted file mode 100644
index db0a05b7e2..0000000000
--- a/network/krb5/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
- if [ -e ${OLD} ]; then
- cp -a ${OLD} ${NEW}.incoming
- cat ${NEW} > ${NEW}.incoming
- mv ${NEW}.incoming ${NEW}
- fi
- config ${NEW}
-}
-
-preserve_perms etc/rc.d/rc.krb5kdc.new
-preserve_perms etc/rc.d/rc.kadmind.new
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
deleted file mode 100644
index b3b262d2d8..0000000000
--- a/network/krb5/krb5.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for krb5
-
-# Copyright (c) 2009, Tom Canich, State College, Pennsylvania, USA
-# Copyright 2015-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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=krb5
-VERSION=${VERSION:-1.18.2}
-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
-
-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
-
-sed -i "/KRB5ROOT=/s/\/local//" src/util/ac_check_krb5.m4
-
-cd src
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-CPPFLAGS+=" -I/usr/include/et" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-dns-for-realm \
- --with-ldap \
- --with-system-et \
- --with-system-ss \
- --enable-pkinit \
- --with-tls-impl=openssl \
- --with-system-verto=no \
- --with-prng-alg=os \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-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
-
-# Add init scripts
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.krb5kdc > $PKG/etc/rc.d/rc.krb5kdc.new
-cat $CWD/rc.kadmind > $PKG/etc/rc.d/rc.kadmind.new
-
-rm -rf $PKG/usr/man/cat{1,5,8}
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/README $CWD/README.krb5 $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chown -R root:root $PKG/usr/doc
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/krb5/krb5.info b/network/krb5/krb5.info
deleted file mode 100644
index 4b1ee9202e..0000000000
--- a/network/krb5/krb5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="krb5"
-VERSION="1.18.2"
-HOMEPAGE="http://web.mit.edu/kerberos/"
-DOWNLOAD="http://web.mit.edu/kerberos/dist/krb5/1.18/krb5-1.18.2.tar.gz"
-MD5SUM="fd9087eaa43589a2480c2e22da91a17e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/network/krb5/rc.kadmind b/network/krb5/rc.kadmind
deleted file mode 100644
index 5a5633f1ee..0000000000
--- a/network/krb5/rc.kadmind
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Kerberos KADM5 administration server init script
-#
-# Copyright (C) 2017 Jason Graham <jgraha8@gmail.com>
-#
-
-# Start kadmind:
-kadmind_start() {
- CMDLINE="/usr/sbin/kadmind"
- echo -n "Starting kadmind: $CMDLINE"
- $CMDLINE
- echo
-}
-
-# Stop kadmind:
-kadmind_stop() {
- echo "Stopping kadmind..."
- killall -e -q kadmind
-}
-
-# Restart kadmind:
-kadmind_restart() {
- kadmind_stop
- sleep 1
- kadmind_start
-}
-
-# Check if kadmind is running
-kadmind_status() {
- if [ ! -z "$(ps -e -o command | grep -E -w [/]usr/sbin/kadmind)" ]; then
- echo "kadmind is running."
- else
- echo "kadmind is stopped."
- exit 1
- fi
-}
-
-case "$1" in
- 'start')
- kadmind_start
- ;;
- 'stop')
- kadmind_stop
- ;;
- 'restart')
- kadmind_restart
- ;;
- 'status')
- kadmind_status
- ;;
- *)
- echo "usage $0 start|stop|restart|status"
-esac
diff --git a/network/krb5/rc.krb5kdc b/network/krb5/rc.krb5kdc
deleted file mode 100644
index 6829e12ab5..0000000000
--- a/network/krb5/rc.krb5kdc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Kerberos V5 KDC init script
-#
-# Copyright (C) 2017 Jason Graham <jgraha8@gmail.com>
-#
-
-# Start krb5kdc:
-krb5kdc_start() {
- CMDLINE="/usr/sbin/krb5kdc"
- echo -n "Starting krb5kdc: $CMDLINE"
- $CMDLINE
- echo
-}
-
-# Stop krb5kdc:
-krb5kdc_stop() {
- echo "Stopping krb5kdc..."
- killall -e -q krb5kdc
-}
-
-# Restart krb5kdc:
-krb5kdc_restart() {
- krb5kdc_stop
- sleep 1
- krb5kdc_start
-}
-
-# Check if krb5kdc is running
-krb5kdc_status() {
- if [ ! -z "$(ps -e -o command | grep -E -w [/]usr/sbin/krb5kdc)" ]; then
- echo "krb5kdc is running."
- else
- echo "krb5kdc is stopped."
- exit 1
- fi
-}
-
-case "$1" in
- 'start')
- krb5kdc_start
- ;;
- 'stop')
- krb5kdc_stop
- ;;
- 'restart')
- krb5kdc_restart
- ;;
- 'status')
- krb5kdc_status
- ;;
- *)
- echo "usage $0 start|stop|restart|status"
-esac
diff --git a/network/krb5/slack-desc b/network/krb5/slack-desc
deleted file mode 100644
index 6b5ce3e43e..0000000000
--- a/network/krb5/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------------------------------------------------------|
-krb5: krb5 (network authentication protocol)
-krb5:
-krb5: Kerberos is a network authentication protocol. It is designed to
-krb5: provide strong authentication for client/server applications by using
-krb5: secret-key cryptography. A free implementation of this protocol is
-krb5: available from the Massachusetts Institute of Technology. Kerberos is
-krb5: available in many commercial products as well.
-krb5:
-krb5: Homepage: http://web.mit.edu/kerberos/
-krb5:
-krb5: