pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/samba4
Module Name: pkgsrc
Committed By: thor
Date: Sun May 30 20:02:31 UTC 2021
Modified Files:
pkgsrc/net/samba4: Makefile PLIST PLIST.Linux options.mk
Log Message:
net/samba4: handle dbus dependency explicitly on Linux
This manifests as the snapper vfs files appearing depending on dbus
being present or not on Linux, causing PLIST mismatch. This option
actually disables this if desired. The default is still on, as
dbus is to be expected on modern Linux installs anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 pkgsrc/net/samba4/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/net/samba4/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/samba4/PLIST.Linux
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/samba4/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/samba4/Makefile
diff -u pkgsrc/net/samba4/Makefile:1.123 pkgsrc/net/samba4/Makefile:1.124
--- pkgsrc/net/samba4/Makefile:1.123 Mon May 24 19:53:36 2021
+++ pkgsrc/net/samba4/Makefile Sun May 30 20:02:31 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.123 2021/05/24 19:53:36 wiz Exp $
+# $NetBSD: Makefile,v 1.124 2021/05/30 20:02:31 thor Exp $
DISTNAME= samba-4.14.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= https://download.samba.org/pub/samba/stable/
Index: pkgsrc/net/samba4/PLIST
diff -u pkgsrc/net/samba4/PLIST:1.36 pkgsrc/net/samba4/PLIST:1.37
--- pkgsrc/net/samba4/PLIST:1.36 Wed Apr 14 19:11:20 2021
+++ pkgsrc/net/samba4/PLIST Sun May 30 20:02:31 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2021/04/14 19:11:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.37 2021/05/30 20:02:31 thor Exp $
bin/cifsdd
bin/dbwrap_tool
bin/dumpmscat
@@ -799,6 +799,7 @@ lib/samba/vfs/recycle.${SOEXT}
lib/samba/vfs/shadow_copy.${SOEXT}
lib/samba/vfs/shadow_copy2.${SOEXT}
lib/samba/vfs/shell_snap.${SOEXT}
+${PLIST.snapper}lib/samba/vfs/snapper.${SOEXT}
lib/samba/vfs/streams_depot.${SOEXT}
lib/samba/vfs/streams_xattr.${SOEXT}
lib/samba/vfs/syncops.${SOEXT}
@@ -898,6 +899,7 @@ man/man8/vfs_recycle.8
man/man8/vfs_shadow_copy.8
man/man8/vfs_shadow_copy2.8
man/man8/vfs_shell_snap.8
+${PLIST.snapper}man/man8/vfs_snapper.8
man/man8/vfs_streams_depot.8
man/man8/vfs_streams_xattr.8
man/man8/vfs_syncops.8
Index: pkgsrc/net/samba4/PLIST.Linux
diff -u pkgsrc/net/samba4/PLIST.Linux:1.4 pkgsrc/net/samba4/PLIST.Linux:1.5
--- pkgsrc/net/samba4/PLIST.Linux:1.4 Mon Jan 18 09:24:32 2021
+++ pkgsrc/net/samba4/PLIST.Linux Sun May 30 20:02:31 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.Linux,v 1.4 2021/01/18 09:24:32 nia Exp $
+@comment $NetBSD: PLIST.Linux,v 1.5 2021/05/30 20:02:31 thor Exp $
lib/libnss_winbind.so.2
lib/libnss_wins.so
lib/libnss_wins.so.2
@@ -6,9 +6,7 @@ lib/samba/vfs/btrfs.so
lib/samba/vfs/fileid.so
lib/samba/vfs/glusterfs_fuse.so
lib/samba/vfs/gpfs.so
-lib/samba/vfs/snapper.so
man/man8/vfs_btrfs.8
man/man8/vfs_fileid.8
man/man8/vfs_glusterfs_fuse.8
man/man8/vfs_gpfs.8
-man/man8/vfs_snapper.8
Index: pkgsrc/net/samba4/options.mk
diff -u pkgsrc/net/samba4/options.mk:1.12 pkgsrc/net/samba4/options.mk:1.13
--- pkgsrc/net/samba4/options.mk:1.12 Thu Nov 12 06:37:18 2020
+++ pkgsrc/net/samba4/options.mk Sun May 30 20:02:31 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.12 2020/11/12 06:37:18 adam Exp $
+# $NetBSD: options.mk,v 1.13 2021/05/30 20:02:31 thor Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.samba4
PKG_SUPPORTED_OPTIONS= ads avahi fam ldap pam winbind # cups # cups option is broken for me.
@@ -15,6 +15,11 @@ PKG_SUPPORTED_OPTIONS+= acl
PKG_SUGGESTED_OPTIONS+= ads
.endif
+.if ${OPSYS} == "Linux"
+PKG_SUPPORTED_OPTIONS+= snapper
+PKG_SUGGESTED_OPTIONS+= snapper
+.endif
+
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ads cups fam ldap pam winbind
@@ -108,3 +113,13 @@ CONFIGURE_ARGS+= --enable-avahi
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
+
+.if ${OPSYS} == "Linux"
+PLIST_VARS+= snapper
+. if !empty(PKG_OPTIONS:Msnapper)
+.include "../../sysutils/dbus/buildlink3.mk"
+PLIST.snapper= yes
+. else
+CONFIGURE_ARGS+= --with-shared-modules='!vfs_snapper'
+. endif
+.endif
Home |
Main Index |
Thread Index |
Old Index