FreeBSD Bugzilla – Attachment 25516 Details for
Bug 43609
C++ compilation fixes for net/pxe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.13 KB, created by
Craig Rodrigues
on 2002-10-03 03:50:03 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Craig Rodrigues
Created:
2002-10-03 03:50:03 UTC
Size:
3.13 KB
patch
obsolete
># 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: ># ># pxe ># pxe/files ># pxe/files/patch-logfile.cc ># pxe/Makefile ># pxe/distinfo ># pxe/pkg-comment ># pxe/pkg-descr ># pxe/pkg-plist ># >echo c - pxe >mkdir -p pxe > /dev/null 2>&1 >echo c - pxe/files >mkdir -p pxe/files > /dev/null 2>&1 >echo x - pxe/files/patch-logfile.cc >sed 's/^X//' >pxe/files/patch-logfile.cc << 'END-of-pxe/files/patch-logfile.cc' >X--- logfile.cc.orig Wed Oct 2 22:41:50 2002 >X+++ logfile.cc Wed Oct 2 22:42:09 2002 >X@@ -58,12 +58,13 @@ >X { >X /* open the file */ >X umask(077); >X- logfile = new std::fstream(filename, std::ios::out|std::ios::app, 0644); >X+ logfile = new std::fstream(filename, std::ios::out|std::ios::app); >X if(logfile == NULL) >X { >X std::cerr << "Error: LogFile::Open:open(): " << strerror(errno) <<"\n"; >X exit(-1); >X } >X+ chmod(filename, 0644); >X } >X >X >END-of-pxe/files/patch-logfile.cc >echo x - pxe/Makefile >sed 's/^X//' >pxe/Makefile << 'END-of-pxe/Makefile' >X# New ports collection makefile for: pxe >X# Date created: 7 April 2002 >X# Whom: Anders Nordby <anders@FreeBSD.org> >X# >X# $FreeBSD: ports/net/pxe/Makefile,v 1.1 2002/04/07 21:35:45 anders Exp $ >X# >X >XPORTNAME= pxe >XPORTVERSION= 1.3 >XCATEGORIES= net >XMASTER_SITES= http://www.kano.org.uk/projects/pxe/ \ >X ftp://ftp.nuug.no/pub/anders/distfiles/ >X >XMAINTAINER= anders@FreeBSD.org >X >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \ >X --with-log=/var/log/pxe.log \ >X --with-setuid=nobody >X >XDOCS= Changes INSTALL LICENCE README >X >Xpost-patch: >X ${PERL} -pi -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \ >X s,^CC.*,CC=\t${CXX}," \ >X ${WRKSRC}/Makefile.in >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/pxe ${PREFIX}/sbin/ >X ${INSTALL_DATA} ${WRKSRC}/pxe.conf ${PREFIX}/etc/pxe.conf.sample >X.if !defined(NOPORTDOCS) >X @${INSTALL} -d -m 0755 ${DOCSDIR} >X.for f in ${DOCS} >X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ >X.endfor >X.endif >X >X.include <bsd.port.mk> >END-of-pxe/Makefile >echo x - pxe/distinfo >sed 's/^X//' >pxe/distinfo << 'END-of-pxe/distinfo' >XMD5 (pxe-1.3.tar.gz) = 3866c86ddada2bd4a4a01bb8b79cc951 >END-of-pxe/distinfo >echo x - pxe/pkg-comment >sed 's/^X//' >pxe/pkg-comment << 'END-of-pxe/pkg-comment' >XPXE daemon, set up a boot menu for netbooting PXE enabled clients >END-of-pxe/pkg-comment >echo x - pxe/pkg-descr >sed 's/^X//' >pxe/pkg-descr << 'END-of-pxe/pkg-descr' >XThis is a PXE daemon, which you can use to set up a networked boot menu for >Xnetbooting client machines (FreeBSD, Linux, Windows, etc.) that support & >Xutilize Intel's Preboot eXecution Environment (PXE). >X >XWWW: http://www.kano.org.uk/projects/pxe/ >X >X- Anders Nordby <anders@FreeBSD.org> >END-of-pxe/pkg-descr >echo x - pxe/pkg-plist >sed 's/^X//' >pxe/pkg-plist << 'END-of-pxe/pkg-plist' >Xsbin/pxe >Xetc/pxe.conf.sample >X%%PORTDOCS%%share/doc/pxe/Changes >X%%PORTDOCS%%share/doc/pxe/INSTALL >X%%PORTDOCS%%share/doc/pxe/LICENCE >X%%PORTDOCS%%share/doc/pxe/README >X%%PORTDOCS%%@dirrm share/doc/pxe >END-of-pxe/pkg-plist >exit
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 Raw
Actions:
View
Attachments on
bug 43609
: 25516 |
25517