aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts/prpatch
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-05-02 03:53:54 +0800
committermharo <mharo@FreeBSD.org>2000-05-02 03:53:54 +0800
commitbf18bec4c5c302d3eee45f39f8a73ea89b5f7c40 (patch)
tree4b7ed70b1242a43648a513b67b802dc91cc5762e /Tools/scripts/prpatch
parent34f7bcc941c68c004507540cb6ac062e919055b9 (diff)
downloadfreebsd-ports-gnome-bf18bec4c5c302d3eee45f39f8a73ea89b5f7c40.tar.gz
freebsd-ports-gnome-bf18bec4c5c302d3eee45f39f8a73ea89b5f7c40.tar.zst
freebsd-ports-gnome-bf18bec4c5c302d3eee45f39f8a73ea89b5f7c40.zip
3 little scripts I use when dealing with port update PRs.
getpr - downloads a problem report from GNATS and attempts to extract the patch, shar, uuencoded file from it. this probably needs to be checked for potential security problems. prpatch - just does `patch $1 < pr-patch' (pr-patch is created by getpr) prdone - checks in the port, attempting to fill out the commit message using information from the problem report and then takes you into edit-pr so you don't forget to close the PR.
Diffstat (limited to 'Tools/scripts/prpatch')
-rwxr-xr-xTools/scripts/prpatch10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/scripts/prpatch b/Tools/scripts/prpatch
new file mode 100755
index 000000000000..1b575f7adca4
--- /dev/null
+++ b/Tools/scripts/prpatch
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# MAINTAINER= mharo@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+patch $@ < pr-patch
+find . -name '*.orig' -print -delete
+find . -name '*.rej' -print