[arch-commits] Commit in smbnetfs/repos/community-x86_64 (8 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Mar 30 23:26:14 UTC 2020
Date: Monday, March 30, 2020 @ 23:26:13
Author: spupykin
Revision: 607505
archrelease: copy trunk to community-x86_64
Added:
smbnetfs/repos/community-x86_64/PKGBUILD
(from rev 607504, smbnetfs/trunk/PKGBUILD)
smbnetfs/repos/community-x86_64/conf-smbnetfs
(from rev 607504, smbnetfs/trunk/conf-smbnetfs)
smbnetfs/repos/community-x86_64/smbnetfs.install
(from rev 607504, smbnetfs/trunk/smbnetfs.install)
smbnetfs/repos/community-x86_64/smbnetfs.service
(from rev 607504, smbnetfs/trunk/smbnetfs.service)
Deleted:
smbnetfs/repos/community-x86_64/PKGBUILD
smbnetfs/repos/community-x86_64/conf-smbnetfs
smbnetfs/repos/community-x86_64/smbnetfs.install
smbnetfs/repos/community-x86_64/smbnetfs.service
------------------+
PKGBUILD | 98 +++++++++++++++++++++++++++--------------------------
conf-smbnetfs | 2 -
smbnetfs.install | 48 ++++++++++++-------------
smbnetfs.service | 28 +++++++--------
4 files changed, 90 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 23:25:49 UTC (rev 607504)
+++ PKGBUILD 2020-03-30 23:26:13 UTC (rev 607505)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=smbnetfs
-pkgver=0.6.1
-pkgrel=1
-pkgdesc="small C program that mounts Microsoft network neighborhood in single directory."
-arch=('x86_64')
-url="http://smbnetfs.sourceforge.net/"
-license=('GPL')
-depends=('fuse2' 'smbclient')
-backup=('etc/smbnetfs/.smb/smb.conf'
- 'etc/smbnetfs/.smb/smbnetfs.conf'
- 'etc/smbnetfs/.smb/smbnetfs.auth'
- 'etc/smbnetfs/.smb/smbnetfs.host')
-install=smbnetfs.install
-options=(docs)
-source=(https://downloads.sourceforge.net/smbnetfs/$pkgname-$pkgver.tar.bz2
- conf-smbnetfs
- smbnetfs.service)
-sha256sums=('848b8ee4c1b5cc4c83ee35736cb28e1ddcd5789cca948f060e8cb76baa95380a'
- 'ca3b686c37fe77193e8df86efcaadb8fe809dfaa8cd62effde6b038af07ea226'
- '9a06d4d1ffec3c2dd9bff09fa92fb3e9c0aa9569be90a61bb51f04f852b2d741')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
- sed -i 's|libsmbclient.h|samba-4.0/libsmbclient.h|g' \
- src/smb_conn_srv.c src/smb_conn_proto.h src/function.c src/main.c src/event.c
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --docdir=/usr/share/doc/smbnetfs --with-gnome-keyring=no
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
-
- make DESTDIR="$pkgdir" install
-
- mv "$pkgdir"/usr/share/doc/smbnetfs* "$pkgdir"/usr/share/doc/smbnetfs
-
- mkdir -p "$pkgdir"/etc/smbnetfs/.smb
- install -m0644 "$srcdir"/$pkgname-$pkgver/conf/* "$pkgdir"/etc/smbnetfs/.smb/
- install -Dm0644 "$srcdir"/$pkgname-$pkgver/README "$pkgdir"/usr/share/doc/smbnetfs/README
- install -Dm0644 "$srcdir"/conf-smbnetfs "$pkgdir"/etc/conf.d/smbnetfs
- install -Dm0644 "$srcdir"/smbnetfs.service "$pkgdir"/usr/lib/systemd/system/smbnetfs.service
- touch "$pkgdir"/etc/smbnetfs/.smb/smb.conf
-}
Copied: smbnetfs/repos/community-x86_64/PKGBUILD (from rev 607504, smbnetfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-30 23:26:13 UTC (rev 607505)
@@ -0,0 +1,51 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=smbnetfs
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="small C program that mounts Microsoft network neighborhood in single directory."
+arch=('x86_64')
+url="http://smbnetfs.sourceforge.net/"
+license=('GPL')
+depends=('fuse2' 'smbclient')
+backup=('etc/smbnetfs/.smb/smb.conf'
+ 'etc/smbnetfs/.smb/smbnetfs.conf'
+ 'etc/smbnetfs/.smb/smbnetfs.auth'
+ 'etc/smbnetfs/.smb/smbnetfs.host')
+install=smbnetfs.install
+options=(docs)
+source=(https://downloads.sourceforge.net/smbnetfs/$pkgname-$pkgver.tar.bz2
+ conf-smbnetfs
+ smbnetfs.service)
+sha256sums=('205b2d32a8b9d9f5093e82c9a4f9fc086baecf8457df4c8b51898334d149a9a7'
+ 'ca3b686c37fe77193e8df86efcaadb8fe809dfaa8cd62effde6b038af07ea226'
+ '9a06d4d1ffec3c2dd9bff09fa92fb3e9c0aa9569be90a61bb51f04f852b2d741')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ sed -i '/xattr.h/d' src/function.c
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ sed -i 's|libsmbclient.h|samba-4.0/libsmbclient.h|g' \
+ src/smb_conn_srv.c src/smb_conn_proto.h src/function.c src/main.c src/event.c
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --docdir=/usr/share/doc/smbnetfs --with-gnome-keyring=no
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ mv "$pkgdir"/usr/share/doc/smbnetfs* "$pkgdir"/usr/share/doc/smbnetfs
+
+ mkdir -p "$pkgdir"/etc/smbnetfs/.smb
+ install -m0644 "$srcdir"/$pkgname-$pkgver/conf/* "$pkgdir"/etc/smbnetfs/.smb/
+ install -Dm0644 "$srcdir"/$pkgname-$pkgver/README "$pkgdir"/usr/share/doc/smbnetfs/README
+ install -Dm0644 "$srcdir"/conf-smbnetfs "$pkgdir"/etc/conf.d/smbnetfs
+ install -Dm0644 "$srcdir"/smbnetfs.service "$pkgdir"/usr/lib/systemd/system/smbnetfs.service
+ touch "$pkgdir"/etc/smbnetfs/.smb/smb.conf
+}
Deleted: conf-smbnetfs
===================================================================
--- conf-smbnetfs 2020-03-30 23:25:49 UTC (rev 607504)
+++ conf-smbnetfs 2020-03-30 23:26:13 UTC (rev 607505)
@@ -1 +0,0 @@
-SMBNETFS_MOUNT_POINT=/mnt/smbnet
Copied: smbnetfs/repos/community-x86_64/conf-smbnetfs (from rev 607504, smbnetfs/trunk/conf-smbnetfs)
===================================================================
--- conf-smbnetfs (rev 0)
+++ conf-smbnetfs 2020-03-30 23:26:13 UTC (rev 607505)
@@ -0,0 +1 @@
+SMBNETFS_MOUNT_POINT=/mnt/smbnet
Deleted: smbnetfs.install
===================================================================
--- smbnetfs.install 2020-03-30 23:25:49 UTC (rev 607504)
+++ smbnetfs.install 2020-03-30 23:26:13 UTC (rev 607505)
@@ -1,24 +0,0 @@
-post_install() {
- echo "-- To use rc-script you should:"
- echo "-- * set user_allow_other option in /etc/fuse.conf"
-
- chown -R nobody.nobody /etc/smbnetfs/.smb && \
- mkdir -p /mnt/smbnet && \
- chown nobody.nobody /mnt/smbnet && \
- chmod 0777 /mnt/smbnet
-}
-
-pre_upgrade() {
- /etc/rc.d/smbnetfs stop 2>/dev/null 1>/dev/null
- /bin/true
-}
-
-post_upgrade() {
- echo "-- You should set user_allow_other option in /etc/fuse.conf to use rc-script"
- echo "-- * set user_allow_other option in /etc/fuse.conf"
-
- chown -R nobody.nobody /etc/smbnetfs/.smb && \
- mkdir -p /mnt/smbnet && \
- chown nobody.nobody /mnt/smbnet && \
- chmod 0777 /mnt/smbnet
-}
Copied: smbnetfs/repos/community-x86_64/smbnetfs.install (from rev 607504, smbnetfs/trunk/smbnetfs.install)
===================================================================
--- smbnetfs.install (rev 0)
+++ smbnetfs.install 2020-03-30 23:26:13 UTC (rev 607505)
@@ -0,0 +1,24 @@
+post_install() {
+ echo "-- To use rc-script you should:"
+ echo "-- * set user_allow_other option in /etc/fuse.conf"
+
+ chown -R nobody.nobody /etc/smbnetfs/.smb && \
+ mkdir -p /mnt/smbnet && \
+ chown nobody.nobody /mnt/smbnet && \
+ chmod 0777 /mnt/smbnet
+}
+
+pre_upgrade() {
+ /etc/rc.d/smbnetfs stop 2>/dev/null 1>/dev/null
+ /bin/true
+}
+
+post_upgrade() {
+ echo "-- You should set user_allow_other option in /etc/fuse.conf to use rc-script"
+ echo "-- * set user_allow_other option in /etc/fuse.conf"
+
+ chown -R nobody.nobody /etc/smbnetfs/.smb && \
+ mkdir -p /mnt/smbnet && \
+ chown nobody.nobody /mnt/smbnet && \
+ chmod 0777 /mnt/smbnet
+}
Deleted: smbnetfs.service
===================================================================
--- smbnetfs.service 2020-03-30 23:25:49 UTC (rev 607504)
+++ smbnetfs.service 2020-03-30 23:26:13 UTC (rev 607505)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Mount Samba Shares
-Wants=network-online.target
-After=network-online.target
-
-[Service]
-Environment=HOME=/etc/smbnetfs SMBNETFS_MOUNT_POINT=/mnt/smbnet
-EnvironmentFile=/etc/conf.d/smbnetfs
-User=nobody
-ExecStart=/usr/bin/smbnetfs -f -o allow_other $SMBNETFS_MOUNT_POINT
-ExecStop=/bin/fusermount -u $SMBNETFS_MOUNT_POINT
-
-[Install]
-WantedBy=multi-user.target
Copied: smbnetfs/repos/community-x86_64/smbnetfs.service (from rev 607504, smbnetfs/trunk/smbnetfs.service)
===================================================================
--- smbnetfs.service (rev 0)
+++ smbnetfs.service 2020-03-30 23:26:13 UTC (rev 607505)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mount Samba Shares
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Environment=HOME=/etc/smbnetfs SMBNETFS_MOUNT_POINT=/mnt/smbnet
+EnvironmentFile=/etc/conf.d/smbnetfs
+User=nobody
+ExecStart=/usr/bin/smbnetfs -f -o allow_other $SMBNETFS_MOUNT_POINT
+ExecStop=/bin/fusermount -u $SMBNETFS_MOUNT_POINT
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list