pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2005Q2]: pkgsrc/net/gopher Pullup ticket 655 - requested by Lu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fa0b475b68d
branches:  pkgsrc-2005Q2
changeset: 495951:6fa0b475b68d
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Aug 05 16:22:38 2005 +0000

description:
Pullup ticket 655 - requested by Lubomir Sedlacik
security update for gopher

Revisions pulled up:
- pkgsrc/net/gopher/Makefile            1.10
- pkgsrc/net/gopher/PLIST               1.3
- pkgsrc/net/gopher/distinfo            1.5
- pkgsrc/net/gopher/patches/patch-aa    1.1
- pkgsrc/net/gopher/patches/patch-ab    1.1
- pkgsrc/net/gopher/patches/patch-ac    1.1
- pkgsrc/net/gopher/patches/patch-ad    1.1

    Module Name:    pkgsrc
    Committed By:   salo
    Date:           Fri Aug  5 12:14:51 UTC 2005

    Modified Files:
            pkgsrc/net/gopher: Makefile PLIST distinfo
    Added Files:
            pkgsrc/net/gopher/patches: patch-aa patch-ab patch-ac patch-ad

    Log Message:
    Update to version 3.0.9

    Changes:
    - use PKG_SYSCONFIG

    Upstream changelog nonexistent, security fixes for CAN-2005-1853.

diffstat:

 net/gopher/Makefile         |  35 +++++++++++++++++++++++------------
 net/gopher/PLIST            |  10 +++++-----
 net/gopher/distinfo         |  12 ++++++++----
 net/gopher/patches/patch-aa |  36 ++++++++++++++++++++++++++++++++++++
 net/gopher/patches/patch-ab |  25 +++++++++++++++++++++++++
 net/gopher/patches/patch-ac |  14 ++++++++++++++
 net/gopher/patches/patch-ad |  21 +++++++++++++++++++++
 7 files changed, 132 insertions(+), 21 deletions(-)

diffs (193 lines):

diff -r 041848365734 -r 6fa0b475b68d net/gopher/Makefile
--- a/net/gopher/Makefile       Thu Aug 04 23:35:51 2005 +0000
+++ b/net/gopher/Makefile       Fri Aug 05 16:22:38 2005 +0000
@@ -1,18 +1,29 @@
-# $NetBSD: Makefile,v 1.9 2005/05/22 20:08:24 jlam Exp $
+# $NetBSD: Makefile,v 1.9.2.1 2005/08/05 16:22:38 snj Exp $
 #
 
-DISTNAME=      gopher_3.0.6
-PKGNAME=       ${DISTNAME:S/_/-/}
-CATEGORIES=    net
-MASTER_SITES=  http://gopher.quux.org:70/give-me-gopher/
+DISTNAME=              gopher_3.0.9
+PKGNAME=               ${DISTNAME:S/_/-/}
+CATEGORIES=            net
+MASTER_SITES=          http://quux.org/devel/gopher/Downloads/
+
+MAINTAINER=            jgoerzen%complete.org@localhost
+HOMEPAGE=              gopher://quux.org/1/devel/gopher/
+COMMENT=               Distributed document delivery client and server
 
-MAINTAINER=    jgoerzen%complete.org@localhost
-HOMEPAGE=      gopher://quux.org/1/devel/gopher/
-COMMENT=       Distributed document delivery client and server
+WRKSRC=                        ${WRKDIR}/gopher
+PKG_SYSCONFSUBDIR?=    ${PKGBASE}
+EGDIR=                 ${PREFIX}/share/examples/gopher
+MAKE_ENV+=             EGDIR=${EGDIR:Q}
 
-WRKSRC=                ${WRKDIR}/gopher
-GNU_CONFIGURE= yes
-USE_TOOLS+=    gmake
-CONFIGURE_ARGS+=--disable-auth
+GNU_CONFIGURE=         yes
+USE_PKGINSTALL=                yes
+USE_TOOLS+=            gmake
+
+CONFIGURE_ARGS+=       --disable-auth
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+
+CONF_FILES+=           ${EGDIR}/gopher.hlp ${PKG_SYSCONFDIR}/gopher.hlp
+CONF_FILES+=           ${EGDIR}/gopher.rc ${PKG_SYSCONFDIR}/gopher.rc
+CONF_FILES+=           ${EGDIR}/gopherremote.rc ${PKG_SYSCONFDIR}/gopherremote.rc
 
 .include "../../mk/bsd.pkg.mk"
diff -r 041848365734 -r 6fa0b475b68d net/gopher/PLIST
--- a/net/gopher/PLIST  Thu Aug 04 23:35:51 2005 +0000
+++ b/net/gopher/PLIST  Fri Aug 05 16:22:38 2005 +0000
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2003/08/24 00:06:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2.14.1 2005/08/05 16:22:38 snj Exp $
 bin/gopher
 bin/gophfilt
-etc/gopher/gopher.hlp
-etc/gopher/gopher.rc
-etc/gopher/gopherremote.rc
 man/man1/gopher.1
 man/man1/gophfilt.1
 man/man5/gopherrc.5
-@dirrm etc/gopher
+share/examples/gopher/gopher.hlp
+share/examples/gopher/gopher.rc
+share/examples/gopher/gopherremote.rc
+@dirrm share/examples/gopher
diff -r 041848365734 -r 6fa0b475b68d net/gopher/distinfo
--- a/net/gopher/distinfo       Thu Aug 04 23:35:51 2005 +0000
+++ b/net/gopher/distinfo       Fri Aug 05 16:22:38 2005 +0000
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:48 agc Exp $
+$NetBSD: distinfo,v 1.4.4.1 2005/08/05 16:22:38 snj Exp $
 
-SHA1 (gopher_3.0.6.tar.gz) = c5b17445c7be11658fe9247edd1767f4f58eacbd
-RMD160 (gopher_3.0.6.tar.gz) = 03fed73732c85e49130f0b376606ca367148e7a4
-Size (gopher_3.0.6.tar.gz) = 677753 bytes
+SHA1 (gopher_3.0.9.tar.gz) = 2f4dc2681c6f44f770b36292ca275f094fccfe0c
+RMD160 (gopher_3.0.9.tar.gz) = b30e0fa8864b82962e9b1036c7eeed0b79c16eed
+Size (gopher_3.0.9.tar.gz) = 317945 bytes
+SHA1 (patch-aa) = 650c84593fb2c8b2fe7673f222f8409e3324f79d
+SHA1 (patch-ab) = 436aeab07e3c4d24e06fbe58b83182b330b7c0c4
+SHA1 (patch-ac) = 6fe32b527205649fb4d45618643ccd0815c55724
+SHA1 (patch-ad) = 84a286204f59828d1a70f8b7152b37b2d3ff5593
diff -r 041848365734 -r 6fa0b475b68d net/gopher/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gopher/patches/patch-aa       Fri Aug 05 16:22:38 2005 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.2.2 2005/08/05 16:22:38 snj Exp $
+
+--- Makefile.config.in.orig    2005-07-20 17:28:53.000000000 +0200
++++ Makefile.config.in 2005-08-05 13:54:44.000000000 +0200
+@@ -157,7 +157,7 @@
+ # Your favorite C compiler..
+ #
+ 
+-CC = @CC@
++#CC = @CC@
+ 
+ #------------------------------------------------
+ # Optimization level.
+@@ -165,11 +165,11 @@
+ 
+ #OPT=-g
+ #OPT=-g -Wunused -W
+-OPT=@OPT@ -Wall
++OPT= ${CFLAGS}
+ #------------------------------------------------
+ # The ranlib command on your system.  Systems without it should still survive
+ 
+-RANLIB = @RANLIB@
++#RANLIB = @RANLIB@
+ 
+ #------------------------------------------------
+ # The install command on your system.  cp works in most cases...
+@@ -181,7 +181,7 @@
+ prefix                = @prefix@
+ SYSCONFDIR    = @sysconfdir@
+ CLIENTDIR     = $(PREFIX)/bin
+-CLIENTLIB       = $(DESTDIR)/$(SYSCONFDIR)/gopher
++CLIENTLIB       = $(DESTDIR)/$(SYSCONFDIR)
+ SERVERDIR     = $(PREFIX)/sbin
+ 
+ # On SCO manuals are in /usr/man but its easiest to do a 
diff -r 041848365734 -r 6fa0b475b68d net/gopher/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gopher/patches/patch-ab       Fri Aug 05 16:22:38 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.2.2 2005/08/05 16:22:38 snj Exp $
+
+--- gopher/Makefile.in.orig    2005-07-20 17:28:52.000000000 +0200
++++ gopher/Makefile.in 2005-08-05 14:01:36.000000000 +0200
+@@ -152,14 +152,12 @@
+       $(CC) $(LDFLAGS) -o $@ $(OBJS)  ../object/libgopher.a @CLIENTLIBS@ @REGEXLIBS@ @LIBS@
+ 
+ install : all
+-      -mv $(CLIENTDIR)/$(TARGET) $(CLIENTDIR)/$(TARGET).old
+-      -mkdir $(CLIENTDIR)
+-      -mkdir $(CLIENTLIB)
+-      @INSTALL@ $(TARGET) $(CLIENTDIR)
+-      @INSTALL@ -d $(CLIENTLIB)
+-      @INSTALL@ gopher.rc $(CLIENTLIB)
+-      @INSTALL@ gopherremote.rc $(CLIENTLIB)
+-      @INSTALL@ gopher.hlp $(CLIENTLIB)
++      $(BSD_INSTALL_PROGRAM_DIR) $(CLIENTDIR)
++      $(BSD_INSTALL_PROGRAM) $(TARGET) $(CLIENTDIR)/
++      $(BSD_INSTALL_DATA_DIR) $(EGDIR)/
++      $(BSD_INSTALL_DATA) gopher.rc $(EGDIR)/
++      $(BSD_INSTALL_DATA) gopherremote.rc $(EGDIR)/
++      $(BSD_INSTALL_DATA) gopher.hlp $(EGDIR)/
+ 
+ clean:
+       -rm -f $(TARGET) $(OBJS) *.out *~ core
diff -r 041848365734 -r 6fa0b475b68d net/gopher/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gopher/patches/patch-ac       Fri Aug 05 16:22:38 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.2.2 2005/08/05 16:22:38 snj Exp $
+
+--- gophfilt/Makefile.in.orig  2005-07-20 17:28:52.000000000 +0200
++++ gophfilt/Makefile.in       2005-08-05 14:02:39.000000000 +0200
+@@ -83,8 +83,7 @@
+       $(CC) $(LDFLAGS) -o $@ $(OBJS) ../object/libgopher.a @REGEXLIBS@ @LIBS@ 
+ 
+ install : all
+-      -mv $(CLIENTDIR)/$(TARGET) $(CLIENTDIR)/$(TARGET).old
+-      @INSTALL@ $(TARGET) $(CLIENTDIR)
++      $(BSD_INSTALL_PROGRAM) $(TARGET) $(CLIENTDIR)/
+ 
+ clean:
+       -rm -f $(TARGET) $(OBJS) *.out *~ core
diff -r 041848365734 -r 6fa0b475b68d net/gopher/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gopher/patches/patch-ad       Fri Aug 05 16:22:38 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.2.2 2005/08/05 16:22:38 snj Exp $
+
+--- doc/Makefile.in.orig       2005-07-20 17:28:53.000000000 +0200
++++ doc/Makefile.in    2005-08-05 14:04:11.000000000 +0200
+@@ -4,11 +4,11 @@
+        gophfilt.1 gopherrc.5
+ 
+ install: $(TARGET)
+-      @INSTALL@ -d -m 0755 $(MAN1DIR)
+-      @INSTALL@ -d -m 0755 $(MAN5DIR)
+-      @INSTALL@ -m 0644 gopher.1 $(MAN1DIR)
+-      @INSTALL@ -m 0644 gophfilt.1 $(MAN1DIR)
+-      @INSTALL@ -m 0644 gopherrc.5 $(MAN5DIR)
++      $(BSD_INSTALL_MAN_DIR) $(MAN1DIR)
++      $(BSD_INSTALL_MAN_DIR) $(MAN5DIR)
++      $(BSD_INSTALL_MAN) gopher.1 $(MAN1DIR)/
++      $(BSD_INSTALL_MAN) gophfilt.1 $(MAN1DIR)/
++      $(BSD_INSTALL_MAN) gopherrc.5 $(MAN5DIR)/
+ 
+ all:
+       $(NROFF)    gopher.1       >gopher.cat



Home | Main Index | Thread Index | Old Index