summaryrefslogtreecommitdiff
path: root/net/bld/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/bld/files')
-rw-r--r--net/bld/files/bld.sh2
-rw-r--r--net/bld/files/patch-aa13
-rw-r--r--net/bld/files/patch-ab15
-rw-r--r--net/bld/files/patch-ac11
-rw-r--r--net/bld/files/patch-ad10
5 files changed, 50 insertions, 1 deletions
diff --git a/net/bld/files/bld.sh b/net/bld/files/bld.sh
index b0371b5de11b..de3f04256497 100644
--- a/net/bld/files/bld.sh
+++ b/net/bld/files/bld.sh
@@ -24,7 +24,7 @@ required_dirs=/var/run/bld
# set defaults
bld_enable=${bld_enable:-"NO"}
-bld_flags=${bld_flags:-""}
+bld_flags=${bld_flags:-"-u bld -g bld"}
load_rc_config $name
run_rc_command "$1"
diff --git a/net/bld/files/patch-aa b/net/bld/files/patch-aa
new file mode 100644
index 000000000000..738ccf3ef2e5
--- /dev/null
+++ b/net/bld/files/patch-aa
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Thu Oct 28 11:44:20 2004
++++ Makefile.in Thu Oct 28 11:44:43 2004
+@@ -49,6 +49,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) ] || 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
new file mode 100644
index 000000000000..00f3069fff0d
--- /dev/null
+++ b/net/bld/files/patch-ab
@@ -0,0 +1,15 @@
+--- bld.conf.sample.orig Thu Oct 28 12:52:25 2004
++++ bld.conf.sample Thu Oct 28 12:52:37 2004
+@@ -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
new file mode 100644
index 000000000000..17cde15f6c23
--- /dev/null
+++ b/net/bld/files/patch-ac
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Oct 28 12:13:49 2004
++++ Makefile.in Thu Oct 28 12:13:57 2004
+@@ -60,7 +60,7 @@
+ $(GZIP) -c bldsubmit.8 > $(DESTDIR)$(mandir)/man8/bldsubmit.8.gz
+ $(GZIP) -c bldinsert.8 > $(DESTDIR)$(mandir)/man8/bldinsert.8.gz
+ $(GZIP) -c blddecr.8 > $(DESTDIR)$(mandir)/man8/blddecr.8.gz
+- $(GZIP) -c bld-pf_policy.8 > $(DESTDIR)$(mandir)/man8/bld_pf_policy.8.gz
++ $(GZIP) -c bld-pf_policy.8 > $(DESTDIR)$(mandir)/man8/bld-pf_policy.8.gz
+ [ -d $(DESTDIR)$(mandir) ] || mkdir -p $(DESTDIR)$(mandir)/man5
+ $(GZIP) -c bld.conf.5 > $(DESTDIR)$(mandir)/man5/bld.conf.5.gz
+ $(GZIP) -c bld_acl.conf.5 > $(DESTDIR)$(mandir)/man5/bld_acl.conf.5.gz
diff --git a/net/bld/files/patch-ad b/net/bld/files/patch-ad
new file mode 100644
index 000000000000..a6c66f24ff92
--- /dev/null
+++ b/net/bld/files/patch-ad
@@ -0,0 +1,10 @@
+--- bld.conf.5.in.orig Thu Oct 28 12:06:07 2004
++++ bld.conf.5.in Thu Oct 28 12:06:13 2004
+@@ -56,7 +56,6 @@
+ You need to completely restart \fBbld\fR after any modification of this
+ file.
+ .SH FILES
+-.SH FILES
+ .PP
+ @sysconfdir@/bld.conf
+ .SH SEE ALSO