FreeBSD Bugzilla – Attachment 19803 Details for
Bug 35100
Upgrade aolserver from 3.4 to 3.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.87 KB, created by
Jose Abelardo Martinez
on 2002-02-19 02:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jose Abelardo Martinez
Created:
2002-02-19 02:20:01 UTC
Size:
4.87 KB
patch
obsolete
>diff -ruN aolserver/Makefile aolserver-new/Makefile >--- aolserver/Makefile Mon Feb 18 16:53:06 2002 >+++ aolserver-new/Makefile Mon Feb 18 16:34:39 2002 >@@ -6,7 +6,7 @@ > # > > PORTNAME= aolserver >-PORTVERSION= 3.4 >+PORTVERSION= 3.4.2 > CATEGORIES= www > MASTER_SITES= ftp://ftp.aolserver.com/aolserver/ > DISTNAME= ${PORTNAME}-${PORTVERSION}-src >@@ -20,9 +20,6 @@ > INSTALL_TARGET= install INST=${PREFIX}/${PORTNAME} > > post-extract: >- ${MV} ${WRKSRC}/include/Makefile.global ${WRKSRC}/include/Makefile.global.orig >- ${SED} s/tcl83/tcl8.3/ ${WRKSRC}/include/Makefile.global.orig > ${WRKSRC}/include/Makefile.global >- ${RM} ${WRKSRC}/include/Makefile.global.orig > find ${WRKSRC} -name CVS | xargs ${RM} -rf > > post-install: >@@ -31,15 +28,16 @@ > .for header in nsd/nsd.h > ${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/${PORTNAME}/include > .endfor >+ ${RM} ${PREFIX}/${PORTNAME}/include/*.orig > > # Other documentation >- ${MKDIR} ${PREFIX}/share/doc/aolserver >- ${TAR} -C ${WRKSRC} -c -f - ChangeLog README | ${TAR} -C ${PREFIX}/share/doc/aolserver -x -f - >- ${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${PREFIX}/share/doc/aolserver -x -f - >+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} >+ ${TAR} -C ${WRKSRC} -c -f - ChangeLog README | ${TAR} -C ${PREFIX}/share/doc/${PORTNAME} -x -f - >+ ${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${PREFIX}/share/doc/${PORTNAME} -x -f - > > # Permissions >- ${CHOWN} nobody:nogroup ${PREFIX}/aolserver/servers/server1/modules/nslog >- ${CHOWN} nobody:nogroup ${PREFIX}/aolserver/log >+ ${CHOWN} nobody:nogroup ${PREFIX}/${PORTNAME}/servers/server1/modules/nslog >+ ${CHOWN} nobody:nogroup ${PREFIX}/${PORTNAME}/log > > # Startup file > @if [ ! -f ${PREFIX}/etc/rc.d/aolserver.sh ]; then \ >diff -ruN aolserver/distinfo aolserver-new/distinfo >--- aolserver/distinfo Mon Feb 18 16:53:06 2002 >+++ aolserver-new/distinfo Mon Feb 18 16:34:39 2002 >@@ -1 +1 @@ >-MD5 (aolserver-3.4-src.tar.gz) = 45ed3ed31ac373bc4951b4f1ecb09da3 >+MD5 (aolserver-3.4.2-src.tar.gz) = 51d4336535c171782e8f5abeb5689cca >diff -ruN aolserver/files/patch-a aolserver-new/files/patch-a >--- aolserver/files/patch-a Wed Dec 31 18:00:00 1969 >+++ aolserver-new/files/patch-a Mon Feb 18 16:34:39 2002 >@@ -0,0 +1,11 @@ >+--- include/Makefile.global Fri Feb 15 11:39:00 2002 >++++ include/Makefile.global.new Fri Feb 15 11:39:00 2002 >+@@ -259,7 +259,7 @@ >+ TCL76_DIR=tcl7.6 >+ ifeq (bsd, $(findstring bsd, $(PLATFORM))) >+ TCL76_LIB=libtcl76.a >+- TCL8X_LIB=libtcl83g.a >++ TCL8X_LIB=libtcl8.3g.a >+ else >+ TCL76_LIB=libtcl7.6.a >+ TCL8X_LIB=libtcl8.3g.a >diff -ruN aolserver/files/patch-b aolserver-new/files/patch-b >--- aolserver/files/patch-b Wed Dec 31 18:00:00 1969 >+++ aolserver-new/files/patch-b Mon Feb 18 16:34:39 2002 >@@ -0,0 +1,40 @@ >+--- nsd/nsmain.c Tue Apr 3 18:13:15 2001 >++++ nsd/nsmain.c.new Fri Feb 15 12:22:04 2002 >+@@ -311,16 +311,10 @@ >+ /* >+ * Verify the uid/gid args. >+ */ >+- >+- if (garg != NULL) { >+- gid = Ns_GetGid(garg); >+- if (gid < 0) { >+- gid = atoi(garg); >+- if (gid == 0) { >+- Ns_Fatal("nsmain: invalid group '%s'", garg); >+- } >+- } >+- } >++ /* Reversed the order so this will actually work >++ * Jon Griffin <jon@jongriffin.com> 01/27/2001 >++ * >++ */ >+ if (uarg != NULL) { >+ uid = Ns_GetUid(uarg); >+ gid = Ns_GetUserGid(uarg); >+@@ -329,6 +323,16 @@ >+ } >+ if (uid == 0) { >+ Ns_Fatal("nsmain: invalid user '%s'", uarg); >++ } >++ } >++ >++ if (garg != NULL) { >++ gid = Ns_GetGid(garg); >++ if (gid < 0) { >++ gid = atoi(garg); >++ if (gid == 0) { >++ Ns_Fatal("nsmain: invalid group '%s'", garg); >++ } >+ } >+ } >+ >diff -ruN aolserver/files/patch-c aolserver-new/files/patch-c >--- aolserver/files/patch-c Wed Dec 31 18:00:00 1969 >+++ aolserver-new/files/patch-c Mon Feb 18 16:34:39 2002 >@@ -0,0 +1,24 @@ >+--- tcl8.3.2/unix/tclUnixPipe.c Thu Aug 17 17:46:15 2000 >++++ tcl8.3.2/unix/tclUnixPipe.c.new Fri Feb 15 12:30:19 2002 >+@@ -950,12 +950,16 @@ >+ * nonblocking, the read will never block. >+ */ >+ >+- bytesRead = read(GetFd(psPtr->inFile), buf, (size_t) toRead); >+- if (bytesRead > -1) { >+- return bytesRead; >++ while (1) { >++ bytesRead = read(GetFd(psPtr->inFile), buf, (size_t) toRead); >++ if (bytesRead > -1) { >++ return bytesRead; >++ } >++ if ( errno != EINTR ) { >++ *errorCodePtr = errno; >++ return -1; >++ } >+ } >+- *errorCodePtr = errno; >+- return -1; >+ } >+ >+ /* >diff -ruN aolserver/pkg-plist aolserver-new/pkg-plist >--- aolserver/pkg-plist Mon Feb 18 16:53:06 2002 >+++ aolserver-new/pkg-plist Mon Feb 18 16:34:39 2002 >@@ -159,8 +159,8 @@ > @dirrm aolserver/lib/tcl8.3/tcltest1.0 > @dirrm aolserver/lib/tcl8.3 > @dirrm aolserver/lib >-@dirrm aolserver/servers/server1/modules/nsperm > @dirrm aolserver/servers/server1/modules/nslog >+@dirrm aolserver/servers/server1/modules/nsperm > @dirrm aolserver/servers/server1/modules > @dirrm aolserver/servers/server1/pages > @dirrm aolserver/servers/server1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35100
: 19803