View | Details | Raw Unified | Return to bug 191046 | Differences between
and this patch

Collapse All | Expand All

(-)moosefs-client/Makefile (-20 / +9 lines)
Lines 2-31 Link Here
2
# $FreeBSD: head/sysutils/moosefs-client/Makefile 327772 2013-09-20 23:05:58Z bapt $
2
# $FreeBSD: head/sysutils/moosefs-client/Makefile 327772 2013-09-20 23:05:58Z bapt $
3
3
4
PORTNAME=	moosefs
4
PORTNAME=	moosefs
5
PORTVERSION=	#set via include
5
DISTVERSION=	1.6.27-5
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
MASTER_SITES=	http://www.moosefs.org/tl_files/mfscode/ \
8
		http://ports.quxingwen.com/dist/mfs/
7
PKGNAMESUFFIX=	-client
9
PKGNAMESUFFIX=	-client
8
NO_STAGE=	yes
10
DISTNAME=	mfs-${DISTVERSION}
9
.include "${.CURDIR}/../moosefs-master/bsd.port.moosefs.mk"
10
11
11
MAINTAINER=	chifeng@gmail.com
12
MAINTAINER=	chifeng@gmail.com
12
COMMENT=	Moosefs client tools
13
COMMENT=	Moosefs client tools
13
14
14
DISTINFO_FILE=	${.CURDIR}/../moosefs-master/distinfo
15
LICENSE=	GPLv3
16
17
WRKSRC=		${WRKDIR}/mfs-1.6.27
18
GNU_CONFIGURE=	yes
15
19
16
USES=		fuse pkgconfig
20
USES=		fuse pkgconfig
17
21
18
MAN1=		mfstools.1 mfscheckfile.1 mfsdirinfo.1 mfsfileinfo.1 \
22
CONFIGURE_ARGS=	--disable-mfsmaster \
19
		mfsfilerepair.1 mfsgetgoal.1 mfsgettrashtime.1 \
20
		mfsrgetgoal.1 mfsrgettrashtime.1 mfsrsetgoal.1 \
21
		mfsrsettrashtime.1 mfssetgoal.1 mfssettrashtime.1 \
22
		mfsgeteattr.1 mfsseteattr.1 mfsdeleattr.1 \
23
		mfsappendchunks.1 mfsmakesnapshot.1
24
MAN8=		mfsmount.8
25
26
CONFIGURE_ARGS=	--with-default-user=${MFSUSER} \
27
		--with-default-group=${MFSGROUP} \
28
		--disable-mfsmaster \
29
		--disable-mfschunkserver \
23
		--disable-mfschunkserver \
30
		--disable-mfscgi \
24
		--disable-mfscgi \
31
		--disable-mfscgiserv \
25
		--disable-mfscgiserv \
Lines 35-43 Link Here
35
	${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' ${WRKSRC}/doc/Makefile.am \
29
	${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' ${WRKSRC}/doc/Makefile.am \
36
		${WRKSRC}/doc/Makefile.in
30
		${WRKSRC}/doc/Makefile.in
37
31
38
post-install:
39
	@if [ ! -f ${PREFIX}/etc/mfsmount.cfg ]; then \
40
		${CP} ${PREFIX}/etc/mfs/mfsmount.cfg.dist ${PREFIX}/etc/mfsmount.cfg ; \
41
	fi
42
43
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)moosefs-client/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (mfs-1.6.27-5.tar.gz) = 5e6d7dd5dfe181ffb6beee44fd2be51b3faf56a71b90b460b2dc717462ff1eeb
2
SIZE (mfs-1.6.27-5.tar.gz) = 784507
(-)moosefs-client/pkg-plist (-9 / +28 lines)
Lines 1-24 Link Here
1
bin/mfsmakesnapshot
1
bin/mfsappendchunks
2
bin/mfscheckfile
2
bin/mfscheckfile
3
bin/mfsdeleattr
3
bin/mfsdirinfo
4
bin/mfsdirinfo
4
bin/mfsfileinfo
5
bin/mfsfileinfo
5
bin/mfsfilerepair
6
bin/mfsfilerepair
7
bin/mfsgeteattr
6
bin/mfsgetgoal
8
bin/mfsgetgoal
7
bin/mfsgettrashtime
9
bin/mfsgettrashtime
10
bin/mfsmakesnapshot
11
bin/mfsmount
8
bin/mfsrgetgoal
12
bin/mfsrgetgoal
9
bin/mfsrgettrashtime
13
bin/mfsrgettrashtime
10
bin/mfsrsetgoal
14
bin/mfsrsetgoal
11
bin/mfsrsettrashtime
15
bin/mfsrsettrashtime
16
bin/mfsseteattr
12
bin/mfssetgoal
17
bin/mfssetgoal
13
bin/mfssettrashtime
18
bin/mfssettrashtime
14
bin/mfsgeteattr
15
bin/mfsseteattr
16
bin/mfsdeleattr
17
bin/mfsappendchunks
18
bin/mfsmount
19
bin/mfstools
20
bin/mfssnapshot
19
bin/mfssnapshot
21
@unexec if cmp -s %D/etc/mfs/mfsmount.cfg.dist %D/etc/mfsmount.cfg; then rm -f %D/etc/mfsmount.cfg; fi
20
bin/mfstools
21
@unexec if cmp -s %D/%F %B/mfsmount.cfg; then rm -f %B/mfsmount.cfg; fi
22
etc/mfs/mfsmount.cfg.dist
22
etc/mfs/mfsmount.cfg.dist
23
@exec  if [ ! -f %D/etc/mfsmount.cfg ]; then /bin/cp %D/%F %D/etc/mfsmount.cfg; fi
23
@exec if [ ! -f %B/mfsmount.cfg ]; then cp %D/%F %B/mfsmount.cfg; chmod u+w %B/mfsmount.cfg; fi
24
man/man1/mfsappendchunks.1.gz
25
man/man1/mfscheckfile.1.gz
26
man/man1/mfsdeleattr.1.gz
27
man/man1/mfsdirinfo.1.gz
28
man/man1/mfsfileinfo.1.gz
29
man/man1/mfsfilerepair.1.gz
30
man/man1/mfsgeteattr.1.gz
31
man/man1/mfsgetgoal.1.gz
32
man/man1/mfsgettrashtime.1.gz
33
man/man1/mfsmakesnapshot.1.gz
34
man/man1/mfsrgetgoal.1.gz
35
man/man1/mfsrgettrashtime.1.gz
36
man/man1/mfsrsetgoal.1.gz
37
man/man1/mfsrsettrashtime.1.gz
38
man/man1/mfsseteattr.1.gz
39
man/man1/mfssetgoal.1.gz
40
man/man1/mfssettrashtime.1.gz
41
man/man1/mfstools.1.gz
42
man/man8/mfsmount.8.gz
24
@dirrm etc/mfs
43
@dirrm etc/mfs

Return to bug 191046