~egtann/sum

5a82fd4fc6d09ae1a89500bc53eb4fca73d6fdfb — Evan Tann 4 months ago d069976
fix makefile, improve readme
2 files changed, 8 insertions(+), 8 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +5 -6
@@ 1,14 1,13 @@
BINDIR?=/usr/local/bin
MANDIR?=/usr/local/share/man
MANDIR?=/usr/local/man

build:
sf:
	go build ./cmd/sf
.PHONY: build

install: build
install: sf
	mkdir -m755 -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5
	cp man/man1/sf.1      /usr/local/share/man/man1/
	cp man/man5/sf.conf.5 /usr/local/share/man/man5/
	cp man/man1/sf.1      $(MANDIR)/man1/
	cp man/man5/sf.conf.5 $(MANDIR)/man5/
	mv sf /usr/local/bin/sf
.PHONY: install


M README.md => README.md +3 -2
@@ 1,7 1,8 @@
# sf

sf (SQL filter) adopts pf firewall semantics to declaratively configure user
roles and permissions in SQL databases.
sf (SQL filter) declaratively configures user roles and permissions in SQL
databases. Its configuration is based heavily on the syntax of pf firewall in
OpenBSD.

sf works around incredible shortcomings in MySQL user management, but it may be
useful for other databases as well. Currently there's only support for MySQL