Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
127ea40a
Commit
127ea40a
authored
Feb 11, 2012
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't build DHCPv6 by default, except when build Debian package.
parent
6aef600d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
debian/rules
debian/rules
+4
-4
src/config.h
src/config.h
+1
-1
No files found.
debian/rules
View file @
127ea40a
...
@@ -33,6 +33,10 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
...
@@ -33,6 +33,10 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
endif
endif
endif
endif
ifeq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
COPTS += -DHAVE_DHCP6
endif
ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS)))
ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_IPV6
COPTS += -DNO_IPV6
endif
endif
...
@@ -45,10 +49,6 @@ ifneq (,$(filter nodhcp,$(DEB_BUILD_OPTIONS)))
...
@@ -45,10 +49,6 @@ ifneq (,$(filter nodhcp,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_DHCP
COPTS += -DNO_DHCP
endif
endif
ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_DHCP6
endif
ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS)))
ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_SCRIPT
COPTS += -DNO_SCRIPT
endif
endif
...
...
src/config.h
View file @
127ea40a
...
@@ -116,7 +116,7 @@ RESOLVFILE
...
@@ -116,7 +116,7 @@ RESOLVFILE
has no library dependencies other than libc */
has no library dependencies other than libc */
#define HAVE_DHCP
#define HAVE_DHCP
#define HAVE_DHCP6
/* #define HAVE_DHCP6 */
#define HAVE_TFTP
#define HAVE_TFTP
#define HAVE_SCRIPT
#define HAVE_SCRIPT
/* #define HAVE_LUASCRIPT */
/* #define HAVE_LUASCRIPT */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment