Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/nfs-utils
@ 2007-01-22 15:56 aldot at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: aldot at uclibc.org @ 2007-01-22 15:56 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-22 07:56:42 -0800 (Mon, 22 Jan 2007)
New Revision: 17463

Log:
- make it compile if LFS is turned off and add a warning to the help-text.
  LFS is _not_ turned on by this automagically _on_ _purpose_


Modified:
   trunk/buildroot/package/nfs-utils/Config.in
   trunk/buildroot/package/nfs-utils/nfs-utils.mk


Changeset:
Modified: trunk/buildroot/package/nfs-utils/Config.in
===================================================================
--- trunk/buildroot/package/nfs-utils/Config.in	2007-01-22 14:59:06 UTC (rev 17462)
+++ trunk/buildroot/package/nfs-utils/Config.in	2007-01-22 15:56:42 UTC (rev 17463)
@@ -3,6 +3,8 @@
 	default n
 	help
 	  The NFS Linux kernel server.
+	  Warning: We do not force largefile support on here on purpose.
+	  Enable it yourself if you want to access big exports!
 
 	  http://sourceforge.net/projects/nfs
 

Modified: trunk/buildroot/package/nfs-utils/nfs-utils.mk
===================================================================
--- trunk/buildroot/package/nfs-utils/nfs-utils.mk	2007-01-22 14:59:06 UTC (rev 17462)
+++ trunk/buildroot/package/nfs-utils/nfs-utils.mk	2007-01-22 15:56:42 UTC (rev 17463)
@@ -11,6 +11,13 @@
 NFS_UTILS_BINARY:=utils/nfsd/nfsd
 NFS_UTILS_TARGET_BINARY:=usr/sbin/rpc.nfsd
 
+BR2_NFS_UTILS_CFLAGS=
+ifeq ($(BR2_LARGEFILE),)
+BR2_NFS_UTILS_CFLAGS+=-U_LARGEFILE64_SOURCE -U_FILE_OFFSET_BITS
+endif
+BR2_NFS_UTILS_CFLAGS+=-DUTS_RELEASE='\"$(LINUX_HEADERS_VERSION)\"'
+
+
 $(DL_DIR)/$(NFS_UTILS_SOURCE):
 	 $(WGET) -P $(DL_DIR) $(NFS_UTILS_SITE)/$(NFS_UTILS_SOURCE)
 
@@ -25,7 +32,7 @@
 $(NFS_UTILS_DIR)/.configured: $(NFS_UTILS_DIR)/.unpacked
 	(cd $(NFS_UTILS_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
+		CFLAGS="$(TARGET_CFLAGS) $(BR2_NFS_UTILS_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
 		knfsd_cv_bsd_signals=no \
 		./configure \

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/nfs-utils
@ 2007-05-07  3:59 sjhill at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: sjhill at uclibc.org @ 2007-05-07  3:59 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-05-06 20:59:04 -0700 (Sun, 06 May 2007)
New Revision: 18572

Log:
Fix script so that 'restart' actually works.


Modified:
   trunk/buildroot/package/nfs-utils/init-nfs


Changeset:
Modified: trunk/buildroot/package/nfs-utils/init-nfs
===================================================================
--- trunk/buildroot/package/nfs-utils/init-nfs	2007-05-07 03:58:30 UTC (rev 18571)
+++ trunk/buildroot/package/nfs-utils/init-nfs	2007-05-07 03:59:04 UTC (rev 18572)
@@ -21,9 +21,7 @@
 touch /var/lib/nfs/state
 touch /var/lib/nfs/xtab
 
-# See how we were called.
-case "$1" in
-  start)
+start() {
 	# Start daemons.
 	echo -n "Starting NFS statd: "
 	rpc.statd
@@ -43,8 +41,9 @@
 	rpc.mountd
 	echo "done"
 	touch /var/lock/subsys/nfs
-	;;
-  stop)
+}
+
+stop() {
 	# Stop daemons.
 	echo -n "Shutting down NFS mountd: "
 	killall -q rpc.mountd
@@ -64,7 +63,16 @@
 	killall -q rpc.statd
 	echo "done"
 	rm -f /var/lock/subsys/nfslock
+}
+
+# See how we were called.
+case "$1" in
+  start)
+	start
 	;;
+  stop)
+	stop
+	;;
   restart)
 	stop
 	start

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/nfs-utils
@ 2007-01-21 23:09 aldot at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: aldot at uclibc.org @ 2007-01-21 23:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-21 15:09:51 -0800 (Sun, 21 Jan 2007)
New Revision: 17445

Log:
- add missing dependency on host-fakeroot


Modified:
   trunk/buildroot/package/nfs-utils/nfs-utils.mk


Changeset:
Modified: trunk/buildroot/package/nfs-utils/nfs-utils.mk
===================================================================
--- trunk/buildroot/package/nfs-utils/nfs-utils.mk	2007-01-21 22:31:03 UTC (rev 17444)
+++ trunk/buildroot/package/nfs-utils/nfs-utils.mk	2007-01-21 23:09:51 UTC (rev 17445)
@@ -20,7 +20,7 @@
 	$(NFS_UTILS_CAT) $(DL_DIR)/$(NFS_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(NFS_UTILS_DIR) package/nfs-utils/ nfs-utils*.patch
 	toolchain/patch-kernel.sh $(NFS_UTILS_DIR) $(NFS_UTILS_DIR)/debian/ *.patch
-	touch $(NFS_UTILS_DIR)/.unpacked
+	touch $@
 
 $(NFS_UTILS_DIR)/.configured: $(NFS_UTILS_DIR)/.unpacked
 	(cd $(NFS_UTILS_DIR); rm -rf config.cache; \
@@ -36,7 +36,7 @@
 		--disable-nfsv4 \
 		--disable-gss \
 	);
-	touch $(NFS_UTILS_DIR)/.configured
+	touch $@
 
 $(NFS_UTILS_DIR)/$(NFS_UTILS_BINARY): $(NFS_UTILS_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) CC_FOR_BUILD="$(HOSTCC)" \
@@ -65,7 +65,7 @@
 $(TARGET_DIR)/$(NFS_UTILS_TARGET_BINARY): $(STAGING_DIR)/.fakeroot.nfs-utils
 	touch -c $(TARGET_DIR)/$(NFS_UTILS_TARGET_BINARY)
 
-nfs-utils: uclibc $(TARGET_DIR)/$(NFS_UTILS_TARGET_BINARY)
+nfs-utils: uclibc host-fakeroot $(TARGET_DIR)/$(NFS_UTILS_TARGET_BINARY)
 
 nfs-utils-clean:
 	rm -f $(TARGET_DIR)/etc/init.d/S60nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/nfs-utils
@ 2007-01-14  3:27 sjhill at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: sjhill at uclibc.org @ 2007-01-14  3:27 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-01-13 19:27:22 -0800 (Sat, 13 Jan 2007)
New Revision: 17281

Log:
Use pre-generated files and do not run 'rpcgen'.


Added:
   trunk/buildroot/package/nfs-utils/nfs-utils-disable-rpcgen.patch


Changeset:
Added: trunk/buildroot/package/nfs-utils/nfs-utils-disable-rpcgen.patch
===================================================================
--- trunk/buildroot/package/nfs-utils/nfs-utils-disable-rpcgen.patch	                        (rev 0)
+++ trunk/buildroot/package/nfs-utils/nfs-utils-disable-rpcgen.patch	2007-01-14 03:27:22 UTC (rev 17281)
@@ -0,0 +1,18 @@
+diff -ur nfs-utils-1.0.10/utils/rquotad/Makefile.in nfs-utils-1.0.10-patched/utils/rquotad/Makefile.in
+--- nfs-utils-1.0.10/utils/rquotad/Makefile.in	2006-08-07 01:43:46.000000000 -0500
++++ nfs-utils-1.0.10-patched/utils/rquotad/Makefile.in	2007-01-13 21:24:26.971232703 -0600
+@@ -653,14 +653,6 @@
+ $(RPCGEN):
+ 	make -C $(top_srcdir)/tools/rpcgen all
+ 
+-$(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
+-	test -f $@ && rm -rf $@ || true
+-	$(RPCGEN) -c -o $@ $<
+-
+-$(GENFILES_H): %.h: %.x $(RPCGEN)
+-	test -f $@ && rm -rf $@ || true
+-	$(RPCGEN) -h -o $@ $<
+-
+ #######################################################################
+ # The following allows the current practice of having
+ # daemons renamed during the install to include RPCPREFIX

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-07  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 15:56 [Buildroot] svn commit: trunk/buildroot/package/nfs-utils aldot at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2007-05-07  3:59 sjhill at uclibc.org
2007-01-21 23:09 aldot at uclibc.org
2007-01-14  3:27 sjhill at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox