The script behind this package keeps source trees up-to-date using
the files created by syspatch(8).
Comments, tests and commits are welcome.
Index: sysutils/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/Makefile,v
retrieving revision 1.576
diff -u -p -u -p -r1.576 Makefile
--- sysutils/Makefile 11 Aug 2020 14:54:41 -0000 1.576
+++ sysutils/Makefile 18 Sep 2020 06:26:32 -0000
@@ -346,6 +346,7 @@
SUBDIR += socket
SUBDIR += socklog
SUBDIR += squashfs-tools
+ SUBDIR += srcpatch
SUBDIR += ssh-copy-id
SUBDIR += sshfs-fuse
SUBDIR += sshpass
Index: sysutils/srcpatch/Makefile
===================================================================
RCS file: sysutils/srcpatch/Makefile
diff -N sysutils/srcpatch/Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/srcpatch/Makefile 18 Sep 2020 06:26:32 -0000
@@ -0,0 +1,19 @@
+# $OpenBSD$
+
+COMMENT = patch source trees from syspatch(8) generated files
+
+VERSION = 0.1.0
+DISTNAME = srcpatch-${VERSION}
+CATEGORIES = sysutils
+MAINTAINER = Matthias Pressfreund <[email protected]>
+
+HOMEPAGE = https://github.com/mpfr/srcpatch/
+
+PERMIT_PACKAGE = Yes
+
+MASTER_SITES = https://mpfr.net/downloads/ \
+ ${HOMEPAGE}releases/download/v${VERSION}/
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
Index: sysutils/srcpatch/distinfo
===================================================================
RCS file: sysutils/srcpatch/distinfo
diff -N sysutils/srcpatch/distinfo
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/srcpatch/distinfo 18 Sep 2020 06:26:32 -0000
@@ -0,0 +1,2 @@
+SHA256 (srcpatch-0.1.0.tar.gz) = TLDvZ7eDsMpJhm1f09P4E8kdauNyW7jlqVc9PvwYQkY=
+SIZE (srcpatch-0.1.0.tar.gz) = 2673
Index: sysutils/srcpatch/pkg/DESCR
===================================================================
RCS file: sysutils/srcpatch/pkg/DESCR
diff -N sysutils/srcpatch/pkg/DESCR
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/srcpatch/pkg/DESCR 18 Sep 2020 06:26:32 -0000
@@ -0,0 +1,3 @@
+The srcpatch(8) utility keeps source trees up-to-date just by
+applying the patch files provided en passant by the syspatch(8)
+utility.
Index: sysutils/srcpatch/pkg/PLIST
===================================================================
RCS file: sysutils/srcpatch/pkg/PLIST
diff -N sysutils/srcpatch/pkg/PLIST
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/srcpatch/pkg/PLIST 18 Sep 2020 06:26:32 -0000
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PLIST,v$
+@man man/man8/srcpatch.8
+@bin sbin/srcpatch