Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.
Moderator: Moderators
ispyisail
Moderator
Posts: 5212 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Fri Sep 11, 2015 3:51 pm
Hi Guys
Trying to build 1.8.x
only changes I can see
Code: Select all
dnsmasq: backport CVE-2015-3294 security fix
Back port of security fix without bumping dnsmasq version.
Fix is included in CC because dnsmasq version is up to date there.
Result
Code: Select all
Applying ./patches/471-wpa_cli_ifdef.patch using plaintext:
patching file wpa_supplicant/wpa_cli.c
Applying ./patches/480-max_num_sta_probe.patch using plaintext:
patching file src/ap/beacon.c
Applying ./patches/490-scan_wait.patch using plaintext:
patching file hostapd/main.c
Applying ./patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch using plaintext:
patching file src/drivers/driver.h
patching file wpa_supplicant/config.c
patching file wpa_supplicant/config_ssid.h
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/501-driver_nl80211-use-new-parameters-during-ibss-join.patch using plaintext:
patching file src/drivers/driver_nl80211.c
Applying ./patches/502-wpa_s-support-htmode-param.patch using plaintext:
patching file src/drivers/driver.h
patching file src/drivers/driver_nl80211.c
patching file wpa_supplicant/config.c
patching file wpa_supplicant/config_ssid.h
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/600-ubus_support.patch using plaintext:
patching file hostapd/Makefile
patching file src/ap/hostapd.h
patching file src/ap/ubus.c
patching file src/ap/ubus.h
patching file src/ap/hostapd.c
patching file src/ap/ieee802_11.c
patching file src/ap/beacon.c
patching file src/ap/beacon.h
Applying ./patches/700-fix-radius-reconnect.patch using plaintext:
patching file src/radius/radius_client.c
Applying ./patches/950-hostapd-fix-radius.patch using plaintext:
patching file src/radius/radius_client.c
Hunk #1 FAILED at 658.
Hunk #2 FAILED at 672.
2 out of 2 hunks FAILED -- saving rejects to file src/radius/radius_client.c.rej
Patch failed! Please fix ./patches/950-hostapd-fix-radius.patch!
make[4]: *** [/home/user/gargoyle/brcm47xx-src/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/hostapd-wpad-mini/hostapd-2014-06-03.1/.prepared_c04cbe439063becfeb64bd7d1a937114] Error 1
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/package/network/services/hostapd'
make[3]: *** [package/network/services/hostapd/compile] Error 2
make[3]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[2]: *** [/home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[2]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
Thoughts?
nworbnhoj
Posts: 916 Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:
Post
by nworbnhoj » Fri Sep 11, 2015 4:02 pm
I don't think that it relates to the tor bump or the -std-gnu99 as they relate to a different area in the code.
Can you post the contents of
Hunk #1 FAILED at 658.
Hunk #2 FAILED at 672.
2 out of 2 hunks FAILED -- saving rejects to file src/radius/radius_client.c.rej
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
krzyko
Posts: 6 Joined: Mon Jun 15, 2015 9:02 am
Post
by krzyko » Fri Sep 11, 2015 5:35 pm
Openwrt revision was bumped from 46287 to 46817 thus including 46512 changeset. Changeset 46512 added
file which changes
content in such way that
Code: Select all
/package/network/services/hostapd/patches/950-hostapd-fix-radius.patch
created from
Code: Select all
/patches-generic/11-hostapd-fix-radius.patch
does not apply cleanly.
So,
Code: Select all
/patches-generic/11-hostapd-fix-radius.patch
file should be regenerated to conform to the changes from openwrt 46512 changeset.
Lantis
Moderator
Posts: 7063 Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Post
by Lantis » Fri Sep 11, 2015 7:18 pm
Ahh! That's my bad I didn't check the patches.
I'll try and redo the patch later today.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Lantis
Moderator
Posts: 7063 Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Post
by Lantis » Sat Sep 12, 2015 1:06 am
Urgh. This took a while lol.
https://github.com/lantis1008/gargoyle/ ... 8c9e4305c6
Do you want to try building with that change BEFORE i push it to Eric, iSpy? I'd rather know if it applies nicely first.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
ispyisail
Moderator
Posts: 5212 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Sat Sep 12, 2015 2:02 am
building
ispyisail
Moderator
Posts: 5212 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Sun Sep 13, 2015 2:45 am
It appears to build ok now
thanks
Lantis
Moderator
Posts: 7063 Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Post
by Lantis » Sun Sep 13, 2015 3:04 am
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.