diff options
| author | Dirk | 2014-02-21 11:16:02 +0100 |
|---|---|---|
| committer | Dirk | 2014-02-21 11:16:02 +0100 |
| commit | 1e30627c5b00884054fae7210d036e34ebe4f181 (patch) | |
| tree | 6d258c5a7a2279881706f38e37921dc4557a0b8d /remote/modules/smbclient | |
| parent | Setzen des Windows-Namens beim Booten aus Laufwerk B: (diff) | |
| parent | [nvidia_libs] Debug: Checkin für Joey:). (diff) | |
| download | tm-scripts-1e30627c5b00884054fae7210d036e34ebe4f181.tar.gz tm-scripts-1e30627c5b00884054fae7210d036e34ebe4f181.tar.xz tm-scripts-1e30627c5b00884054fae7210d036e34ebe4f181.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
...
Diffstat (limited to 'remote/modules/smbclient')
| -rw-r--r-- | remote/modules/smbclient/data/etc/tmpfiles.d/ensure-smbconf-exists.conf | 4 | ||||
| -rw-r--r-- | remote/modules/smbclient/smbclient.build | 20 | ||||
| -rw-r--r-- | remote/modules/smbclient/smbclient.conf | 10 | ||||
| -rw-r--r-- | remote/modules/smbclient/smbclient.conf.opensuse | 9 | ||||
| -rw-r--r-- | remote/modules/smbclient/smbclient.conf.ubuntu | 9 |
5 files changed, 52 insertions, 0 deletions
diff --git a/remote/modules/smbclient/data/etc/tmpfiles.d/ensure-smbconf-exists.conf b/remote/modules/smbclient/data/etc/tmpfiles.d/ensure-smbconf-exists.conf new file mode 100644 index 00000000..f893eb71 --- /dev/null +++ b/remote/modules/smbclient/data/etc/tmpfiles.d/ensure-smbconf-exists.conf @@ -0,0 +1,4 @@ +# smbspool for some reason insists on reading this file, even if it is empty, otherwise it will bail out +d /etc/samba 0755 root root - +f /etc/samba/smb.conf 0644 root root - + 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..460c57b5 --- /dev/null +++ b/remote/modules/smbclient/smbclient.conf @@ -0,0 +1,10 @@ +REQUIRED_BINARIES=" + smbspool + smbcacls + rpcclient + smbcquotas + smbget + smbclient + smbtree + smbtar +" diff --git a/remote/modules/smbclient/smbclient.conf.opensuse b/remote/modules/smbclient/smbclient.conf.opensuse new file mode 100644 index 00000000..f524d100 --- /dev/null +++ b/remote/modules/smbclient/smbclient.conf.opensuse @@ -0,0 +1,9 @@ +REQUIRED_INSTALLED_PACKAGES=" + samba-client +" +REQUIRED_CONTENT_PACKAGES=" + samba-client +" +REQUIRED_FILES=" + /usr/lib/cups/backend/smb +" 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 +" |
