diff options
author | Jonathan Bauer | 2014-01-31 14:21:32 +0100 |
---|---|---|
committer | Jonathan Bauer | 2014-01-31 14:21:32 +0100 |
commit | 4de35a9149dbbd64c8dea139db0835fa423add1c (patch) | |
tree | 271eb4f55ef949b03ba39b5ba4bc431d5a3f086e /remote | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
download | tm-scripts-4de35a9149dbbd64c8dea139db0835fa423add1c.tar.gz tm-scripts-4de35a9149dbbd64c8dea139db0835fa423add1c.tar.xz tm-scripts-4de35a9149dbbd64c8dea139db0835fa423add1c.zip |
[smbclient] new module for smbclient stuff
(including smbspool)
Diffstat (limited to 'remote')
-rw-r--r-- | remote/modules/smbclient/smbclient.build | 20 | ||||
-rw-r--r-- | remote/modules/smbclient/smbclient.conf | 11 | ||||
-rw-r--r-- | remote/modules/smbclient/smbclient.conf.ubuntu | 9 | ||||
l--------- | remote/targets/stage32-bwlp/smbclient | 1 |
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 |