pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/sma Packaging improvements:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/491abd925f1e
branches:  trunk
changeset: 629553:491abd925f1e
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Jan 23 12:20:47 2014 +0000

description:
Packaging improvements:
- Comment out master site and home page URL as they don't work anymore.
- Define a license.
- Fix "pkglint warnings.
- Fix build on IRIX by correcting the mistake in the fix for PR pkg/28818.

Bump package revision because binary changed.

diffstat:

 mail/sma/Makefile         |  14 +++++++-------
 mail/sma/distinfo         |   4 ++--
 mail/sma/patches/patch-aa |   4 +++-
 3 files changed, 12 insertions(+), 10 deletions(-)

diffs (65 lines):

diff -r 8e193b76bd01 -r 491abd925f1e mail/sma/Makefile
--- a/mail/sma/Makefile Thu Jan 23 12:16:59 2014 +0000
+++ b/mail/sma/Makefile Thu Jan 23 12:20:47 2014 +0000
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.16 2014/01/23 11:58:39 tron Exp $
+# $NetBSD: Makefile,v 1.17 2014/01/23 12:20:47 tron Exp $
 
 DISTNAME=      sma-1.4
+PKGREVISION=   1
 CATEGORIES=    mail
-MASTER_SITES=  http://www.klake.org/sma/dl/
+#MASTER_SITES= http://www.klake.org/sma/dl/
 
 MAINTAINER=    markus%marsrakete.de@localhost
-HOMEPAGE=      http://www.klake.org/sma/
+#HOMEPAGE=     http://www.klake.org/sma/
 COMMENT=       Sendmail log analyser
+LICENSE=       modified-bsd
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 NO_CONFIGURE=  yes
@@ -16,18 +18,16 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "IRIX"
+.if ${OPSYS} != "IRIX"
 CFLAGS+=       -DUSE_REGEXP
 .endif
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8 share/doc/sma share/examples/sma
 
 do-install:
        cd ${WRKSRC};                                                   \
        ${INSTALL_PROGRAM} sma ${DESTDIR}${PREFIX}/bin;                 \
        ${INSTALL_MAN} docs/sma.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8;\
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sma;          \
        ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/sma;       \
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sma;     \
        ${INSTALL_DATA} sma.conf ${DESTDIR}${PREFIX}/share/examples/sma
 
 .include "../../mk/bsd.pkg.mk"
diff -r 8e193b76bd01 -r 491abd925f1e mail/sma/distinfo
--- a/mail/sma/distinfo Thu Jan 23 12:16:59 2014 +0000
+++ b/mail/sma/distinfo Thu Jan 23 12:20:47 2014 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/11/14 12:31:30 obache Exp $
+$NetBSD: distinfo,v 1.5 2014/01/23 12:20:47 tron Exp $
 
 SHA1 (sma-1.4.tar.gz) = ee4acb57ed7cde85e732e689756d900ed398a2ba
 RMD160 (sma-1.4.tar.gz) = ce643df84f054216c3a6de5e6cea57b30b0b8f0a
 Size (sma-1.4.tar.gz) = 121365 bytes
-SHA1 (patch-aa) = c1f7a646e7b0ebe9b22c8bd91e41d80487703040
+SHA1 (patch-aa) = f74dd8cca5e92db58bd10ee605cc9f22bf5bb1f3
diff -r 8e193b76bd01 -r 491abd925f1e mail/sma/patches/patch-aa
--- a/mail/sma/patches/patch-aa Thu Jan 23 12:16:59 2014 +0000
+++ b/mail/sma/patches/patch-aa Thu Jan 23 12:20:47 2014 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2005/01/04 15:34:23 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2014/01/23 12:20:47 tron Exp $
+
+Fix build under IRIX. See PR pkg/28818.
 
 --- Makefile.orig      2002-11-14 18:09:54.000000000 +0100
 +++ Makefile



Home | Main Index | Thread Index | Old Index