FreeBSD Bugzilla – Attachment 43766 Details for
Bug 67879
update: www/winhelpcgi (update to 0.99)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
winhelpcgi.diff
winhelpcgi.diff (text/plain), 4.29 KB, created by
Robin Schoonover
on 2004-06-12 16:10:34 UTC
(
hide
)
Description:
winhelpcgi.diff
Filename:
MIME Type:
Creator:
Robin Schoonover
Created:
2004-06-12 16:10:34 UTC
Size:
4.29 KB
patch
obsolete
>diff -ruN winhelpcgi.orig/Makefile winhelpcgi/Makefile >--- winhelpcgi.orig/Makefile Mon Jun 7 22:14:41 2004 >+++ winhelpcgi/Makefile Fri Jun 11 22:53:03 2004 >@@ -6,36 +6,37 @@ > # > > PORTNAME= winhelpcgi >-PORTVERSION= 0.93.1 >+PORTVERSION= 0.99 > CATEGORIES= www textproc > MASTER_SITES= http://www.herdsoft.com/ftp/ >-DISTNAME= ${PORTNAME}_0.93-1 >+DISTNAME= ${PORTNAME}_0.99-3 > > MAINTAINER= endx7@users.sf.net > COMMENT= A winhelp converter cgi program > >-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png >+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ >+ wmf.2:${PORTSDIR}/graphics/libwmf > >-WRKSRC= ${WRKDIR}/${PORTNAME} >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > GNU_CONFIGURE= yes > USE_AUTOMAKE_VER= 14 >-AUTOMAKE_ARGS= --add-missing >+USE_GETTEXT= yes > PKGMESSAGE= ${WRKDIR}/pkg-message > >-.include <bsd.port.pre.mk> >- >-.if ${ARCH} == "amd64" >-BROKEN= "Does not compile on amd64" >-.endif >- >-# get rid of symlinks > pre-patch: >- (cd ${WRKSRC}; ${RM} INSTALL install-sh mkinstalldirs missing COPYING) >+ (cd ${WRKSRC}; ${TOUCH} config.h) > > post-build: > @${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's:%%PREFIX%%:${PREFIX}:' > ${PKGMESSAGE} > > do-install: >- ${INSTALL_PROGRAM} ${WRKDIR}/winhelpcgi/winhelpcgi/winhelpcgi.cgi ${PREFIX}/bin >+ ${MKDIR} ${PREFIX}/www/winhelpcgi >+ ${INSTALL_PROGRAM} ${WRKSRC}/winhelpcgi/winhelpcgi.cgi ${PREFIX}/www/winhelpcgi >+ >+post-install: >+.if !defined(BATCH) >+ @${CAT} ${PKGMESSAGE} >+.endif >+ > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN winhelpcgi.orig/distinfo winhelpcgi/distinfo >--- winhelpcgi.orig/distinfo Tue May 4 11:49:15 2004 >+++ winhelpcgi/distinfo Fri Jun 11 22:53:03 2004 >@@ -1,2 +1,2 @@ >-MD5 (winhelpcgi_0.93-1.tar.gz) = cf6df86cb484fbb506bc721f484ae896 >-SIZE (winhelpcgi_0.93-1.tar.gz) = 239842 >+MD5 (winhelpcgi_0.99-3.tar.gz) = 94cdc550d320a78a71293e4d71b8006f >+SIZE (winhelpcgi_0.99-3.tar.gz) = 305524 >diff -ruN winhelpcgi.orig/files/patch-Makefile.am winhelpcgi/files/patch-Makefile.am >--- winhelpcgi.orig/files/patch-Makefile.am Tue May 4 11:49:15 2004 >+++ winhelpcgi/files/patch-Makefile.am Fri Jun 11 22:53:03 2004 >@@ -1,18 +1,10 @@ >---- winhelpcgi/Makefile.am.orig Thu Apr 10 05:40:05 2003 >-+++ winhelpcgi/Makefile.am Sat May 1 15:48:37 2004 >-@@ -1,5 +1,5 @@ >- ## Process this file using automake to create makefile.in >--INCLUDES = -I../include -I../include/linux >-+INCLUDES = -I../include -I../include/linux -I${LOCALBASE}/include >- #CFLAGS = -ggdb >- >- bin_PROGRAMS = winhelpcgi.cgi >-@@ -7,7 +7,7 @@ >- winhelpcgi_cgi_SOURCES=dib2png.c wc_html.c wc_kwsrch.c winhelpcgi.c >- #winhelpcgi_cgi_LDFLAGS=-static >- #winhelpcgi_cgi_LDADD=-L../libhlpaccess -lhlpaccess -lpng -lz >--winhelpcgi_cgi_LDADD= \ >-+winhelpcgi_cgi_LDADD= -L${LOCALBASE}/lib \ >+--- winhelpcgi/Makefile.am.orig Fri Jun 11 22:31:21 2004 >++++ winhelpcgi/Makefile.am Fri Jun 11 22:31:30 2004 >+@@ -10,7 +10,7 @@ > ../libhlpaccess/libhlpaccess.a \ >- -lpng -lz >+ -lpng -lz \ >+ @LIBWMF_LIBS@ \ >+- @INTLLIBS@ >++ @INTLLIBS@ -lintl > >+ noinst_HEADERS = dib2png.h winhelpcgi.h wmf2png.h >diff -ruN winhelpcgi.orig/pkg-message winhelpcgi/pkg-message >--- winhelpcgi.orig/pkg-message Tue May 4 11:49:15 2004 >+++ winhelpcgi/pkg-message Fri Jun 11 22:53:03 2004 >@@ -1,7 +1,18 @@ > ----------------------------------------------------------------- >-winhelpcgi.cgi has been installed into %%PREFIX%%/bin >+winhelpcgi.cgi has been installed into %%PREFIX%%/www/winhelpcgi/ >+ >+You now need to copy winhelp files into %%PREFIX%%/www/winhelpcgi/ >+ >+You also need to somehow make your webserver aware of winhelpcgi. >+For example, the following config fragment would make apache aware >+of winhelpcgi: >+ >+Alias /winhelpcgi %%PREFIX%%/www/winhelpcgi >+<Directory /usr/local/www/winhelpcgi> >+ AddHandler cgi-script .cgi >+ AllowOverride All >+ Options ExecCGI >+</Directory> > >-You now need to copy winhelpcgi.cgi along with all winhelp files >-you wish for it to handle into the cgi-bin/ (or a subdir in >-cgi-bin/) of a http server that can handle cgi (such as Apache). > ----------------------------------------------------------------- >+ >diff -ruN winhelpcgi.orig/pkg-plist winhelpcgi/pkg-plist >--- winhelpcgi.orig/pkg-plist Tue May 4 11:49:15 2004 >+++ winhelpcgi/pkg-plist Fri Jun 11 22:53:03 2004 >@@ -1 +1,2 @@ >-bin/winhelpcgi.cgi >+www/winhelpcgi/winhelpcgi.cgi >+@unexec rmdir %D/www/winhelpcgi 2>/dev/null || true
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 67879
: 43766