Commit Graph

50 Commits

Author SHA1 Message Date
Thomas De Schampheleire
35eaed8d07 Config.in files: use if/endif instead of 'depends on' for main symbol
In the Config.in file of package foo, it often happens that there are other
symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense
when foo itself is enabled. There are two ways to express this: with
    depends on BR2_PACKAGE_FOO
in each extra symbol, or with
    if BR2_PACKAGE_FOO
        ...
    endif
around the entire set of extra symbols.

The if/endif approach avoids the repetition of 'depends on' statements on
multiple symbols, so this is clearly preferred. But even when there is only
one extra symbol, if/endif is a more logical choice:
- it is future-proof for when extra symbols are added
- it allows to have just one strategy instead of two (less confusion)

This patch modifies the Config.in files accordingly.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-12-25 12:21:39 +01:00
Gustavo Zacarias
dcefce4cf8 dhcp: adjust initscripts and misc details
Revamp initscripts see bug #3601
* Trim whitespace
* Check for installed binary (dhcp-relay)
* Check for installed config (dhcp-server)
* Check for proper variable setup from the script (both)
* Add "FAIL" message when startup fails (blind OK isn't accurate)
* Add start/stop messages to dhcp-relay

Switch bool to "dhcp (ISC)" to keep in line with package sorting.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-18 11:39:09 +01:00
Thomas De Schampheleire
b8891dedb0 dhcp: install to staging
Install dhcp to staging so other applications can use its include files
and libraries.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-27 14:49:55 +02:00
Thomas De Schampheleire
4db37c663c dhcp: add config option for delayed-ack feature of dhcp server
This patch creates a config option for the ISC DHCP server to allow passing
--enable-delayed-ack to its configure script.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-19 23:39:43 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias
af3fdf3e7b dhcp: bump to version 4.1-ESV-R8
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-05 21:44:36 +01:00
Gustavo Zacarias
30a29c848b dhcp: add license information
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-28 23:31:03 +01:00
Gustavo Zacarias
d070d1f7ba dhcp: security bump to version 4.1-ESV-R7
Bump dhcp to version 4.1-ESV-R7 to fix CVE-2012-3955

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-20 14:11:13 +02:00
Gustavo Zacarias
a2a4bf429b dhcp: security bump to version 4.1-ESV-R6
Fixes CVE-2012-3571 and CVE-2012-3954.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 19:22:36 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Gustavo Zacarias
87657aaabc dhcp: needs MMU
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-06 20:08:47 +02:00
Peter Korsgaard
afc69d8f5a dhcp: fix download URL
Tarball is in a subdir.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-15 09:29:18 +01:00
Gustavo Zacarias
51dc5df8ab dhcp: security bump to version 4.1-ESV-R4
Bump to version 4.1-ESV-R4 to fix CVE-2011-4539

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-11 23:01:14 +01:00
Gustavo Zacarias
eb3785fca4 dhcp: security bump to version 4.1-ESV-R3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-09 15:53:09 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Heiko Zuerker
648d33d614 dhcp: allow IPv6 to be turned on
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-25 20:08:46 +02:00
Peter Korsgaard
99f33db291 package/dhcp: Fix config name
ISC dhcp is no longer the only way of handling DHCP, so use a less generic
config text.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 14:30:32 +01:00
Peter Korsgaard
6bfe29326d dhcp: fix install -D invocation in target-install
Closes #3181

When install -D is used (to ensure destination dirs exists), the destination
file name has to be given as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 14:25:05 +01:00
Thomas Petazzoni
5061e1c204 dhcp: Bump to 4.1.1-P1 and convert to autotools
dhcp 3.0.5 was causing build issues due to its build system not based
on the autotools. Instead of work-arounding dhcp 3.0.5 issues, this
commit bumps to 4.1.1 which uses the autotools as the build
system. The package is therefore converted to the autotools
infrastructure.

The dhcp_xecute patch is no longer needed, this feature seems to have
been merged into the upstream dhcp (according to the manpage).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:08:25 +02:00
Thomas Petazzoni
ef785f61ad Do not let packages remove man pages, info pages and documentation
The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
7783ca0233 Make sure directories are available before install of dhcp targets 2007-08-20 05:03:21 +00:00
Ulf Samuelsson
e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
"Steven J. Hill"
6b00c90d70 Rename all INIT scripts to have the numerical prefixes to easily see the start-up order. 2007-05-09 22:48:41 +00:00
Bernhard Reutner-Fischer
5a3fa49e81 - provide -source targets for the 3 parts of the split dhcp.
Closes #1223. Thanks
2007-02-16 13:01:06 +00:00
Eric Andersen
ce70f4e7ce bump version 2006-12-13 13:13:02 +00:00
Bernhard Reutner-Fischer
6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +00:00
Mike Frysinger
f80de0d6ec ver bump #958 by bowerymarc 2006-07-19 23:56:33 +00:00
Mike Frysinger
dfebda0014 remove extra space after touch 2005-11-24 06:53:24 +00:00
Eric Andersen
23791fa0e6 Add an empty dhclient-script to keep dhclient from complaining 2005-09-13 20:54:33 +00:00
Mike Frysinger
5a3f689e1f marcusbrutus writes in Bug 393: version 3.0.2 no longer exists, upstream has released 3.0.3 of dhcp 2005-08-28 07:53:37 +00:00
Eric Andersen
369864cf10 be a bit more consistant with naming, always escape wildcards 2005-06-24 08:36:13 +00:00
Eric Andersen
fc6fc1f7f7 Don't mess with /etc/default for now. 2005-04-21 17:52:19 +00:00
Eric Andersen
07064c0978 Update init scripts a bit. Don't mess with /etc/default for now. 2005-04-21 17:36:04 +00:00
Eric Andersen
74ad4e12c8 Change all instances of 'ln -sf' to 'ln -snf' 2005-04-15 02:19:11 +00:00
Eric Andersen
75a9ab4ba3 Don't let the system /usr/bin/install try to strip target binaries
since it is too stupid to know about cross compilation, and will
therefore try to use the system strip command, too ill effect.
2005-03-17 22:41:47 +00:00
Eric Andersen
dccecf52b0 Fix http://bugs.uclibc.org/view.php?id=135
The ISC DHCP package only install the dhcrelay binary. Patch
supplied to install server and client too, as configured.
2005-03-09 17:45:21 +00:00
Eric Andersen
a6cfd28490 Update to ISC dhcp 3.0.2 2005-02-24 19:36:18 +00:00
Eric Andersen
298bf4d52d provide a runlevel 2005-02-16 21:16:17 +00:00
Eric Andersen
9cc9476c35 more dhcp updates 2005-02-16 19:48:03 +00:00
Eric Andersen
2506ab7fc3 the deleting part of 'svn mv' doesnt seem to work. I must
be doing something wrong.
2005-02-16 19:14:32 +00:00
Eric Andersen
af166567d0 rename dhcp_relay to dhcp 2005-02-16 19:08:33 +00:00