Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Initial commit towards plugin support in pkgng :)
Marin Atanasov Nikolov committed 13 years ago
commit 253bb7f880d3150e3a028dec45e5cd422fb51001
parent 9694ec1
2 files changed +7 -0
modified libpkg/pkg_config.c
@@ -173,6 +173,12 @@ static struct config_entry c[] = {
		"3",
		{ NULL }
	},
+
	[PKG_PLUGINS_DIR] = {
+
		STRING,
+
		"PKG_PLUGINS_DIR"
+
		"/usr/local/etc/pkg/plugins",
+
		{ NULL }
+
	},
};

static bool parsed = false;
modified pkg/pkg.conf.sample
@@ -15,6 +15,7 @@ PACKAGESITE : http://pkg.freebsd.org/${ABI}/latest
#SHLIBS		    : NO
#AUTODEPS	    : NO
#PORTAUDIT_SITE	    : http://portaudit.FreeBSD.org/auditfile.tbz
+
PKG_PLUGINS_DIR	    : /usr/local/etc/pkg/plugins

# Repository definitions
#repos: