mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update devel/p4ftpd to 2015..1/1024208 fixing broken distfile.
Move unneeded execs from the plist into the init script. PR: 198692 Differential Revision: https://reviews.freebsd.org/D3089 Approved by: mat (mentor) MFH: 2015Q3
This commit is contained in:
parent
c91f57fba0
commit
6941ba0c32
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392479
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= p4ftpd
|
||||
PORTVERSION= 2014.2.962050
|
||||
PORTVERSION= 2015.1.1024208
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \
|
||||
http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/
|
||||
@ -13,12 +13,6 @@ EXTRACT_ONLY= # none
|
||||
MAINTAINER= gordon@FreeBSD.org
|
||||
COMMENT= Perforce server
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
P4VERSION= r${PORTVERSION:S/^20//:C/\.[0-9]+$//}
|
||||
DIST_SUBDIR= perforce/${PORTVERSION}/bin.${PLATFORM}
|
||||
DISTINFO_FILE= ${MASTERDIR}/distinfo.${PLATFORM}
|
||||
|
||||
RESTRICTED= Restricted distribution
|
||||
|
||||
NO_BUILD= yes
|
||||
@ -39,8 +33,5 @@ GROUPS= p4admin
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${_DISTDIR}/p4ftpd ${STAGEDIR}${PREFIX}/sbin/
|
||||
@${ECHO_CMD} "@exec ${TOUCH} ${P4LOG}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${P4LOG}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@exec ${CHMOD} 640 ${P4LOG}" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (perforce/2014.2.962050/bin.freebsd100x86/p4ftpd) = 7d17b0c3a178a823c2b441067f3a6916c22e8c86a5628dd82cb575b36b729afd
|
||||
SIZE (perforce/2014.2.962050/bin.freebsd100x86/p4ftpd) = 2551480
|
||||
SHA256 (perforce/2015.1.1024208/bin.freebsd100x86/p4ftpd) = f9c63fafb8bf114286a778704c16a7a5b8d6b6fc5e8201a2f75218e416c7f067
|
||||
SIZE (perforce/2015.1.1024208/bin.freebsd100x86/p4ftpd) = 2596224
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (perforce/2014.2.962050/bin.freebsd100x86_64/p4ftpd) = 11f2e5fcb17e21ec8bdba86a3e91dc99b55f55ab51ee230c603e1070b5b95969
|
||||
SIZE (perforce/2014.2.962050/bin.freebsd100x86_64/p4ftpd) = 2807824
|
||||
SHA256 (perforce/2015.1.1024208/bin.freebsd100x86_64/p4ftpd) = ef79956f0e17e26e16d1b7d486e6611263cce9fa64a733b7e6976f1dbc7cfc01
|
||||
SIZE (perforce/2015.1.1024208/bin.freebsd100x86_64/p4ftpd) = 2852272
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (perforce/2014.2.962050/bin.freebsd70x86/p4ftpd) = 9565b6c695bbe3739ada7a1c84a8d7014121fbe952ed6f2bc146fa4762bdd21d
|
||||
SIZE (perforce/2014.2.962050/bin.freebsd70x86/p4ftpd) = 2629832
|
||||
SHA256 (perforce/2015.1.1024208/bin.freebsd70x86/p4ftpd) = 4e13ffd9ecc6fa773917f3da73f85220e0e934d09d8fd8736b06645023cab264
|
||||
SIZE (perforce/2015.1.1024208/bin.freebsd70x86/p4ftpd) = 2671092
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (perforce/2014.2.962050/bin.freebsd70x86_64/p4ftpd) = e68d416a3dbbd1e5c136542da9ca760e02f0aa86652d6ba97e75b92ae4219eaa
|
||||
SIZE (perforce/2014.2.962050/bin.freebsd70x86_64/p4ftpd) = 2795112
|
||||
SHA256 (perforce/2015.1.1024208/bin.freebsd70x86_64/p4ftpd) = 6fa08dda4fad1e1c0ad5b5a5d267110c509ee240bb7c611433abb5ceb46056b7
|
||||
SIZE (perforce/2015.1.1024208/bin.freebsd70x86_64/p4ftpd) = 2840144
|
||||
|
@ -40,5 +40,13 @@ load_rc_config $name
|
||||
|
||||
command="%%PREFIX%%/sbin/p4ftpd"
|
||||
command_args="-l ${p4ftpd_listen} -p ${p4ftpd_port} -v ${p4ftpd_debug} -L ${p4ftpd_log} -d -u p4admin ${p4ftpd_args} > /dev/null 2>&1 &"
|
||||
start_precmd="p4ftpd_prestart"
|
||||
|
||||
p4ftpd_prestart()
|
||||
{
|
||||
if [ ! -f "${p4ftpd_log}" ]; then
|
||||
install -o p4admin -g p4admin -m 0640 /dev/null ${p4ftpd_log}
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user