summaryrefslogtreecommitdiff
path: root/net/bld
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
commit39a5b78f8797ded2c50107a77794cd671dff707f (patch)
tree39f650e2e85c255908675444e0ce32d9639f251f /net/bld
parentRemove non staged ports without pending PR from net-im and net-mgmt (diff)
Remove non staged ports without pending PR from net-p2p, net and news
Notes
Notes: svn path=/head/; revision=366967
Diffstat (limited to 'net/bld')
-rw-r--r--net/bld/Makefile36
-rw-r--r--net/bld/distinfo2
-rw-r--r--net/bld/files/bld.in30
-rw-r--r--net/bld/files/patch-aa13
-rw-r--r--net/bld/files/patch-ab15
-rw-r--r--net/bld/files/patch-ac20
-rw-r--r--net/bld/pkg-descr15
-rw-r--r--net/bld/pkg-install136
-rw-r--r--net/bld/pkg-plist14
9 files changed, 0 insertions, 281 deletions
diff --git a/net/bld/Makefile b/net/bld/Makefile
deleted file mode 100644
index c82cb58eb649..000000000000
--- a/net/bld/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# Created by: ob
-# $FreeBSD$
-
-PORTNAME= bld
-PORTVERSION= 0.3.4
-CATEGORIES= net
-MASTER_SITES= http://www.online.redhate.org/bld/ \
- http://olivier.beyssac.googlepages.com/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Blacklisting daemon
-
-USE_RC_SUBR= bld
-MANCOMPRESSED= yes
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/bld
-PORTDOCS= README README.postfix
-MAN5= bld_whitelist.conf.5 bld_acl.conf.5 bld.conf.5
-MAN8= bldsubmit.8 bld.8 bldquery.8 bldread.8 bldinsert.8 blddecr.8 \
- bld-pf_policy.8 bld-pf_log.pl.8 bld-mrtg.pl.8 \
- bld-will_spam_for_food.pl.8
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-.endif
- ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.post.mk>
diff --git a/net/bld/distinfo b/net/bld/distinfo
deleted file mode 100644
index 03e9a039dae5..000000000000
--- a/net/bld/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bld-0.3.4.tar.gz) = 7a9726768ab0b75ce4b899ab8012f61bdf9926af741aafdc46876fbf496aa4a9
-SIZE (bld-0.3.4.tar.gz) = 74270
diff --git a/net/bld/files/bld.in b/net/bld/files/bld.in
deleted file mode 100644
index e8805d4739e9..000000000000
--- a/net/bld/files/bld.in
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: bld
-# REQUIRE: LOGIN
-# BEFORE: mail
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable bld:
-#
-#bld_enable="YES"
-#
-# See bld(8) for flags
-#
-
-. /etc/rc.subr
-
-name="bld"
-rcvar=bld_enable
-
-load_rc_config $name
-
-: ${bld_enable:-"NO"}
-: ${bld_flags:-"-u bld -g bld"}
-
-command="%%PREFIX%%/sbin/bld"
-extra_commands="reload"
-required_dirs=/var/run/bld
-
-run_rc_command "$1"
diff --git a/net/bld/files/patch-aa b/net/bld/files/patch-aa
deleted file mode 100644
index a1d4c0d8336b..000000000000
--- a/net/bld/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.in.orig Thu May 18 17:31:03 2006
-+++ Makefile.in Thu May 18 17:31:45 2006
-@@ -52,6 +52,10 @@
- && (cd $(DESTDIR)$(sbindir) && ln -s $(SUBMITNAME) $(INSERTNAME)) \
- && (cd $(DESTDIR)$(sbindir) && ln -s $(SUBMITNAME) $(DECRNAME))
- strip $(DESTDIR)$(sbindir)/$(SUBMITNAME)
-+ cp utils/bld-pf_policy.pl $(DESTDIR)/$(sbindir)
-+ cp utils/bld-pf_log.pl $(DESTDIR)/$(sbindir)
-+ [ -d $(DESTDIR)$(sysconfdir) ] || mkdir -p $(DESTDIR)$(sysconfdir)
-+ cp bld.conf.sample $(DESTDIR)/$(sysconfdir)
- [ -d $(DESTDIR)$(mandir)/man8 ] || mkdir -p $(DESTDIR)$(mandir)/man8
- $(GZIP) -c bld.8 > $(DESTDIR)$(mandir)/man8/bld.8.gz
- $(GZIP) -c bldread.8 > $(DESTDIR)$(mandir)/man8/bldread.8.gz
diff --git a/net/bld/files/patch-ab b/net/bld/files/patch-ab
deleted file mode 100644
index 4f18a4d2cb46..000000000000
--- a/net/bld/files/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
---- bld.conf.sample.orig Thu May 18 17:32:56 2006
-+++ bld.conf.sample Thu May 18 17:33:33 2006
-@@ -26,10 +26,10 @@
- #log_level=1
-
- ## User to run as
--#user=
-+#user=bld
-
- ## Group to run as
--#group=
-+#group=bld
-
- ## Client timeout
- #client_timeout=60
diff --git a/net/bld/files/patch-ac b/net/bld/files/patch-ac
deleted file mode 100644
index 65667ad83db2..000000000000
--- a/net/bld/files/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Fix build on 4.x reorganizing #include headers
-#
-
---- client.c.orig Wed May 31 14:23:30 2006
-+++ client.c Wed May 31 14:23:45 2006
-@@ -24,11 +24,12 @@
- * SUCH DAMAGE.
- *
- */
-+#include <stdio.h>
-+#include <unistd.h>
- #include <ctype.h>
- #include <sys/select.h>
- #include <sys/time.h>
- #include <sys/types.h>
--#include <unistd.h>
- #include <string.h>
- #include <errno.h>
- #include "options.h"
diff --git a/net/bld/pkg-descr b/net/bld/pkg-descr
deleted file mode 100644
index 57df966e5c53..000000000000
--- a/net/bld/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-BLD stands for "blacklist daemon" and is intended to serve a
-blacklist. The blacklist is built by simply inserting IP addresses
-or by using submission rate limits based on a maximum number of
-submissions of the same IP address within a minimum time interval.
-You can build a BLD cluster by configuring the daemon to notify
-other similar daemon(s) every time an IP address is added to the
-blacklist. BLD was primarily designed to fight against dictionnary-based
-spams (by making the MTA report to BLD any host that tries to send
-a mail to an unknown user) but can be used by any program.
-
-See homepage for more infos:
-
-WWW: http://www.online.redhate.org/bld/
-
-Olivier Beyssac <obld@r14.freenix.org>
diff --git a/net/bld/pkg-install b/net/bld/pkg-install
deleted file mode 100644
index fbd5350d4787..000000000000
--- a/net/bld/pkg-install
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/bin/sh
-
-if [ $2 != "POST-INSTALL" ]
- then
- exit
-fi
-
-varrun=/var/run/bld
-logfile=/var/log/bld.log
-user=bld
-group=bld
-newsyslog_conf=/etc/newsyslog.conf
-syslog_conf=/etc/syslog.conf
-syslog_pid=/var/run/syslog.pid
-nonexistent=/nonexistent
-
-ask() {
- local question default answer
-
- question=$1
- default=$2
- if [ -z "${PACKAGE_BUILDING}" ]; then
- read -p "${question} [${default}]? " answer
- fi
- if [ x${answer} = x ]; then
- answer=${default}
- fi
- echo ${answer}
-}
-
-yesno() {
- local dflt question answer
-
- question=$1
- dflt=$2
- while :; do
- answer=$(ask "${question}" "${dflt}")
- case "${answer}" in
- [Yy]*) return 0;;
-[Nn]*) return 1;;
-esac
-echo "Please answer yes or no."
-done
-}
-
-make_account() {
- local u g gcos homeopt home
-
- u=$1
- g=$2
- gcos=$3
- homeopt=${4:+"-d $4"}
-
- if pw group show "${g}" >/dev/null 2>&1; then
- echo "You already have a group \"${g}\", so I will use it."
- else
- echo "You need a group \"${g}\"."
- pw groupadd ${g} || exit
- echo "Done."
- fi
-
- if pw user show "${u}" >/dev/null 2>&1; then
- echo "You already have a user \"${u}\", so I will use it."
- else
- echo "You need a user \"${u}\"."
- pw useradd ${u} -g ${g} -h - ${homeopt} \
- -s $nonexistent -c "${gcos}" || exit
- echo "Done."
- fi
-
- if [ x"$homeopt" = x ]; then
- eval home=~${u}
- if [ ! -d "${home}" ]; then
- mkdir -p ${home}/.cvsup || exit
- touch ${home}/.cvsup/auth || exit
- chown -R ${u}:${g} ${home} || exit
- chmod -R go= ${home} || exit
- fi
- fi
-}
-
-if [ ! -d "${varrun}" ]
- then
- mkdir ${varrun} || exit
-fi
-
-echo ""
-make_account ${user} ${group} "Blacklist Daemon" "$nonexistent"
-chmod 700 ${varrun}
-chown bld ${varrun}
-
-if grep -q "^[^#]*${facility}.*$logfile" $syslog_conf; then
- echo -n "It looks like you already have some logging set up, so I "
- echo "will use it."
-else
- echo "Setting up server logging in \"$syslog_conf\"."
- cat <<EOF >>$syslog_conf
-!bld
-*.* $logfile
-EOF
-
-if [ ! -f $logfile ]; then
- echo "Creating \"$logfile\"."
- cp /dev/null $logfile
-fi
-
-if [ -f $syslog_pid ]; then
- echo "Giving syslogd a kick in the pants."
- kill -HUP $(cat $syslog_pid)
-fi
-
-echo "Adding bld log entry to \"$newsyslog_conf\"."
-cat <<EOF >>$newsyslog_conf
-$logfile 664 7 * 24 Z
-EOF
-echo "Done."
-fi
-
-# Compatibility from v0.2.4 port
-for i in bld_acl.conf bld_whitelist.conf
-do
- if [ -f ${PKG_PREFIX}/etc/$i ]
- then
- if [ -f ${PKG_PREFIX}/etc/bld/$i ]
- then
- echo "WARNING: You have a $i configuration file in two directories:"
- echo "${PKG_PREFIX}/etc and ${PKG_PREFIX}/etc/bld"
- echo "You must use ${PREFIX}/etc/bld/$i"
- else
- echo "You seem to have a $i configuration file in ${PKG_PREFIX}/etc"
- echo "Copying it to ${PKG_PREFIX}/etc/bld"
- cp ${PKG_PREFIX}/etc/$i ${PKG_PREFIX}/etc/bld
- echo "You should clean the old ${PKG_PREFIX}/etc/$i"
- fi
- fi
-done
diff --git a/net/bld/pkg-plist b/net/bld/pkg-plist
deleted file mode 100644
index 1558e19c0a8b..000000000000
--- a/net/bld/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-sbin/bld
-sbin/bldsubmit
-sbin/bldread
-sbin/bldquery
-sbin/bldinsert
-sbin/blddecr
-sbin/bld-mrtg.pl
-sbin/bld-pf_policy
-sbin/bld-pf_policy.pl
-sbin/bld-pf_log.pl
-sbin/bld-will_spam_for_food.pl
-etc/bld/bld.conf.sample
-@dirrmtry etc/bld
-@dirrmtry /var/run/bld