Hi,
How I appli this?
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
Hi,
How I appli this?
El 30/04/2018 a las 11:56, João Cardoso escribió:
Hi Bill--
Thanks, I have applied and lightly used it on a 320L and it works.
Joao
On Sunday, 29 April 2018 14:52:56 UTC+1, Bill Rosenberg wrote:Joao,
I recently discovered that Entware-ng and Entware-3x have merged into a new Entware project. The old Entware-ng repository used by Alt-F 1.0 is no longer being updated.
The new Entware has a different installer and repository location. Since I use Entware-ng with my DNS-323, I modified the Alt-F code to use the new Entware project. I successfully built and tested this firmware change with my 323 and everything seems good.
I've attached the diff file (had to modify 4 files in /usr/www/cgi-bin) so you can incorporate the changes.
Bill
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
Hi,
I can't apply the patch.
I started to remove my latest entware-ng installation using these
instructions next, i tried to install the patch but
apparently the patch command couldn't found the files, so i tried
to install entware-ng again using the web UI, next I tried to
install the patch again, but it failed again, here is the output:
# patch -p2 -i
/tmp/Bill-entware-support.diff
patching file
usr/www/cgi-bin/Packages.men
Hunk 1 FAILED
1/1.
Alt-F|packages_ipkg.cgi
-Entware-ng|packages_opkg.cgi
+Entware|packages_opkg.cgi
ffp|packages_ffp.cgi
patching file
usr/www/cgi-bin/entware.cgi
Hunk 1 FAILED
2/2.
.
common.sh
check_cookie
-write_header "Entware-ng Services
Setup"
+write_header "Entware Services
Setup"
if ! test -f /opt/etc/init.d/rc.unslung;
then
- echo "No Entware-ng installation
found.<br>$(back_button)</body></html>"
+ echo "No Entware installation
found.<br>$(back_button)</body></html>"
exit
0
fi
patching file
usr/www/cgi-bin/packages_opkg.cgi
Hunk 1 FAILED
2/2.
.
common.sh
check_cookie
-write_header "Entware-ng Package
Manager"
+write_header "Entware Package
Manager"
parse_qstring
#debug
patching file
usr/www/cgi-bin/packages_opkg_proc.cgi
Hunk 1 FAILED
13/13.
opkg_cmd()
{
opt=$1
if test $1 = "install";
then
- write_header "Installing Entware-ng package
$2"
+ write_header "Installing Entware package
$2"
elif test $1 = "remove";
then
- write_header "Removing Entware-ng package
$2"
+ write_header "Removing Entware package
$2"
opt="--autoremove
$opt"
elif test $1 = "upgrade";
then
- write_header "Upgrading all Entware-ng
packages"
+ write_header "Upgrading all Entware
packages"
elif test $1 = "update";
then
- write_header "Updating Entware-ng packages
list"
+ write_header "Updating Entware packages
list"
fi
cat<<-EOF
Any solution? sorry for the newvie questions, but I'm a casual Linux user and I don't know much about Linux internals without the usual distro comands...
Thanks,
mk.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Hi,
I can't apply the patch.
I started to remove my latest entware-ng installation using these instructions next, i tried to install the patch but apparently the patch command couldn't found the files, so i tried to install entware-ng again using the web UI, next I tried to install the patch again, but it failed again, here is the output:
# patch -p2 -i /tmp/Bill-entware-support.diff
On Monday, 2 July 2018 19:40:43 UTC+1, mk360 wrote:Hi,
I can't apply the patch.
I started to remove my latest entware-ng installation using these instructions next, i tried to install the patch but apparently the patch command couldn't found the files, so i tried to install entware-ng again using the web UI, next I tried to install the patch again, but it failed again, here is the output:
# patch -p2 -i /tmp/Bill-entware-support.diff
Have you executed the "cd /" command before the "patch" one?
dos2unix -u /tmp/Bill-entware-support.diff
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
I had to remove the ! and change the line fromif ! grep -qE armv5soft\|armv7soft $CONFF 2> /dev/null; thentoif grep -qE armv5soft\|armv7soft $CONFF 2> /dev/null; then
On Monday, May 10, 2021 at 7:03:36 PM UTC-5 Bill Rosenberg wrote:I loaded the new scripts and I'm getting a warning "Outdated Entware-ng instalation found at md0" but this is a clean install of the new Entware using the earlier patched scripts.On Monday, May 10, 2021 at 6:31:57 PM UTC-5 Bill Rosenberg wrote:Yes that fixed it. I also changed the underscore to a dash as the opkg help text shows the parameters that way.if (system("opkg -V0 compare-versions " v " \"<\" " ver[uinst[nm]]))I'll load your updated scripts (plus the corrected comparison) and try it out. I don't want to do a re-install of Entware so I'll just check other operations.On Sunday, May 9, 2021 at 11:29:03 AM UTC-5 João Cardoso wrote:Hi BillReplace theif (system("opkg -V0 compare_versions " v " \">\" " ver[uinst[nm]]))withif (system("opkg -V0 compare_versions " v " \"<\" " ver[uinst[nm]]))ipkg has the comparison twisted, opkg has fixed that. Let me know if it works for you.
In the "samba optimization on DNS-320" topic I posted my current package_opkg cgi scripts (still with the incorrect comparison operator), might be you could test it more thoroughly?
Everything seems to be working fine with your additional changes. Are you eventually going to make an official commit of all this (also including the fix to mail_proc.cgi)?