فهرست منبع

upgrading package: nntpcache 3.0.1 -> 3.0.2

Ralf S. Engelschall 19 سال پیش
والد
کامیت
df87e4f7a6
2فایلهای تغییر یافته به همراه13 افزوده شده و 12 حذف شده
  1. 8 7
      nntpcache/nntpcache.patch
  2. 5 5
      nntpcache/nntpcache.spec

+ 8 - 7
nntpcache/nntpcache.patch

@@ -1,6 +1,7 @@
---- src/nntpcache.c.orig	2002-04-05 20:29:58.000000000 +0200
-+++ src/nntpcache.c	2003-07-28 14:02:21.000000000 +0200
-@@ -1247,7 +1247,12 @@
+Index: src/nntpcache.c
+--- src/nntpcache.c.orig	2004-04-11 13:43:56 +0200
++++ src/nntpcache.c	2006-03-06 20:21:29 +0100
+@@ -1242,7 +1242,12 @@
  		Task = task_info_new (nc_master, "master");
  		watchInit();
  		drop_priv(ncUID, ncGID);
@@ -14,7 +15,7 @@
  		if (!(fh = fopen (PidFile, "w")))
  			logw (("couldn't open pid file '%s'", PidFile));
  		else
-@@ -1436,6 +1441,7 @@
+@@ -1431,6 +1436,7 @@
      char *config_file = con->configFile;
      char *access_file = con->accessFile;
      char *bindAddr = NULL;
@@ -22,7 +23,7 @@
      struct hostent *hp;
      enum task_state task;
      char *p = NULL;
-@@ -1456,7 +1462,7 @@
+@@ -1451,7 +1457,7 @@
  	 assert(task_desc[nc_last] == NULL);
  	 task = nc_master;
  
@@ -31,7 +32,7 @@
  		switch (c)
  		{
  		case 'a':
-@@ -1496,6 +1502,9 @@
+@@ -1491,6 +1497,9 @@
  		case 'b':
  			bindAddr = Sstrdup(optarg);
  			break;
@@ -41,7 +42,7 @@
  		case 's':
  			SwapWithChild = TRUE;
  			break;
-@@ -1563,6 +1572,10 @@
+@@ -1558,6 +1567,10 @@
  		if (con->bindAddr) free(con->bindAddr);
  		con->bindAddr = Sstrdup(bindAddr);
  	}

+ 5 - 5
nntpcache/nntpcache.spec

@@ -25,21 +25,21 @@
 #   package information
 Name:         nntpcache
 Summary:      NNTP Caching Proxy
-URL:          http://www.nntpcache.org/
+URL:          http://www.nntpcache.com/
 Vendor:       Julian Assange, Luke Bowker
 Packager:     OpenPKG
 Distribution: OpenPKG
 Class:        BASE
 Group:        News
 License:      BSD
-Version:      3.0.1
-Release:      20040920
+Version:      3.0.2
+Release:      20060306
 
 #   package options
 %option       with_fsl  yes
 
 #   list of sources
-Source0:      ftp://ftp.nntpcache.org/pub/nntpcache/nntpcache-%{version}.tar.gz
+Source0:      http://www.nntpcache.com/pub/nntpcache/nntpcache-%{version}.tar.gz
 Source1:      rc.nntpcache
 Source2:      fsl.nntpcache
 Patch0:       nntpcache.patch
@@ -70,7 +70,7 @@ AutoReqProv:  no
 %track
     prog nntpcache = {
         version   = %{version}
-        url       = ftp://ftp.cs.tu-berlin.de/pub/net/news/nntpcache/
+        url       = http://www.nntpcache.com/source.html
         regex     = nntpcache-(__VER__)\.tar\.gz
     }