ports/140973: New Port

Kenneth Freidank kennethcf at earthlink.net
Sat Nov 28 15:40:01 UTC 2009


>Number:         140973
>Category:       ports
>Synopsis:       New Port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 15:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kenneth Freidank
>Release:        7.2
>Organization:
>Environment:
FreeBSD t5048.genken.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
New port: www/xspd An http, compiled and interpretted, application server.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/www/xspd
#	/usr/ports/www/xspd/scripts
#	/usr/ports/www/xspd/scripts/post-extract
#	/usr/ports/www/xspd/files
#	/usr/ports/www/xspd/files/patch-xspsys-src-xspappif.c
#	/usr/ports/www/xspd/files/patch-xspsys-src-mess.c
#	/usr/ports/www/xspd/files/patch-xspsys-includeadm-admconfigall.hxsp
#	/usr/ports/www/xspd/files/patch-xspsys-Makefile
#	/usr/ports/www/xspd/files/patch-xspsys-etc-xspd.conf_distr
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktest00.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktest01.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktest02.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktest04.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktest01C.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-shxsp-awktestpic01.shxsp
#	/usr/ports/www/xspd/files/patch-xspapp-Makefile
#	/usr/ports/www/xspd/Makefile
#	/usr/ports/www/xspd/.Makefile.swp
#	/usr/ports/www/xspd/distinfo
#	/usr/ports/www/xspd/pkg-descr
#	/usr/ports/www/xspd/.Makefile.app.swp
#	/usr/ports/www/xspd/pkg-message
#	/usr/ports/www/xspd/pkg-plist
#
echo c - /usr/ports/www/xspd
mkdir -p /usr/ports/www/xspd > /dev/null 2>&1
echo c - /usr/ports/www/xspd/scripts
mkdir -p /usr/ports/www/xspd/scripts > /dev/null 2>&1
echo x - /usr/ports/www/xspd/scripts/post-extract
sed 's/^X//' >/usr/ports/www/xspd/scripts/post-extract << '0b3ff648c60db6a6162965c9f0a67c47'
X#!/bin/sh
X
XERR=0
Xcd work
Xfor FIL in xsp*.tar
Xdo
X	PREFIX=`basename $FIL | sed -e "s/_.*//"`
X	case "$PREFIX" in
X		xspsys)	DIR=$PREFIX
X			;;
X		xspapp)	DIR=$PREFIX
X			;;
X		xspjsys)	DIR=$PREFIX
X				;;
X		xspjava)	DIR=$PREFIX
X				;;
X		xspsysdoc)	DIR=xspsys/doc
X				;;
X		xspjsysdoc)	DIR=xspjsys/doc
X				;;
X		*)		echo "*** ERROR: illegal input file ***"
X				ERR=100;
X				;;
X	esac
X	if [ ! -d $DIR ]
X	then
X		mkdir -p $DIR
X	fi
X	tar -xf $FIL -C $DIR
X	rm $FIL
Xdone
Xexit $ERR
X
0b3ff648c60db6a6162965c9f0a67c47
echo c - /usr/ports/www/xspd/files
mkdir -p /usr/ports/www/xspd/files > /dev/null 2>&1
echo x - /usr/ports/www/xspd/files/patch-xspsys-src-xspappif.c
sed 's/^X//' >/usr/ports/www/xspd/files/patch-xspsys-src-xspappif.c << '073afb02599c71ce27e23462b9905cf0'
X--- src/xspappif.orig	2008-08-17 16:43:33.000000000 -0400
X+++ src/xspappif.c	2008-08-17 16:43:57.000000000 -0400
X@@ -46,6 +46,8 @@
X /* includes */
X 
X #include <stdio.h>
X+#include <sys/types.h>
X+//Added inlclude of sys/types.h Kenneth Freidank
X #include <string.h>
X #include <netdb.h>
X 
073afb02599c71ce27e23462b9905cf0
echo x - /usr/ports/www/xspd/files/patch-xspsys-src-mess.c
sed 's/^X//' >/usr/ports/www/xspd/files/patch-xspsys-src-mess.c << '5a40c6de5a0a4e55e5c5242093357d2b'
X--- src/mess.c.orig	2007-05-30 18:05:28.000000000 -0400
X+++ src/mess.c	2008-08-17 06:08:24.000000000 -0400
X@@ -71,7 +71,8 @@
X #include <errno.h>
X #include <sys/time.h>
X #include <time.h>
X-#include <malloc.h>
X+//Kenneth Freidank:  Commented out malloc.h since stdlib calls it
X+//#include <malloc.h>
X #include <fcntl.h>
X #include <string.h>
X #include <stdlib.h>
5a40c6de5a0a4e55e5c5242093357d2b
echo x - /usr/ports/www/xspd/files/patch-xspsys-includeadm-admconfigall.hxsp
sed 's/^X//' >/usr/ports/www/xspd/files/patch-xspsys-includeadm-admconfigall.hxsp << '8af9eacf62d3522a5d0de9c99775c269'
X--- includeadm/admconfigall.hxsp.orig	2007-08-17 22:04:17.000000000 -0400
X+++ includeadm/admconfigall.hxsp	2008-08-17 13:10:21.000000000 -0400
X@@ -61,6 +61,8 @@
X char htmlstr[STRLGTH*2];			/* for html2visible */
X extern struct xspcfg *qsort_xspcfgp;		/* from xspd.c */
X extern int qsortCmpConfigXspName();		/* from xspdadmqsort.c */
X+extern int qsortCmpConfigXspId();		/* from xspdadmqsort.c */
X+// Added extern declaration of qsortCmpConfigXspId() Kenneth Freidank
X extern int qsortCmpConfigPortno();		/* from xspdadmqsort.c */
X extern int qsortCmpConfigActCnt();		/* from xspdadmqsort.c */
X extern int qsortCmpConfigCallCnt();		/* from xspdadmqsort.c */
8af9eacf62d3522a5d0de9c99775c269
echo x - /usr/ports/www/xspd/files/patch-xspsys-Makefile
sed 's/^X//' >/usr/ports/www/xspd/files/patch-xspsys-Makefile << '48b5edfc631467b45d99a208ae34ae7b'
X--- Makefile.orig	2007-11-10 22:45:29.000000000 -0500
X+++ Makefile	2009-11-27 22:45:29.000000000 -0500
X@@ -600,7 +600,31 @@
X 	@test $(NOREADYMSG) -eq 1 || echo "$(BELL)	--- install `basename \`pwd\`` ready ---"


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list