summaryrefslogtreecommitdiffstats
path: root/net-p2p/napshare
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2003-01-04 19:03:16 +0000
committermikeh <mikeh@FreeBSD.org>2003-01-04 19:03:16 +0000
commitc0ba937907ed7514fec17c1de5221de1a7185ee5 (patch)
tree27669135c9cc4370997cc868f8f6403b8568d7e2 /net-p2p/napshare
parentd4055f81eb182308b76ac620875ddf6415c651b8 (diff)
downloadFreeBSD-ports-c0ba937907ed7514fec17c1de5221de1a7185ee5.zip
FreeBSD-ports-c0ba937907ed7514fec17c1de5221de1a7185ee5.tar.gz
Upgrade to 1.2.
Diffstat (limited to 'net-p2p/napshare')
-rw-r--r--net-p2p/napshare/Makefile5
-rw-r--r--net-p2p/napshare/distinfo2
-rw-r--r--net-p2p/napshare/files/patch-aa14
-rw-r--r--net-p2p/napshare/files/patch-ab11
-rw-r--r--net-p2p/napshare/pkg-plist2
5 files changed, 32 insertions, 2 deletions
diff --git a/net-p2p/napshare/Makefile b/net-p2p/napshare/Makefile
index 0ddea2a..8841dce 100644
--- a/net-p2p/napshare/Makefile
+++ b/net-p2p/napshare/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= napshare
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= napshare
@@ -19,4 +19,7 @@ USE_GNOMENG= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
+post-extract:
+ @${RM} ${WRKSRC}/config.cache
+
.include <bsd.port.mk>
diff --git a/net-p2p/napshare/distinfo b/net-p2p/napshare/distinfo
index 2a15e2c..b952229 100644
--- a/net-p2p/napshare/distinfo
+++ b/net-p2p/napshare/distinfo
@@ -1 +1 @@
-MD5 (napshare-1.1.tar.gz) = 83d3c79f7db56feb5409b949900c9a81
+MD5 (napshare-1.2.tar.gz) = 862373717fd7bee31b9dca003a0840a0
diff --git a/net-p2p/napshare/files/patch-aa b/net-p2p/napshare/files/patch-aa
new file mode 100644
index 0000000..9eb943e
--- /dev/null
+++ b/net-p2p/napshare/files/patch-aa
@@ -0,0 +1,14 @@
+--- src/hosts.c.orig Sat Jan 4 13:25:05 2003
++++ src/hosts.c Sat Jan 4 13:27:43 2003
+@@ -265,6 +265,11 @@
+ g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", path);
+ cachef = fopen(h_tmp, "r"); // open the normal file
+ }
++ // Try opening from data directory
++ if (cachef == NULL) {
++ g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", PACKAGE_DATA_DIR);
++ cachef = fopen(h_tmp, "r");
++ }
+ }
+
+ if (!cachef) {
diff --git a/net-p2p/napshare/files/patch-ab b/net-p2p/napshare/files/patch-ab
new file mode 100644
index 0000000..a11691a
--- /dev/null
+++ b/net-p2p/napshare/files/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sat Jan 4 13:47:04 2003
++++ Makefile.in Sat Jan 4 13:47:33 2003
+@@ -362,6 +362,8 @@
+ fi \
+ done \
+ fi
++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
++ $(INSTALL_DATA) $(srcdir)/NAPS-urlcache.txt $(DESTDIR)$(pkgdatadir);
+
+ dist-hook:
+ if test -d pixmaps; then \
diff --git a/net-p2p/napshare/pkg-plist b/net-p2p/napshare/pkg-plist
index b61cd0b..bb602b5 100644
--- a/net-p2p/napshare/pkg-plist
+++ b/net-p2p/napshare/pkg-plist
@@ -1 +1,3 @@
bin/napshare
+share/napshare/NAPS-urlcache.txt
+@dirrm share/napshare
OpenPOWER on IntegriCloud