diff --git a/www/snownews/Makefile b/www/snownews/Makefile index bdeb08e6866..30508b82157 100644 --- a/www/snownews/Makefile +++ b/www/snownews/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.5 2003/12/30 03:10:02 jolan Exp $ +# $OpenBSD: Makefile,v 1.6 2004/01/25 05:49:35 jolan Exp $ COMMENT= "text mode rss newsreader" -DISTNAME= snownews-1.4.2 +DISTNAME= snownews-1.4.4 CATEGORIES= www MASTER_SITES= ${HOMEPAGE}download/ diff --git a/www/snownews/distinfo b/www/snownews/distinfo index 5bfcb07e6db..46dda01422f 100644 --- a/www/snownews/distinfo +++ b/www/snownews/distinfo @@ -1,3 +1,3 @@ -MD5 (snownews-1.4.2.tar.gz) = 6597c1edb9ff0e070df4de4d35df7db4 -RMD160 (snownews-1.4.2.tar.gz) = ab53004f554c43633c8342ba69710625f1aba188 -SHA1 (snownews-1.4.2.tar.gz) = 6a935496d707f6fb456b6b259ca3ceb69b44505c +MD5 (snownews-1.4.4.tar.gz) = 67b6d2baaea20561fb828b431b39b77c +RMD160 (snownews-1.4.4.tar.gz) = 069688a04323d7e22e0785d0a00865d366683ee8 +SHA1 (snownews-1.4.4.tar.gz) = 174d894c74b5da3fc627f84bd7094a1d2e298160 diff --git a/www/snownews/patches/patch-Makefile b/www/snownews/patches/patch-Makefile index 8debda01b07..d589e07e8ed 100644 --- a/www/snownews/patches/patch-Makefile +++ b/www/snownews/patches/patch-Makefile @@ -1,12 +1,10 @@ -$OpenBSD: patch-Makefile,v 1.5 2003/12/30 03:10:02 jolan Exp $ ---- Makefile.orig 2003-12-23 12:28:09.000000000 -0600 -+++ Makefile 2003-12-29 20:56:28.000000000 -0600 -@@ -1,8 +1,8 @@ - include Makefile.inc +$OpenBSD: patch-Makefile,v 1.6 2004/01/25 05:49:35 jolan Exp $ +--- Makefile.orig 2004-01-23 06:13:29.000000000 -0600 ++++ Makefile 2004-01-23 17:07:45.000000000 -0600 +@@ -2,7 +2,7 @@ include Makefile.inc --LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) -+LDFLAGS+= -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) - OBJFILES = main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o ui-support.o categories.o + LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) + OBJFILES = main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o ui-support.o categories.o about.o cookies.o -CFLAGS = -Wall -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) +CFLAGS+= -Wall -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) VERSION = `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` diff --git a/www/snownews/patches/patch-doc_man_snownews_1_in b/www/snownews/patches/patch-doc_man_snownews_1_in new file mode 100644 index 00000000000..d3464547a00 --- /dev/null +++ b/www/snownews/patches/patch-doc_man_snownews_1_in @@ -0,0 +1,14 @@ +$OpenBSD: patch-doc_man_snownews_1_in,v 1.1 2004/01/25 05:49:35 jolan Exp $ +--- doc/man/snownews.1.in.orig 2004-01-23 06:13:29.000000000 -0600 ++++ doc/man/snownews.1.in 2004-01-23 17:07:16.000000000 -0600 +@@ -182,8 +182,8 @@ the returned value with the local progra + notifies the user of a new version. It is done on exit to be least + annoying I hope. This way you can easily ignore it if you don't want + to upgrade for some reason or can't, because you're using a package +-that came with your distribution, etc. To disable this check, start +-the program with the option "--disable-versioncheck". The program will ++that came with your distribution, etc. To enable this check, start ++the program with the option "--enable-versioncheck". The program will + not transfer anything to my server. It will just download a file + containing the version number and compare it locally. + .P diff --git a/www/snownews/patches/patch-main_c b/www/snownews/patches/patch-main_c new file mode 100644 index 00000000000..b8b77b43fc7 --- /dev/null +++ b/www/snownews/patches/patch-main_c @@ -0,0 +1,37 @@ +$OpenBSD: patch-main_c,v 1.1 2004/01/25 05:49:35 jolan Exp $ +--- main.c.orig 2004-01-23 06:13:29.000000000 -0600 ++++ main.c 2004-01-23 17:07:16.000000000 -0600 +@@ -53,7 +53,7 @@ struct color color; + extern struct feed *first_bak; /* For use with the signal handler. */ + + char *browser; /* Browser command. lynx is standard. */ +-int versioncheck = 1; /* Autoupdate check. 1=yes, 0=no. */ ++int versioncheck = 0; /* Autoupdate check. 1=yes, 0=no. */ + char *proxyname; /* Hostname of proxyserver. */ + char *useragent; /* Snownews User-Agent string. */ + unsigned short proxyport = 0; /* Port on proxyserver to use. */ +@@ -861,11 +861,11 @@ int main (int argc, char *argv[]) { + strcmp(argv[1], "-u") == 0) { + autoupdate = 1; + if (argv[2] != NULL) { +- if (strcmp(argv[2], "--disable-versioncheck") == 0) +- versioncheck = 0; ++ if (strcmp(argv[2], "--enable-versioncheck") == 0) ++ versioncheck = 1; + } +- } else if (strcmp(argv[1], "--disable-versioncheck") == 0) { +- versioncheck = 0; ++ } else if (strcmp(argv[1], "--enable-versioncheck") == 0) { ++ versioncheck = 1; + if (argv[2] != NULL) { + if (strcmp(argv[2], "--update") == 0 || + strcmp(argv[2], "-u") == 0) { +@@ -878,7 +878,7 @@ int main (int argc, char *argv[]) { + printf (_("\t--update|-u\tAutomatically update every feed.\n")); + printf (_("\t--help|-h\tPrint this help message.\n")); + printf (_("\t--version|-V\tPrint version number and exit.\n")); +- printf (_("\t--disable-versioncheck\n")); ++ printf (_("\t--enable-versioncheck\n")); + return 0; + } + }