pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ejabberd Don't create /var/spool/... at install t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e0bfe8ead45
branches:  trunk
changeset: 554160:4e0bfe8ead45
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 09 23:05:02 2009 +0000

description:
Don't create /var/spool/... at install time, the scripts will take care
of it. Mark as user-destdir after that.

diffstat:

 chat/ejabberd/Makefile         |  15 +++++++--------
 chat/ejabberd/distinfo         |   4 ++--
 chat/ejabberd/patches/patch-aa |  10 +++++++++-
 3 files changed, 18 insertions(+), 11 deletions(-)

diffs (86 lines):

diff -r 05d78a8afb4b -r 4e0bfe8ead45 chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile    Mon Feb 09 22:56:21 2009 +0000
+++ b/chat/ejabberd/Makefile    Mon Feb 09 23:05:02 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/02/03 12:07:26 martti Exp $
+# $NetBSD: Makefile,v 1.8 2009/02/09 23:05:02 joerg Exp $
 
 DISTNAME=      ejabberd-2.0.3
 #PKGREVISION=  1
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.ejabberd.im/
 COMMENT=       Free and Open Source distributed fault-tolerant Jabber server
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    jabberd-[0-9]*
 
 GNU_CONFIGURE= yes
@@ -49,8 +51,6 @@
 BUILD_DEFS+=           VARBASE
 PKG_SYSCONFSUBDIR=     ejabberd
 
-PKG_DESTDIR_SUPPORT=   destdir
-
 .include "../../mk/bsd.prefs.mk"
 
 EJABBERD_USER=         ejabberd
@@ -63,7 +63,6 @@
 OWN_DIRS+=             ${EJABBERD_PIDDIR}
 OWN_DIRS+=             ${EJABBERD_LOGDIR}
 OWN_DIRS+=             ${EJABBERD_DB}
-
 OWN_DIRS_PERMS+=       ${EJABBERD_PIDDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
 OWN_DIRS_PERMS+=       ${EJABBERD_LOGDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
 OWN_DIRS_PERMS+=       ${EJABBERD_DB} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
@@ -90,10 +89,10 @@
        ${RM} -f ${WRKSRC}/doc/guide.tex.orig
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/${PKGNAME_NOREV}
-       ${INSTALL_DATA} ${WRKSRC}/doc/Makefile ${PREFIX}/share/doc/${PKGNAME_NOREV}
-       ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/${PKGNAME_NOREV}
-       ${INSTALL_DATA} ${WRKSRC}/doc/api/* ${PREFIX}/share/doc/${PKGNAME_NOREV}/api
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+       ${INSTALL_DATA} ${WRKSRC}/doc/Makefile ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+       ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+       ${INSTALL_DATA} ${WRKSRC}/doc/api/* ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}/api
 
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   Localizing paths
diff -r 05d78a8afb4b -r 4e0bfe8ead45 chat/ejabberd/distinfo
--- a/chat/ejabberd/distinfo    Mon Feb 09 22:56:21 2009 +0000
+++ b/chat/ejabberd/distinfo    Mon Feb 09 23:05:02 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2009/02/03 12:07:26 martti Exp $
+$NetBSD: distinfo,v 1.6 2009/02/09 23:05:02 joerg Exp $
 
 SHA1 (ejabberd-2.0.3.tar.gz) = ee3a503befea79378c4c8f7ce5be6151209bf474
 RMD160 (ejabberd-2.0.3.tar.gz) = e5f77715a9e74dfed5b9dbdd17ad2255d40f3d13
 Size (ejabberd-2.0.3.tar.gz) = 1089870 bytes
-SHA1 (patch-aa) = 5b0c2994aad402cf13cc9531465513aad69de1e0
+SHA1 (patch-aa) = b3cc3c7eaffeada40f322303f6b8d7ee4624f205
 SHA1 (patch-ac) = 271640b343bdc24f6609fe9c95250a91d514bc28
 SHA1 (patch-ad) = a6504e8454878c97e434040a2f9136174b994c0d
 SHA1 (patch-ae) = c1c615a1d2e28d05d069f2bafa30179437922536
diff -r 05d78a8afb4b -r 4e0bfe8ead45 chat/ejabberd/patches/patch-aa
--- a/chat/ejabberd/patches/patch-aa    Mon Feb 09 22:56:21 2009 +0000
+++ b/chat/ejabberd/patches/patch-aa    Mon Feb 09 23:05:02 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2008/11/12 13:13:59 martti Exp $
+$NetBSD: patch-aa,v 1.4 2009/02/09 23:05:02 joerg Exp $
 
 Modified for pkgsrc
 
@@ -24,3 +24,11 @@
  SBINDIR = $(DESTDIR)@sbindir@
  
  ifeq ($(shell uname),Darwin)
+@@ -114,7 +114,6 @@ install: all
+       install -m 644 *.beam $(BEAMDIR)
+       rm -f $(BEAMDIR)/configure.beam
+       install -m 644 *.app $(BEAMDIR)
+-      install -d -m 750 $(SPOOLDIR)
+       install -d $(SODIR)
+       install -d $(PBINDIR)
+       install -m 644 *.so $(SODIR)



Home | Main Index | Thread Index | Old Index