From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/dnsmasq
Date: Mon, 20 Aug 2007 02:25:47 -0700 (PDT) [thread overview]
Message-ID: <20070820092547.D34AFA459C@busybox.net> (raw)
Author: ulf
Date: 2007-08-20 02:25:47 -0700 (Mon, 20 Aug 2007)
New Revision: 19589
Log:
Cleanup dnsmasq
Modified:
trunk/buildroot/package/dnsmasq/dnsmasq.mk
Changeset:
Modified: trunk/buildroot/package/dnsmasq/dnsmasq.mk
===================================================================
--- trunk/buildroot/package/dnsmasq/dnsmasq.mk 2007-08-20 07:24:10 UTC (rev 19588)
+++ trunk/buildroot/package/dnsmasq/dnsmasq.mk 2007-08-20 09:25:47 UTC (rev 19589)
@@ -24,19 +24,20 @@
$(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \
$(DNSMASQ_VERSION)\*.patch
- touch $(DNSMASQ_DIR)/.source
+ touch $@
$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
- BINDIR=/usr/sbin MANDIR=/usr/man -C $(DNSMASQ_DIR)
+ PREFIX=/usr -C $(DNSMASQ_DIR)
$(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY)
- $(MAKE) BINDIR=/usr/sbin MANDIR=/usr/man \
- DESTDIR=$(TARGET_DIR) -C $(DNSMASQ_DIR) install
+ $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(DNSMASQ_DIR) install
$(STRIP) $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
mkdir -p $(TARGET_DIR)/var/lib/misc
+ # Isn't this vulverable to symlink attacks?
ln -sf /tmp/dnsmasq.leases $(TARGET_DIR)/var/lib/misc/dnsmasq.leases
- rm -rf $(TARGET_DIR)/usr/man
+ # Another questionable wipe out :(
+ #rm -rf $(TARGET_DIR)/usr/share/man
dnsmasq: uclibc $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
@@ -45,7 +46,9 @@
dnsmasq-source: $(DL_DIR)/$(DNSMASQ_SOURCE)
dnsmasq-clean:
- #$(MAKE) prefix=$(TARGET_DIR)/usr -C $(DNSMASQ_DIR) uninstall
+ rm -f $(addprefix $(TARGET_DIR)/,var/lib/misc/dnsmasq.leases \
+ usr/share/man/man?/dnsmasq.* \
+ $(DNSMASQ_TARGET_BINARY))
-$(MAKE) -C $(DNSMASQ_DIR) clean
dnsmasq-dirclean:
next reply other threads:[~2007-08-20 9:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 9:25 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-12 13:39 [Buildroot] svn commit: trunk/buildroot/package/dnsmasq jacmet at uclibc.org
2008-12-01 9:08 jacmet at uclibc.org
2008-08-08 18:15 jacmet at uclibc.org
2008-06-18 13:12 jacmet at uclibc.org
2008-06-18 13:21 ` Bernhard Fischer
2008-06-15 20:44 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2007-09-10 9:05 jacmet at uclibc.org
2007-09-10 9:04 jacmet at uclibc.org
2007-07-23 8:54 ulf at uclibc.org
2007-07-23 8:47 ulf at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070820092547.D34AFA459C@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.