Browse Source

Merge branch 'devel' of https://github.com/RITlug/TigerOS into devel

website
Regina Locicero 7 years ago
parent
commit
e089307ada
16 changed files with 643 additions and 121 deletions
  1. +11
    -0
      CONTRIBUTING.md
  2. +3
    -1
      README.md
  3. +22
    -0
      ci-build.sh
  4. +2
    -1
      make-iso.sh
  5. +57
    -0
      rpmbuild/SOURCES/default-bookmarks.html
  6. +43
    -0
      rpmbuild/SPECS/fedora-bookmarks.spec
  7. +0
    -104
      scripts/FusionEnableLauncher.py
  8. +75
    -0
      scripts/cs/idea.sh
  9. +68
    -0
      scripts/cs/jflap.sh
  10. +68
    -0
      scripts/cs/logisim.sh
  11. +15
    -1
      scripts/enablerpmfusion.sh
  12. +98
    -0
      scripts/postinstall
  13. +90
    -0
      scripts/removal
  14. +53
    -0
      scripts/se/alloy.sh
  15. +20
    -0
      scripts/se/spin.sh
  16. +18
    -14
      tigeros.ks

+ 11
- 0
CONTRIBUTING.md View File

@ -0,0 +1,11 @@
TigerOS
====================
## Contributing
Please fork this repository and submit pull requests against the devel branch. Pull requests will be reviewed as time permits.
Some things to keep in mind:
* This is a student run project so it may take a bit to get a response form the developers.
* All scripts added to github should have 644 permissions to minimize execution of arbitrary code.
* When possible please contact the maintainer or creator of a component through a github issue or IRC. The email accounts listed are university accounts and may filter your message as spam.
* Please use the editorconfig file when editing files to ensure consistency.
* Contact ritlug@gmail.com with any questions. Please include the phrase TigerOS in the subject.

+ 3
- 1
README.md View File

@ -20,12 +20,14 @@ With a 3.40GHz dual core i3 CPU with hyperthreading enabled and 16GB of RAM, the
* Aidan Kahrs (Lead) <axk4545@rit.edu>
* Josh Bicking (Tutorials) <jhb2345@rit.edu>
* Regina Locicero (Designer) <rtl3971@rit.edu>
* Tim Zabel (Scripts) <tjz8659@rit.edu>
## Tasks
## Contributing
Please fork this repository and submit pull requests against the devel branch. Pull requests will be reviewed as time permits.
Please see [CONTRIBUTING.md](CONTRIBUTING.md)
## Resources
* [RITlug website](http://ritlug.com)

+ 22
- 0
ci-build.sh View File

@ -0,0 +1,22 @@
#!/bin/bash
set -eu
#####################################################################
# TigerOS Build Script for running on the build box with Jenkins CI #
# @author: Aidan Kahrs #
# #
# Usage: sudo bash build.sh #
# #
#####################################################################
wget -O tigeros.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros.ks
mock -r fedora-25-x86_64 --init
mock -r fedora-25-x86_64 --copyin tigeros.ks ./tigeros.ks
mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart svn
mock -r fedora-25-x86_64 --chroot "svn export https://github.com/RITlug/TigerOS/trunk/scripts/"
mock -r fedora-25-x86_64 --chroot "livemedia-creator --ks tigeros.ks --no-virt --resultdir /var/lmc --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever 25 --title TigerOS-live --macboot"
mock -r fedora-25-x86_64 --copyout /var/lmc/TigerOS.iso /srv/isos/TigerOS.iso
rm -rf /var/lmc/
cd /srv/isos/
sha512sum *.iso >CHECKSUM512

+ 2
- 1
make-iso.sh View File

@ -14,7 +14,8 @@ reset=`tput sgr0`
echo "${green}Welcome to the TigerOS build script${reset}"
mock -r fedora-25-x86_64 --init
mock -r fedora-25-x86_64 --copyin tigeros.ks ./tigeros.ks
mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart
mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart svn
mock -r fedora-25-x86_64 --chroot "svn export https://github.com/RITlug/TigerOS/trunk/scripts/"
echo "${green}Beginning build process${reset}"
mock -r fedora-25-x86_64 --chroot "livemedia-creator --ks tigeros.ks --no-virt --resultdir /var/lmc --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever 25 --title TigerOS-live --macboot"
mock -r fedora-25-x86_64 --copyout /var/lmc/TigerOS.iso TigerOS.iso

+ 57
- 0
rpmbuild/SOURCES/default-bookmarks.html View File

@ -0,0 +1,57 @@
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>
<DL><p>
<DT><H3 ADD_DATE="1490471392" LAST_MODIFIED="1490476125" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
<DL><p>
<DT><A HREF="https://github.com/RITlug/TigerOS" ADD_DATE="1490472887" LAST_MODIFIED="1490472887" ICON_URI="https://assets-cdn.github.com/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADC0lEQVRYhb2Wv2tUQRDHv9Fwefdul535zp7GRrGz9RcoiEIK/wdBjBhFOwsVxMI/wMbSQrSyiWKwE0t/NHbRIoURJdqI2iRBBZVocxeez93L5XI68Jo3M/v5zuzOvgf0b9F7P2Uid8zsZTRb3tpu/9rabv+KZstm9tJE7njvpwDEdazb28qy3E1y2sgfXeBaj5E/SE6XZbl7YLCqBpI3jVzpF5wQskLypqqGdVcdyTeDgutPJN/03Q3n3ISRi8OCV7qx6Jyb6AkPIez9F/CqiBDC3hxcjXxbS5gz8v4gooxc7OTO1d6/DSHoXwKMvF1fRFWPd9xj3vupaPahOnYUeUyRx9WxjGYfOqM4BgCqejwh7nb90O1LVVGW5Z5qnKqGRqOxC8CmRBM3NRqNXfUTX5blnsza+6rVz2SC9vc8NH1YWZb7M1s0040ZN/JnKkhEJjcqQEQmMwJ+AhiHOnc2FdAm3wPgRgUAIMl3KYY6dxYkp1NO7/2pIcABAN77UykGyWnUx6TbnnVfnz1MVUNqm42cQzT7+pfDbGFY8K6Z2UKdE82+ItWaaDY/bAHR7HWKlRRg5NKwBRi5lBSQdQBbhsjfki00isxm7oATw6KLyInkVovMguStjPMFgNEh8EejyIvMGN6CtlrHUs5OwPWN0klez62vrdYxAPDR7EsuyMh7AMYHYG8z8l5u3Wj2BYAHAKjqjVVVqtecc0co8qQi4nubvMsQznS+YpsTwFHfbB5U584ZOWPk9xy8w7mxmqmq26PZtw5shSIXAIwZ+TzRkRkAIwkBIybyoBe0Uv03Vd3+R7aIXK0GNZvNA0VR7Kx/SFT1UK7nzrnD/QgQkaup/FGSzyqVPupq895PqeqVVqt1NNP+rrXXgpN8hh7TNV69MkXkfA9YymSN1r/GWge6KIod0Wx+NSnGpxrCJe/9SVW9DKAYREA0my+KYke/lZDkw8wVLesVQPIhBvi5GWEIp6PZx0EFRPITQziD9NT0bY4iF8zslZGf0fndztiYkZ/N7BVDuAjAbQT8X+w36KQvZccCoxkAAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">GitHub - RITlug/TigerOS: Customized Linux distribution maintained by the Rochester Institute of Technology (RIT) Linux Users Group and targetted at users new to Linux and RIT students, faculty, and staff.</A>
<DD>TigerOS - Customized Linux distribution maintained by the Rochester Institute of Technology (RIT) Linux Users Group and targetted at users new to Linux and RIT students, faculty, and staff.
<DT><A HREF="http://ritlug.com/" ADD_DATE="1490472496" LAST_MODIFIED="1490472496" ICON_URI="http://ritlug.com/img/ritlug.png" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAI8UlEQVRYha2WeXTVxRXHJwllURQQBS1UKSIESYAkolAoi4LsolYUheJSDnI80kJpERVbKCGAbG0QF1bBsAiyJixCSFiTkIRsJoS8LC8vhAR4ZHvv5S2/35v76R8ET2y1BeF7zu/M78zMnfu9c79zZ5S6SQABDW0XYL7NZosqLS2NtNlsUcAHQJubXeuW0ch53/MXLhS9NH483boHE9GnDz1CQpj2zjtUVFSk4PV2aTz/TpO432Kx5Pbo2ROllC+8d2+zT0S4GREeZrRo0dw37oUXqKmp2Q384o4SAAKVUgq/f/L0GTNQSvkjwsJ0cNeuEhrSQyLCwgjr1VMrpfzLVqzwAoMb7O4MiXnz5gUqpVR5WdnCPn376oCgIPPx7t3l1QkTJDysF50e7ijPjR0jPUJC9MjRowFebkz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bRrj3irdukrxbuwl2zBW5ePx8OAH9QDp4sYV1WGWZQZbWjnXsEXC979mHW78F7bor32GNNRudV0V+82PPYtRk3peqPWttGoLdtgOCo2GTWl64za8hjDcMQa7ms7TO+1GG1U7wT3PsEXh7j2SnFWtOGwp5mOenbcKHoKCPUbddvsl87YS3I2GYUZ0Ubpd6tNS8a/zMLsaPNiwRoT30kgFUgBkhq+sw19jdvkhrEUME9wuWi9WZK72rRkRZu23E/NosxVRnHOBsNedqJK/LWHDYOnlIZPAHyODNxVSTivJlBVtp+y3BjOJa4kP/UrDK/rCHinaV3/oTad87V2LtDasVDrukh0XeSNf23Wzdemcz7aPd00XPEX0reQFr8ca/Ym7NbdOC/H4646g7cuEwCt+UwBw3wmUS43y30+lgJR4ItCexah6xeifVHAUz9dvX4chkGY1r4odH0keBZp7YkCHWWafNzga5FpmsP+DWKIcejJWw0vAAAAAElFTkSuQmCC" LAST_CHARSET="UTF-8">Home | RITlug</A>
<DD>Official site of the RIT Linux Users Group (RITlug). Find all our talks and announcements here.
<DT><A HREF="https://webchat.freenode.net/?channels=ritlug" ADD_DATE="1490472256" LAST_MODIFIED="1490472315" ICON_URI="https://webchat.freenode.net/static/alpha/images/favicon.png" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAwBQTFRFAAAAJA0NNj1cN0tvSENTQktlT1JmV1pmb3l5cHp6XXKCVnyrVn6sV36yYHeHY3iGXIGhWYC3X4W0WoG5YYOvYYW5YoS8Z4m6aYm0bYyyaYm9aIq8bIy9bY68b5C9YYPCcZLCd5fCdZXHdpbKepfAe5rFfJjAfZnIfJvIfJzIhJCVt7a0vLq5gJvDgZ3ChJ7Fgp7Og57PgKHDg6PHgaHIg6LIhqLKhqLPhKTIhqTMhqXOiabDiKTHkazOl7DOnbzipb/WpL/jrMXeo8Pio8DnpMLlqMDjqcPlqcXnq8jis8zjts/isMrpsMzpt87tucznuczvuc/tvNXvwb+/wcC/w8LCw9bjwdXnxtjpxtjrxtrrxtrtydzpzuDx1ODxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3hCrqwAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAYdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My4zNTDus58AAADYSURBVChTNc+JWgFhGMXx91AyUYkiUogslWVsKbJUM4a+aFrUlHH/d/H6nhn9/hdwnkPMy9uapKpq7WHJTDysfP9IlmX9PlaGTIu6ffP1IX1e2/aqvqC+rmPj6v1P71NXwD+TTNOcvb2ILnUMKAICEOIVMDrUGEEx4DaejBrUGkDRoAGahuenQYuqTezcwekeaFapnMFWznFZLJUyZSqkff+zBxfZdIHyyfj+rgM4O0/mqR1OnLq2EUuE2zQPpY5dHkRToTlxL3gYcXixF+zJtzw9CmycTJnXs3QxaaAZNXsAAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">RITLUG IRC(freenode Web IRC)</A>
<DD>
<DT><A HREF="https://github.com/FOSSRIT" ADD_DATE="1490476086" LAST_MODIFIED="1490476086" ICON_URI="https://assets-cdn.github.com/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADC0lEQVRYhb2Wv2tUQRDHv9Fwefdul535zp7GRrGz9RcoiEIK/wdBjBhFOwsVxMI/wMbSQrSyiWKwE0t/NHbRIoURJdqI2iRBBZVocxeez93L5XI68Jo3M/v5zuzOvgf0b9F7P2Uid8zsZTRb3tpu/9rabv+KZstm9tJE7njvpwDEdazb28qy3E1y2sgfXeBaj5E/SE6XZbl7YLCqBpI3jVzpF5wQskLypqqGdVcdyTeDgutPJN/03Q3n3ISRi8OCV7qx6Jyb6AkPIez9F/CqiBDC3hxcjXxbS5gz8v4gooxc7OTO1d6/DSHoXwKMvF1fRFWPd9xj3vupaPahOnYUeUyRx9WxjGYfOqM4BgCqejwh7nb90O1LVVGW5Z5qnKqGRqOxC8CmRBM3NRqNXfUTX5blnsza+6rVz2SC9vc8NH1YWZb7M1s0040ZN/JnKkhEJjcqQEQmMwJ+AhiHOnc2FdAm3wPgRgUAIMl3KYY6dxYkp1NO7/2pIcABAN77UykGyWnUx6TbnnVfnz1MVUNqm42cQzT7+pfDbGFY8K6Z2UKdE82+ItWaaDY/bAHR7HWKlRRg5NKwBRi5lBSQdQBbhsjfki00isxm7oATw6KLyInkVovMguStjPMFgNEh8EejyIvMGN6CtlrHUs5OwPWN0klez62vrdYxAPDR7EsuyMh7AMYHYG8z8l5u3Wj2BYAHAKjqjVVVqtecc0co8qQi4nubvMsQznS+YpsTwFHfbB5U584ZOWPk9xy8w7mxmqmq26PZtw5shSIXAIwZ+TzRkRkAIwkBIybyoBe0Uv03Vd3+R7aIXK0GNZvNA0VR7Kx/SFT1UK7nzrnD/QgQkaup/FGSzyqVPupq895PqeqVVqt1NNP+rrXXgpN8hh7TNV69MkXkfA9YymSN1r/GWge6KIod0Wx+NSnGpxrCJe/9SVW9DKAYREA0my+KYke/lZDkw8wVLesVQPIhBvi5GWEIp6PZx0EFRPITQziD9NT0bY4iF8zslZGf0fndztiYkZ/N7BVDuAjAbQT8X+w36KQvZccCoxkAAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">Free/Open Source Software at RIT · GitHub</A>
<DD>GitHub is where people build software. More than 20 million people use GitHub to discover, fork, and contribute to over 55 million projects.
<DT><A HREF="https://webchat.freenode.net/?channels=rit-foss" ADD_DATE="1490472343" LAST_MODIFIED="1490472384" ICON_URI="https://webchat.freenode.net/static/alpha/images/favicon.png" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAwBQTFRFAAAAJA0NNj1cN0tvSENTQktlT1JmV1pmb3l5cHp6XXKCVnyrVn6sV36yYHeHY3iGXIGhWYC3X4W0WoG5YYOvYYW5YoS8Z4m6aYm0bYyyaYm9aIq8bIy9bY68b5C9YYPCcZLCd5fCdZXHdpbKepfAe5rFfJjAfZnIfJvIfJzIhJCVt7a0vLq5gJvDgZ3ChJ7Fgp7Og57PgKHDg6PHgaHIg6LIhqLKhqLPhKTIhqTMhqXOiabDiKTHkazOl7DOnbzipb/WpL/jrMXeo8Pio8DnpMLlqMDjqcPlqcXnq8jis8zjts/isMrpsMzpt87tucznuczvuc/tvNXvwb+/wcC/w8LCw9bjwdXnxtjpxtjrxtrrxtrtydzpzuDx1ODxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3hCrqwAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAYdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My4zNTDus58AAADYSURBVChTNc+JWgFhGMXx91AyUYkiUogslWVsKbJUM4a+aFrUlHH/d/H6nhn9/hdwnkPMy9uapKpq7WHJTDysfP9IlmX9PlaGTIu6ffP1IX1e2/aqvqC+rmPj6v1P71NXwD+TTNOcvb2ILnUMKAICEOIVMDrUGEEx4DaejBrUGkDRoAGahuenQYuqTezcwekeaFapnMFWznFZLJUyZSqkff+zBxfZdIHyyfj+rgM4O0/mqR1OnLq2EUuE2zQPpY5dHkRToTlxL3gYcXixF+zJtzw9CmycTJnXs3QxaaAZNXsAAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">FOSS@RIT(Freenode Web IRC)</A>
<DD>
<DT><H3 ADD_DATE="1130967903" LAST_MODIFIED="1490476125">Fedora Project</H3>
<DL><p>
<DT><A HREF="https://fedoraproject.org/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">Fedora Project</A>
<DD>Home of the Fedora Project.
<DT><A HREF="https://docs.fedoraproject.org/release-notes" ADD_DATE="1351508092" LAST_MODIFIED="1473344428" LAST_CHARSET="UTF-8">Release Notes</A>
<DD>This document provides the release notes for Fedora.
<DT><A HREF="https://docs.fedoraproject.org/" ADD_DATE="1158286602" LAST_MODIFIED="1176675660" LAST_CHARSET="UTF-8">Fedora Documentation</A>
<DD>Fedora Documentation.
</DL><p>
<DT><H3 ADD_DATE="1176674388" LAST_MODIFIED="1241209425">Free Content</H3>
<DL><p>
<DT><A HREF="https://www.wikipedia.org/" ADD_DATE="1176674401" LAST_MODIFIED="1176675382" LAST_CHARSET="UTF-8">Wikipedia</A>
<DD>Collaborative encycolpedia.
<DT><A HREF="https://librivox.org/" ADD_DATE="1241209006" LAST_MODIFIED="1241209033">LibriVox</A>
<DD>Freely licensed audio books.
<DT><A HREF="https://www.openclipart.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Open Clip Art</A>
<DD>Freely licensed clip art.
<DT><A HREF="https://www.freesound.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Free Sound</A>
<DD>Freely licensed sound.
<DT><A HREF="https://creativecommons.org/" ADD_DATE="1176674776" LAST_MODIFIED="1176675626" LAST_CHARSET="UTF-8">Creative Commons</A>
<DD>Free licenses for creative work.
</DL><p>
<DT><H3 ADD_DATE="1490475275" LAST_MODIFIED="1490475328">RIT</H3>
<DL><p>
<DT><A HREF="http://www.rit.edu/" ADD_DATE="1490472430" LAST_MODIFIED="1490472430" ICON_URI="http://www.rit.edu/_assets/images/favicon.ico" ICON="data:image/png;base64,AAABAAEAEBAAAAEACABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAABMLAAAT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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYJAwMJBAACCwMHBAAAAAAAAgEBAgAABQEFAAAAAAAAAAABAQAACAELAgAAAAAAAAAAAQEABAEDBAAAAAAAAAAAAAEBAgoBBgAAAAAAAAAAAAABAQcBBQIAAAAAAAAAAAAAAQEADg8DDAAAAAAAAAAAAAEBAAACAQMAAAAAAAAAAAABAQAAAAEBBAAAAAAAAAAAAQEAAAIBAQQAAAAAAAAAAgEBAAAIAQoAAAAAAAAABgEBAQEBDQ8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE9AAADTwAABhdAAAAAMAAKXAAACCgAAAPkAAACvkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQ=" LAST_CHARSET="UTF-8">Rochester Institute of Technology</A>
<DD>
<DT><A HREF="http://www.rit.edu/fa/diningservices/hours-and-locations" ADD_DATE="1490472458" LAST_MODIFIED="1490472487" ICON_URI="http://www.rit.edu/fa/diningservices/sites/all/themes/rit_fa_bootstrap/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAChklEQVRYhe3Wz2sTQRQH8P4rsS0eTEUEPYgnDyoePHj0JF70oEkoJigW40HSFosU/NHaRGKjtYYGaUJRrE0ssYlRgwr+wDZgJfaHYKzUyf6Yye58PQSxm0l1042phy7MZfftvs+8ebs7TcRhw3qOpg3AfwdQBp1gL0bBMiNgU0Ogk0HQieug41dB4wOgyUGwp2GwbBQsGwNLD4Pe74UcOA7i2WodoI76oC/OgFMZ1Q7OedXzAMCZCpYMgXja6rAEbju0+Q+GBPqXXPmasxnEbYd06RBYNgpUoLS59yBuu/UeoImA+OBqcQ+vCNWgCb91gBrtMgUgrlbo3xeMy1FcAnFusgiIeM0BHDaw1LBQheK5XdYASrjDNEAd6xEBF/Y0DkAf9BqXgOum3oa6AVg2aoydfWm9CU0DTm8Dl5dXzJ5D7j/aGEDRuxtaLmNIro71mEpeM0D/8bX8SU74wTIRaLOvwHVtBfAd5L4jppPXDFjtKL2NQ/Ltqynx2iqwOAOpcz+0T68N53mJQr58+N8DfvVA8ewO6EvzRoS0DMm3tzEA4rBBungQnCnGCn2bQ7FjZ2MAxGGDcqtd+D1r+Tcgp7Y0BkAcNtDHN6o2JXG1WAeokfNCEwpxrhaUplMCgj25XQdArNsIKHyuHntmO/RCXkCo0U5rgMoNCafyqrFS1wFwVTLGcx1K8OQaAZ42aAvTwqz+9I1XgieEpuQlBnXEC9K+2RygvCnNCa/Y71lx6IU8tI9ZEFerWLXxa9XvUyWose6/A5SbDrDn98DSYbBkCDQRAH3UV96aTwbBpobAMhGw1J3y5rRyVs5m0PgAWPpu+d6JftBkCOxZBLL/WG090IixAVh3wE91yWjW4rCiNwAAAABJRU5ErkJggg==" LAST_CHARSET="UTF-8">RIT Dininng Hours</A>
<DD>
<DT><A HREF="https://tigercenter.rit.edu/tigerCenterHome/#/landing" ADD_DATE="1490472519" LAST_MODIFIED="1490472519" ICON_URI="https://tigercenter.rit.edu/tigerCenterHome/images/TC_Logo_favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9i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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBw/8qu/8et/8WtP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9wf80v/8AAAAAAAAAAAAAAAAAAAAAAAAAAAD8////+Hn///hw///84P///un///4P///8H////B///8AP//+GYf//hnD//85w///8Of///D////w////+f///" LAST_CHARSET="UTF-8">RIT myCourses</A>
<DD>
</DL><p>
</DL><p>
</DL>

+ 43
- 0
rpmbuild/SPECS/fedora-bookmarks.spec View File

@ -0,0 +1,43 @@
Name: TigerOS-bookmarks
Version: 1
Release: 1%{?dist}
Summary: TigerOS bookmarks
Group: Applications/Internet
License: GFDL
URL: https://github.com/RITlug/TigerOS
# I had to strip the embedded icons out of the bookmarks file, because they are not
# distributable under the GFDL. See https://bugzilla.redhat.com/show_bug.cgi?id=433471
Source0: default-bookmarks.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Provides: system-bookmarks
%description
This package contains the default bookmarks for TigerOS.
%prep
# We are nihilists, Lebowski. We believe in nassing.
%build
# We are nihilists, Lebowski. We believe in nassing.
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/bookmarks
install -p -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/bookmarks
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%dir %{_datadir}/bookmarks
%{_datadir}/bookmarks/default-bookmarks.html
%changelog
* Sat Mar 25 2017 Aidan Kahrs <axk4545@rit.edu>
- Initial version

+ 0
- 104
scripts/FusionEnableLauncher.py View File

@ -1,104 +0,0 @@
#!/usr/bin/env python
"""
FusionEnableLauncher.py
Author: Eitan Romanoff
Draws a simple two-button dialog that prompts the user if they want to enable
RPM fusion for the Fedora RIT Spin. Enabler script can be found at this link:
<link here>
"""
import pygtk
import subprocess
pygtk.require('2.0')
import gtk
class FusionEnableLauncher:
"""Launch the enabler script, then close this box."""
def launch_enabler_script(self, widget, data=None):
subprocess.call(['./enablerpmfusion.sh'], shell=True)
self.destroy(widget, None)
"""delete event callback"""
def delete_event(self, widget, event, data=None):
return False
"""destroy event callback"""
def destroy(self, widget, data=None):
gtk.main_quit()
"""init function - draws the window and does setup"""
def __init__(self):
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.set_title("Enable RPM Fusion?")
self.window.set_resizable(False)
# Create packing boxes. Outer level is vertical containing
# Label upper, then horizontal box lower.
self.box0 = gtk.VBox(False, 20)
self.box1 = gtk.HBox(False, 5)
# Add the veritcal box to the window
self.window.add(self.box0)
# hook up delete callback to event
self.window.connect("delete_event", self.delete_event)
# hook up destroy callback to event
self.window.connect("destroy", self.destroy)
# Sets the border width of the window.
self.window.set_border_width(20)
# Label for message
self.label = gtk.Label()
self.label.set_line_wrap(True)
self.label.set_text("Would you like to enable non-free and/or patent encumbered repositories? Due to the legal implications of shipping non-free or patent encumbered technology, we cannot enable these packages by default. Long story short, if you want to do things like like listen to mp3, or watch youtube videos in your browser, you will probably need to enable these options. You may enable these options at any time by running the enablerpmfusion.sh script located on your desktop.")
# Add the vertical elementals
self.box0.pack_start(self.label, False, False, 0)
self.box0.pack_start(self.box1, False, False, 0)
# Creates two buttons - enable and cancel
self.enable_button = gtk.Button("Enable Fusion")
self.cancel_button = gtk.Button("Cancel")
# Hook up enable button to callback on click event
self.enable_button.connect("clicked", self.launch_enabler_script, None)
# Hook up the cancel button to destroy callback on click event
self.cancel_button.connect_object("clicked", gtk.Widget.destroy, self.window)
# This packs the buttons into the horizontal box (container).
self.box1.pack_start(self.cancel_button, True, True, 0)
self.cancel_button.show()
self.box1.pack_start(self.enable_button, True, True, 0)
self.enable_button.show()
# Make the items visible...
self.label.show()
self.box1.show()
self.box0.show()
# Make the window visible...
self.window.show()
def main(self):
# All PyGTK applications must have a gtk.main(). Control ends here
# and waits for an event to occur (like a key press or mouse event).
gtk.main()
# If the program is run directly or passed as an argument to the python
# interpreter then create a HelloWorld instance and show it
if __name__ == "__main__":
launcher = FusionEnableLauncher()
launcher.main()

+ 75
- 0
scripts/cs/idea.sh View File

@ -0,0 +1,75 @@
#!/bin/sh -e
# IntelliJ installer script for TigerOS
# author: Josh Bicking <jhb2345@rit.edu>
DEPS=java-1.8.0-openjdk
PROG="IntelliJ IDEA Community Edition"
PROG_SHORT=idea-ce
VERSION=idea-IC-171.4073.35
TEMP_FILE=/tmp/ideaIC-2017.1.1.tar.gz
FILE_DIR=/usr/local
FILE=$FILE_DIR/$VERSION/bin/idea.sh
FILE_URL=https://download.jetbrains.com/idea/ideaIC-2017.1.1.tar.gz
LINK=$FILE_DIR/bin/$PROG_SHORT
ICON=$FILE_DIR/$VERSION/bin/idea.png
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
## Removal
# Check if remove flag was passed
if [ ! -z "$1" ] && [ "$1" = "--remove" ]
then
rm $LINK
rm /usr/local/share/applications/jetbrains-idea-ce.desktop
rm -rf $FILE_DIR/$VERSION
# Remove local links if they were created
for i in `ls /home/`
do
rm -f /home/$i/.local/share/applications/jetbrains-idea-ce.desktop
done
else
## Installation
# Install dependencies
dnf install $DEPS -y
# Get the files
wget -O $TEMP_FILE $FILE_URL
# Extract the files
tar -xf $TEMP_FILE -C $FILE_DIR
# Make a link
ln -s $FILE $LINK
chmod +x $LINK
chmod -R 755 $FILE_DIR/$VERSION
# Make a desktop file
# IDEA's first time setup allows the user to make this file. Naming it as such means the user won't get a duplicate entry.
cat > /usr/local/share/applications/jetbrains-idea-ce.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=$PROG
Comment=The Drive to Develop
Exec=$LINK %f
Icon=$ICON
Terminal=false
Categories=Development;IDE;Java;
StartupWMClass=jetbrains-idea-ce
EOF
# Clean up
rm $TEMP_FILE
fi

+ 68
- 0
scripts/cs/jflap.sh View File

@ -0,0 +1,68 @@
#!/bin/sh -e
# JFLAP installer script for TigerOS
# author: Josh Bicking <jhb2345@rit.edu>
DEPS=java-1.8.0-openjdk
PROG=JFLAP
FILE=/usr/share/java/JFLAP.jar
FILE_URL=http://www.jflap.org/jflaptmp/may15-2011/withoutSource/JFLAP.jar
LINK=/usr/local/bin/jflap
ICON_URL=http://jflap.org/jflapLogo2.jpg
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
## Removal
# Check if remove flag was passed
if [ ! -z "$1" ] && [ "$1" = "--remove" ]
then
rm $LINK
rm /usr/local/share/applications/$PROG.desktop
rm $FILE
rm /usr/local/share/icons/$PROG.jpg
else
## Installation
# Install dependencies
dnf install $DEPS -y
# Get the files
curl -o $FILE $FILE_URL
# Make a link
cat > $LINK <<EOF
#!/bin/sh
cd \$HOME
java -jar $FILE
EOF
chmod +x $LINK
chmod +x $FILE
# Make a desktop file
cat > /usr/local/share/applications/$PROG.desktop <<EOF
[Desktop Entry]
Type=Application
Version=7.0
Name=$PROG
Comment=Experiment with formal languages topics
Path=
Exec=$LINK
Icon=/usr/local/share/icons/$PROG.jpg
Terminal=false
Categories=Education;Languages;Java;
EOF
# Get the icons
mkdir -p /usr/local/share/icons
curl -o /usr/local/share/icons/$PROG.jpg $ICON_URL
fi

+ 68
- 0
scripts/cs/logisim.sh View File

@ -0,0 +1,68 @@
#!/bin/sh -e
# JFLAP installer script for TigerOS
# author: Josh Bicking <jhb2345@rit.edu>
DEPS=java-1.8.0-openjdk
PROG=Logisim
FILE=/usr/share/java/logisim.jar
FILE_URL=https://sourceforge.net/projects/circuit/files/2.3.x/2.3.1/logisim-2.3.1.jar/download
LINK=/usr/local/bin/logisim
ICON_URL=https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Logisim-icon.svg/48px-Logisim-icon.svg.png
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
## Removal
# Check if remove flag was passed
if [ ! -z "$1" ] && [ "$1" = "--remove" ]
then
rm $LINK
rm /usr/local/share/applications/$PROG.desktop
rm $FILE
rm /usr/local/share/icons/$PROG.jpg
else
## Installation
# Install dependencies
dnf install $DEPS -y
# Get the files
curl -o $FILE $FILE_URL
# Make a link
cat > $LINK <<EOF
#!/bin/sh
cd \$HOME
java -jar $FILE
EOF
chmod +x $LINK
chmod +x $FILE
# Make a desktop file
cat > /usr/local/share/applications/$PROG.desktop <<EOF
[Desktop Entry]
Type=Application
Version=2.3.1
Name=$PROG
Comment=A grahical tool for designing and simulating logic circuits.
Path=
Exec=$LINK
Icon=/usr/local/share/icons/$PROG.jpg
Terminal=false
Categories=Education;Languages;Java;
EOF
# Get the icons
mkdir -p /usr/local/share/icons
curl -o /usr/local/share/icons/$PROG.png $ICON_URL
fi

+ 15
- 1
scripts/enablerpmfusion.sh View File

@ -1,4 +1,18 @@
#!/bin/sh
# Enable RPMFusion nonfree repos
# author: Aidan Kahrs <axk4545@rit.edu>
su -c 'dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
if [ $EUID != 0 ]
then
echo "Please run this script as root ( $@$0)."
exit
fi
echo "This script will enable the RPMFusion repositories for nonfree or patent encumbered software. Due to the legal implications of shipping non-free or patent encumbered technology, we cannot enable these packages by default. Long story short, if you want to do things like like listen to mp3, or watch youtube videos in your browser, you will probably need to enable these options. You may enable these options at any time by running the enablerpmfusion.sh script located on your desktop."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm;;
[Nn]* ) exit;;
esac
done

+ 98
- 0
scripts/postinstall View File

@ -0,0 +1,98 @@
#!/bin/bash
# TigerOS postinstall package setup script
# author: Aidan Kahrs <axk4545@rit.edu>
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root ( $@$0)."
exit
fi
echo -e "Welcome to the TigerOS post install script.\n
This script will install a set of packages used for classes in your major."
echo -e "\n"
sleep 5;
PS3='Please enter your major: '
options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit")
select opt in "${options[@]}"
do
case $opt in
"CS")
echo -e "Welcome to the TigerOS CS package installer script.\n
This script will install Intellij IDEA, PyCharm, PROLOG, Racket, Logisim and JFLAP on your machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
./cs/idea.sh
# TODO Pycharm
# TODO PROLOG
# TODO Racket
./cs/logisim.sh
./cs/jflap.sh
;;
"IT/WMC")
echo -e "Welcome to the TigerOS IT/WMC package installer script.
This script will install mysql, mongodb, subversion, filezilla, nodejs and jGRASP on you machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
wget https://dev.mysql.com/get/mysql57-community-release-fc25-9.noarch.rpm -O mysql-repo.rpm
dnf install -y mysql-repo.rpm
dnf install -y mysql-community-server
echo "mysql installed see "https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/" step 4 for further instructions"
dnf install -y mongodb
semanage port -a -t mongod_port_t -p tcp 27017
dnf install -y subversion filezilla nodejs
#call jGRASP script here
mysql_secure_installation
echo "Install finished"
exit
;;
"NSSA/CIT")
echo -e "Welcome to the TigerOS NSSA/CIT package installer script.\n
This script will install wireshark, python 2.7, python 3 and jGrasp on you machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
dnf install -y wireshark-gtk python python3
groupadd wireshark
usermod -aG wireshark $USER
#call jGrasp installer script here
echo "Install finished"
exit
;;
"SE")
echo -e "Welcome to the TigerOS SE package installer script.\n
This script will install ruby, eclipse, Spin, sqlite3, plantUML, gitk and MIT Alloy on you machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
dnf install -y eclipse-jdt ruby sqlite plantuml gitk geany
./se/spin.sh && ./se/alloy.sh
echo "Install finished"
exit
;;
"Quit")
break
;;
*) echo invalid option;;
esac
done

+ 90
- 0
scripts/removal View File

@ -0,0 +1,90 @@
#!/bin/bash
# TigerOS script for the removal of unwanted major-specific packages
# Author: Tim Zabel <tjz8659@rit.edu>
# Check to see if the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
echo -e "Welcome to the TigerOS package removal script.\n
This script will remove all files and packages installed for a specific major."
echo -e "\n"
sleep 5;
PS3='Please enter the major for the courses you wish to remove: '
options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit")
select opt in "${options[@]}"
do
# all commands here are done with the -y flag. Individual removals do not ask the user for permission beforehand
case $opt in
"CS")
echo -e "Welcome to the TigerOS CS package removal script.\n
This script will remove Intellij idea, PyCharm, prolog, racket, and JFLAP from your machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
./cs/idea.sh --remove # removes Intellij IDEA
./cs/logisim.sh --remove # removes jFLAP
./cs/jflap.sh --remove # additional jFLAP removal
;;
"IT/WMC")
echo -e "Welcome to the TigerOS IT/WMC package removal script.\n
This script will remove mysql, mongodb, subversion, filezilla, and nodejs from your machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
sudo dnf -y remove mongodb subversion filezilla nodejs php mysql-repo.rpm mysql-community-server
semanage port -d -t mongod_port_t -p tcp 27017
firewall-cmd --del-port=22017/tcp --permanent && firewall-cmd --reload
# jGrasp installer script must be implemented before it can be removed.
;;
"NSSA/CIT")
echo -e "Welcome to the TigerOS NSSA/CIT package removal script.\n
This script will remove wireshark, python 2.7, python 3, and jGrasp from your machine."
while true; do
read -p "Do you wish to continue [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
sudo dnf -y remove wireshark python python3
# WARNING --> jGrasp has not been implemented in the installer script yet. Cannot remove
echo "Install finished."
exit
;;
"SE" )
echo -e "Welcome to the TigerOS Software Engineering removal script.\n
This script will remove ruby, eclipse, Spin, sqlite3 and MIT Alloy from your machine."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
esac
done
sudo dnf -y remove eclipse-jdt ruby sqlite gitk plantuml
# Spin and Alloy need to be implemented in installer script before removal.
echo "All files have been removed."
exit
;;
"Quit")
break
;;
*)
echo "Invalid Option."
;;
esac
done

+ 53
- 0
scripts/se/alloy.sh View File

@ -0,0 +1,53 @@
#!/bin/sh -e
# JFLAP installer script for TigerOS
# author: Josh Bicking <jhb2345@rit.edu>
DEPS=java-1.8.0-openjdk
PROG=Alloy
FILE=/usr/share/java/alloy.jar
FILE_URL=http://alloy.mit.edu/alloy/downloads/alloy4.2.jar
LINK=/usr/local/bin/alloy
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
# Install dependencies
dnf install $DEPS -y
# Get the files
curl -o $FILE $FILE_URL
# Make a link
cat > $LINK <<EOF
#!/bin/sh
cd \$HOME
java -jar $FILE
EOF
chmod +x $LINK
chmod +x $FILE
# Make a desktop file
cat > /usr/local/share/applications/$PROG.desktop <<EOF
[Desktop Entry]
Type=Application
Version=7.0
Name=$PROG
Comment=Experiment with formal languages topics
Path=
Exec=$LINK
Icon=/usr/local/share/icons/$PROG.jpg
Terminal=false
Categories=Education;Languages;Java;
EOF
# Get the icons
mkdir -p /usr/local/share/icons
unzip -j "$FILE" "images/logo.gif" -d "alloy.gif"

+ 20
- 0
scripts/se/spin.sh View File

@ -0,0 +1,20 @@
#!/bin/bash
# Spin install script for TigerOS
# author: Aidan Kahrs <axk4545@rit.edu>
# Check that the current user is root
if [ $EUID != 0 ]
then
echo "Please run this script as root (sudo $@$0)."
exit
fi
wget http://spinroot.com/spin/Src/spin646.tar.gz -O /tmp/spin.tar.gz
tar -xvf /tmp/spin.tar.gz
cd /tmp/Spin/Src*
dnf install -y byacc
make
install -p -m 755 spin /usr/local/bin/spin
sed -i 's#BIN=/usr/bin#BIN=/usr/local/bin#g' /tmp/Spin/iSpin/install.sh
dnf install tcl tk
bash /tmp/Spin/iSpin/install.sh
dnf remove byacc

+ 18
- 14
tigeros.ks View File

@ -242,8 +242,8 @@ fi
if [ -n "\$xdriver" ]; then
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
Section "Device"
Identifier "Videocard0"
Driver "\$xdriver"
Identifier "Videocard0"
Driver "\$xdriver"
EndSection
FOE
fi
@ -356,21 +356,25 @@ EOF
cd /usr/share/backgrounds/images
# fetch custom RIT backgrounds
#FIXME
# Fetch scripts
mkdir -p /usr/share/autostart
mkdir -p /usr/local/tigeros/
cd /usr/local/tigeros/
#wget people.rit.edu/axk4545/scripts.tar.gz
wget --no-check-certificate http://129.21.1.44/axk4545/scripts.tar.gz
tar -xvf /usr/local/tigeros/scripts.tar.gz -C /usr/local/tigeros/
ln -s /usr/local/enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh
ln -s /usr/local/tigeros/FusionEnableLauncher.py /usr/share/autostart/FusionEnableLauncher.py
ln -s /usr/local/tigeros/postinstall /usr/share/autostart/postinstall
# Fetch rpm fusion scripts, bash_profile
su -c "mkdir -p /usr/share/autostart"
su -c "mv FusionEnableLauncher.txt FusionEnableLauncher.py"
su -c "mv enablerpmfusion.txt enablerpmfusion.sh"
su -c "chmod a+rwx FusionEnableLauncher.py"
su -c "chmod a+rwx enablerpmfusion.sh"
su -c "cp FusionEnableLauncher.py /usr/share/autostart/FusionEnableLauncher.py"
su -c "cp enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh"
chmod -R 755 /usr/local/tigeros/
# Download and install google chrome
su -c "dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm"
dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
restorecon -R /usr/local/tigeros
%end
%packages
@ -409,10 +413,10 @@ lynx
memtest86+
parole
pidgin
playonlinux
rhythmbox
syslinux
transmission
wget
yumex-dnf
zsh
#exclude things (packagekit breaks things, fedora-* packages are replaced by ones we customized.)

Loading…
Cancel
Save