sysutils/vchanger: Update to 1.0.1

The removed patch was incorporated upstream

While I'am here:
  Include PORTVERSION in pkg-plist for simplifying future updates

Changes: https://sourceforge.net/p/vchanger/code/ci/master/tree/ChangeLog

PR:		220159
Submitted by:	ml@netfence.it (maintainer)
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11312
This commit is contained in:
Danilo G. Baio 2017-06-24 16:23:49 +00:00
parent 03c9c55831
commit 23a5a87594
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444216
4 changed files with 15 additions and 25 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= vchanger
PORTVERSION= 1.0.0
PORTVERSION= 1.0.1
CATEGORIES= sysutils
MASTER_SITES= SF
@ -18,5 +18,6 @@ SHEBANG_FILES= scripts/vchanger-genudevrules \
scripts/vchanger-mount-uuid.sh
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1483717814
SHA256 (vchanger-1.0.0.tar.gz) = 080a13e0ade75f7c3c7528c6958372e923c0289c2e0f3df0439443b4dbf27919
SIZE (vchanger-1.0.0.tar.gz) = 218824
TIMESTAMP = 1498172524
SHA256 (vchanger-1.0.1.tar.gz) = 1b5558b762fa1976bf2994bf5172063227266925a75e495e0a6cf7f9adc5bb35
SIZE (vchanger-1.0.1.tar.gz) = 218462

View file

@ -1,11 +0,0 @@
--- 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;
}
}

View file

@ -6,13 +6,13 @@ 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
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/README
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/ReleaseNotes
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/example-vchanger-udev.rules
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/vchanger-example.conf
%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/vchangerHowto.html