Distro / master differenciation
This commit is contained in:
parent
599967d5e1
commit
1923b8bb4f
8 changed files with 0 additions and 835 deletions
34
PKGBUILD
34
PKGBUILD
|
@ -1,34 +0,0 @@
|
|||
pkgname=decrypt
|
||||
pkgver=0.5.1
|
||||
pkgrel=4
|
||||
pkgdesc="Decryption script"
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
depends=('cryptsetup')
|
||||
changelog=changelog
|
||||
install=decrypt.install
|
||||
source=(
|
||||
'binaries/decrypt.sh'
|
||||
'initcpio/archlinux/decrypt.hook'
|
||||
'initcpio/archlinux/decrypt.install'
|
||||
)
|
||||
|
||||
package() {
|
||||
|
||||
# Install last known script with service
|
||||
install -Dm 755 "${srcdir}/decrypt.hook" "${pkgdir}/usr/lib/initcpio/hooks/decrypt"
|
||||
install -Dm 755 "${srcdir}/decrypt.sh" "${pkgdir}/usr/lib/initcpio/hooks/decrypt.sh"
|
||||
install -Dm 755 "${srcdir}/decrypt.install" "${pkgdir}/usr/lib/initcpio/install/decrypt"
|
||||
|
||||
# Add copywrite header to all files
|
||||
for i in $(find ${pkgdir}/* -type f -not -name ".PKGINFO" -not -name ".BUILDINFO" -not -name ".MTREE"); do
|
||||
echo "#
|
||||
# Author Antoine Martin
|
||||
# Copyright (c) $(date +%Y) Antoine Martin <antoine.martin@protonmail.com>
|
||||
# Release v${pkgver}-${pkgrel} ${pkgname}
|
||||
#
|
||||
$(cat "${i}")
|
||||
" > ${i}
|
||||
done
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
post_install() {
|
||||
|
||||
echo "INSTALL INSTRUCTIONS"
|
||||
echo "1) Add 'decrypt' in /etc/mkinitcpio"
|
||||
echo "2) Execute 'mkinitcpio -p linux'"
|
||||
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
mkinitcpio -p linux
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,638 +0,0 @@
|
|||
{
|
||||
"auto_complete":
|
||||
{
|
||||
"selected_items":
|
||||
[
|
||||
[
|
||||
"else",
|
||||
"else"
|
||||
],
|
||||
[
|
||||
"eval",
|
||||
"evaluate_retval"
|
||||
]
|
||||
]
|
||||
},
|
||||
"buffers":
|
||||
[
|
||||
{
|
||||
"file": "src/decrypt.sh",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 16587,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/debian/src/decrypt.hook",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1167,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/debian/src/decrypt.install",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 149,
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "PKGBUILD",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 821,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "decrypt.install",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 184,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "changelog",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 241,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "license",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1089,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
}
|
||||
],
|
||||
"build_system": "",
|
||||
"build_system_choices":
|
||||
[
|
||||
],
|
||||
"build_varint": "",
|
||||
"command_palette":
|
||||
{
|
||||
"height": 392.0,
|
||||
"last_filter": "",
|
||||
"selected_items":
|
||||
[
|
||||
[
|
||||
"Package Control: Ins",
|
||||
"Package Control: Install Package"
|
||||
],
|
||||
[
|
||||
"Package Control: install",
|
||||
"Package Control: Install Package"
|
||||
],
|
||||
[
|
||||
"Package Control: ",
|
||||
"Package Control: List Packages"
|
||||
]
|
||||
],
|
||||
"width": 449.0
|
||||
},
|
||||
"console":
|
||||
{
|
||||
"height": 126.0,
|
||||
"history":
|
||||
[
|
||||
"import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)"
|
||||
]
|
||||
},
|
||||
"distraction_free":
|
||||
{
|
||||
"menu_visible": true,
|
||||
"show_minimap": false,
|
||||
"show_open_files": false,
|
||||
"show_tabs": false,
|
||||
"side_bar_visible": false,
|
||||
"status_bar_visible": false
|
||||
},
|
||||
"expanded_folders":
|
||||
[
|
||||
"/home/amartin/Projects/Coding/decrypt"
|
||||
],
|
||||
"file_history":
|
||||
[
|
||||
"/usr/lib/initcpio/hooks/decrypt.sh",
|
||||
"/mnt/decrypt/decrypt.sh",
|
||||
"/home/amartin/Projects/Packages/archlinux/decrypt/build.sh",
|
||||
"/var/abs/local/linux-ck/PKGBUILD",
|
||||
"/etc/fstab",
|
||||
"/home/Ayakael/patch.sh",
|
||||
"/media/Selkie-ISO2/mount.kveykva",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/debian/decrypt.hook",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/debian/decrypt.install",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/archlinux/decrypt.install",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/archlinux/decrypt.hook",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/changelog",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/[distro]/archlinux/PKGBUILD",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/archlinux/decrypt.hooks",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/decrypt.install",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/decrypt.install",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/decrypt.hooks",
|
||||
"/boot/decrypt/decrypt.cfg",
|
||||
"/home/Ayakael/Projects/Packages/archlinux/decrypt/src/decrypt.sh",
|
||||
"/var/abs/local/btrfs-progs-git/PKGBUILD",
|
||||
"/var/abs/local/btrfs-",
|
||||
"/home/Ayakael/Projects/Coding/(Functions)/log",
|
||||
"/home/Ayakael/Projects/Coding/decrypt/decrypt.install",
|
||||
"/home/Ayakael/.config/sublime-text-3/Packages/User/makepkg.sublime-build",
|
||||
"/home/Ayakael/Projects/Coding/Bridge/src/lastknown.service",
|
||||
"/home/Ayakael/Projects/Coding/Bridge/src/lastknown",
|
||||
"/home/Ayakael/Projects/Coding/Bridge/src/bridge",
|
||||
"/home/Ayakael/Projects/Coding/decrypt/PKGBUILD",
|
||||
"/boot/grub/grub.cfg",
|
||||
"/etc/powerpill/powerpill.json",
|
||||
"/var/abs/local/aura/PKGBUILD",
|
||||
"/var/abs/local/protonmail/PKGBUILD",
|
||||
"/usr/bin/mirrorsync",
|
||||
"/home/Ayakael/Projects/Coding/netsync/src/netsync",
|
||||
"/home/Ayakael/Projects/Coding/decrypt/decrypt",
|
||||
"/var/abs/local/ttf-win7-fonts/_COPY.BAT",
|
||||
"/usr/bin/serial.artalus",
|
||||
"/etc/fstab.kveykva",
|
||||
"/usr/lib/initcpio/hooks/encrypt",
|
||||
"/usr/lib/initcpio/hooks/decrypt",
|
||||
"/var/abs/local/ttf-win7-fonts/copy.sh",
|
||||
"/bridge/Artalus-DAT/[deluge]/(downloads)/tmp/The.Walking.Dead.S06E04.PROPER.720p.HDTV.x264-KILLERS[ettv]/Torrent-Downloaded-from-ExtraTorrent.cc.txt",
|
||||
"/bridge/Vindramos-DAT/{Richard}/recovery/audit.txt",
|
||||
"/bridge/Vindramos-DAT/{Richard}/hexdump",
|
||||
"/home/Ayakael/Projects/Coding/ecryptfs/ecryptfs",
|
||||
"/home/Ayakael/Projects/Coding/Btrfs Subvolume Protcol/btrfs-smp.sh",
|
||||
"/home/Ayakael/Documents/Downloads/CA Toronto.ovpn",
|
||||
"/home/Ayakael/Projects/Coding/decrypt/decrypt.hooks",
|
||||
"/usr/lib/initcpio/install/decrypt",
|
||||
"/home/Ayakael/Projects/Coding/Functions/log",
|
||||
"/bridge/Vindramos-DAT/{Richard}/binarydymp",
|
||||
"/home/Ayakael/Documents/Downloads/DNSBench.exe",
|
||||
"/home/Ayakael/decrypt.cfg",
|
||||
"/home/Ayakael/Artalus.spathi",
|
||||
"/home/Ayakael/log",
|
||||
"/home/Ayakael/spathi",
|
||||
"/home/Ayakael/test",
|
||||
"/home/Ayakael/testfile",
|
||||
"/media/Pink Floyd - aMLoR1/access-cli",
|
||||
"/home/Ayakael/rockbox/.git/hooks/update.sample",
|
||||
"/home/Ayakael/rockbox/.git/config",
|
||||
"/etc/crypttab",
|
||||
"/media/IPOD/.rockbox/viewers.config",
|
||||
"/media/IPOD/.rockbox/rockbox-info.txt",
|
||||
"/media/IPOD/.rockbox/config.cfg",
|
||||
"/media/IPOD/.rockbox/tagnavi.config",
|
||||
"/bridge/Artalus-DAT/[deluge]/(downloads)/tmp/The.Walking.Dead.S06E05.INTERNAL.720p.HDTV.x264-KILLERS[ettv]/Torrent-Downloaded-from-ExtraTorrent.cc.txt",
|
||||
"/home/Ayakael/.config/awesome/rc.lua",
|
||||
"/media/A016_1104OK/102-96B-75F_log.txt",
|
||||
"/media/SPATHI1/decrypt",
|
||||
"/home/Ayakael/Projects/Coding/decrypt/logtest",
|
||||
"/home/Ayakael/Downloads/FF.Communicator",
|
||||
"/home/Ayakael/Projects/Computers/rockbox/rbutil.log",
|
||||
"/home/Ayakael/Documents/decrypt.cfg",
|
||||
"/media/USB/btrfs-restore",
|
||||
"/root/restore.log",
|
||||
"/etc/security/pam_mount.conf.xml",
|
||||
"/bridge/Vindramos-SYS/{Vindramos-SYS}/[Ayakael]/(home)/__active/.pam_mount.conf.xml",
|
||||
"/home/Ayakael/Documents/Downloads/VMware Workstation v12.0.0 Linux x64 Incl Keymaker-EMBRACE/Write for Us.txt",
|
||||
"/home/Ayakael/Documents/Downloads/VMware Workstation v12.0.0 Linux x64 Incl Keymaker-EMBRACE/Install Notes.txt",
|
||||
"/usr/bin/ecryptfs.gen",
|
||||
"/home/Ayakael/btrfs-undelete",
|
||||
"/home/Ayakael/restore",
|
||||
"/home/Ayakael/.config/redshift.conf",
|
||||
"/media/USB/artalus/decrypt.artalus",
|
||||
"/home/Ayakael/Projects/Scripts/glibc-core-2.17/uninstall.sh",
|
||||
"/bridge/Artalus-DAT/[deluge]/(downloads)/tmp/[V-A]_Now_and_Then,_Here_and_There/[V-A]_Now_and_Then,_Here_and_There.nfo",
|
||||
"/home/Ayakael/Projects/Computers/rockbox/tagnavi.config",
|
||||
"/etc/X11/xorg.conf.d/10-monitor.conf",
|
||||
"/etc/X11/xorg.conf.d/20-radeon.conf",
|
||||
"/bridge/Artalus-DAT/[deluge]/(downloads)/tmp/[V-A]_Now_and_Then,_Here_and_There/[V-A]_Now_and_Then,_Here_and_There.sfv",
|
||||
"/media/VINDRAMOS-K/decrypt",
|
||||
"/home/Ayakael/Downloads/VMware Workstation v12.0.0 Linux x64 Incl Keymaker-EMBRACE/VMware-Workstation-Full-12.0.0-2985596.x86_64.bundle",
|
||||
"/home/Ayakael/Downloads/VMware Workstation v12.0.0 Linux x64 Incl Keymaker-EMBRACE/Install Notes.txt",
|
||||
"/home/Ayakael/transfer",
|
||||
"/bridge/Kveykva-SYS/{Kveykva-SYS}/[Ayakael]/(home)/__active/1.sh",
|
||||
"/home/Ayakael/Projects/Coding/Decrypt Bootstrap/artalus/decrypt.cfg",
|
||||
"/home/Ayakael/Projects/Coding/EcryptfsFS Manager/.ecryptfs Generator",
|
||||
"/home/~",
|
||||
"/home/.mnt/Ayakael/Documents/.ecryptfs/Private.mnt",
|
||||
"/home/.mnt/Ayakael/Media/.ecryptfs/Private.sig",
|
||||
"/home/.mnt/Ayakael/Media/.ecryptfs/Private.mnt",
|
||||
"/home/.mnt/Ayakael/Documents/.ecryptfs/Private.sig",
|
||||
"/home/.ecryptfs/Ayakael/.ecryptfs/Private.mnt",
|
||||
"/home/Ayakael/Documents/Downloads/22560-001.bin",
|
||||
"/home/Ayakael/Projects/Coding/Decrypt Bootstrap/decrypt",
|
||||
"/home/Ayakael/Projects/Scripts/Secure CD Generator/src/access-cli",
|
||||
"/home/Ayakael/Projects/Scripts/libgcrypt-1.5.0-1/uninstall.sh",
|
||||
"/home/Ayakael/Projects/Scripts/cryptsetup-1.6.0-1/install.sh",
|
||||
"/home/Ayakael/Projects/Scripts/cryptsetup-1.6.0-1/update.sh",
|
||||
"/home/Ayakael/Projects/Scripts/cryptsetup-1.6.0-1/uninstall.sh",
|
||||
"/home/Ayakael/Projects/Scripts/Decrypt Bootstrap/artalus/decrypt.cfg",
|
||||
"/home/Ayakael/Projects/Packages/glibc-core-2.17/uninstall.sh",
|
||||
"/home/Ayakael/Projects/Packages/btrfs-progs-3.12-2/uninstall.sh",
|
||||
"/home/Ayakael/Projects/Packages/btrfs-progs-3.12-2/install.sh",
|
||||
"/boot/decrypt/decrypt.cfh",
|
||||
"/bridge/Vindramos-SYS/[root]/(system)/etc/fstab",
|
||||
"/home/Ayakael/.bashrc",
|
||||
"/home/Ayakael/IMAGE/access-cli",
|
||||
"/backup/Lykourgus/Pictures/Themes/7. Basic Theme Files/Placebo Black Market 2 - BASIC.theme",
|
||||
"/backup/Lykourgus/Pictures/Themes/1. Placebo/Placebo Black Market 2.theme",
|
||||
"/backup/Lykourgus/Pictures/Themes/1. Placebo/Placebo Black Market 2/BM2.msstyles",
|
||||
"/home/Ayakael/Documents/Scripts/Secure CD Generator/src/access-cli",
|
||||
"/home/Ayakael/Documents/Scripts/Secure CD Generator/src/mksecurecd",
|
||||
"/usr/bin/speedtest-cli",
|
||||
"/var/abs/local/speedtest-cli/PKGBUILD",
|
||||
"/etc/initcpio/hooks/decrypt.sh",
|
||||
"/media/IPFire_2.175/decrypt.sh"
|
||||
],
|
||||
"find":
|
||||
{
|
||||
"height": 36.0
|
||||
},
|
||||
"find_in_files":
|
||||
{
|
||||
"height": 93.0,
|
||||
"where_history":
|
||||
[
|
||||
""
|
||||
]
|
||||
},
|
||||
"find_state":
|
||||
{
|
||||
"case_sensitive": false,
|
||||
"find_history":
|
||||
[
|
||||
"true",
|
||||
"d",
|
||||
"Vindramot",
|
||||
"COPY",
|
||||
"%MYSHARE%\\",
|
||||
"%WINDIR%\\FONTS\\",
|
||||
"%WINDIR%",
|
||||
"menubar",
|
||||
"p",
|
||||
"umount",
|
||||
"awesome.restart",
|
||||
"btrfs",
|
||||
"\"REP\"",
|
||||
" REP ",
|
||||
"REP",
|
||||
"FAT",
|
||||
" ERR ",
|
||||
"0 ERR",
|
||||
"ERR",
|
||||
"CMP",
|
||||
"CAT",
|
||||
"ACT",
|
||||
">/dev/null 2>&1",
|
||||
">/dev/null",
|
||||
"vfat",
|
||||
"}-KEY",
|
||||
"key",
|
||||
"kernel",
|
||||
"256",
|
||||
"Linux",
|
||||
"openvpn",
|
||||
"encryption",
|
||||
"key",
|
||||
"Ciphers",
|
||||
"rules",
|
||||
"Tags",
|
||||
"/usr/share/awesome/themes/default/"
|
||||
],
|
||||
"highlight": true,
|
||||
"in_selection": false,
|
||||
"preserve_case": false,
|
||||
"regex": false,
|
||||
"replace_history":
|
||||
[
|
||||
"Vindramos",
|
||||
"cp",
|
||||
"/var/abs/local/ttf-win7-fonts/font/",
|
||||
"/bridge/Vindramot-WIN/Windows/Fonts/",
|
||||
"/bridge/Vindramot-WIN/Windows/",
|
||||
"REPT",
|
||||
" REPT ",
|
||||
"REPT",
|
||||
"FAIL",
|
||||
" WARN ",
|
||||
"0 WARN",
|
||||
"WARN",
|
||||
"OK",
|
||||
"LINE",
|
||||
"EXEC",
|
||||
">${STDERR} 2>&1",
|
||||
">${STDERR}",
|
||||
"/home/Ayakael/.config/awesome/themes/Vindramos/"
|
||||
],
|
||||
"reverse": false,
|
||||
"show_context": true,
|
||||
"use_buffer2": true,
|
||||
"whole_word": false,
|
||||
"wrap": true
|
||||
},
|
||||
"groups":
|
||||
[
|
||||
{
|
||||
"selected": 0,
|
||||
"sheets":
|
||||
[
|
||||
{
|
||||
"buffer": 0,
|
||||
"file": "src/decrypt.sh",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 16587,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
6784,
|
||||
6784
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/ShellScript/Shell-Unix-Generic.sublime-syntax",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 2034.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 0,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 1,
|
||||
"file": "src/debian/src/decrypt.hook",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1167,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
9,
|
||||
9
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/ShellScript/Shell-Unix-Generic.sublime-syntax",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 2,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 2,
|
||||
"file": "src/debian/src/decrypt.install",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 149,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
32,
|
||||
32
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/ShellScript/Shell-Unix-Generic.sublime-syntax"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 3,
|
||||
"file": "PKGBUILD",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 821,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
37,
|
||||
37
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/ShellScript/Shell-Unix-Generic.sublime-syntax"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 6,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 4,
|
||||
"file": "decrypt.install",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 184,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
182,
|
||||
182
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/Text/Plain text.tmLanguage"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 5,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 5,
|
||||
"file": "changelog",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 241,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
241,
|
||||
241
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/Text/Plain text.tmLanguage"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 4,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 6,
|
||||
"file": "license",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1089,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"syntax": "Packages/Text/Plain text.tmLanguage"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 3,
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"incremental_find":
|
||||
{
|
||||
"height": 27.0
|
||||
},
|
||||
"input":
|
||||
{
|
||||
"height": 32.0
|
||||
},
|
||||
"layout":
|
||||
{
|
||||
"cells":
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
]
|
||||
],
|
||||
"cols":
|
||||
[
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"rows":
|
||||
[
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"menu_visible": true,
|
||||
"output.exec":
|
||||
{
|
||||
"height": 112.0
|
||||
},
|
||||
"output.find_results":
|
||||
{
|
||||
"height": 0.0
|
||||
},
|
||||
"pinned_build_system": "Packages/User/makepkg.sublime-build",
|
||||
"project": "decrypt.sublime-project",
|
||||
"replace":
|
||||
{
|
||||
"height": 64.0
|
||||
},
|
||||
"save_all_on_build": true,
|
||||
"select_file":
|
||||
{
|
||||
"height": 0.0,
|
||||
"last_filter": "",
|
||||
"selected_items":
|
||||
[
|
||||
],
|
||||
"width": 0.0
|
||||
},
|
||||
"select_project":
|
||||
{
|
||||
"height": 0.0,
|
||||
"last_filter": "",
|
||||
"selected_items":
|
||||
[
|
||||
],
|
||||
"width": 0.0
|
||||
},
|
||||
"select_symbol":
|
||||
{
|
||||
"height": 0.0,
|
||||
"last_filter": "",
|
||||
"selected_items":
|
||||
[
|
||||
],
|
||||
"width": 0.0
|
||||
},
|
||||
"selected_group": 0,
|
||||
"settings":
|
||||
{
|
||||
},
|
||||
"show_minimap": true,
|
||||
"show_open_files": false,
|
||||
"show_tabs": true,
|
||||
"side_bar_visible": true,
|
||||
"side_bar_width": 322.0,
|
||||
"status_bar_visible": true,
|
||||
"template_settings":
|
||||
{
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
#
|
||||
# Author Antoine Martin
|
||||
# Copyright (c) 2016 Antoine Martin <antoine.martin@protonmail.com>
|
||||
# Release v0.5.1-4 decrypt
|
||||
#
|
||||
#!/usr/bin/ash
|
||||
run_hook() {
|
||||
modprobe -a -q dm-crypt >/dev/null 2>&1
|
||||
[ "${quiet}" = "y" ] && CSQUIET=">/dev/null"
|
||||
export TERMINFO=/usr/lib/terminfo
|
||||
bash /usr/bin/decrypt open
|
||||
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
#
|
||||
# Author Antoine Martin
|
||||
# Copyright (c) 2016 Antoine Martin <antoine.martin@protonmail.com>
|
||||
# Release v0.5.1-4 decrypt
|
||||
#
|
||||
#!/bin/bash
|
||||
|
||||
build() {
|
||||
local mod
|
||||
|
||||
add_module dm-crypt
|
||||
if [[ $CRYPTO_MODULES ]]; then
|
||||
for mod in $CRYPTO_MODULES; do
|
||||
add_module "$mod"
|
||||
done
|
||||
else
|
||||
add_all_modules '/crypto/'
|
||||
fi
|
||||
|
||||
add_binary "cryptsetup"
|
||||
add_binary "dmsetup"
|
||||
add_binary "mount"
|
||||
add_binary "egrep"
|
||||
add_binary "lsblk"
|
||||
add_binary "sed"
|
||||
add_binary "bash"
|
||||
add_binary "tput"
|
||||
add_file "/usr/lib/udev/rules.d/10-dm.rules"
|
||||
add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
|
||||
add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
|
||||
add_file "/usr/share/terminfo/l/linux" "/usr/lib/terminfo/l/linux"
|
||||
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
|
||||
add_file "/usr/lib/initcpio/hooks/decrypt.sh" "/usr/bin/decrypt"
|
||||
|
||||
add_runscript
|
||||
}
|
||||
|
||||
help() {
|
||||
cat <<HELPEOF
|
||||
This hook allows for an encrypted root device. Users should specify the device
|
||||
to be unlocked using 'cryptdevice=device:dmname' on the kernel command line,
|
||||
where 'device' is the path to the raw device, and 'dmname' is the name given to
|
||||
the device after unlocking, and will be available as /dev/mapper/dmname.
|
||||
|
||||
For unlocking via keyfile, 'cryptkey=device:fstype:path' should be specified on
|
||||
the kernel cmdline, where 'device' represents the raw block device where the key
|
||||
exists, 'fstype' is the filesystem type of 'device' (or auto), and 'path' is
|
||||
the absolute path of the keyfile within the device.
|
||||
|
||||
Without specifying a keyfile, you will be prompted for the password at runtime.
|
||||
This means you must have a keyboard available to input it, and you may need
|
||||
the keymap hook as well to ensure that the keyboard is using the layout you
|
||||
expect.
|
||||
HELPEOF
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=4 sw=4 et:
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREREQS="udev"
|
||||
EXEC="/usr/bin/bash /sbin/cryptsetup dmsetup mount egrep lsblk sed tput"
|
||||
RULES="55-dm.rules"
|
||||
FILES="'/usr/share/terminfo/l/linux-16color:/lib/terminfo/l/linux' '/usr/share/initramfs-tools/scripts/local-premount/decrypt.sh:/usr/bin/decrypt'"
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
|
||||
|
||||
for exec in ${EXEC}; do
|
||||
if [ -e ${exec} ]; then
|
||||
copy_exec "${exec}"
|
||||
else
|
||||
echo "${exec} not found"
|
||||
done
|
||||
|
||||
mkdir -p ${DESTDIR}/lib/udev/rules.d/; do
|
||||
for rules in ${RULES}; do
|
||||
if [ -e /etc/udev/rules.d/${rules} ]; then
|
||||
cp -p "/etc/udev/rules.d/${rules}" "${DESTDIR}/etc/udev/rules.d/"
|
||||
elif [ -e /lib/udev/rules.d/${rules} ]; then
|
||||
cp -p "/lib/udev/rules.d/${rules}" "${DESTDIR}/lib/udev/rules.d/"
|
||||
else
|
||||
echo "${rules} not found"
|
||||
fi
|
||||
done
|
||||
|
||||
for files in ${FILES}; do
|
||||
FILES_SRC=$(echo ${files} | sed 's/.*://')
|
||||
FILES_DST=$(echo ${files} | sed 's/:.*//')
|
||||
FILES_NAME=$(echo ${files} | sed 's|.*/||')
|
||||
mkdir -p ${DESTDIR}/${FILES_NAME}
|
||||
if [ -e ${FILES_SRC} ]; then
|
||||
cp -p "${FILES_SRC}" "${DESTDIR}/{FILES_DST}"
|
||||
else
|
||||
echo "${FILES_SRC} not found"
|
||||
done
|
||||
|
||||
|
||||
exit 0
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
PREREQS="udev"
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
/sbin/bash "/usr/bin/decrypt open"
|
Loading…
Reference in a new issue