WolfPack/Makefile
cxford f2864631fb Converting from Bazaar.
Old log:
------------------------------------------------------------
revno: 8
committer: root <root@aninix.net>
branch nick: WolfPack
timestamp: Tue 2016-07-19 13:52:29 -0500
message:
  Clearing some read statements
------------------------------------------------------------
revno: 7
committer: root <root@aninix.net>
branch nick: WolfPack
timestamp: Tue 2016-07-19 13:36:23 -0500
message:
  Fix for torrent protocol
------------------------------------------------------------
revno: 6
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Mon 2016-07-18 10:23:17 -0500
message:
  Massive fixes; offloading updates; torrent function pup type updated
------------------------------------------------------------
revno: 5
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Tue 2016-05-31 14:42:28 -0500
message:
  Removing ghost-wolfpack in favor of systemd vpn client.
------------------------------------------------------------
revno: 4
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Sun 2016-05-15 21:35:02 -0500
message:
  Updated to include privacy VPN and offloading options.
------------------------------------------------------------
revno: 3
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Thu 2016-05-12 20:51:23 -0500
message:
  Adding ghost-wolfpack script for sites using VPNs for privacy
------------------------------------------------------------
revno: 2
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Thu 2016-05-12 15:58:05 -0500
message:
  Updated to use the googler package from the ArchLinux AUR for google searches and store as text files. Sufficient for now.
------------------------------------------------------------
revno: 1
committer: dev <dev@aninix.net>
branch nick: WolfPack
timestamp: Thu 2016-05-12 14:45:12 -0500
message:
  Adding all but search example -- search API is still in flux with no good command-line search option.
2016-08-04 12:08:16 -05:00

30 lines
1.3 KiB
Makefile

build:
Nothing to build -- this is a bash script.
configure:
mkdir -p /usr/local/etc/WolfPack
chmod 0770 /usr/local/etc/WolfPack
cp ./*.pup /usr/local/etc/WolfPack
chmod 0660 /usr/local/etc/WolfPack/*
@echo "Default configuration directory of /usr/local/etc/WolfPack created with example pups"
@echo "Run make install and add '/usr/local/bin/wolfpack --alpha' to root's crontab to schedule data collection."
install: /usr/bin/wget /usr/bin/transmission-cli /usr/bin/googler wolfpack wolfpack-stoptorrent /usr/local/bin/whatismyip
cp -p /usr/local/src/WolfPack/wolfpack /usr/local/bin/wolfpack
cp -p /usr/local/src/WolfPack/wolfpack-stoptorrent /usr/local/bin/wolfpack-stoptorrent
[ ! -f /root/.bashrc ] || (grep 'transmission-cli' /root/.bashrc) || echo 'alias transmission-cli="transmission-cli -d 600 -u 1 -er -w /srv/yggdrasil/new_acquisition -b"' >> /root/.bashrc
chmod 0700 /usr/local/bin/wolfpack-stoptorrent
chmod 0755 /usr/local/bin/wolfpack
chown root:root /usr/local/bin/wolfpack*
reverse:
cp /usr/local/bin/wolfpack* .
[ ! -f /root/bin/offload-wolfpack ] || cp /root/bin/offload-wolfpack .
offload: offload-wolfpack /root/.ssh/id_rsa /root/.ssh/id_rsa.pub
cp offload-wolfpack /root/bin
chmod 0700 /root/bin/offload-wolfpack
chown root:root /root/bin/offload-wolfpack