diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/smbnetfs | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/smbnetfs')
-rw-r--r-- | community/smbnetfs/PKGBUILD | 47 | ||||
-rw-r--r-- | community/smbnetfs/conf-smbnetfs | 1 | ||||
-rw-r--r-- | community/smbnetfs/smbnetfs.install | 24 | ||||
-rw-r--r-- | community/smbnetfs/smbnetfs.service | 13 |
4 files changed, 0 insertions, 85 deletions
diff --git a/community/smbnetfs/PKGBUILD b/community/smbnetfs/PKGBUILD deleted file mode 100644 index d178697fd..000000000 --- a/community/smbnetfs/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# $Id: PKGBUILD 90723 2013-05-13 14:38:02Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> - -pkgname=smbnetfs -pkgver=0.5.3a -pkgrel=6 -pkgdesc="small C program that mounts Microsoft network neighborhood in single directory." -arch=('i686' 'x86_64') -url="http://smbnetfs.sourceforge.net/" -license=('GPL') -depends=('fuse' '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=(http://downloads.sourceforge.net/smbnetfs/$pkgname-$pkgver.tar.bz2 - conf-smbnetfs - smbnetfs.service) -md5sums=('66d1477ca981f5a07b4b21c6bdbdc442' - 'e150c4cd894cc6ade11b94c95cf17ec4' - '0fdd0dbaa5f16b1ecd00ec1ddcdfc223') - -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 -} diff --git a/community/smbnetfs/conf-smbnetfs b/community/smbnetfs/conf-smbnetfs deleted file mode 100644 index 1d45606e7..000000000 --- a/community/smbnetfs/conf-smbnetfs +++ /dev/null @@ -1 +0,0 @@ -SMBNETFS_MOUNT_POINT=/mnt/smbnet diff --git a/community/smbnetfs/smbnetfs.install b/community/smbnetfs/smbnetfs.install deleted file mode 100644 index d1c87406f..000000000 --- a/community/smbnetfs/smbnetfs.install +++ /dev/null @@ -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 -} diff --git a/community/smbnetfs/smbnetfs.service b/community/smbnetfs/smbnetfs.service deleted file mode 100644 index cf3cd0f58..000000000 --- a/community/smbnetfs/smbnetfs.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Mount Samba Shares -After=network.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 |