* Adding new users AUTOMATED. * Update docs for the new, more simplified installation processes. * Remove dependency on any particular paths, etc. Copy "bin" into a place along your path and everything should "just work". * Add support for Mercurial (not tested). * blackbox_addadmin now adds keys to the keyring for you. * Unified #! lines to "#!/usr/bin/env bash" so it works better on FreeBSD. * BUGFIX: (BugId#1) blackbox_update_all_files.sh expects hg, fails for git. * BUGFIX: (BugId#2) blackbox_postdeploy.sh assumes certain directory layout. * BUGFIX: Temporary files aren't deleted. * NEW FILE: bin/blackbox_initialize: Automates enabling BB for a repo (creates directories, files, and updates .gitignore). * NEW FILE: bin/blackbox_removeadmin: Automates removing an admit. * NEW FILE: tools/confidence_test.sh: A battery of tests to verify operations. * NEW FILE: bin/Makefile: Automate package creation. * NEW FILE: bin/_stack_lib.sh: A library of shell routines from StackExchange.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
SHELL=/bin/sh
|
|
BIN=tools
|
|
|
|
PKGNAME=stack_blackbox
|
|
|
|
all:
|
|
@echo 'Menu:'
|
|
@echo ' make packages Make all RPM packages'
|
|
@echo ' make install (incomplete)
|
|
|
|
packages:
|
|
PKGRELEASE="$${PKGRELEASE}" $(BIN)/build_rpm.sh stack_blackbox tools/rpm_filelist.txt
|
|
|
|
install:
|
|
@echo 'To install, copy the files from bin to somewhere in your PATH.'
|
|
@echo 'Or, if you use RPMs, "make packages" and install the result.'
|
|
|
|
packages-debug:
|
|
@echo BUILD:
|
|
@PKGRELEASE=99 make packages
|
|
@echo ITEMS TO BE PACKAGED:
|
|
find ~/rpmbuild-$(PKGNAME)/installroot -type f
|
|
@echo ITEMS ACTUALLY IN PACKAGE:
|
|
@rpm -qpl $$(cat ~/rpmbuild-$(PKGNAME)/bin-packages.txt)
|
|
|
|
local:
|
|
@PKGRELEASE=1 make packages
|
|
-@sudo rpm -e $(PKGNAME)
|
|
sudo rpm -i $$(cat ~/rpmbuild-$(PKGNAME)/bin-packages.txt)
|
|
|
|
lock:
|
|
sudo yum versionlock add $(PKGNAME)
|
|
|
|
unlock:
|
|
sudo yum versionlock clear
|
|
|
|
test:
|
|
echo "You don't want to run this."
|
|
exit 1
|
|
pkill gpg-agent ; rm -rf /tmp/tmp.* ; export PATH=/home/tlimoncelli/gitwork/blackbox/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin ; cd ~/gitwork/blackbox;tools/confidence_test.sh;ls -lad /home/tlimoncelli/.gnupg || true
|