Update to 1.4.4.
This commit is contained in:
parent
65f456d31a
commit
8bcfdc4fa3
@ -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/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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\ //`
|
||||
|
14
www/snownews/patches/patch-doc_man_snownews_1_in
Normal file
14
www/snownews/patches/patch-doc_man_snownews_1_in
Normal file
@ -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
|
37
www/snownews/patches/patch-main_c
Normal file
37
www/snownews/patches/patch-main_c
Normal file
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user