Skip to content

Instantly share code, notes, and snippets.

[fnord0@spaceface|01/27/14|17:29]-(/usr/share/beef)-[git://master ✔]- gem-1.9 list --local
*** LOCAL GEMS ***
addressable (2.3.3)
ansi (1.4.3)
atomic (1.1.14)
bacon (1.2.0)
bigdecimal (1.1.0)
buftok (0.2.0)
==> Making package: ruby1.9-therubyracer 0.12.0-1 (Mon Jan 27 09:03:26 PST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found therubyracer-0.12.0.gem
==> Validating source files with md5sums...
therubyracer-0.12.0.gem ... Passed
==> Extracting sources...
==> Removing existing pkg/ directory...
==> Starting package()...
==> Making package: ruby1.9-libv8 3.16.14.3-1 (Mon Jan 27 08:49:18 PST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found libv8-3.16.14.3.gem
==> Validating source files with sha1sums...
libv8-3.16.14.3.gem ... Passed
==> Extracting sources...
==> Removing existing pkg/ directory...
==> Starting package()...
for i in $(ls -d */)
do
cd $i
## backup the PKGBUILD for now, as test
#cp PKGBUILD bakup-PKGBUILD
foo=$(grep -i groups PKGBUILD | cut -d"'" -f2,4,6,8,10,12,14)
bar="${foo//\'/;};"
echo $bar
sed -i -e "s|groups=|_categories=$bar|g" PKGBUILD
cd ..
archassault
archassault-analysis
archassault-automation
archassault-backdoor
archassault-binary
archassault-bluetooth
archassault-code-audit
archassault-cracker
archassault-crypto
archassault-database
# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
for _cfg in ${script_path}/syslinux/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" ${_cfg} > ${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/}
done
if [[ ${arch} == "x86_64" ]]; then
if [[ -e "${script_path}/${work_dir}/iso/${install_dir}/boot/syslinux/archiso_pxe32.cfg" ]]; then
http://onlyhdwallpapers.com/wallpaper/rifle_guns_sniper_weapons_assault_desktop_1024x640_hd-wallpaper-34088.jpg
http://www.thefirearmblog.com/blog/wp-content/uploads/2007/12/magpul-masada-cutaway-diagram.jpg
http://2.bp.blogspot.com/-w1cHflAa9r8/USp7AyOWLgI/AAAAAAAAJFM/blvkvGtB4wA/s1600/Diagram+Semiauto+Assault+Shotgun.jpg
http://www.firearmstalk.com/images/3/9/0/8/3/cz-diagram-1271.jpg
http://02b665f.netsolstores.com/images/products/detail/CZ75Diagram.jpg
http://www.gamesthirst.com/wp-content/uploads/2013/09/assaultkz1.jpg
http://information2share.files.wordpress.com/2011/08/wallpaper-455849_mp5-diagram.jpg
http://onlyhdwallpapers.com/wallpaper/guns_weapons_assault_rifle_desktop_1920x1200_hd-wallpaper-1211633.jpg
http://i15.photobucket.com/albums/a400/ivanku/aug.jpg
http://www.dogfightink.com/ARexploded.jpg
# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
for _cfg in ${script_path}/syslinux/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" ${_cfg} > ${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/}
done
if [[ ${arch} == "x86_64" ]]; then
if [[ -e ${work_dir}/iso/${install_dir}/boot/syslinux/archiso_pxe32.cfg ]]; then
# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
for _cfg in ${script_path}/syslinux/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" ${_cfg} > ${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/}
done
if [[ ${arch} == "x86_64" ]]; then
rm ${work_dir}/iso/${install_dir}/boot/syslinux/syslinux/archiso_pxe32.cfg
fnord0@spaceface ~/devel/github/archassault (git)-[testing] % git push origin
Password for 'https://fnord0@bitbucket.org':
Counting objects: 12, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 820 bytes | 0 bytes/s, done.
Total 6 (delta 3), reused 0 (delta 0)
To https://fnord0@bitbucket.org/archassault/archassault.git
1248232..b178cba testing -> testing
! [rejected] master -> master (non-fast-forward)