diff options
Diffstat (limited to 'net/generic-nqs')
-rw-r--r-- | net/generic-nqs/Makefile | 145 | ||||
-rw-r--r-- | net/generic-nqs/distinfo | 2 | ||||
-rw-r--r-- | net/generic-nqs/files/Makefile | 15 | ||||
-rw-r--r-- | net/generic-nqs/files/i386-unknown-freebsd2.2.6 | 18 | ||||
-rw-r--r-- | net/generic-nqs/files/nqs.sh | 35 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-aa | 19 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ac | 24 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ad | 31 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ae | 19 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-af | 130 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ag | 31 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ah | 19 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ai | 17 | ||||
-rw-r--r-- | net/generic-nqs/pkg-descr | 7 | ||||
-rw-r--r-- | net/generic-nqs/pkg-plist | 40 | ||||
-rw-r--r-- | net/generic-nqs/scripts/create-example-batch-queues | 24 | ||||
-rw-r--r-- | net/generic-nqs/scripts/create-nqs-rc.sh | 18 | ||||
-rw-r--r-- | net/generic-nqs/scripts/fix-PLIST.mktmp.sh | 21 | ||||
-rw-r--r-- | net/generic-nqs/scripts/syslog-add.sh | 12 |
19 files changed, 0 insertions, 627 deletions
diff --git a/net/generic-nqs/Makefile b/net/generic-nqs/Makefile deleted file mode 100644 index dea8befc6d4b..000000000000 --- a/net/generic-nqs/Makefile +++ /dev/null @@ -1,145 +0,0 @@ -# New ports collection makefile for: nqs (Generic NQS) -# Date created: 01 May 1998 -# Whom: tonym -# -# $FreeBSD$ -# -# View this file with tabstop=4 -# - -PORTNAME= Generic-NQS -PORTVERSION= 3.50.9 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= fenner - -MAINTAINER= ports@FreeBSD.org -COMMENT= Generic Network Queuing System - -DEPRECATED= Upstream disapear and distfile is no more available -EXPIRATION_DATE= 2011-05-01 - -USE_BZIP2= yes -IS_INTERACTIVE= yes -NO_PACKAGE= have to build on site due to the descriptors created in\ - /var/spool/nqs (default location) and the configuration\ - procedure - -# -# NQS gets configured, built and installed via its own SETUP script -# -# can call with --config, --compile or --install (in that order) -# and provided the previous steps have been done and it then goes thru -# everything from the called argument -# -# In order to fit in with the FreeBSD ports, modified SETUP so it has -# 3 new targets --fbconfig, --fbcompile, --fbinstall -# these differ in that they only do the current stage and *not* everything -# from there on in -# - -HOSTNAME= `uname -n` -RELEASE= `uname -r | cut -d'-' -f 1` -HARDWARE= `uname -m` - -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= SETUP -CONFIGURE_ARGS= --fbconfig - -# -# In the files directory we have: -# - -DUMMYMAKE= Makefile -STARTUP= nqs.sh -TEMPLATE= i386-unknown-freebsd2.2.6 - -# -# We rename TEMPLATE (which is known to work for 2.2.6 up to and including -# 4.0 current Mar 07) to the release number of this machine. -# Maybe this is a mistake. NQS will auto generate a file from a similar -# Platorm description file, but you would have to run make twice -# in this case. -# - -PLATFORMDIR=${WRKSRC}/SETUPDir/Platforms -PLATFORM= ${HARDWARE}-unknown-freebsd${RELEASE} - -# -# NQS configure generates a config file in -# Build-Tree/${PLATFORM}/${HOSTNAME}/SETUP/General.h -# We can use this to extract what was actually configured such as -# where the nqsdaemon resides. We just want the NQS_ROOTDIR -# out of it for the post-install when we put in system startup file. -# - -CONFIGFILE= ${WRKSRC}/Build-Tree/${PLATFORM}/${HOSTNAME}/SETUP/General.h -MANDIR= ${WRKSRC}/Source-Tree/man/man1/all-systems -RCDIR= ${PREFIX}/etc/rc.d -SYSINST= ${SCRIPTDIR}/create-nqs-rc.sh -SYSLOGFIX= ${SCRIPTDIR}/syslog-add.sh -PLISTFIX= ${SCRIPTDIR}/fix-PLIST.mktmp.sh -CREATEQ= ${SCRIPTDIR}/create-example-batch-queues - -MAN1= nmapmgr.1 nqs.1 nqsconfig.1 nqsgs.1 nqsrn.1\ - qacct.1 qalter.1 qcat.1 qcmplx.1 qdel.1 qdev.1\ - qhold.1 qjob.1 qlimit.1 qmgr.1m qmsg.1 qpr.1\ - qresume.1 qrls.1 qstat.1 qstatc.1 qsub.1 qsuspend.1 -# -# Thus ends the definitions -# - -# -# Ok get a working platform description file in there. -# We need a dummy top level Makefile as NQS will put its Makefile -# in Build-Tree/${PLATFORM}/${HOSTNAME} -# Need to have the SETUP scripts executable. -# Remove the dross *.man files qcat.man and list_nqs_queues.man -# Rename man page to fit BSD extensions -# - -post-patch: - @${MV} ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh \ - ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig ; \ - ${SED} -e 's|-O6 -fno-strength-reduce|${CFLAGS}|' \ - ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig \ - > ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh - @${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#;' `${FIND} ${WRKSRC} -type f` - -pre-configure: - @ ${SED} -e 's|XX_CFLAGS_XX|${CFLAGS}|' ${FILESDIR}/${TEMPLATE} > ${PLATFORMDIR}/${PLATFORM}; \ - ${CP} ${FILESDIR}/${DUMMYMAKE} ${WRKSRC}; \ - ${CHMOD} 555 ${WRKSRC}/Source-Tree/SETUP/all-systems/* - ${RM} -f ${MANDIR}/*.man ; \ - ${MV} ${MANDIR}/nmapmgr.1m ${MANDIR}/nmapmgr.1 - -# -# Install system boot startup file but need to find out exactly where -# the nqs stuff was installed as this is set in nqs' own install script -# Modify syslog.conf to handle nqs -# - -post-install: - @ ${STRIP_CMD} ${PREFIX}/sbin/loaddaemon ${PREFIX}/sbin/finish_autoinst \ - ${PREFIX}/sbin/lpserver ${PREFIX}/sbin/netclient \ - ${PREFIX}/sbin/netdaemon ${PREFIX}/sbin/netserver \ - ${PREFIX}/sbin/nqsdaemon ${PREFIX}/sbin/nqsexejob \ - ${PREFIX}/sbin/nqsmkdirs ${PREFIX}/sbin/nqsmkfile \ - ${PREFIX}/sbin/nqsmktrans ${PREFIX}/sbin/nqssetargv \ - ${PREFIX}/sbin/pipeclient ${PREFIX}/sbin/shlexefai; \ - ${STRIP_CMD} ${PREFIX}/bin/nmapmgr ${PREFIX}/bin/qacct \ - ${PREFIX}/bin/qalter ${PREFIX}/bin/qcat \ - ${PREFIX}/bin/qdel ${PREFIX}/bin/qdev \ - ${PREFIX}/bin/qhold ${PREFIX}/bin/qlimit \ - ${PREFIX}/bin/qmgr ${PREFIX}/bin/qmsg \ - ${PREFIX}/bin/qpr ${PREFIX}/bin/qrls \ - ${PREFIX}/bin/qstat ${PREFIX}/bin/qsub \ - ${PREFIX}/bin/qsuspend; \ - ${SH} ${SYSINST} ${CONFIGFILE} ${FILESDIR}/${STARTUP} ${RCDIR}/${STARTUP}; \ - ${SH} ${SYSLOGFIX}; \ - ${SH} ${PLISTFIX} ${CONFIGFILE} ${WRKDIR}; \ - ${ECHO} "You may want run ${SH} ${CREATEQ} to actually make some queues"; \ - ${ECHO} "" - -.include <bsd.port.mk> diff --git a/net/generic-nqs/distinfo b/net/generic-nqs/distinfo deleted file mode 100644 index bc8cffbab1cd..000000000000 --- a/net/generic-nqs/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Generic-NQS-3.50.9.tar.bz2) = 98ec12587105d061b1c6765cdbc6d887b39b69359a395a9656e0d0e4e99c5dce -SIZE (Generic-NQS-3.50.9.tar.bz2) = 666256 diff --git a/net/generic-nqs/files/Makefile b/net/generic-nqs/files/Makefile deleted file mode 100644 index 4141ae41d968..000000000000 --- a/net/generic-nqs/files/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# -# - -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 deleted file mode 100644 index eea91e812c5a..000000000000 --- a/net/generic-nqs/files/i386-unknown-freebsd2.2.6 +++ /dev/null @@ -1,18 +0,0 @@ -# -*- sh -*- -# -# PLATFORM DESCRIPTION FILE - -C_COMPILER "cc" -C_COMPILER_FLAGS_OPTIMISE "XX_CFLAGS_XX" -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 deleted file mode 100644 index 778471a876d7..000000000000 --- a/net/generic-nqs/files/nqs.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# - -# PROVIDE: nqs -# REQUIRE: NETWORKING SERVERS -# BEFORE: LOGIN -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable NQS: -# nqs_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable NQS - -. /etc/rc.subr - -name="nqs" -rcvar=`set_rcvar` - -prefix="XXXX" -logfile="/var/log/nqs.log" -start_cmd="nqs_start" -stop_cmd="nqs_stop" -load_rc_config $name - -nqs_start() -{ - ${prefix}/sbin/nqsdaemon >> ${logfile} 2>&1 && echo 'Starting nqs.' -} - -nqs_stop() -{ - /usr/bin/killall -KILL nqsdaemon netdaemon loaddaemon && echo 'Stopping nqs.' -} - -run_rc_command "$1" diff --git a/net/generic-nqs/files/patch-aa b/net/generic-nqs/files/patch-aa deleted file mode 100644 index a2ce072c8d24..000000000000 --- a/net/generic-nqs/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ ---- 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-ac b/net/generic-nqs/files/patch-ac deleted file mode 100644 index 40756fa3bbad..000000000000 --- a/net/generic-nqs/files/patch-ac +++ /dev/null @@ -1,24 +0,0 @@ ---- 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 diff --git a/net/generic-nqs/files/patch-ad b/net/generic-nqs/files/patch-ad deleted file mode 100644 index f70fc494eac1..000000000000 --- a/net/generic-nqs/files/patch-ad +++ /dev/null @@ -1,31 +0,0 @@ ---- Source-Tree/SETUP/all-systems/General.inst.orig Sun Nov 14 11:52:32 1999 -+++ Source-Tree/SETUP/all-systems/General.inst Sun Nov 14 11:56:57 1999 -@@ -46,17 +46,21 @@ - Boolean " Do you want nmapmgr to automatically allocate a machine ID?" nmapmgr_allocate "y" - echo - if [ "$nmapmgr_allocate" = "y" ]; then -- echo " Okay. I need to know what the fully-qualified hostname of this machine" -- echo " is. For example, my workstation is called 'lanfear'. It's fully-" -- echo " qualified hostname is 'lanfear.shef.ac.uk'." -- echo -- String " What is your machine's full name?" nmapmgr_fqdn "" -+ fqdn=`hostname` -+ short=`hostname | cut -d. -f 1` -+ if [ $fqdn = $short ]; then -+ echo " Okay. I need to know what the fully-qualified hostname of this" -+ echo " machine is. For example, my workstation is called 'zen'." -+ echo " It's fully-qualified hostname is 'zen.my.domain'." -+ echo -+ String " What is your machine's full name?" fqdn "" -+ fi - echo - echo " Okay. I will now run nmapmgr; when the nmapmgr prompt appears, please" - echo " type in the commands below." - echo -- echo " add host `hostname`" -- echo " add alias $nmapmgr_fqdn `hostname`" -+ echo " add host $fqdn" -+ echo " add alias $short $fqdn" - echo " list" - echo " exit" - else diff --git a/net/generic-nqs/files/patch-ae b/net/generic-nqs/files/patch-ae deleted file mode 100644 index 46a51ccda2a8..000000000000 --- a/net/generic-nqs/files/patch-ae +++ /dev/null @@ -1,19 +0,0 @@ ---- SETUP.orig Sun Nov 14 21:18:57 1999 -+++ SETUP Sun Nov 14 21:19:31 1999 -@@ -1,16 +1,6 @@ - #!/bin/sh - --our_path="`echo $PATH | tr ':' ' '`" - our_shell="/bin/sh" -- --for x in ksh bash ; do -- for y in $our_path ; do -- if [ -f "$y/$x" ]; then -- our_shell="$y/$x" -- fi -- done --done -- - export our_shell - SETUP_CC="$CC" - export SETUP_CC diff --git a/net/generic-nqs/files/patch-af b/net/generic-nqs/files/patch-af deleted file mode 100644 index 67a1c59bd5b0..000000000000 --- a/net/generic-nqs/files/patch-af +++ /dev/null @@ -1,130 +0,0 @@ ---- Source-Tree/lpserver/all-systems/lpserver.c.orig Mon Mar 20 00:18:51 2000 -+++ Source-Tree/lpserver/all-systems/lpserver.c Mon Apr 10 20:37:29 2000 -@@ -29,13 +29,14 @@ - - #if GPORT_HAS_termios_h - #include <termios.h> --#endif -+#else /* for BSD platforms */ - #if GPORT_HAS_sgtty_h - #include <sgtty.h> - #if GPORT_HAS_termio_h - #include <termio.h> /* for SUN */ - #endif - #endif -+#endif - - #include <sys/wait.h> - #include <unistd.h> -@@ -75,7 +76,8 @@ - static struct termios save; /* Original printer characteristics */ - #else - #if GPORT_HAS_BSD_IOCTL --static struct sgttyb save; /* Original printer characteristics */ -+static struct termios save; /* Original printer characteristics */ -+/*static struct sgttyb save;*/ /* Original printer characteristics */ - #else - BAD SYSTEM TYPE - #endif -@@ -1201,7 +1203,8 @@ - struct termios tbuf; /* Used for printer ioctl() */ - #else - #if GPORT_HAS_sgtty_h && (GPORT_HAS_BSD_IOCTL) -- struct sgttyb tbuf; /* Used for printer ioctl() */ -+ struct termios tbuf; /* Used for printer ioctl() */ -+/* struct sgttyb tbuf; */ /* Used for printer ioctl() */ - int bsdmask; - #else - BAD SYSTEM TYPE -@@ -1447,10 +1450,10 @@ - */ - #if GPORT_HAS_POSIX_IOCTL - if (translate) -- ioctl (fileno (stdout), TCGETA, &save); -+ ioctl (fileno (stdout), TCGETS, &save); - #else - #if GPORT_HAS_BSD_IOCTL -- ioctl (fileno (stdout), TIOCGETP , &save); -+ ioctl (fileno (stdout), TIOCGETA , &save); - #else - BAD SYSTEM TYPE - #endif -@@ -1566,13 +1569,13 @@ - * Set new device state. - */ - tbuf = save; --#if GPORT_HAS_POSIX_IOCTL -+#if GPORT_HAS_POSIX_IOCTL || (GPORT_HAS_BSD_IOCTL) - tbuf.c_iflag = IGNPAR | ISTRIP | BRKINT | IXON; -- tbuf.c_oflag = OPOST | ONLCR | TAB3 | FF1; -+ tbuf.c_oflag = OPOST | ONLCR | OXTABS | ONOEOT; - tbuf.c_cflag = baud | bits | CREAD | PARENB; - tbuf.c_lflag = ISIG; - if (translate) -- ioctl (fileno (stdout), TCSETA, &tbuf); -+ ioctl (fileno (stdout), TIOCSETA, &tbuf); - #else - #if GPORT_HAS_BSD_IOCTL - /* -@@ -1772,34 +1775,40 @@ - */ - #if GPORT_HAS_POSIX_IOCTL - if (translate) -- ioctl (fileno (stdout), TCSETAW, &save); -+ ioctl (fileno (stdout), TCSETSW, &save); - #else - #if GPORT_HAS_BSD_IOCTL -- ioctl (fileno (stdout), TIOCSETP , &save); -+ ioctl (fileno (stdout), TIOCSETA , &save); - #else - BAD SYSTEM TYPE - #endif - #endif - errno=0; -- if (model_interface && forked) -+ if (model_interface && forked) { - while((ret=wait (&status)) == -1 && - (errno == EINTR || errno == ENOTTY)); -+ } - - /* - * Format message with number of pages printed and exit. - */ -- if (status != 0) -- if ((status & 0xFF) == 0) -+ if (status != 0) { -+ if ((status & 0xFF) == 0) { - sprintf(message, "Interface: _exit value was: %1d.", - (status >> 8) & 0xFF); -- else if ((status & 0xFF00) == 0) -+ } -+ else if ((status & 0xFF00) == 0) { - sprintf(message, - "Interface: Aborting signal was %1d.", - status & 0x7F); -- else if (no_preprocess) -+ } -+ } -+ else if (no_preprocess) { - sprintf (message, "1 job completed."); -- else -+ } -+ else { - sprintf (message, "%1d pages printed.", pages); -+ } - serexit (RCM_EXITED, message); - return 0; - } -@@ -2035,10 +2044,10 @@ - */ - #if GPORT_HAS_POSIX_IOCTL - if (translate) -- ioctl (fileno (stdout), TCSETAW, &save); -+ ioctl (fileno (stdout), TCSETSW, &save); - #else - #if GPORT_HAS_BSD_IOCTL -- ioctl (fileno (stdout), TIOCSETP , &save); -+ ioctl (fileno (stdout), TIOCSETA , &save); - #else - BAD SYSTEM TYPE - #endif diff --git a/net/generic-nqs/files/patch-ag b/net/generic-nqs/files/patch-ag deleted file mode 100644 index 1962c329f5e2..000000000000 --- a/net/generic-nqs/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- Source-Tree/loaddaemon/all-systems/loaddaemon.c.orig Thu Aug 2 01:18:37 2001 -+++ Source-Tree/loaddaemon/all-systems/loaddaemon.c Fri Aug 3 16:59:53 2001 -@@ -539,6 +539,20 @@ - } - #endif /* HPUX */ - #if IS_DECOSF | IS_BSD -+#if BSD4_4 -+static -+void calcloadavg(double load[3]) -+{ -+ double avenrun[3]; -+ int i; -+ if (getloadavg(avenrun, sizeof(avenrun) / sizeof(avenrun[0]))) { -+ printf("getloadavg goofed\n"); -+ } -+ for (i = 0; i < 3; i++) { -+ load[i] = avenrun[i]; -+ } -+} -+#else - struct nlist nl[] = { - #define unixpath "/vmunix" - { "_avenrun" }, -@@ -570,6 +584,7 @@ - for (i = 0; i < 3; i++) - load[i] = ((double) avenrun[i]) / (double) 1024.; - } -+#endif /* BSD4_4 */ - #endif /* DECOSF or Sun (BSD43) */ - - #if IS_SOLARIS diff --git a/net/generic-nqs/files/patch-ah b/net/generic-nqs/files/patch-ah deleted file mode 100644 index 8c650745f69e..000000000000 --- a/net/generic-nqs/files/patch-ah +++ /dev/null @@ -1,19 +0,0 @@ ---- Source-Tree/nqsdaemon/all-systems/nqs_mai.c.orig Sun Mar 19 13:19:21 2000 -+++ Source-Tree/nqsdaemon/all-systems/nqs_mai.c Sat Oct 6 10:21:00 2001 -@@ -247,8 +247,14 @@ - argv [0] = "mail"; - argv [1] = maildest; - argv [2] = (char *) 0; -- execve ("/bin/mail", argv, /* Execve() mail program */ -- envp); -+ { -+ struct stat stb; -+ if (stat("/bin/mail", &stb) != -1) -+ execve ("/bin/mail",/* Execve() mail program */ -+ argv, envp); -+ else if (stat("/usr/bin/mail", &stb) != -1) -+ execve ("/usr/bin/mail", argv, envp); -+ } - _exit (1); - } - else if (pid == -1) return (-1); /* Fork failed */ diff --git a/net/generic-nqs/files/patch-ai b/net/generic-nqs/files/patch-ai deleted file mode 100644 index ebe5475a7382..000000000000 --- a/net/generic-nqs/files/patch-ai +++ /dev/null @@ -1,17 +0,0 @@ ---- Source-Tree/pipeclient/all-systems/pipeclient.c.orig Sun Mar 19 13:19:42 2000 -+++ Source-Tree/pipeclient/all-systems/pipeclient.c Thu Nov 15 14:17:26 2001 -@@ -1059,7 +1059,14 @@ - signal(SIGPIPE, catch_sigpipe); - - do { -+#if HAS_BSD_PIPE -+ if (interconn () < 0) { -+ sal_dprintf(SAL_DEBUG_INFO, SAL_DEBUG_MSG_WARNING, "pipeclient: Unable to get a pipe to the local daemon.\n"); -+ ourserexit (RCM_UNAFAILURE, (char *) 0); -+ } -+#else - interset(-1); -+#endif - interclear (); - interw32i (rawreq->orig_seqno); - interw32u (rawreq->orig_mid); diff --git a/net/generic-nqs/pkg-descr b/net/generic-nqs/pkg-descr deleted file mode 100644 index 7329a8001bb3..000000000000 --- a/net/generic-nqs/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -NQS (or more properly Generic NQS) is a Network Queuing System available -for multiple platforms. -It provides for configurable limits on jobs on a per queue basis as well -as for the total queue system. -As its name suggests it allows jobs to be submitted on one machine and -transferred to run on another machine. It can be configured so jobs are -automatically transferred to the least loaded machine in the cluster. diff --git a/net/generic-nqs/pkg-plist b/net/generic-nqs/pkg-plist deleted file mode 100644 index 1229dc6f8b52..000000000000 --- a/net/generic-nqs/pkg-plist +++ /dev/null @@ -1,40 +0,0 @@ -etc/rc.d/nqs.sh -bin/nmapmgr -bin/qacct -bin/qalter -bin/qcat -bin/qdel -bin/qdev -bin/qhold -bin/qlimit -bin/qmgr -bin/qmsg -bin/qpr -bin/qresume -bin/qrls -bin/qstat -bin/qsub -bin/qsuspend -sbin/finish_autoinst -sbin/loaddaemon -sbin/lpserver -sbin/netclient -sbin/netdaemon -sbin/netserver -sbin/nqsdaemon -sbin/nqsmkdirs -sbin/nqsmktrans -sbin/pipeclient -sbin/shlexefai -sbin/OLDloaddaemon -sbin/OLDnetdaemon -sbin/OLDnetserver -sbin/OLDnqsdaemon -sbin/OLDnqsmkdirs -sbin/OLDnqsmktrans -lib/nqs/GNQS.VERSION -lib/nqs/General.conf.def -lib/nqs/qmgr.hlp -lib/nqs/nmap/machines -@unexec rm -rf %D/lib/nqs 2>&1 >/dev/null || true -@unexec rm -rf XXXX 2>&1 >/dev/null || true diff --git a/net/generic-nqs/scripts/create-example-batch-queues b/net/generic-nqs/scripts/create-example-batch-queues deleted file mode 100644 index f4c5ebcf2675..000000000000 --- a/net/generic-nqs/scripts/create-example-batch-queues +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -qmgr <<eof -# -create pipe misc-sched run_limit= 40 destination= batch -enable queue misc-sched -start queue misc-sched -# -create batch_queue batch priority = 10 run_limit = 4 user_limit = 2 -set data_limit = (2gb) batch -set per_process permfile_limit = (2gb) batch -set STack_limit = ( 8192kb ) batch -# -create batch_queue misc priority = 10 run_limit = 4 user_limit = 1 -set data_limit = (2gb) batch -set per_process permfile_limit = (50mb) misc -set STack_limit = ( 8192kb ) misc -# -set default batch_request queue batch -SEt SHell_strategy FIxed = (/bin/csh) -enable queue batch -enable queue misc -start queue batch -start queue misc -eof diff --git a/net/generic-nqs/scripts/create-nqs-rc.sh b/net/generic-nqs/scripts/create-nqs-rc.sh deleted file mode 100644 index 3929ec03c6f8..000000000000 --- a/net/generic-nqs/scripts/create-nqs-rc.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -PATH="/usr/bin:/bin"; export PATH -me=`basename $0` - -if [ $# -lt 3 ]; then - echo usage: $me configfile nqs.sh rcdir >&2 - exit 1 -fi - -root=`grep NQS_ROOTDIR $1 | cut -f2 -d\"` -sed -e"s#XXXX#$root#" $2 > $3 -chmod 755 $3 -echo "" -echo "Created $3 boot startup file." -echo " - it will startup the 2 NQS daemons" -echo " - run this script manually now before attempting to create queues" -echo "" diff --git a/net/generic-nqs/scripts/fix-PLIST.mktmp.sh b/net/generic-nqs/scripts/fix-PLIST.mktmp.sh deleted file mode 100644 index 2a70066fc110..000000000000 --- a/net/generic-nqs/scripts/fix-PLIST.mktmp.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# Where did they actually store the spool area? -# Check the NQS config file! -# -# Fortunately the ports system creates a temporary packing list that we can -# modify post-install before the install gets officially recorded. -# - -PATH="/usr/bin:/bin"; export PATH - -me=`basename $0` - -if [ $# -lt 2 ]; then - echo usage: $me configfile workdir >&2 - exit 1 -fi - -root=`grep NQS_ROOTPRIV $1 | cut -f2 -d\"` -mv $2/.PLIST.mktmp $2/.PLIST.mktmp.orig -sed -e"s#XXXX#$root#" $2/.PLIST.mktmp.orig > $2/.PLIST.mktmp diff --git a/net/generic-nqs/scripts/syslog-add.sh b/net/generic-nqs/scripts/syslog-add.sh deleted file mode 100644 index 68d94c490605..000000000000 --- a/net/generic-nqs/scripts/syslog-add.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -PATH="/usr/bin:/bin"; export PATH - -if grep -q nqs /etc/syslog.conf -then : -else - echo 'You need to add a line as follows to /etc/syslog.conf' - echo '' - echo 'local0.* /var/log/nqs' - echo '' -fi |