pkgsrc/www/analog/patches/patch-aa

39 lines
2.1 KiB
Text
Raw Normal View History

2005-08-25 12:09:48 +02:00
$NetBSD: patch-aa,v 1.25 2005/08/25 10:09:48 grant Exp $
2005-08-25 12:09:48 +02:00
--- Makefile.orig 2004-12-20 00:51:30.000000000 +1100
+++ Makefile
Update "analog" package to version 6.0. Changes since version 5.32: - Added Palm OS and Symbian OS to the Operating System Report. - ISO 8601 extended date format available in language files. - Another style sheet from James Reeves added to the examples directory. - Analog is now distributed under the GNU General Public License. - Fix problems building unzip.c on some platforms. - Fix invalid XHTML output in non-European languages. - The DNSTIMEOUT command is now off by default, because it breaks DNS lookups on many platforms. - Recognises Firebird and Firefox as browsers. - msnbot recognised as a robot in the default configuration. - Patches for Mac. - New Makefiles for Windows and RISC OS. - Corrections to Finnish and Japanese language files. - Reads zip and bzip2 logfiles without the need for an UNCOMPRESS command. - Automatically strips ;params section from URLs (for example, jsessionid's). - Recognises Windows Server 2003 in the Operating System Report. - First user-contributed style sheets added to examples/css directory. - Computer-readable output style now forces English output. - More corrections to XML output style. - Patches for OpenVMS and RISC OS. - Basque language files. - Country code .cs, formerly Czechoslovakia, is now Serbia and Montenegro. (Changed in English, French and German domains files, and removed from other domains files). - Corrections to Swedish and Ukrainian language files, and to German domains files. - Internal Search reports now work properly on case-insensitive file systems. - Various bug fixes and improvements to XHTML and XML output styles. - New command CSSPREFIX to add a prefix to the CSS class names used in the XHTML output. - XML DTD distributed with the program. - Language files for Simplified Chinese. - This is the first beta test for version 6. - Output code completely rewritten, to permit more output formats. - New output formats XHTML and XML. (Thanks to Per Jessen for XML, and to Jeremy Wadsack for help with XHTML). - XHTML is now the default output style. - The barcharts are now made from png's not gif's by default. - New command LOGOURL.
2004-12-19 23:00:10 +01:00
@@ -2,16 +2,20 @@
# Please read docs/Readme.html, or http://www.analog.cx/
# This is a general Unix-like Makefile: Makefiles for other OS's can be found
# in the "build" directory.
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
+#CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
-MAKE = make # which "make" to use
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
+#MAKE = make # which "make" to use
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
Update "analog" package to version 6.0. Changes since version 5.32: - Added Palm OS and Symbian OS to the Operating System Report. - ISO 8601 extended date format available in language files. - Another style sheet from James Reeves added to the examples directory. - Analog is now distributed under the GNU General Public License. - Fix problems building unzip.c on some platforms. - Fix invalid XHTML output in non-European languages. - The DNSTIMEOUT command is now off by default, because it breaks DNS lookups on many platforms. - Recognises Firebird and Firefox as browsers. - msnbot recognised as a robot in the default configuration. - Patches for Mac. - New Makefiles for Windows and RISC OS. - Corrections to Finnish and Japanese language files. - Reads zip and bzip2 logfiles without the need for an UNCOMPRESS command. - Automatically strips ;params section from URLs (for example, jsessionid's). - Recognises Windows Server 2003 in the Operating System Report. - First user-contributed style sheets added to examples/css directory. - Computer-readable output style now forces English output. - More corrections to XML output style. - Patches for OpenVMS and RISC OS. - Basque language files. - Country code .cs, formerly Czechoslovakia, is now Serbia and Montenegro. (Changed in English, French and German domains files, and removed from other domains files). - Corrections to Swedish and Ukrainian language files, and to German domains files. - Internal Search reports now work properly on case-insensitive file systems. - Various bug fixes and improvements to XHTML and XML output styles. - New command CSSPREFIX to add a prefix to the CSS class names used in the XHTML output. - XML DTD distributed with the program. - Language files for Simplified Chinese. - This is the first beta test for version 6. - Output code completely rewritten, to permit more output formats. - New output formats XHTML and XML. (Thanks to Per Jessen for XML, and to Jeremy Wadsack for help with XHTML). - XHTML is now the default output style. - The barcharts are now made from png's not gif's by default. - New command LOGOURL.
2004-12-19 23:00:10 +01:00
# Some OS's need -D_FILE_OFFSET_BITS=64 to support files > 2MB.
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
# NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp
-DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
+DEFS = -DANALOGDIR=\"${PREFIX}/lib/analog/\" \
+ -DDEFAULTCONFIGFILE=\"${SYSCONFDIR}/analog.cfg\" \
+ -DIMAGEDIR=\"/images/\" \
+ -DLANGDIR=\"${PREFIX}/lib/analog/lang/\" \
+ -DLOGFILE=\"/var/log/httpd-access.log\"
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
# ... -DEBCDIC -DUSE_PLAIN_SETJMP ...
Update "analog" package to version 6.0. Changes since version 5.32: - Added Palm OS and Symbian OS to the Operating System Report. - ISO 8601 extended date format available in language files. - Another style sheet from James Reeves added to the examples directory. - Analog is now distributed under the GNU General Public License. - Fix problems building unzip.c on some platforms. - Fix invalid XHTML output in non-European languages. - The DNSTIMEOUT command is now off by default, because it breaks DNS lookups on many platforms. - Recognises Firebird and Firefox as browsers. - msnbot recognised as a robot in the default configuration. - Patches for Mac. - New Makefiles for Windows and RISC OS. - Corrections to Finnish and Japanese language files. - Reads zip and bzip2 logfiles without the need for an UNCOMPRESS command. - Automatically strips ;params section from URLs (for example, jsessionid's). - Recognises Windows Server 2003 in the Operating System Report. - First user-contributed style sheets added to examples/css directory. - Computer-readable output style now forces English output. - More corrections to XML output style. - Patches for OpenVMS and RISC OS. - Basque language files. - Country code .cs, formerly Czechoslovakia, is now Serbia and Montenegro. (Changed in English, French and German domains files, and removed from other domains files). - Corrections to Swedish and Ukrainian language files, and to German domains files. - Internal Search reports now work properly on case-insensitive file systems. - Various bug fixes and improvements to XHTML and XML output styles. - New command CSSPREFIX to add a prefix to the CSS class names used in the XHTML output. - XML DTD distributed with the program. - Language files for Simplified Chinese. - This is the first beta test for version 6. - Output code completely rewritten, to permit more output formats. - New output formats XHTML and XML. (Thanks to Per Jessen for XML, and to Jeremy Wadsack for help with XHTML). - XHTML is now the default output style. - The barcharts are now made from png's not gif's by default. - New command LOGOURL.
2004-12-19 23:00:10 +01:00
# ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_PCRE ...
2005-08-25 12:09:48 +02:00
@@ -30,7 +34,7 @@ DEFS = # any combination of -DN
#
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390
-LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS)
+#LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS)
# need -lm LAST
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz
# if you defined HAVE_ZLIB above you also need -lz