mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
- Add patch for NFS headers and unbreak build
- Use UID/GID 171, 71 belongs to Oracle - Use USE_LIBTOOL and remove .la files - Use DOCSDIR macro in pkg-plist PR: ports/66933 Submitted by: leeym Approved by: maintainer
This commit is contained in:
parent
9e80673370
commit
9c9dc348bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109674
@ -20,7 +20,7 @@ PLIST_SUB= SFS_VERSION=${PORTVERSION}
|
||||
INFO= sfs
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--with-sfsuser=sfs \
|
||||
--with-sfsgroup=sfs \
|
||||
@ -30,13 +30,9 @@ CONFIGURE_ARGS+=--with-sfsuser=sfs \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} > 500000
|
||||
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
|
||||
CONFIGURE_ARGS+=--with-gmp=${PREFIX}
|
||||
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-gmp=/usr
|
||||
.endif
|
||||
|
20
security/sfs/files/patch-nfsclient
Normal file
20
security/sfs/files/patch-nfsclient
Normal file
@ -0,0 +1,20 @@
|
||||
--- nfsconf.h.orig Wed May 19 22:42:39 2004
|
||||
+++ nfsconf.h Wed May 19 22:43:24 2004
|
||||
@@ -33,6 +33,7 @@
|
||||
# include <nfs/nfs.h>
|
||||
#endif /* NEED_NFS_NFS_H */
|
||||
#if NEED_NFSCLIENT_NFS_H
|
||||
+# include <nfs/nfsproto.h>
|
||||
# include <nfsclient/nfs.h>
|
||||
#endif /* NEED_NFSCLIENT_NFS_H */
|
||||
#if NEED_NFS_MOUNT_H
|
||||
--- configure.orig Wed May 19 22:43:05 2004
|
||||
+++ configure Wed May 19 22:41:46 2004
|
||||
@@ -9661,6 +9661,7 @@
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line 9662 "configure"
|
||||
#include "confdefs.h"
|
||||
+#include <nfs/nfsproto.h>
|
||||
#include <nfsclient/nfs.h>
|
||||
|
||||
_ACEOF
|
@ -8,8 +8,8 @@ KEYFILE="$PKG_PREFIX/etc/sfs/sfs_host_key"
|
||||
|
||||
USER=sfs
|
||||
GROUP=sfs
|
||||
UID=71
|
||||
GID=71
|
||||
UID=171
|
||||
GID=171
|
||||
PW=/usr/sbin/pw
|
||||
|
||||
SFSDIR=/var/spool/sfs
|
||||
|
@ -136,15 +136,10 @@ lib/sfs
|
||||
lib/sfs-%%SFS_VERSION%%/aiod
|
||||
lib/sfs-%%SFS_VERSION%%/connect
|
||||
lib/sfs-%%SFS_VERSION%%/libarpc.a
|
||||
lib/sfs-%%SFS_VERSION%%/libarpc.la
|
||||
lib/sfs-%%SFS_VERSION%%/libasync.a
|
||||
lib/sfs-%%SFS_VERSION%%/libasync.la
|
||||
lib/sfs-%%SFS_VERSION%%/libsfscrypt.a
|
||||
lib/sfs-%%SFS_VERSION%%/libsfscrypt.la
|
||||
lib/sfs-%%SFS_VERSION%%/libsfsmisc.a
|
||||
lib/sfs-%%SFS_VERSION%%/libsfsmisc.la
|
||||
lib/sfs-%%SFS_VERSION%%/libsvc.a
|
||||
lib/sfs-%%SFS_VERSION%%/libsvc.la
|
||||
lib/sfs-%%SFS_VERSION%%/listen
|
||||
lib/sfs-%%SFS_VERSION%%/mallock.o
|
||||
lib/sfs-%%SFS_VERSION%%/moduled
|
||||
@ -168,11 +163,11 @@ sbin/funmount
|
||||
sbin/sfscd
|
||||
sbin/sfssd
|
||||
sbin/vidb
|
||||
share/doc/sfs/WELCOME
|
||||
share/doc/sfs/README
|
||||
share/doc/sfs/README.packageblurb
|
||||
share/doc/sfs/README.0.7-upgrade
|
||||
@dirrm share/doc/sfs
|
||||
%%DOCSDIR%%/WELCOME
|
||||
%%DOCSDIR%%/README
|
||||
%%DOCSDIR%%/README.packageblurb
|
||||
%%DOCSDIR%%/README.0.7-upgrade
|
||||
@dirrm %%DOCSDIR%%
|
||||
share/sfs/agentrc
|
||||
share/sfs/sfs_config
|
||||
share/sfs/sfs_srp_parms
|
||||
|
Loading…
Reference in New Issue
Block a user