From 780c6943a41428ff6ff0a10dcb2df62d03c5056f Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 14 Mar 2011 16:14:56 -0500 Subject: network/nmh: Removed (unmaintained) Signed-off-by: Niels Horn Signed-off-by: Heinz Wiesinger Signed-off-by: Robby Workman --- network/nmh/README | 10 ----- network/nmh/doinst.sh | 13 ------- network/nmh/nmh.SlackBuild | 96 ---------------------------------------------- network/nmh/nmh.info | 10 ----- network/nmh/slack-desc | 19 --------- 5 files changed, 148 deletions(-) delete mode 100644 network/nmh/README delete mode 100644 network/nmh/doinst.sh delete mode 100644 network/nmh/nmh.SlackBuild delete mode 100644 network/nmh/nmh.info delete mode 100644 network/nmh/slack-desc (limited to 'network') diff --git a/network/nmh/README b/network/nmh/README deleted file mode 100644 index 1e3d2a5830..0000000000 --- a/network/nmh/README +++ /dev/null @@ -1,10 +0,0 @@ -nmh (new MH) is a powerful electronic mail handling system. nmh -consists of a collection of fairly simple single-purpose programs -to send, receive, save, retrieve, and manipulate e-mail -messages. Since nmh is a suite rather than a single monolithic -program, you may freely intersperse nmh commands with other -commands at your shell prompt, or write custom scripts which use -these commands in flexible ways. - -This build includes configure options for setting up nmh with GNU -Emacs' MH-E frontend. diff --git a/network/nmh/doinst.sh b/network/nmh/doinst.sh deleted file mode 100644 index 19a6ff6ac8..0000000000 --- a/network/nmh/doinst.sh +++ /dev/null @@ -1,13 +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... -} - diff --git a/network/nmh/nmh.SlackBuild b/network/nmh/nmh.SlackBuild deleted file mode 100644 index 8cd985e43f..0000000000 --- a/network/nmh/nmh.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# SlackBuild for New MH System (nmh) -# Joel J. Adamson - -PRGNAM=nmh -VERSION=1.3 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -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 -rm -rf $TMP/$PRGNAM-$VERSION -cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -CFLAGS="$SLKCFLAGS" \ - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc/nmh \ - --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --with-perl=/usr/bin/perl \ - --enable-mhe \ - --with-editor=emacsclient \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - INSTALL README COPYRIGHT DATE MACHINES docs/ \ - $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -# Let's not clobber config files -( cd $PKG/etc/nmh - for i in * ; do - mv $i $i.new - printf "config etc/nmh/$i.new\n" >> $PKG/install/doinst.sh - done - printf "\n" >> $PKG/install/doinst.sh -) - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/nmh/nmh.info b/network/nmh/nmh.info deleted file mode 100644 index 3265993d02..0000000000 --- a/network/nmh/nmh.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="nmh" -VERSION="1.3" -HOMEPAGE="http://www.nongnu.org/nmh/" -DOWNLOAD="http://download.savannah.nongnu.org/releases/nmh/nmh-1.3.tar.gz" -MD5SUM="a52d1f93e780d7a045207451ce6c9a4e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Joel J. Adamson" -EMAIL="adamsonj@email.unc.edu" -APPROVED="rworkman" diff --git a/network/nmh/slack-desc b/network/nmh/slack-desc deleted file mode 100644 index d8d22ee305..0000000000 --- a/network/nmh/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 ':'. - - |-----handy-ruler-------------------------------------------------------| -nmh: nmh (The New Message Handler) -nmh: -nmh: nmh (new MH) is a powerful electronic mail handling system. nmh -nmh: consists of a collection of fairly simple single-purpose programs -nmh: to send, receive, save, retrieve, and manipulate e-mail -nmh: messages. Since nmh is a suite rather than a single monolithic -nmh: program, you may freely intersperse nmh commands with other -nmh: commands at your shell prompt, or write custom scripts which use -nmh: these commands in flexible ways. -nmh: -nmh: http://www.nongnu.org/nmh/ -- cgit v1.2.3-80-g2a13