From 82f9c9f1fa19c59e296570412656c66607d46f48 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 7 Nov 2010 00:09:53 -0700 Subject: pinyconfigs Adding a package that does all the config file magic to get a piny instance running. Signed-off-by: Julian Blake Kongslie --- pinyconfigs/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pinyconfigs/Makefile (limited to 'pinyconfigs/Makefile') diff --git a/pinyconfigs/Makefile b/pinyconfigs/Makefile new file mode 100644 index 0000000..8a23b38 --- /dev/null +++ b/pinyconfigs/Makefile @@ -0,0 +1,20 @@ +build: + +install: + install -o root -g root -m 755 -d \ + $(DESTDIR)/etc/apache2/piny-available \ + $(DESTDIR)/etc/apache2/piny-enabled \ + $(DESTDIR)/etc/apache2/sites-available \ + $(DESTDIR)/etc/cron.weekly \ + $(DESTDIR)/etc/ikiwiki/wikilist.d \ + $(DESTDIR)/etc/sudoers.d \ + $(DESTDIR)/etc/sv/git-daemon \ + $(DESTDIR)/srv/git + install -o root -g root -m 644 etc/cgitrc etc/piny-default.conf etc/piny-override.conf $(DESTDIR)/etc + install -o root -g root -m 644 etc/apache2/envvars $(DESTDIR)/etc/apache2 + install -o root -g root -m 644 etc/apache2/sites-available/piny $(DESTDIR)/etc/apache2/sites-available + install -o root -g root -m 755 etc/cron.weekly/piny $(DESTDIR)/etc/cron.weekly + install -o root -g root -m 600 etc/sudoers.d/pinyadmin $(DESTDIR)/etc/sudoers.d + install -o root -g root -m 755 etc/sv/git-daemon/run $(DESTDIR)/etc/sv/git-daemon + +clean: -- cgit v1.2.3