1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

sysutils/automount: Upgrade to 1.7.2

Fixes mount permissions issues in previous version
Fixes hang during pkg install
Removed pkg-install script which violated policy against starting services and
replaced with a pkg-message instructing user to restart devd

PR:             ports/246026
Submitted by:   vermaden@interia.pl
This commit is contained in:
Jason W. Bacon 2020-04-30 19:33:24 +00:00
parent 1682abb97a
commit 9ada3eb868
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533470
4 changed files with 23 additions and 24 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= automount
PORTVERSION= 1.7.1
DISTVERSION= 1.7.2
CATEGORIES= sysutils
MASTER_SITES= https://raw.github.com/vermaden/automount/master/
@ -13,7 +13,6 @@ LICENSE= BSD2CLAUSE
PLIST_FILES= sbin/automount etc/devd/automount_devd.conf etc/automount.conf.sample
SUB_FILES= pkg-install
NO_BUILD= yes
NO_ARCH= yes
@ -24,11 +23,14 @@ NTFS3G_RUN_DEPENDS= fusefs-ntfs>=0:sysutils/fusefs-ntfs
EXT4_DESC= Support EXT2/3/4 filesystem
EXT4_RUN_DEPENDS= fusefs-ext2>=0:sysutils/fusefs-ext2
EXFAT_DESC= Support Microsoft exFAT filesystem
EXFAT_RUN_DEPENDS= fusefs-exfat>=0:sysutils/fusefs-exfat
EXFAT_RUN_DEPENDS= fusefs-exfat>=0:sysutils/fusefs-exfat \
exfat-utils>=0:sysutils/exfat-utils
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/automount ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKDIR}/automount_devd.conf ${STAGEDIR}${PREFIX}/etc/devd/automount_devd.conf
${INSTALL_DATA} ${WRKDIR}/automount.conf ${STAGEDIR}${PREFIX}/etc/automount.conf.sample
${INSTALL_SCRIPT} ${WRKDIR}/automount ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKDIR}/automount_devd.conf \
${STAGEDIR}${PREFIX}/etc/devd
${INSTALL_DATA} ${WRKDIR}/automount.conf \
${STAGEDIR}${PREFIX}/etc/automount.conf.sample
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1567078461
SHA256 (automount-1.7.1.tar.gz) = e6c2110b8c6099f9924a6f4c49be6aa93f65b69ba1ee98576d8fb60846f1a5c2
SIZE (automount-1.7.1.tar.gz) = 6532
TIMESTAMP = 1588193474
SHA256 (automount-1.7.2.tar.gz) = 99b424086016639dfc92a77a719e7f30aa04fabd2664cae77c486bdade91ec85
SIZE (automount-1.7.2.tar.gz) = 6670

View File

@ -1,15 +0,0 @@
#!/bin/sh
case ${2} in
(POST-INSTALL)
service devd restart
echo
echo
echo "Check %%PREFIX%%/bin/automount --help for available options."
echo
echo
;;
(PRE-INSTALL)
:
;;
esac

View File

@ -0,0 +1,12 @@
[
{ type: install
message: <<EOM
You must run
service devd restart
to activate the new automount.
EOM
}
]