Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/ifplugd
@ 2008-07-02  7:20 jacmet at uclibc.org
  0 siblings, 0 replies; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-07-02  7:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-07-02 00:20:16 -0700 (Wed, 02 Jul 2008)
New Revision: 22606

Log:
ifplugd: only install default config if not provided in skeleton

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


Changeset:
Modified: trunk/buildroot/package/ifplugd/ifplugd.mk
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd.mk	2008-07-02 00:17:21 UTC (rev 22605)
+++ trunk/buildroot/package/ifplugd/ifplugd.mk	2008-07-02 07:20:16 UTC (rev 22606)
@@ -18,12 +18,13 @@
 
 $(IFPLUGD_HOOK_POST_INSTALL):
 	$(INSTALL) -d $(TARGET_DIR)/etc/ifplugd
-	$(INSTALL) $(IFPLUGD_DIR)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/
+	@if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.conf ]; then \
+		$(INSTALL) $(IFPLUGD_DIR)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/; \
+		$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
+	fi
 	$(INSTALL) -m 0755 $(IFPLUGD_DIR)/conf/ifplugd.action \
 		$(TARGET_DIR)/etc/ifplugd/
 	$(INSTALL) -m 0755 $(IFPLUGD_DIR)/conf/ifplugd.init \
 		$(TARGET_DIR)/etc/init.d/S45ifplugd
-	# continue booting without waiting for fork (no -w option)
-	$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf
 	# don't use bash for init script
 	$(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/ifplugd
@ 2008-07-10  8:17 jacmet at uclibc.org
  0 siblings, 0 replies; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-07-10  8:17 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-07-10 01:17:39 -0700 (Thu, 10 Jul 2008)
New Revision: 22738

Log:
ifplugd: only run post-install hook when needed

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


Changeset:
Modified: trunk/buildroot/package/ifplugd/ifplugd.mk
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd.mk	2008-07-10 08:17:35 UTC (rev 22737)
+++ trunk/buildroot/package/ifplugd/ifplugd.mk	2008-07-10 08:17:39 UTC (rev 22738)
@@ -16,7 +16,7 @@
 
 $(eval $(call AUTOTARGETS,package,ifplugd))
 
-$(IFPLUGD_HOOK_POST_INSTALL):
+$(IFPLUGD_HOOK_POST_INSTALL): $(IFPLUGD_TARGET_INSTALL_TARGET)
 	$(INSTALL) -d $(TARGET_DIR)/etc/ifplugd
 	@if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.conf ]; then \
 		$(INSTALL) $(IFPLUGD_DIR)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/; \
@@ -28,3 +28,4 @@
 		$(TARGET_DIR)/etc/init.d/S45ifplugd
 	# don't use bash for init script
 	$(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd
+	touch $@
\ No newline at end of file

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/ifplugd
@ 2008-08-19  9:40 jacmet at uclibc.org
  0 siblings, 0 replies; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-08-19  9:40 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-19 02:40:18 -0700 (Tue, 19 Aug 2008)
New Revision: 23103

Log:
ifplugd: add missing newline

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


Changeset:
Modified: trunk/buildroot/package/ifplugd/ifplugd.mk
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd.mk	2008-08-17 14:17:48 UTC (rev 23102)
+++ trunk/buildroot/package/ifplugd/ifplugd.mk	2008-08-19 09:40:18 UTC (rev 23103)
@@ -28,4 +28,4 @@
 		$(TARGET_DIR)/etc/init.d/S45ifplugd
 	# don't use bash for init script
 	$(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd
-	touch $@
\ No newline at end of file
+	touch $@

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/ifplugd
@ 2008-12-04 12:14 jacmet at uclibc.org
  0 siblings, 0 replies; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-12-04 12:14 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-12-04 04:14:57 -0800 (Thu, 04 Dec 2008)
New Revision: 24258

Log:
ifplugd: don't overwrite target etc/init.d/ifplugd.*

install-strip unconditionally overwrites $(TARGET_DIR)/etc/init.d/ifplugd.*,
so the check in _HOOK_POST_INSTALL is useless.

Fix it by using install-exec and manually stripping the target binaries
instead.

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


Changeset:
Modified: trunk/buildroot/package/ifplugd/ifplugd.mk
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd.mk	2008-12-04 12:05:26 UTC (rev 24257)
+++ trunk/buildroot/package/ifplugd/ifplugd.mk	2008-12-04 12:14:57 UTC (rev 24258)
@@ -9,6 +9,8 @@
 IFPLUGD_AUTORECONF = NO
 IFPLUGD_INSTALL_STAGING = NO
 IFPLUGD_INSTALL_TARGET = YES
+# install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.*
+IFPLUGD_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-exec
 
 IFPLUGD_CONF_OPT = --disable-lynx
 
@@ -17,6 +19,8 @@
 $(eval $(call AUTOTARGETS,package,ifplugd))
 
 $(IFPLUGD_HOOK_POST_INSTALL): $(IFPLUGD_TARGET_INSTALL_TARGET)
+	$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/ifplugd
+	$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/ifplugstatus
 	$(INSTALL) -d $(TARGET_DIR)/etc/ifplugd
 	@if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.conf ]; then \
 		$(INSTALL) $(IFPLUGD_DIR)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/; \

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/ifplugd
@ 2008-12-13 19:40 jacmet at uclibc.org
  0 siblings, 0 replies; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-12-13 19:40 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-12-13 11:40:26 -0800 (Sat, 13 Dec 2008)
New Revision: 24409

Log:
ifplugd: fix non-C++ build

The ifplugd configure script was checking for a C++ compiler, even
though it isn't used for anything.

Added:
   trunk/buildroot/package/ifplugd/ifplugd-no-cxx.patch

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


Changeset:
Added: trunk/buildroot/package/ifplugd/ifplugd-no-cxx.patch
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd-no-cxx.patch	                        (rev 0)
+++ trunk/buildroot/package/ifplugd/ifplugd-no-cxx.patch	2008-12-13 19:40:26 UTC (rev 24409)
@@ -0,0 +1,17 @@
+[PATCH] ifplugd: configure: don't check for C++ compiler
+
+The configure script was checking for a C++ compiler (and erroring out
+if not found), even though it isn't used for anything.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+diff -urpN ifplugd-0.28/configure.ac ifplugd-0.28.new/configure.ac
+--- ifplugd-0.28/configure.ac	2005-06-04 21:21:51.000000000 +0200
++++ ifplugd-0.28.new/configure.ac	2008-12-13 20:31:13.000000000 +0100
+@@ -33,7 +33,6 @@ if type -p stow > /dev/null && test -d /
+ fi
+ 
+ # Checks for programs.
+-AC_PROG_CXX
+ AC_PROG_CC
+ AC_PROG_CPP
+ AC_PROG_INSTALL

Modified: trunk/buildroot/package/ifplugd/ifplugd.mk
===================================================================
--- trunk/buildroot/package/ifplugd/ifplugd.mk	2008-12-13 16:15:50 UTC (rev 24408)
+++ trunk/buildroot/package/ifplugd/ifplugd.mk	2008-12-13 19:40:26 UTC (rev 24409)
@@ -6,7 +6,7 @@
 IFPLUGD_VERSION = 0.28
 IFPLUGD_SOURCE = ifplugd-$(IFPLUGD_VERSION).tar.gz
 IFPLUGD_SITE = http://0pointer.de/lennart/projects/ifplugd/
-IFPLUGD_AUTORECONF = NO
+IFPLUGD_AUTORECONF = YES
 IFPLUGD_INSTALL_STAGING = NO
 IFPLUGD_INSTALL_TARGET = YES
 # install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.*

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

end of thread, other threads:[~2008-12-13 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  7:20 [Buildroot] svn commit: trunk/buildroot/package/ifplugd jacmet at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2008-07-10  8:17 jacmet at uclibc.org
2008-08-19  9:40 jacmet at uclibc.org
2008-12-04 12:14 jacmet at uclibc.org
2008-12-13 19:40 jacmet 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