issue building 3.0.12 packages for Ubuntu

Martin Stanislav ms at uakom.sk
Fri Sep 30 11:42:15 CEST 2016


Hi Alex,

Change one line within debian/patches/disable-dhcp-bydefault.diff
as described here (or within attached diff of a diff file above):

- DEFAULT_MODULES :=    always attr_filter cache_eap chap \
+ DEFAULT_MODULES :=    always attr_filter cache_eap chap date \

Martin

On Fri, Sep 30, 2016 at 10:27:40AM +0100, Alex Sharaz wrote:
> Hi,
> Just tried building local packages from source and got
> 
> QUILT_PATCHES=debian/patches \
>     quilt --quiltrc /dev/null push -a || test $? = 2
> Applying patch radiusd-to-freeradius.diff
> patching file Make.inc.in
> patching file raddb/radiusd.conf.in
> patching file scripts/monit/freeradius.monitrc
> Hunk #1 succeeded at 8 with fuzz 1.
> patching file raddb/sites-available/control-socket
> patching file src/main/radiusd.c
> 
> Applying patch disable-dhcp-bydefault.diff
> patching file raddb/all.mk
> Hunk #1 FAILED at 8.
> 1 out of 1 hunk FAILED -- rejects in file raddb/all.mk
> Patch disable-dhcp-bydefault.diff does not apply (enforce with -f)
> /usr/share/quilt/quilt.make:16: recipe for target 'debian/stamp-patched'
> failed
> make: *** [debian/stamp-patched] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 
-------------- next part --------------
--- freeradius-server-3.0.12/debian/patches/disable-dhcp-bydefault.diff	2016-09-29 17:19:48.000000000 +0200
+++ ../freeradius-server-3.0.12/debian/patches/disable-dhcp-bydefault.diff	2016-09-30 11:27:51.292295665 +0200
@@ -4,7 +4,7 @@
 @@ -8,7 +8,7 @@ DEFAULT_SITES :=	default inner-tunnel
  LOCAL_SITES :=		$(addprefix raddb/sites-enabled/,$(DEFAULT_SITES))
  
- DEFAULT_MODULES :=	always attr_filter cache_eap chap \
+ DEFAULT_MODULES :=	always attr_filter cache_eap chap date \
 -			detail detail.log digest dhcp dynamic_clients eap \
 +			detail detail.log digest dynamic_clients eap \
  			echo exec expiration expr files linelog logintime \


More information about the Freeradius-Users mailing list