Commit Graph

16 Commits

Author SHA1 Message Date
T. Joseph Carter
3431bfa812 Make tmp dirs be useful names 2018-05-03 01:43:05 -07:00
T. Joseph Carter
b1ffe93b14 install_comm_tools no longer needs a2cBinaryURL 2018-04-30 20:35:21 -07:00
T. Joseph Carter
822f54794d You need root to install packages, dude 2018-04-30 18:32:27 -07:00
T. Joseph Carter
238db84c78 Remove cftp entirely, zomg!
Did you know if you're at the top of a directory listing and press up,
it segfaults immediately, leaving your terminal in a modified state
without a visible cursor, forcing you to know how to fix that kind of
broken terminal state with stty, tput, and/or reset?  Yes!

It is at version 0.12 and it was last touched in 2002.  It has no
manpage, no help screen, and the wrong keypress causes it to randomly
die badly.  This is not a "user friendly" program.  If you want ftp with
arrow keys, use lynx!

We're no longer installing this pile of alpha-quality abandonware.
Don't like it?  Make something good or adopt this program and fix its
bugs, then talk to me.  I just can't justify this thing.
2018-04-30 18:01:41 -07:00
T. Joseph Carter
41f829e4dd Clean up a2news/tin installation
ipv6 should be enabled on Raspbian nowadays, so we should no longer need
to modify the stock exim configuration.  If it gives you an error on
startup, let me know and we'll put it back.
2018-04-30 17:42:31 -07:00
T. Joseph Carter
c0da2b5301 Fix a couple of copypasta info messages. 2018-04-30 17:39:18 -07:00
T. Joseph Carter
6ec5ce310f Make checking your platform quiet 2018-04-29 09:30:20 -07:00
T. Joseph Carter
4bf2edc2ea Um, -c is supposed to NOT download binaries 2018-04-29 09:22:58 -07:00
T. Joseph Carter
f731c75a5c Added lftp and mc to install_comm_tools
It turns out nc does a pretty decent ftp client and might be a good
alternative to cftp which … really never went anywhere and is awfully
easy to crash.
2018-04-29 05:31:34 -07:00
T. Joseph Carter
c8a3a4ada5 First pass at install_comm_tools
Another temporary script.  This performs the tasks from ivan.sh related
to installCommTools.  It differs from that block (which has not yet been
formally replaced) primarily by having a rewritten and hopefully more
logical installation for oysttyer.

Oysttyer probably should be broken into its own script—all of these
things should be really—but this one in particular because it's so
involved even compared to other installations because we have stuff we
need to clean up first.
2018-04-28 21:17:03 -07:00
T. Joseph Carter
a84c0b2e8e install_nulib2: always popd
Y'know, I'm not really sure we should be using pushd and popd.  I do
that interactively, but … do these commands even belong in scripts?
2018-04-26 15:45:45 -07:00
T. Joseph Carter
4ae325f990 install_archive_tools FIXME changes
The FIXME about unsafe file handling is resolved.  However since nulib2
doesn't build on sid, we need to get that fixed before sid becomes
buster, so a new FIXME is needed.
2018-04-26 14:04:55 -07:00
T. Joseph Carter
8831ee59a4 Make install_archive_tools behave
Now install_archive_tools creates its own temp directories for
installation.  Nulib2 doesn't build for me on sid/buster though, we're
going to need a patch I think.  We may as well patch it at that point
for building libnufx as a shared lib while we're at it.  I really don't
want another project right now.  :(  This is why we don't get releases
out.
2018-04-23 11:03:17 -07:00
T. Joseph Carter
1301e430ce Move archiver installation to separate script
The archiver installation was a pretty simple, isolated chunk of code,
and thus easily pulled into its own script with minimal external
dependencies.

I made few changes, so the new script isn't very tidy unless it's run
from ivan.sh.  It should create temp directories for anything it
downloads and clean up after itself when it's finished, but for now it
assumes ivan.sh is doing that.  Mostly that's to keep the intellectual
diff small from the code in ivan.sh to the script.

I'll clean this up in an upcoming commit.  Feel free to offer PRs that
do this kind of thing to other easily isolated (or not so easily
isolated) chunks.  Once ivan.sh is split apart into nice logical pieces,
it will be a lot easier to test and fix individual pieces independent of
the whole.  That's something we can't even say for a2server yet.
2018-04-23 07:38:30 -07:00
T. Joseph Carter
2d65ec0ee0 system_ident should use Debian codename on Pi 2018-04-22 18:30:13 -07:00
T. Joseph Carter
e10e80e517 New system_ident to set arch-specific vars
Added a new script that sets two variables when sourced, $ras2_os and
$ras2_arch.  These are different than the existing variables we've been
using in a2cloud/a2server and they don't (in and of themselves) presume
Debian.  That said, nothing's likely to work with these scripts except
on Debian, so … yeah.  But the script is designed not to tie you to that
ultimately.

Outputs the variable assignments to stdout unless you pass -q.
2018-04-22 18:29:14 -07:00