sysutils/avfs: Revive and update version 0.9.9=>1.0.2

- Unbreak
- Pass maintainership to submitter
- Add LICENSE(LGPL20 GPLv2)
- Remove OPTIONS LIBRARY to make default as most of the dependent ports
  require the library
- Make proper use of OPTIONSNG to declutter ${PORT_OPTIONS:M*}

PR:			196942
Differential Revision:	https://reviews.freebsd.org/D1795
Submitted by:		mp39590@gmail.com
Approved by:		marino(mentor)
This commit is contained in:
Muhammad Moinur Rahman 2015-02-07 13:04:38 +00:00
parent 9bad9cf66a
commit 25edd878fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378590
9 changed files with 136 additions and 1 deletions

1
MOVED
View file

@ -4821,7 +4821,6 @@ comms/hso-kmod||2013-08-26|Has expired: Broken on FreeBSD 8 and newer
lang/ldc-devel||2013-08-27|Has expired: Broken for more than 6 month lang/ldc-devel||2013-08-27|Has expired: Broken for more than 6 month
www/mod_smooth_streaming||2013-08-27|Has expired: Broken for more than 6 month www/mod_smooth_streaming||2013-08-27|Has expired: Broken for more than 6 month
www/p5-Apache2-Scoreboard||2013-08-27|Has expired: Broken for more than 6 month www/p5-Apache2-Scoreboard||2013-08-27|Has expired: Broken for more than 6 month
sysutils/avfs||2013-08-27|Has expired: Broken for more than 6 month
multimedia/mp4split||2013-08-27|Has expired: Broken for more than 6 month multimedia/mp4split||2013-08-27|Has expired: Broken for more than 6 month
net-mgmt/noc||2013-08-27|Has expired: Broken for more than 6 month net-mgmt/noc||2013-08-27|Has expired: Broken for more than 6 month
sysutils/empower||2013-08-27|Has expired: Broken for more than 6 month sysutils/empower||2013-08-27|Has expired: Broken for more than 6 month

View file

@ -48,6 +48,7 @@
SUBDIR += automount SUBDIR += automount
SUBDIR += automounter SUBDIR += automounter
SUBDIR += autopsy SUBDIR += autopsy
SUBDIR += avfs
SUBDIR += azure-agent SUBDIR += azure-agent
SUBDIR += b43-fwcutter SUBDIR += b43-fwcutter
SUBDIR += backuppc SUBDIR += backuppc

35
sysutils/avfs/Makefile Normal file
View file

@ -0,0 +1,35 @@
# Created by: Evgeny Zhirnov <jirnov@gmail.com>
# $FreeBSD$
PORTNAME= avfs
PORTVERSION= 1.0.2
CATEGORIES= sysutils
MASTER_SITES= SF/avf/${PORTNAME}/${PORTVERSION}
MAINTAINER= mp39590@gmail.com
COMMENT= Virtual File System library
# FUSE daemon is licensed as GPLv2, shared library is LGPLv2
LICENSE= LGPL20 GPLv2
LICENSE_COMB= multi
USES= libtool pkgconfig tar:bz2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DEBUG FUSE
OPTIONS_SUB= yes
DEBUG_CONFIGURE_ENABLE= debug
FUSE_CONFIGURE_ENABLE= fuse
FUSE_USES= fuse shebangfix
FUSE_RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFUSE}
SHEBANG_FILES= scripts/umountavfs scripts/mountavfs
.endif
.include <bsd.port.mk>

2
sysutils/avfs/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (avfs-1.0.2.tar.bz2) = 52693953e8290281d441a898040c5ac2989f11bc1fcb83ca5063c37a125a1c9a
SIZE (avfs-1.0.2.tar.bz2) = 723051

View file

@ -0,0 +1,11 @@
--- scripts/mountavfs.orig 2015-02-07 16:14:05.773404035 +0600
+++ scripts/mountavfs 2015-02-07 16:14:56.488399333 +0600
@@ -14,7 +14,7 @@
MntDir=${HOME}/.avfs
fi
-grep -qE "avfsd ${MntDir}" /proc/mounts || {
+mount -p | grep -qE "${MntDir}.*fusefs" || {
if [ ! -e "$MntDir" ]; then
mkdir -p "$MntDir"
fi

View file

@ -0,0 +1,16 @@
--- scripts/umountavfs.orig 2015-02-07 16:14:17.372402564 +0600
+++ scripts/umountavfs 2015-02-07 16:15:29.270400346 +0600
@@ -14,11 +14,11 @@
MntDir="${HOME}/.avfs"
fi
-grep -qE "${MntDir}.*avfsd" /proc/mounts && {
+mount -p | grep -qE "${MntDir}.*fusefs" && {
echo unMounting AVFS on $MntDir...
if type -p fusermount > /dev/null 2>&1 ; then
fusermount -u -z "$MntDir"
else
- umount -l "$MntDir"
+ umount "$MntDir"
fi
}

View file

@ -0,0 +1,11 @@
--- src/Makefile.in.orig 2015-02-06 18:18:35.275843385 +0600
+++ src/Makefile.in 2015-02-06 18:19:48.038837253 +0600
@@ -680,7 +680,7 @@
tags tags-am uninstall uninstall-am
-$(srcdir)/utils.c: info.h
+utils.c: info.h
info.h:
rm -f info.h

10
sysutils/avfs/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
AVFS is a system, which enables all programs to look inside gzip, tar,
zip, etc. files or view remote (ftp, http, dav, etc.) files, without
recompiling the programs.
Shared library and FUSE daemon are provided.
AVFS is (C) under the GNU GPL. The shared library supporting AVFS with
LD_PRELOAD is (C) under the GNU LGPL.
WWW: http://avf.sourceforge.net/

50
sysutils/avfs/pkg-plist Normal file
View file

@ -0,0 +1,50 @@
bin/avfs-config
%%FUSE%%bin/avfsd
bin/davpass
bin/ftppass
%%FUSE%%bin/mountavfs
%%FUSE%%bin/umountavfs
include/avfs.h
include/virtual.h
lib/avfs/extfs/README
lib/avfs/extfs/a
lib/avfs/extfs/apt
lib/avfs/extfs/audio
lib/avfs/extfs/bpp
lib/avfs/extfs/deb
lib/avfs/extfs/deba
lib/avfs/extfs/debd
lib/avfs/extfs/dpkg
lib/avfs/extfs/extfs.ini
lib/avfs/extfs/ftplist
lib/avfs/extfs/hp48
lib/avfs/extfs/iso9660
lib/avfs/extfs/lslR
lib/avfs/extfs/mailfs
lib/avfs/extfs/patchfs
lib/avfs/extfs/rpm
lib/avfs/extfs/rpms
lib/avfs/extfs/trpm
lib/avfs/extfs/u7z
lib/avfs/extfs/uace
lib/avfs/extfs/uadf
lib/avfs/extfs/uar
lib/avfs/extfs/uarc
lib/avfs/extfs/uarj
lib/avfs/extfs/uc1541
lib/avfs/extfs/ucab
lib/avfs/extfs/ucpio
lib/avfs/extfs/udar
lib/avfs/extfs/uha
lib/avfs/extfs/uimg
lib/avfs/extfs/ulha
lib/avfs/extfs/upp
lib/avfs/extfs/urar
lib/avfs/extfs/uxdms
lib/avfs/extfs/uxpk
lib/avfs/extfs/uzip
lib/avfs/extfs/uzoo
lib/libavfs.a
lib/libavfs.so
lib/libavfs.so.0
lib/libavfs.so.0.0.2