mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
sysutils/vchanger: Add the port to the tree
Vchanger is a disk-based virtual autochanger that may be used with the Bacula Open Source network backup system to emulate a magazine-based tape autoloader PR: 219046 Reported by: ml@netfence.it Reviewed by: mat (mentor) mmokhi Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D10598
This commit is contained in:
parent
2249c20332
commit
f04f46a5ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440111
@ -1208,6 +1208,7 @@
|
||||
SUBDIR += utcount
|
||||
SUBDIR += vagrant
|
||||
SUBDIR += vbetool
|
||||
SUBDIR += vchanger
|
||||
SUBDIR += vcp
|
||||
SUBDIR += videogen
|
||||
SUBDIR += vii
|
||||
|
22
sysutils/vchanger/Makefile
Normal file
22
sysutils/vchanger/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vchanger
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= freebsd@netfence.it
|
||||
COMMENT= Disk-based virtual autochanger for Bacula
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= scripts/vchanger-genudevrules \
|
||||
scripts/vchanger-umount-uuid.sh \
|
||||
scripts/vchanger-mount-uuid.sh
|
||||
GNU_CONFIGURE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/vchanger/distinfo
Normal file
3
sysutils/vchanger/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1483717814
|
||||
SHA256 (vchanger-1.0.0.tar.gz) = 080a13e0ade75f7c3c7528c6958372e923c0289c2e0f3df0439443b4dbf27919
|
||||
SIZE (vchanger-1.0.0.tar.gz) = 218824
|
11
sysutils/vchanger/files/patch-src_uuidlookup.c
Normal file
11
sysutils/vchanger/files/patch-src_uuidlookup.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/uuidlookup.c.orig 2017-01-06 15:55:06 UTC
|
||||
+++ src/uuidlookup.c
|
||||
@@ -215,7 +215,7 @@ static int GetDevMountpoint(char *mountp
|
||||
for (n = 0; n < mcount; n++)
|
||||
{
|
||||
if (strcasecmp(devname, fs[n].f_mntfromname) == 0) {
|
||||
- strncpy(mountp, fs[n].f_mnttoname, mountp_sz);
|
||||
+ strncpy(mountp, fs[n].f_mntonname, mountp_sz);
|
||||
rc = 0;
|
||||
}
|
||||
}
|
6
sysutils/vchanger/pkg-descr
Normal file
6
sysutils/vchanger/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Vchanger as a disk-based virtual autochanger may be used with the Bacula
|
||||
Open Source network backup system to emulate a magazine-based tape autoloader
|
||||
using disk partitions on fixed or removable disk drives as virtual magazines
|
||||
and files on those partitions as virtual tape volumes.
|
||||
|
||||
WWW: https://vchanger.sourceforge.io
|
18
sysutils/vchanger/pkg-plist
Normal file
18
sysutils/vchanger/pkg-plist
Normal file
@ -0,0 +1,18 @@
|
||||
bin/vchanger
|
||||
bin/vchanger-genudevrules
|
||||
libexec/vchanger/vchanger-launch-mount.sh
|
||||
libexec/vchanger/vchanger-launch-umount.sh
|
||||
libexec/vchanger/vchanger-mount-uuid.sh
|
||||
libexec/vchanger/vchanger-umount-uuid.sh
|
||||
man/man5/vchanger.conf.5.gz
|
||||
man/man8/vchanger.8.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/ReleaseNotes
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/example-vchanger-udev.rules
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/vchanger-example.conf
|
||||
%%PORTDOCS%%%%DOCSDIR%%-1.0.0/vchangerHowto.html
|
Loading…
Reference in New Issue
Block a user