summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/modules/smbclient/smbclient.build20
-rw-r--r--remote/modules/smbclient/smbclient.conf11
-rw-r--r--remote/modules/smbclient/smbclient.conf.ubuntu9
l---------remote/targets/stage32-bwlp/smbclient1
4 files changed, 41 insertions, 0 deletions
diff --git a/remote/modules/smbclient/smbclient.build b/remote/modules/smbclient/smbclient.build
new file mode 100644
index 00000000..dc28dd26
--- /dev/null
+++ b/remote/modules/smbclient/smbclient.build
@@ -0,0 +1,20 @@
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+
+ local BIN_LOCATION="$(which smbspool)"
+ if [ ! -z "${BIN_LOCATION}" -a -e "${BIN_LOCATION}" ]; then
+ ln -sf "${BIN_LOCATION}" "${MODULE_BUILD_DIR}/usr/lib/cups/backend/smb"
+ fi
+}
+
+post_copy() {
+ :
+}
diff --git a/remote/modules/smbclient/smbclient.conf b/remote/modules/smbclient/smbclient.conf
new file mode 100644
index 00000000..76c2ee32
--- /dev/null
+++ b/remote/modules/smbclient/smbclient.conf
@@ -0,0 +1,11 @@
+REQUIRED_BINARIES="
+ smbspool
+ findsmb
+ smbcacls
+ rpcclient
+ smbcquotas
+ smbget
+ smbclient
+ smbtree
+ smbtar
+"
diff --git a/remote/modules/smbclient/smbclient.conf.ubuntu b/remote/modules/smbclient/smbclient.conf.ubuntu
new file mode 100644
index 00000000..4b33f4bd
--- /dev/null
+++ b/remote/modules/smbclient/smbclient.conf.ubuntu
@@ -0,0 +1,9 @@
+REQUIRED_INSTALLED_PACKAGES="
+ smbclient
+"
+REQUIRED_CONTENT_PACKAGES="
+ smbclient
+"
+REQUIRED_FILES="
+ /usr/lib/cups/backend/smb
+"
diff --git a/remote/targets/stage32-bwlp/smbclient b/remote/targets/stage32-bwlp/smbclient
new file mode 120000
index 00000000..df5f6eb4
--- /dev/null
+++ b/remote/targets/stage32-bwlp/smbclient
@@ -0,0 +1 @@
+../../modules/smbclient/ \ No newline at end of file