aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-bin.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: use if-then to avoid non-zero return codes in bin/ packaging codeFelix Fietkau2017-01-231-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix bin/ package empty checkFelix Fietkau2017-01-231-4/+6
| | | | | | $(wildcard) is evaluated too early in the build process Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: do not create empty directories in bin/Felix Fietkau2017-01-231-2/+3
| | | | | | Some packages may not install any files Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is usedFelix Fietkau2017-01-191-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: stage bin/ packages inside PKG_BUILD_DIRFelix Fietkau2017-01-181-2/+9
| | | | | | | | | This makes the build slightly more efficient by avoiding the need to re-stage packages on every full build run. It is also necessary for the upcoming CONFIG_AUTOREMOVE feature Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45127
* include: remove SDK exception from package install targetsJo-Philipp Wich2014-07-021-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41459
* include/package-bin: print warnings/errors to stderrJonas Gorski2013-02-211-1/+1
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35714
* only build bin packages for the selected build variants (same behaviour as ↵Felix Fietkau2010-05-151-0/+2
| | | | | | with ipkg builds) SVN-Revision: 21455
* add a packaging method that installs files into a subdirectory of bin/ ↵Felix Fietkau2007-09-291-0/+31
instead of an ipkg SVN-Revision: 9060
e application through the browser. When used with tools like Firebug and mitmproxy's own interception abilities, replacement hooks can be an amazingly flexible and powerful feature. ## On the command-line The replacement hook command-line options use a compact syntax to make it easy to specify all three components at once. The general form is as follows: /patt/regex/replacement Here, __patt__ is a mitmproxy filter expression, __regex__ is a valid Python regular expression, and __replacement__ is a string literal. The first character in the expression (__/__ in this case) defines what the separation character is. Here's an example of a valid expression that replaces "foo" with "bar" in all requests: :~q:foo:bar In practice, it's pretty common for the replacement literal to be long and complex. For instance, it might be an XSS exploit that weighs in at hundreds or thousands of characters. To cope with this, there's a variation of the replacement hook specifier that lets you load the replacement text from a file. So, you might start __mitmdump__ as follows: <pre class="terminal"> mitmdump --replace-from-file :~q:foo:~/xss-exploit </pre> This will load the replacement text from the file __~/xss-exploit__. Both the _--replace_ and _--replace-from-file_ flags can be passed multiple times. ## Interactively The _R_ shortcut key in mitmproxy lets you add and edit replacement hooks using a built-in editor. The context-sensitive help (_h_) has complete usage information. <table class="table"> <tbody> <tr> <th width="20%">command-line</th> <td> <ul> <li>--replace</li> <li>--replace-from-file</li> </ul> </td> </tr> <tr> <th>mitmproxy shortcut</th> <td><b>R</b></td> </tr> </tbody> </table>