pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba4 Move rc.d-specific MESSAGE file out of the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ae0be3ebd5c
branches:  trunk
changeset: 652168:6ae0be3ebd5c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 26 15:17:56 2015 +0000

description:
Move rc.d-specific MESSAGE file out of the way and only display if rc.d
is used.  Bump PKGREVISION.

diffstat:

 net/samba4/MESSAGE     |  13 -------------
 net/samba4/MESSAGE.rcd |  13 +++++++++++++
 net/samba4/Makefile    |   8 ++++++--
 3 files changed, 19 insertions(+), 15 deletions(-)

diffs (58 lines):

diff -r 832608020398 -r 6ae0be3ebd5c net/samba4/MESSAGE
--- a/net/samba4/MESSAGE        Tue May 26 15:11:25 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2015/05/12 12:19:52 ryoon Exp $
-
-For ActiveDirectory/Domain Controller, use:
-
-       ${RCD_SCRIPTS_DIR}/samba start
-
-For traditional simple CIFS file sharing, use:
-
-       ${RCD_SCRIPTS_DIR}/nmbd start
-       ${RCD_SCRIPTS_DIR}/winbindd start
-       ${RCD_SCRIPTS_DIR}/smbd start
-===========================================================================
diff -r 832608020398 -r 6ae0be3ebd5c net/samba4/MESSAGE.rcd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/MESSAGE.rcd    Tue May 26 15:17:56 2015 +0000
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE.rcd,v 1.1 2015/05/26 15:17:56 jperkin Exp $
+
+For ActiveDirectory/Domain Controller, use:
+
+       ${RCD_SCRIPTS_DIR}/samba start
+
+For traditional simple CIFS file sharing, use:
+
+       ${RCD_SCRIPTS_DIR}/nmbd start
+       ${RCD_SCRIPTS_DIR}/winbindd start
+       ${RCD_SCRIPTS_DIR}/smbd start
+===========================================================================
diff -r 832608020398 -r 6ae0be3ebd5c net/samba4/Makefile
--- a/net/samba4/Makefile       Tue May 26 15:11:25 2015 +0000
+++ b/net/samba4/Makefile       Tue May 26 15:17:56 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2015/05/26 15:11:25 jperkin Exp $
+# $NetBSD: Makefile,v 1.7 2015/05/26 15:17:56 jperkin Exp $
 
 DISTNAME=      samba-${VERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    net
 MASTER_SITES=  http://download.samba.org/pub/samba/
 
@@ -155,6 +155,10 @@
 SUBST_STAGE.logpath=   pre-configure
 SUBST_SED.logpath+=    -e 's,/usr/local/samba/var/log.%m,${SMB_LOGFILEBASE}/log.%m,g'
 
+.if ${INIT_SYSTEM} == "rc.d"
+MESSAGE_SRC=           ${PKGDIR}/MESSAGE.rcd
+.endif
+
 post-extract:
        ${CP} ${FILESDIR}/adduser.sh ${FILESDIR}/deluser.sh ${WRKDIR}
 



Home | Main Index | Thread Index | Old Index