summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortonnerre <tonnerre@pkgsrc.org>2009-04-19 21:13:57 +0000
committertonnerre <tonnerre@pkgsrc.org>2009-04-19 21:13:57 +0000
commitc159ebf50fc6d4b018b36de6c6b7f8a628f93fb0 (patch)
tree47384adde9f405851cc5c1ced6deb14816e21093 /sysutils
parent7850fbaaad4b75edac7bce1af6daeb99756421ba (diff)
downloadpkgsrc-c159ebf50fc6d4b018b36de6c6b7f8a628f93fb0.tar.gz
Import the patch_add/patch_delete/patch_info suite of binary patch
management utilities. These tools can be used to add patches to the local system and to back them out again. It also uses OpenSSL for patch signing. This package is BSD licensed and uses solely BSD licensed tools for operation.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/patchadd/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/patchadd/Makefile b/sysutils/patchadd/Makefile
new file mode 100644
index 00000000000..0a4373cff92
--- /dev/null
+++ b/sysutils/patchadd/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/19 21:13:57 tonnerre Exp $
+#
+
+DISTNAME= patchadd-0.1-durchstich
+PKGNAME= patchadd-0.1durchstich
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/tonnerre/patchadd/
+
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= http://oss.sygroup.ch/project/patchadd/
+COMMENT= Binary patch management tools
+LICENSE= original-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= basename ftp
+
+DEPENDS+= bsdiff-[0-9]*:../../misc/bsdiff
+
+GNU_CONFIGURE= YES
+
+SUBST_CLASSES+= tools
+SUBST_STAGE.tools= post-configure
+SUBST_FILES.tools= patch_add patch_delete patch_info
+SUBST_SED.tools= -e "s|${TOOLS_DIR}/bin/ftp|${FTP}|g"
+SUBST_SED.tools+= -e "s|${TOOLS_DIR}/bin/basename|${BASENAME}|g"
+SUBST_SED.tools+= -e "s|${TOOLS_DIR}/bin/mkdir|${MKDIR:S/-p//}|g"
+
+CONFIGURE_ARGS+= --localstatedir=/var
+
+.include "../../mk/bsd.pkg.mk"