61 Commits

Author SHA1 Message Date
T. Joseph Carter
45c00cb920 Merge branch 'ivanx-1.5.x'
Ivan added support to build everything on Debian/Raspbian stretch, added
some alternate URLs, and updated the "just how the hell do you install
Marinetti right now exactly?" dance.

This was more frustrating to merge than it honestly should've been and
I'm kinda responsible for some of that, but it's never gonna get easier
to maintain unless we break from the single-developer monolithic blocks.

Hopefully this will be the last time we do things this way.
2018-04-09 18:51:26 -07:00
Ivan X
5e0feab69c support for Debian and Raspbian Stretch
suppress null byte read warnings in Bash 4.4
enable SSH server on Raspberry Pi if disabled
Internet Archive backup URL's for external downloads, where possible
compiles AppleTalk kernel if -c flag is specified, rather than downloading
better cleanup after AppleTalk kernel compile
notification if AppleTalk kernel module doesn't load
fixed download links for communication software
fixed bugs possibly preventing compile of macipgw and ciopfs
fixed minor bugs during initial setup prompts
os option (Raspbian update) removed from a2server-setup
2017-11-26 16:37:44 -05:00
T. Joseph Carter
a939111f6a Return error code when running as user 2016-12-09 14:11:54 -08:00
T. Joseph Carter
14a9adf673 Remove raspi-config wrapper
Mathcing A2CLOUD.
2016-12-09 09:32:03 -08:00
T. Joseph Carter
15027e8423 Replace raspbian-update; remove -os from setup
A2SERVER's setup no longer takes the -os or os arguments (the security
paradigm shift suggests this is unnecessary and even unwise), and it's
time to actually install the debupdate script.
2016-12-09 07:20:27 -08:00
T. Joseph Carter
4cba6ff2c0 debupdate: Clean up logic a bit more 2016-12-08 21:53:00 -08:00
T. Joseph Carter
23a8d1ca0d debupdate: Remove stupid Echo function
Dunno what I had in mind for that exactly.  Eventual support for
gettext?  I dunno.  It's not necessary, doesn't work real well, and
generally ... no.
2016-12-08 21:31:15 -08:00
T. Joseph Carter
a263603985 New script debupdate
Still need to polish this a bit, but I think I'm happy with its
functionality.  This will replace raspbian-update.  It's simpler, more
transparent about what it is doing, and generally less likely to go
wrong doing what it does.

The one little bit of magic is that it bails out after an update if
there's nothing to install, mostly to avoid suggesting that you reboot
your system if there is nothing to install.  Might not be worth it for
that on armv6-based Raspberry Pis.
2016-12-07 18:20:28 -08:00
T. Joseph Carter
8eabd3768d a2serverrc: Remove devel environment vars
These shouldn't have ever been set (that's why they have defaults
everywhere they're used).  Besides that, they've gone away now.
2016-12-07 07:14:08 -08:00
T. Joseph Carter
a7ff9544bc Remove a2server-update/a2server-setup aliases
The replacement update mechanism will be a script installed on your
system.  The advantage of downloading the update mechanism before
running it is that it allows you to upgrade the upgrade mechanism.
Naturally the disadvantage is that you have to download it.  Debian
systems have a mechanism for this; we'll use it.
2016-12-07 03:37:33 -08:00
T. Joseph Carter
95fc0ef629 Rename raspbian-update, make install script
It's understandable why you might want to pull this off a server in case
how you have to upgrade things changes for some reason, but we're moving
toward following Debian's lead on these things to the greatest extent
possible.
2016-11-27 03:03:03 -08:00
T. Joseph Carter
e131b8de40 Make scripts run completely out of git repo 2016-10-27 13:31:00 -07:00
T. Joseph Carter
8897610d95 Scripts: re-indent (tab indentation)
One of the reasons I held off on doing this before is that there are a
lot of complex one-line seds in here that I expect _will_ be broken by
this.  More than a few of these will assume, depend on, require, and
break if specific hardcoded whitespace is not found.  That's problematic
anyway--when whitespace isn't syntactic, you shouldn't do that.  So it's
time to fix these anyway.
2016-10-25 12:12:11 -07:00
T. Joseph Carter
27d40503be *: Fixed trailing whitespace 2016-07-29 10:39:49 -07:00
Ivan X
7b7917d417 changed rawgit.com to raw.githubusercontent.com to resolve https issues 2016-05-28 10:11:26 -04:00
Ivan X
4d1b5db5e3 cppo fixes temp directory paths on OS X 2016-02-19 21:46:46 -05:00
Ivan X
94b6dcaa26 fixed a2server-setup and -update aliases not respecting env vars
using new installer -i flag in a2server-update to trigger reinstall
2016-01-17 12:23:24 -05:00
Ivan X
b7528026de fixed cppo cleanup on exit 2016-01-17 10:05:35 -05:00
Ivan X
60f88e4e8a use rawgit.com for default A2SERVER_SCRIPT_URL 2016-01-16 23:47:03 -05:00
Ivan X
13343a5c2a doesn't add eth0 to atalk.conf if something already there
improve content and formatting of /etc/init.d/netatalk status messages
2016-01-16 20:58:10 -05:00
Ivan X
3a0e123c0a clean up /tmp/cppo-* files on exit; centralized exit 2016-01-16 14:30:53 -05:00
Ivan X
a0ded5a7cf fixed bug in 'appletalk-off' alias 2016-01-15 13:37:24 -05:00
Ivan X
3cc2beabcf support nulib2-3.1.0a2 (rather than working around bug in 3.1.0a1) 2016-01-15 13:34:52 -05:00
Ivan X
b846df61da extract .sdk containing one image into same folder 2016-01-11 01:45:48 -05:00
Ivan X
ec0bf3b9d5 cppo properly handles archived disk images (.sdk files) 2016-01-11 01:00:01 -05:00
Ivan X
4ad9e10c77 full path display of filenames rather than quasi-hierarchy 2016-01-10 18:41:16 -05:00
Ivan X
71274cb18f cppo detects invalid SHK rather than creating empty folder 2016-01-06 06:12:24 -05:00
Ivan X
85cbf4d741 '-n' arg for restoring SHK archives in place rather than new parent folder 2016-01-05 07:07:31 -05:00
Ivan X
c5c14759d1 cppo: case insensitive ProDOS single-file; fixed argument validation 2016-01-05 05:52:15 -05:00
Ivan X
6e9ddb5e47 cppo: bug fix on DOS 3.3 file extract 2016-01-04 16:32:48 -05:00
Ivan X
180dcc5634 cppo: -uc option works with SHK; case insensitive extract spec 2016-01-04 10:07:39 -05:00
Ivan X
e0a78c5756 cppo: SHK has same process and output as HDV
resource forks are not displayed if not using -e or -ad
2016-01-04 03:49:04 -05:00
Ivan X
8327a5eb8d cppo appends "+" to extended files during ordinary -cat of SHK archives 2016-01-04 01:02:42 -05:00
Ivan X
fc7aaf4d53 more bug fixes, and minor enhancements 2016-01-03 13:33:25 -05:00
Ivan X
0ca7ef94b8 cppo bug fix to the bug fix 2016-01-03 05:49:35 -05:00
Ivan X
1403fde73d cppo bug fix on unreferenced origFileName 2016-01-03 05:30:17 -05:00
Ivan X
1af347ae8f replace nulib2 with 3.1.0a1 which handles empty forks correctly
hide all cppo output in netboot install
remove guidance about uppercase filenames in afpsync error message
2016-01-03 05:14:34 -05:00
Ivan X
5fab6a21af cppo DOS 3.3 support
(from previous commits:)
supports ProDOS, DOS 3.3, and ShrinkIt archive as source
handles 2mg images
auto-determines sector ordering for 140K disks
2016-01-02 19:06:00 -05:00
Ivan X
6b45259759 cppo support for dos-order and 2mg images 2016-01-01 05:25:19 +09:00
Ivan X
4692537443 cppo supports all features for SHK's as for PO's, including single file 2016-01-01 03:06:52 +09:00
Ivan X
4e4bd8dbbd cppo supports -cat argument for shrinkit archives 2016-01-01 01:40:13 +09:00
Ivan X
d2775f4d27 cppo can be used with -e, -ad, or neither for shk's 2016-01-01 01:12:23 +09:00
Ivan X
8f6fae4bb4 minor fixes and refusal to use -shk option on Windows 2016-01-01 00:19:32 +09:00
Ivan X
53404e7784 support for ShrinkIt archives in addition to disk images 2015-12-31 01:25:41 +09:00
Ivan X
01d3ce1775 libdb5.3+libgcrypt20 on Jessie rather than installing older Wheezy libs
removed libdb4.8 support
fixed source URL's to use external/source when locally hosting externals
2015-12-25 12:37:56 +09:00
Ivan X
14f5ef66be alternate URL for precompiled binaries with A2SERVER_BINARY_URL
self-hosted external dependency fallback; or default via A2SERVER_NO_EXTERNAL=1
a2serverrc sets default A2SERVER_SCRIPT_URL and A2SERVER_BINARY_URL
64-bit Debian precompiled binary support
support for reorganized files subdirectory
better information re unsupported OS at start of install
info about netboot at end of install
no longer deletes ~/GNUstep
install libdb5.1 and libssl1.0.0 by default instead of older versions
small tweaks and fixes regarding Debian detection, case insensitive fs, etc
updated source code path for The Unarchiver
this is internal version 1.2.8; see "release" notes about external dependencies
2015-12-24 13:02:17 +09:00
Ivan X
c2bb79860a on Debian, provides AppleTalk without IPDDP to enable MacIPgw 2015-12-20 00:40:28 -05:00
Ivan X
024f579850 macipgw installed; a2serverc created
(macipgw tested on Wheezy and Jessie; works on Raspbian only, not Debian x86)
2015-12-18 00:57:21 -05:00
Ivan X
435857e3bb move /media/A2SHARED to /srv/A2SERVER 2015-12-09 20:39:09 -05:00
Ivan X
a861da6bd3 fixes bugs in a2files-share and a2files-unshare commands
removes gsfiles-share and gsfiles-unshare commands
2015-12-07 23:51:04 -05:00