1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/Mk/Scripts
John Marino 6eff596ebc Enhance "make makepatch" to address two major deficiencies
This update to the "makepatch" target adds the following enhancements:

1) Conserves comments
   If the existing patch has comments, they will be transferred to the
   regenerated patch.

2) Supports multiple patches per file
   If the patch file contains concatenated patches, the makepatch
   target will keep these patches together.  It may change the order
   of the patches the first time, but every time after the multi-patch
   will be assembled in the same order.

Behavioral changes:

A) The "old" patches are not overwritten, but rather archived at:
   ${WRKDIR}/makepatch-tmp/archived-patches

B) Any patch that was not replaced or renamed is deleted by makepatch
   (but it is archived first, see paragraph above)

C) There regeneration messages for the user will show them which patches
   are using "legacy" names formats.

D) Makepatch will do a great job at "cleaning" git patches; it removes
   lines starting with "diff" and "index" in the comments section.

Notes:

E) Should a source file be modified by multiple patches (e.g. two separate
   multi-patches), a composite patch will be generated.  In the above
   example of two multi-patches, one would get the full patch and the
   other no longer patch the source file.

Approved by:		portmgr (mat)
Differential Revision:	D4136
2015-11-15 15:25:12 +00:00
..
actual-package-depends.sh - Remove dead function from find-lib.sh 2015-04-10 08:45:09 +00:00
check_leftovers.sh Don't hardcode CCACHE_DIR. 2015-11-06 20:18:35 +00:00
check-stagedir.sh Add some work-in-progress scripts for splitting symbols out into PREFIX/lib/debug. 2015-10-19 17:04:33 +00:00
depends-list.sh - Combine clean-depends-list.sh into depends-list.sh 2015-10-19 19:23:53 +00:00
dialog4ports.sh
do-depends.sh - Only consider missing dependency origins to be fatal if they were not 2015-11-13 18:00:34 +00:00
find-lib.sh - Provide a check/warning/fix for users that upgraded from an older release and missed UPDATING 20150213 2015-07-07 06:03:35 +00:00
functions.sh Fix partial tree checkouts with 'all-depends-list', 'make clean', etc, after 2015-11-09 18:52:19 +00:00
generate-symbols.sh Add some work-in-progress scripts for splitting symbols out into PREFIX/lib/debug. 2015-10-19 17:04:33 +00:00
plist_sub_sed_sort.sh
ports_env.sh Follow-up r399170 with a script, ports_env.sh, that can be used for the purpose. 2015-10-13 00:03:10 +00:00
qa.sh Switch strip test to using readelf(1) instead of file(1) to identify symbols. 2015-10-19 16:59:49 +00:00
security-check.awk
smart_makepatch.sh Enhance "make makepatch" to address two major deficiencies 2015-11-15 15:25:12 +00:00