aboutsummaryrefslogtreecommitdiff
path: root/net/generic-nqs/files
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
commitcad6c0c117fe4b1c6ae18dda6a02174a31dc4295 (patch)
treef8a77505ed450af8911e77789464145b2a168e9d /net/generic-nqs/files
parent1f6bb5e181d242a9ae47ad78923cda699ee5a9b1 (diff)
downloadports-cad6c0c117fe4b1c6ae18dda6a02174a31dc4295.tar.gz
ports-cad6c0c117fe4b1c6ae18dda6a02174a31dc4295.zip
Notes
Diffstat (limited to 'net/generic-nqs/files')
-rw-r--r--net/generic-nqs/files/Makefile15
-rw-r--r--net/generic-nqs/files/i386-unknown-freebsd2.2.618
-rw-r--r--net/generic-nqs/files/nqs.sh6
-rw-r--r--net/generic-nqs/files/patch-aa19
-rw-r--r--net/generic-nqs/files/patch-ab21
-rw-r--r--net/generic-nqs/files/patch-ac24
6 files changed, 103 insertions, 0 deletions
diff --git a/net/generic-nqs/files/Makefile b/net/generic-nqs/files/Makefile
new file mode 100644
index 000000000000..4141ae41d968
--- /dev/null
+++ b/net/generic-nqs/files/Makefile
@@ -0,0 +1,15 @@
+#
+#
+
+HOSTNAME= `uname -n`
+RELEASE= `uname -r | cut -d'-' -f 1`
+HARDWARE= `uname -m`
+PLATFORM= ${HARDWARE}-unknown-freebsd${RELEASE}
+
+all:
+ @ cd Build-Tree/${PLATFORM}/${HOSTNAME}; \
+ $(MAKE)
+
+install:
+ @ cd Build-Tree/${PLATFORM}/${HOSTNAME}; \
+ $(MAKE) install
diff --git a/net/generic-nqs/files/i386-unknown-freebsd2.2.6 b/net/generic-nqs/files/i386-unknown-freebsd2.2.6
new file mode 100644
index 000000000000..508756bfd079
--- /dev/null
+++ b/net/generic-nqs/files/i386-unknown-freebsd2.2.6
@@ -0,0 +1,18 @@
+# -*- sh -*-
+#
+# PLATFORM DESCRIPTION FILE
+
+C_COMPILER "cc"
+C_COMPILER_FLAGS_OPTIMISE "${CFLAGS}"
+C_COMPILER_FLAGS_DEBUG ""
+C_COMPILER_FLAGS_COMMON ""
+C_COMPILER_FLAGS_INCLUDE ""
+
+CONFIG_MACHINE "i386-unknown-freebsd2.2.6"
+PREFERED_API "BSD"
+PLATFORM_FLAGS "-DBSD4_4 -DHAS_BSD_LIMITS -DHAS_BSD_ZOMBIES -DIS_BSD -DIS_BSD4_4 -DHAS_RLIM_T -DHAS_BSD_PIPE"
+
+LINKER "cc -s"
+AR "ar cr"
+RANLIB "ranlib"
+MKDIR "bin/mkdir -p"
diff --git a/net/generic-nqs/files/nqs.sh b/net/generic-nqs/files/nqs.sh
new file mode 100644
index 000000000000..594a56771dbe
--- /dev/null
+++ b/net/generic-nqs/files/nqs.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -x XXXX/sbin/nqsdaemon ] ; then
+ XXXX/sbin/nqsdaemon > /var/log/nqs.log
+ echo -n ' nqs'
+fi
diff --git a/net/generic-nqs/files/patch-aa b/net/generic-nqs/files/patch-aa
new file mode 100644
index 000000000000..a2ce072c8d24
--- /dev/null
+++ b/net/generic-nqs/files/patch-aa
@@ -0,0 +1,19 @@
+--- Source-Tree/qmgr/all-systems/mgr_main.c.orig Mon Sep 9 08:24:58 1996
++++ Source-Tree/qmgr/all-systems/mgr_main.c Sat May 2 11:09:26 1998
+@@ -502,14 +502,14 @@
+ * On systems with named pipes, we get a pipe to the local
+ * daemon automatically the first time we call inter().
+ */
+-#if IS_POSIX_1 | IS_SYSVr4 | IS_BSD4_4
+-#else
+ #if IS_BSD
+ if (interconn () < 0) {
+ fprintf (stderr, "%s(FATAL): Unable to get ", Nqsmgr_prefix);
+ fprintf (stderr, "a pipe to the local daemon.\n");
+ exit (16);
+ }
++#else
++#if IS_POSIX_1 | IS_SYSVr4 | IS_BSD4_4
+ #else
+ BAD SYSTEM TYPE
+ #endif
diff --git a/net/generic-nqs/files/patch-ab b/net/generic-nqs/files/patch-ab
new file mode 100644
index 000000000000..4b20f2d6afda
--- /dev/null
+++ b/net/generic-nqs/files/patch-ab
@@ -0,0 +1,21 @@
+--- Source-Tree/nqsdaemon/all-systems/nqs_reqser.c.orig Wed Sep 11 05:32:26 1996
++++ Source-Tree/nqsdaemon/all-systems/nqs_reqser.c Sat May 2 11:09:26 1998
+@@ -1746,7 +1746,7 @@
+ char *cp;
+
+ environment_file = fopen("/etc/environment", "r");
+- if ( environment_file != (FILE *) 0 ) {
++ if ( environment_file > (FILE *) 0 ) {
+ while ( (fgets (env_line, sizeof(env_line), environment_file )
+ != (char *) 0) ) {
+ if (env_line[0] == '#') continue;
+@@ -1758,8 +1758,8 @@
+ return (the_path);
+ }
+ }
++ fclose ( environment_file );
+ }
+- fclose ( environment_file );
+ /*
+ * The file was not found, or the path was not in it.
+ */
diff --git a/net/generic-nqs/files/patch-ac b/net/generic-nqs/files/patch-ac
new file mode 100644
index 000000000000..40756fa3bbad
--- /dev/null
+++ b/net/generic-nqs/files/patch-ac
@@ -0,0 +1,24 @@
+--- SETUPDir/Scripts/SETUP.orig Sat May 2 14:46:05 1998
++++ SETUPDir/Scripts/SETUP Sat May 2 14:53:14 1998
+@@ -911,6 +911,21 @@
+ StepFour
+ StepFive
+ ;;
++ --fbconfig)
++ LoadMachineDesc
++ Introduction
++ StepOne
++ StepTwo
++ StepThree
++ ;;
++ --fbcompile)
++ LoadMachineDesc
++ StepFour
++ ;;
++ -fbinstall)
++ LoadMachineDesc
++ StepFive
++ ;;
+ *)
+ LoadMachineDesc
+ Introduction