heads' build system

config 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. #!/usr/bin/env zsh
  2. blend_name="heads"
  3. blend_vers="0.4"
  4. image_name="${blend_name}-${blend_vers}-${arch}"
  5. MAKEOPTS="-j$(grep -c 'processor' /proc/cpuinfo)"
  6. TAR_STAGE4=true
  7. kernel_heads_version="4.9.74"
  8. kernel_heads_branch="master"
  9. kernel_heads_flavor="gnu-unofficial+grsec+"
  10. kernel_heads_git="https://github.com/headslive/linux-heads"
  11. rootfs_overlay="https://github.com/headslive/rootfs-overlay"
  12. torsocks_version="master"
  13. torsocks_url="https://git.torproject.org/torsocks.git"
  14. tomb_version="v2.4"
  15. tomb_url="https://github.com/dyne/tomb.git"
  16. gtomb_version="master"
  17. gtomb_url="https://git.parazyd.org/gtomb"
  18. ttdnsd_version="master"
  19. ttdnsd_url="https://git.torproject.org/ioerror/ttdnsd.git"
  20. musl_version="v1.1.19"
  21. musl_url="git://git.musl-libc.org/musl"
  22. wmutils_version="master"
  23. wmutils_url="https://github.com/wmutils/core"
  24. tbb_version="7.5.2"
  25. case $arch in
  26. amd64) aa="64";;
  27. i386) aa="32";;
  28. esac
  29. tbb_url="https://www.torproject.org/dist/torbrowser/${tbb_version}/tor-browser-linux${aa}-${tbb_version}_en-US.tar.xz"
  30. extra_packages=(
  31. xserver-xorg
  32. xserver-xorg-legacy
  33. xinit
  34. openrc
  35. eudev
  36. yad
  37. pinentry-gtk2
  38. awesome
  39. openbox
  40. lxpanel
  41. lximage-qt
  42. adwaita-icon-theme
  43. breeze-cursor-theme
  44. breeze-gtk-theme
  45. nitrogen
  46. alsa-utils
  47. zsh
  48. ferm
  49. tmux
  50. busybox-static
  51. cryptsetup
  52. curl
  53. openssh-client
  54. sshfs
  55. pax-utils
  56. paxctl
  57. rfkill
  58. acpi
  59. acpid
  60. acpi-support
  61. lm-sensors
  62. lsof
  63. strace
  64. acl
  65. gradm2
  66. gnupg2
  67. dirmngr
  68. gpa
  69. pcsc-tools
  70. htop
  71. p7zip
  72. ssss
  73. macchanger
  74. aircrack-ng
  75. reaver
  76. steghide
  77. qrencode
  78. tor
  79. nyx
  80. apt-transport-tor
  81. apt-transport-https
  82. tsocks
  83. torsocks
  84. htpdate
  85. obfs4proxy
  86. openvpn
  87. wicd
  88. lxterminal
  89. lxmusic
  90. leafpad
  91. abiword
  92. abiword-plugin-grammar
  93. gnumeric
  94. zathura
  95. gtkhash
  96. rng-tools
  97. hexchat
  98. hexchat-otr
  99. hexchat-perl
  100. hexchat-plugins
  101. hexchat-python3
  102. irssi
  103. net-tools
  104. dnsutils
  105. gimp
  106. thunderbird
  107. enigmail
  108. electrum
  109. pass
  110. qtpass
  111. sacc
  112. mpv
  113. smplayer
  114. youtube-dl
  115. tig
  116. imagemagick
  117. libnotify-bin
  118. dunst
  119. scrot
  120. pcmanfm
  121. #dunst
  122. mlocate
  123. miscfiles
  124. gettext
  125. arandr
  126. xclip
  127. i3lock
  128. ncdu
  129. whois
  130. connect-proxy
  131. proxychains
  132. mat
  133. pciutils
  134. usbutils
  135. xarchiver
  136. #onionshare
  137. udiskie
  138. gnuchess
  139. gnuchess-book
  140. xboard
  141. hasciicam
  142. exif
  143. bc
  144. autoconf
  145. automake
  146. build-essential
  147. flex
  148. libbison-dev
  149. libtool-bin
  150. libtool
  151. libevent-dev
  152. libssl-dev
  153. libgcrypt20-dev
  154. libseccomp-dev
  155. libx11-xcb-dev
  156. libxcb-util0-dev
  157. equivs
  158. debhelper
  159. )
  160. purge_packages=(
  161. openssh-server
  162. openssh-sftp-server
  163. )
  164. finalize_purge_packages=(
  165. at-spi2-core
  166. autoconf
  167. automake
  168. autotools-dev
  169. avahi-daemon
  170. cups-pk-helper
  171. debhelper
  172. easy-rsa
  173. #elogind
  174. evince
  175. evince-common
  176. gnome-keyring
  177. geoclue-2.0
  178. gir1.2-polkit-1.0
  179. gstreamer1.0-plugins-base
  180. gstreamer1.0-plugins-good
  181. gstreamer1.0-pulseaudio
  182. gstreamer1.0-x
  183. #gvfs
  184. kwayland-data
  185. kwayland-integration
  186. lxqt-policykit
  187. minisat
  188. modemmanager
  189. ntp
  190. opensc
  191. oxygen-icon-theme
  192. packagekit
  193. packagekit-tools
  194. pcmanfm-qt
  195. pcmanfm-qt-l10n
  196. phantomjs
  197. rtkit
  198. sntp
  199. system-config-printer
  200. system-config-printer-common
  201. system-config-printer-udev
  202. sysv-rc
  203. tasksel
  204. tasksel-data
  205. ttdnsd-dbgsym
  206. upower
  207. usb-modeswitch
  208. yelp
  209. )