02-24-2013, 10:11 PM | #31 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
It's tidier than having two archives.
perhaps that would be a "bomb-proof" solution though |
02-24-2013, 10:29 PM | #32 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
An unusual situation, where the button has files associated with it that the user needs (or should have) but do not seem to deserve any space in the */extensions directory tree. The rule-set is copyrighted material and licensed to the user. So they really do need to have a copy of the license in this case. The registration info on what is being filtered was requested by people on this forum in the past. Seemed a reasonable request. So the best thing I could think of was two directories - move one, keep one. Why the license? Thought no one would ever ask - Not only are firewall rule-sets an Intellectual Property of significant value - there are actually people who earn a (good) living writing them. |
|
02-24-2013, 10:37 PM | #33 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yeah, it's a teaser.
for my part I thought the instructions were fine. That said - the "End User" acceptance phase is always the real test of a methodology. I thought you just included the license so people could see what a cool name you had "making a (good) living" - hmm, I have heard of this. We Morlocks try not to aspire too high |
02-25-2013, 12:11 AM | #34 |
my parent's oops...
Posts: 463
Karma: 1477570
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->iOS/L2
|
I'm sorry, I didn't mean to stir up a discussion over the way the archive was made. I realized my mistake and thought to leave a comment on it for anyone else who might make the same silly mistake.
|
02-25-2013, 09:10 AM | #35 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But since I claim to know nothing about "applications code" (including GUI interfaces), it really wasn't my area of expertise. I just had to assume that the end-user knew the result of checking the check box(s) on whatever they are using. |
|
02-25-2013, 09:43 AM | #36 | |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Quote:
Code:
SRC='/mnt/us/extensions/bbb/frags/fw-base.txt' Code:
SRC=$( cd $( dirname $0 )/../frags; pwd )'/fw-base.txt' |
|
02-25-2013, 09:48 AM | #37 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Nope.
Organization of the */extensions tree is the developer's task, not the end-user. That does not prevent the end-user from changing the organization, just relieves the developer of having to support every conceivable change that end-users might apply to the organization. If the end-user makes changes, the end-user has to support their own changes. |
02-25-2013, 09:59 AM | #38 | |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Quote:
|
|
02-25-2013, 10:49 AM | #39 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
02-27-2013, 05:08 PM | #40 | |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Quote:
1. find all config.xml files under /mnt/us/extensions/ and ./extensions/ 1.2. if the current config.xml file doesn't include a "name" property goto 1 1.3. if the "menu" property of this valid config.xml file isn't "json" then goto 1 1.4. if the "menu" property is an absolute path goto 1.5, if it's a relative path make it relative to the location of its config.xml folder 1.5. if the absolute/relative path of this menu.json file is valid process the json file else goto 1 Note: ./extensions in step 1 comes in handy for testing KUAL. Its actual location isn't accessible to end users unless they install usbnetwork. |
|
02-27-2013, 05:32 PM | #41 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I think you should disable that for the release versions - If that means you have to make a few directories or something else (or conditionalize for testing) then do that. This is *nix not Windows - "/" and "." are never in the search path for good reasons. |
|
02-28-2013, 05:54 AM | #42 |
Guru
Posts: 916
Karma: 13928438
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
. is never in the PATH because it would be a security hole, but this post is the first I've ever heard of anyone suggesting that / should be in the PATH it's not there simply because there's nothing in / itself that anyone would want to run. No security hole, just efficiency.
|
02-28-2013, 06:30 AM | #43 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
and - for the record... all my kindles do have a file that lives on / called WHAT... [root@kindle root]# cat /WHAT Quote:
If you mean: "there's nothing in / itself that anyone would want to run BY DEFAULT" then I fully agree : ) perhaps a more sensible default path could be arranged... Any suggestions? |
||
03-01-2013, 06:40 PM | #44 | |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Quote:
BTW, I pushed the source earlier today, but I don't think twobob has built yet. edit: you're right, it's / - I'm going to fix it and push again. edit2: fixed, pushed. Last edited by stepk; 03-01-2013 at 07:11 PM. |
|
03-01-2013, 10:18 PM | #45 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
but I have now but if you look in https://bitbucket.org/twobob/kual-system you will probably see where today went. Including the EXTREMELY AWESOME new busybox in there. If I NEVER have to do that config again? it will be WAY too soon. Will delve into your commit. Thanks mate. |
|
Tags |
firewall, kual extension |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KUAL: Kindle Unified Application Launcher (v2.7) | twobob | Kindle Developer's Corner | 2316 | 03-27-2024 06:23 PM |
KUAL DateTime Button | knc1 | Kindle Developer's Corner | 65 | 11-17-2023 01:16 PM |
A helpful list of Extensions for KUAL | twobob | Kindle Developer's Corner | 135 | 01-23-2023 11:20 PM |
[KUAL] Button Def. Packages (SUPERSEDED) | knc1 | Kindle Developer's Corner | 6 | 09-27-2013 07:56 PM |
HELP ME - with data for Big Brother Blocker (BBB) | knc1 | Kindle Developer's Corner | 12 | 02-11-2013 08:58 PM |