Author: ranger Date: Wed Dec 19 19:56:23 2007 New Revision: 1092 URL: http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1092&repname=user%3a+ranger Log: new upstream
Modified: trunk/experimental/common/main/finkinfo/utils/wview.info trunk/experimental/common/main/finkinfo/utils/wview.patch Modified: trunk/experimental/common/main/finkinfo/utils/wview.info URL: http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/utils/wview.info&rev=1092&repname=user%3a+ranger ============================================================================== --- trunk/experimental/common/main/finkinfo/utils/wview.info (original) +++ trunk/experimental/common/main/finkinfo/utils/wview.info Wed Dec 19 19:56:23 2007 @@ -1,9 +1,12 @@ Package: wview -Version: 3.3.0 +Version: 3.4.0 Revision: 1 Source: mirror:sourceforge:%n/%n-%v.tar.gz -Source-MD5: fcf27f89fd249c0fe23d32170a03f2d3 -PatchScript: sed -e 's,@FINKPREFIX@,%p,g' %a/%n.patch +Source-MD5: 09754b3fd0a78d93dfa582d9a484e6a5 +PatchScript: << + sed -e 's,@FINKPREFIX@,%p,g' %a/%n.patch | patch -p1 + perl -pi -e 's,/var/wview,%p/var/wview,g; s,/etc/wview,%p/etc/wview,g' common/sysdefs.h wviewconfig/wviewconfig.sh +<< BuildDepends: << gd2-nox | gd2, @@ -23,8 +26,25 @@ SetLDFLAGS: -L%p/lib/system-openssl/lib ConfigureParams: --enable-wunderground --enable-station-vpro --enable-station-wxt510 --enable-station-sim -InstallScript: make -j1 install DESTDIR="%d" +InstallScript: << +#!/bin/sh -ev + make -j1 install install-env DESTDIR="%d" + sed -e 's,/var/wview,%p/var/wview,g' -e 's,/opt/local/bin,%p/bin,g' examples/MacOSX/wview/wview | grep -v LD_LIBRARY_PATH > %i/sbin/wview + chmod 755 %i/sbin/wview +<< +DaemonicFile: << + <service> + <description>WView Weather Station Software</description> + <message> WView Weather Station</message> + <daemon name="%N"> + <executable background="no">%p/sbin/wview</executable> + <parameters>start</parameters> + </daemon> + </service> +<< + +DocFiles: AUTHORS COPYING ChangeLog INSTALL MAINTAIN NEWS README TODO UPGRADE Description: Weather Station Software DescDetail: << wview is a collection of linux/unix daemons which interface Modified: trunk/experimental/common/main/finkinfo/utils/wview.patch URL: http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/utils/wview.patch&rev=1092&repname=user%3a+ranger ============================================================================== --- trunk/experimental/common/main/finkinfo/utils/wview.patch (original) +++ trunk/experimental/common/main/finkinfo/utils/wview.patch Wed Dec 19 19:56:23 2007 @@ -1,10 +1,10 @@ -diff -uNr wview-3.3.0/Makefile.in wview-3.3.0-new/Makefile.in ---- wview-3.3.0/Makefile.in 2007-05-28 10:02:47.000000000 -0400 -+++ wview-3.3.0-new/Makefile.in 2007-10-17 11:35:27.000000000 -0400 -@@ -190,8 +190,8 @@ - +diff -uNbwr wview-3.4.0/Makefile.in wview-3.4.0-new/Makefile.in +--- wview-3.4.0/Makefile.in 2007-12-16 23:41:55.000000000 -0500 ++++ wview-3.4.0-new/Makefile.in 2007-12-19 13:51:58.000000000 -0500 +@@ -191,8 +191,8 @@ SUBDIRS = stations $(am__append_1) $(am__append_2) htmlgenerator \ - alarms cwop ftp ssh wviewconfig utilities $(am__append_3) + alarms cwop ftp ssh procmon wviewconfig utilities \ + $(am__append_3) -WV_CONFIG_DIR = /etc/wview -WV_RUN_DIR = /var/wview +WV_CONFIG_DIR = $(sysconfdir)/wview @@ -12,17 +12,34 @@ all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive -diff -uNr wview-3.3.0/wviewconfig/wviewconfig.sh wview-3.3.0-new/wviewconfig/wviewconfig.sh ---- wview-3.3.0/wviewconfig/wviewconfig.sh 2007-04-09 01:39:17.000000000 -0400 -+++ wview-3.3.0-new/wviewconfig/wviewconfig.sh 2007-10-17 11:35:57.000000000 -0400 -@@ -23,8 +23,8 @@ - ################################################################################ - ################################# M A C R O S ################################ - ################################################################################ --WVIEWD_PID=/var/wview/wviewd.pid --WVIEW_CONF_DIR=/etc/wview [EMAIL PROTECTED]@/var/wview/wviewd.pid [EMAIL PROTECTED]@/etc/wview - STATION_TYPE=VantagePro +@@ -628,19 +628,17 @@ - + # this target installs the default environment in the default places + install-env: install +- mkdir -p $(WV_CONFIG_DIR) +- mkdir -p $(WV_RUN_DIR) +- mkdir -p $(WV_RUN_DIR)/noaa +- mkdir -p $(WV_RUN_DIR)/alarms +- mkdir -p $(WV_RUN_DIR)/archive +- mkdir -p $(WV_RUN_DIR)/img +- cp -rf $(WV_RUN_DIR)/img $(WV_RUN_DIR)/img-old +- cp -rf $(top_srcdir)/bin/img $(WV_RUN_DIR) +- cp -rf $(WV_CONFIG_DIR) $(WV_CONFIG_DIR)-old +- cp -rf $(top_srcdir)/examples/html/classic/*.* $(WV_CONFIG_DIR)/html +- cp -rf $(top_srcdir)/examples/alarms $(WV_CONFIG_DIR) +- cp -rf $(top_srcdir)/examples/conf/*.* $(WV_CONFIG_DIR) +- chmod +x $(WV_CONFIG_DIR)/post-generate.sh ++ install -d $(DESTDIR)$(WV_CONFIG_DIR) ++ install -d $(DESTDIR)$(WV_CONFIG_DIR)/html ++ install -c -m 644 $(top_srcdir)/examples/html/classic/* $(DESTDIR)$(WV_CONFIG_DIR)/html/ ++ install -c -m 755 $(top_srcdir)/examples/alarms/* $(DESTDIR)$(WV_CONFIG_DIR)/ ++ install -c -m 644 $(top_srcdir)/examples/conf/* $(DESTDIR)$(WV_CONFIG_DIR)/ ++ install -c -m 755 $(top_srcdir)/examples/conf/*.sh $(DESTDIR)$(WV_CONFIG_DIR)/ ++ install -d $(DESTDIR)$(WV_RUN_DIR)/noaa ++ install -d $(DESTDIR)$(WV_RUN_DIR)/alarms ++ install -d $(DESTDIR)$(WV_RUN_DIR)/archive ++ install -d $(DESTDIR)$(WV_RUN_DIR)/img ++ install -c -m 644 $(top_srcdir)/bin/img/* $(DESTDIR)$(WV_RUNDIR)/ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs