pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/metamail Fix PR pkg/25779.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55162f1c8628
branches:  trunk
changeset: 476657:55162f1c8628
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jun 17 20:56:56 2004 +0000

description:
Fix PR pkg/25779.
  - Correct permission of font files by using BSD_INSTALL_*.
  - Use symlinks instead of copying the same file with different names.

Bump PKGREVISION.

diffstat:

 mail/metamail/Makefile         |   4 ++--
 mail/metamail/distinfo         |   6 +++---
 mail/metamail/patches/patch-aa |  31 +++++++++++++++++++++----------
 mail/metamail/patches/patch-ad |  10 +++++-----
 4 files changed, 31 insertions(+), 20 deletions(-)

diffs (152 lines):

diff -r f7fb9026cdac -r 55162f1c8628 mail/metamail/Makefile
--- a/mail/metamail/Makefile    Thu Jun 17 16:07:24 2004 +0000
+++ b/mail/metamail/Makefile    Thu Jun 17 20:56:56 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2004/06/10 15:31:47 minskim Exp $
+# $NetBSD: Makefile,v 1.30 2004/06/17 20:56:56 minskim Exp $
 
 DISTNAME=      mm2.7
 PKGNAME=       metamail-2.7
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    mail
 MASTER_SITES=  ftp://thumper.bellcore.com/pub/nsb/
 EXTRACT_SUFX=  .tar.Z
diff -r f7fb9026cdac -r 55162f1c8628 mail/metamail/distinfo
--- a/mail/metamail/distinfo    Thu Jun 17 16:07:24 2004 +0000
+++ b/mail/metamail/distinfo    Thu Jun 17 20:56:56 2004 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.11 2004/06/10 15:31:47 minskim Exp $
+$NetBSD: distinfo,v 1.12 2004/06/17 20:56:56 minskim Exp $
 
 SHA1 (mm2.7.tar.Z) = 8f213baec9b17c05bcb066f616977a561757d7a6
 Size (mm2.7.tar.Z) = 262881 bytes
-SHA1 (patch-aa) = 9b3f6a9378d8c1a2a2542a2163dfb96d61df6ce3
+SHA1 (patch-aa) = 59c59d9b00766d2825c29f7c91ba84a12648975e
 SHA1 (patch-ab) = d94e83bdd0c9a101f6a09c6ef4e5f8df7c74411d
 SHA1 (patch-ac) = f0b04f7d6b17fb5c71a09b4caaf4298acdcff64e
-SHA1 (patch-ad) = f5b8a3e04da86fb875ffe34b3f4cba5c7b4e4d94
+SHA1 (patch-ad) = 1626e771d9432be087cd9b2ed87671c6ad96129b
 SHA1 (patch-ae) = 7abed3b508779f354036a3634510d4c68c3670a8
 SHA1 (patch-af) = 9ba42f1eef27d452debb9c1e0abc800f19deccac
 SHA1 (patch-ag) = 674ceb59955de76e9a673ee4969d359a30fba5f8
diff -r f7fb9026cdac -r 55162f1c8628 mail/metamail/patches/patch-aa
--- a/mail/metamail/patches/patch-aa    Thu Jun 17 16:07:24 2004 +0000
+++ b/mail/metamail/patches/patch-aa    Thu Jun 17 20:56:56 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2004/06/06 19:33:11 jschauma Exp $
+$NetBSD: patch-aa,v 1.8 2004/06/17 20:56:56 minskim Exp $
 
---- Makefile.orig      1994-01-26 12:32:33.000000000 -0500
-+++ Makefile   2004-06-06 15:13:31.000000000 -0400
-@@ -20,13 +20,13 @@
+--- Makefile.orig      1994-01-26 11:32:33.000000000 -0600
++++ Makefile
+@@ -20,13 +20,13 @@ RM = rm
  # RM = rm -f
  
  # How to run Make 
@@ -18,7 +18,7 @@
  
  # You may also want to change the CFLAGS variable, which will be passed on 
  # to all subdirectories.    If you do that, the changes will only work right if you
-@@ -38,7 +38,7 @@
+@@ -38,7 +38,7 @@ FOOBAR-sun4=-Bstatic
  
  STATICFLAG=FOOBAR${HOST_ARCH}
  
@@ -27,7 +27,7 @@
  # The following is better if you want to make sure you run with SYSV defined
  # CFLAGS = -g -I.  ${$(STATICFLAG)}  -DSYSV
  # Also, for SGI Irix, compile in K&R mode
-@@ -49,9 +49,12 @@
+@@ -49,9 +49,12 @@ CFLAGS = -g -I.  ${$(STATICFLAG)} 
  # LDLIBS variable.
  #
  # For Sun and BSD systems, the following should work...
@@ -42,7 +42,7 @@
  # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
  # LDLIBS = -lsun -lc_s
  # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
-@@ -72,10 +75,10 @@
+@@ -72,10 +75,10 @@ CONFIGDIR = .
  #     install -s -c $(LOCALBINDIR) $$file
  #
  #INSTALL = cp
@@ -55,7 +55,7 @@
  #
  # This is where binaries should be copied
  LOCALBINDIR = ${INSTROOT}/bin
-@@ -91,14 +94,22 @@
+@@ -91,23 +94,27 @@ MAN4EXT = 4
  FONTSUFFIX=pcf
  
  # This is where the mailcap file should be put
@@ -81,7 +81,16 @@
        (cd metamail ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"  LDLIBS="${LDLIBS}")
        -${RM} bin/metamail
        (cd bin; ${LN} ../metamail/metamail metamail)
-@@ -117,7 +128,7 @@
+       -${RM} bin/mmencode
+       (cd bin; ${LN} ../metamail/mmencode mmencode)
+-      -${RM} bin/mimencode
+-      (cd bin; ${LN} ../metamail/mmencode mimencode)
+-      -${RM} man/mimencode.1
+-      (cd man; ${LN} ../man/mmencode.1 mimencode.1)
+       -${RM} bin/mailto
+       (cd bin; ${LN} ../metamail/mailto mailto)
+       -${RM} bin/splitmail
+@@ -117,7 +124,7 @@ basics::
        (cd bin; ${LN} ../richmail/richtext richtext)
        -${RM} bin/richtoatk
        (cd bin; ${LN} ../richmail/richtoatk richtoatk)
@@ -90,7 +99,7 @@
        -${RM} bin/shownonascii
        (cd bin; ${LN} ../fonts/shownonascii shownonascii)
        -${RM} bin/mailto-hebrew
-@@ -125,30 +136,37 @@
+@@ -125,30 +132,39 @@ basics::
  
  install-all: basics 
        @(cd bin;                               \
@@ -108,6 +117,7 @@
 -          ${INSTALL} $$file $$target;         \
 +          ${BSD_INSTALL_SCRIPT} $$file $$target;      \
        done)
++      ${LN} -s mmencode ${LOCALBINDIR}/mimencode
        @(cd man;                               \
        for file in *.1;                        \
        do                                      \
@@ -116,6 +126,7 @@
 -          ${CP} $$file $$target;              \
 +          ${BSD_INSTALL_MAN} $$file $$target;                 \
        done)
++      ${LN} -s mmencode.1 ${MAN1DIR}/mimencode.1
        @(cd man;                               \
        for file in *.4;                        \
        do                                      \
diff -r f7fb9026cdac -r 55162f1c8628 mail/metamail/patches/patch-ad
--- a/mail/metamail/patches/patch-ad    Thu Jun 17 16:07:24 2004 +0000
+++ b/mail/metamail/patches/patch-ad    Thu Jun 17 20:56:56 2004 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.4 2004/02/25 03:58:42 snj Exp $
+$NetBSD: patch-ad,v 1.5 2004/06/17 20:56:56 minskim Exp $
 
---- fonts/Makefile.orig        1993-05-31 13:49:27.000000000 -0700
-+++ fonts/Makefile     2004-02-24 19:19:01.000000000 -0800
+--- fonts/Makefile.orig        1993-05-31 15:49:27.000000000 -0500
++++ fonts/Makefile
 @@ -28,12 +28,18 @@ heb8x13B.${FONTSUFFIX}: heb8x13B.bdf
        -${DIRBUILDER}
  
@@ -18,8 +18,8 @@
 +      ${CHMOD} +x mailto-hebrew
 +
 +install:
-+      mkdir -p ${PREFIX}/lib/metamail/fonts
-+      ${INSTALL} -c heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} \
++      ${BSD_INSTALL_DATA_DIR} ${PREFIX}/lib/metamail/fonts
++      ${BSD_INSTALL_DATA} heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} \
 +              heb8x13B.${FONTSUFFIX} fonts.alias ${PREFIX}/lib/metamail/fonts
 +      mkfontdir ${PREFIX}/lib/metamail/fonts
  



Home | Main Index | Thread Index | Old Index