Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/netkitbase
@ 2006-12-02  6:48 sjhill at uclibc.org
  0 siblings, 0 replies; 3+ messages in thread
From: sjhill at uclibc.org @ 2006-12-02  6:48 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2006-12-01 22:48:22 -0800 (Fri, 01 Dec 2006)
New Revision: 16752

Log:
Remove usage of bcopy.


Added:
   trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch


Changeset:
Added: trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch
===================================================================
--- trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch	2006-12-02 06:42:25 UTC (rev 16751)
+++ trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch	2006-12-02 06:48:22 UTC (rev 16752)
@@ -0,0 +1,31 @@
+diff -ur netkit-base-0.17/inetd/builtins.c netkit-base-0.17-patched/inetd/builtins.c
+--- netkit-base-0.17/inetd/builtins.c	2000-07-22 15:13:07.000000000 -0500
++++ netkit-base-0.17-patched/inetd/builtins.c	2006-12-02 00:50:05.801209342 -0600
+@@ -140,10 +140,10 @@
+ 	text[LINESIZ + 1] = '\n';
+ 	for (rs = ring;;) {
+ 		if ((len = endring - rs) >= LINESIZ)
+-			bcopy(rs, text, LINESIZ);
++			memcpy(text, rs, LINESIZ);
+ 		else {
+-			bcopy(rs, text, len);
+-			bcopy(ring, text + len, LINESIZ - len);
++			memcpy(text, rs, len);
++			memcpy(text + len, ring, LINESIZ - len);
+ 		}
+ 		if (++rs == endring)
+ 			rs = ring;
+@@ -183,10 +183,10 @@
+ 		return;
+ 
+ 	if ((len = endring - rs) >= LINESIZ)
+-		bcopy(rs, text, LINESIZ);
++		memcpy(text, rs, LINESIZ);
+ 	else {
+-		bcopy(rs, text, len);
+-		bcopy(ring, text + len, LINESIZ - len);
++		memcpy(text, rs, len);
++		memcpy(text + len, ring, LINESIZ - len);
+ 	}
+ 	if (++rs == endring)
+ 		rs = ring;

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

* [Buildroot] svn commit: trunk/buildroot/package/netkitbase
@ 2007-05-07  4:01 sjhill at uclibc.org
  0 siblings, 0 replies; 3+ messages in thread
From: sjhill at uclibc.org @ 2007-05-07  4:01 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-05-06 21:01:07 -0700 (Sun, 06 May 2007)
New Revision: 18575

Log:
Install the default configuration file if the platform did not already define one.


Modified:
   trunk/buildroot/package/netkitbase/netkitbase.mk


Changeset:
Modified: trunk/buildroot/package/netkitbase/netkitbase.mk
===================================================================
--- trunk/buildroot/package/netkitbase/netkitbase.mk	2007-05-07 04:00:11 UTC (rev 18574)
+++ trunk/buildroot/package/netkitbase/netkitbase.mk	2007-05-07 04:01:07 UTC (rev 18575)
@@ -38,13 +38,11 @@
 	# Only install a few selected items...
 	mkdir -p $(TARGET_DIR)/usr/sbin
 	cp $(NETKITBASE_DIR)/$(NETKITBASE_BINARY) $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
-	#rm -f $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
-	mkdir -p $(TARGET_DIR)/etc
-	cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/
-	$(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf
-	#$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(NETKITBASE_DIR) install
-	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
-	#	$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+	@if [ ! -f $(TARGET_DIR)/etc/inetd.conf ] ; then \
+		mkdir -p $(TARGET_DIR)/etc; \
+		cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/; \
+		$(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf; \
+	fi;
 	touch -c $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
 
 netkitbase: uclibc $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)

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

* [Buildroot] svn commit: trunk/buildroot/package/netkitbase
@ 2007-11-13 10:01 vanokuten at uclibc.org
  0 siblings, 0 replies; 3+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-13 10:01 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-11-13 02:00:59 -0800 (Tue, 13 Nov 2007)
New Revision: 20413

Log:
add BR2_INET_RPC dependency

Modified:
   trunk/buildroot/package/netkitbase/Config.in


Changeset:
Modified: trunk/buildroot/package/netkitbase/Config.in
===================================================================
--- trunk/buildroot/package/netkitbase/Config.in	2007-11-13 04:05:31 UTC (rev 20412)
+++ trunk/buildroot/package/netkitbase/Config.in	2007-11-13 10:00:59 UTC (rev 20413)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NETKITBASE
 	bool "netkitbase"
+	select BR2_INET_RPC
 	default n
 	help
 	  Old-style inetd.

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

end of thread, other threads:[~2007-11-13 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07  4:01 [Buildroot] svn commit: trunk/buildroot/package/netkitbase sjhill at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2007-11-13 10:01 vanokuten at uclibc.org
2006-12-02  6:48 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