code
stringlengths
1
1.96M
language
stringclasses
1 value
# Archlive <http://archlive-pkg.googlecode.com> pkgname=ndiswrapper-2.6.32 _kernver=2.6.32-ARCH pkgver=1.55 pkgrel=1 pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For stock arch 2.6.32 kernel." license=('GPL') arch=(i686 x86_64) url="http://ndiswrapper.sourceforge.net" install="ndiswr...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=tiacx-2.6.32 _kernver=2.6.32-ARCH pkgver=20080210 pkgrel=11 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock arch 2.6 kernel" arch=(i686 x86_64) url="http://acx100.sourceforge.net/" license=('MPL') depends=('wireless_tools'...
Shell
_kernver=`uname -r` pkgname=madwifi-svn pkgver=4100 pkgrel=1 pkgdesc="Madwifi drivers for Atheros wireless chipsets. For stock arch 2.6 kernel" arch=(i686 x86_64) license=('GPL') url="http://www.madwifi-project.org/" depends=('madwifi-utils-svn' 'kernel26') provides=('madwifi') conflicts=('madwifi') makedepends=('sharu...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgbase="kernel26" pkgname=('kernel26' 'kernel26-headers' 'linux-api-headers' #'kernel26-docs' #編譯意義不大 ) _basekernel=2.6.39 pkgver=2.6.39 pkgrel=1 arch=(i686 x86_64) license=('GPL2') url="http://www.kernel.org" options=(!strip) #arch_patchname="patch-${pkgver}-3-ARC...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgbase="kernel26" pkgname=('kernel26' 'kernel26-headers' 'linux-api-headers' #'kernel26-docs' #編譯意義不大 ) _basekernel=2.6.38 pkgver=2.6.38.4 pkgrel=1 arch=(i686 x86_64) license=('GPL2') url="http://www.kernel.org" options=(!strip) arch_patchname="patch-${pkgver}-3-AR...
Shell
# Archlive <http://archlive-pkg.googlecode.com> # ################################################################### # To use this PKGBUILD: # Firstly: makepkg -g >>./PKGBUILD # Then: time makepkg 2>&1 | tee ./log # Use this command can output all the log to the file ./log #################################...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> # Contributor: icarus <icarus.roaming@gmail.com> # Contributor: Thomas Schneider <blacklotus@jenux.homelinux.org> pkgname=cowpatty pkgver=4.6 pkgrel=2 pkgdesc="Wireless WPA/WPA2 PSK handshake cracking utility" arch=('i686' 'x86_64') url="http://www.willhackforsus...
Shell
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> # Past Contributor: Michal Krenek <mikos@sg1.cz> pkgname=rainbowcrack pkgver=1.2 pkgrel=2 pkgdesc="Password cracker based on the faster time-memory trade-off. Additional patches (NTLM, MD2, MD4, RIPEMD160, MySQL and Cisco PIX) included." url="http://www.antsigh...
Shell
# Contributor: Kaos < gianlucaatlas at gmail dot com > # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> # Contributor: Matthew Sharpe <matt.sharpe@gmail.com> pkgname=ophcrack pkgver=3.3.0 pkgrel=2 pkgdesc="A free Windows password cracker based on rainbow tables" arch=('i686' 'x86_64') url=("http://oph...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> # Contributor: Simon Busch <morphis@gravedo.de> pkgname=ratproxy pkgver=1.58 pkgrel=1 pkgdesc="A passive web application security assessment tool" url="http://code.google.com/p/ratproxy/" depends=("openssl" "bash") license=('APACHE') arch=('i686') source=(http://...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> # Contributor: Tom K <tomk@runbox.com> # Contributor: kastor <kastor@fobos.org.ar> pkgname=amap pkgver=5.2 pkgrel=4 pkgdesc="Next-generation tool for assisting network penetration testing." depends=('glibc' 'pcre' 'openssl') source=(http://freeworld.thc.org/releases/$pkgn...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> # Contributor: Ermak <ermak@email.it> pkgname=openvas-client pkgver=2.0.4 pkgrel=1 pkgdesc="The OpenVAS client" arch=('i686' 'x86_64') depends=("gtk2") url="http://www.openvas.org/" license=('GPL') source=(http://wald.intevation.org/frs/download.php/595/openvas-client-2.0....
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> pkgname=aeskeyfind pkgver=1.0 pkgrel=1 pkgdesc="A tool to find AES key in RAM" arch=("i686") url="http://citp.princeton.edu/memory/code/" license=('BSD') makedepends=("make") source=("http://citp.princeton.edu/memory-content/src/$pkgname-$pkgver.tar.gz") md5sums=...
Shell
pkgname=spoonwpa pkgver=2 pkgrel=1 pkgdesc="spoonwpa无线网络密码破解" arch=('i686' 'x86_64') url="http://www.anywlan.com/bbs/thread-11851-1-1.html" license=('GPL2') provides=('spoonwpa') conflicts=() depends=() makedepends=() source=() md5sums=() build() { cp -rf ${startdir}/usr ${pkgdir}/ chmod 755 ${pkgdir}/usr/bin/$...
Shell
# Contributor: Ermak <ermak@email.it> pkgname=openvas-plugins pkgver=1.0.7 pkgrel=1 pkgdesc="The OpenVAS plugins" arch=('i686' 'x86_64') url="http://www.openvas.org/" license=('GPL') depends=('openvas-libraries' 'openvas-libnasl' 'openvas-server') backup=() source=(http://wald.intevation.org/frs/download.php/588/openva...
Shell
pkgname=spoonwep pkgver=2 pkgrel=1 pkgdesc="spoonwep无线网络密码破解" arch=('i686' 'x86_64') url="http://www.nowtorrents.com/torrents/spoonwep-2.html" license=('GPL2') provides=('spoonwep') conflicts=() depends=() makedepends=() source=() md5sums=() build() { cp -rf ${startdir}/usr ${pkgdir}/ chmod 755 ${pkgdir}/bin/$p...
Shell
# contributor: nofxx <x@nofxx.com> pkgname=aircrack-ng-svn pkgver=1585 pkgrel=1 pkgdesc="Wifi security suite - WEP / WPA crack tools -- with SQLite3." arch=('i686' 'x86_64') url="http://www.aircrack-ng.org" license=('GPL2') depends=('openssl' 'sqlite3' 'wireless_tools' 'autoconf' 'libtool') makedepends=(subversion) pro...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> # Contributor: Ermak <ermak@email.it> pkgname=openvas-server pkgver=2.0.2 pkgrel=1 pkgdesc="The OpenVAS server" arch=('i686' 'x86_64') url="http://www.openvas.org/" license=('GPL') depends=('openvas-libraries' 'openvas-libnasl') install=$pkgname.install source=(http://wald...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions PID=`pidof -o %PPID /usr/sbin/openvasd` case "$1" in start) stat_busy "Starting OpenVAS Server" if [ -z "$PID" ]; then echo "openvasd takes *really* long to startup the first time - be patient" /usr/sbin/openvasd -D -q >/dev/null 2>&1 PID=`pidof -o %...
Shell
# Contributor: Michael P <ptchinster@archlinux.us> # Contributor: ice-man <icemanf@gmail.com> # Contributor: sergeantspoon <sergeantspoon@archlinux.us> pkgname=hydra pkgver=5.4 pkgrel=6 pkgdesc="A very fast network logon cracker which support many different services" depends=('openssl' 'postgresql-libs' 'apr' 'apr-uti...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> pkgname=fast-track pkgver=4.0 pkgrel=2 pkgdesc="Automated penetration suite" arch=("i686") url="https://www.securestate.com/Pages/Fast-Track.aspx" license=('BSD') depends=("pymssql" "metasploit3" "python-pexpect" "python-clientform" "beautiful-soup" "psyco" "firefox"\ ...
Shell
# Contributor: Pranay Kanwar <warl0ck@metaeye.org> pkgname=btscanner pkgver=2.1 pkgrel=1 pkgdesc="Bluetooth device scanner." url="http://www.pentest.co.uk" depends=('bluez-libs' 'bluez-utils' 'libxml2' 'ncurses') arch=(i686) license=('GPL') source=(http://www.pentest.co.uk/src/$pkgname-$pkgver.tar.bz2 btscanner...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> # Contributor: Mychael Janes <mychael.janes@gmail.com> pkgname=pymssql pkgver=1.0.2 pkgrel=1 pkgdesc="Simple MSSQL Python extension module" arch=(i686) url="http://pymssql.sourceforge.net" license=('LGPL') depends=('python' 'freetds') source=(http://downloads.sourceforge.n...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> # Contributor: Tino Reichardt <milky dash archlinux at mcmilk dot de> pkgname=p0f pkgver=2.0.8 pkgrel=1 pkgdesc="passive OS fingerprinting tool" arch=("i686") license=("GPL") depends=("libpcap") url=http://lcamtuf.coredump.cx/p0f.shtml source=(http://lcamtuf.core...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> pkgname=asleap pkgver=2.2 pkgrel=1 pkgdesc="recover LEAP/PPTP passwords" arch=('i686') url="http://www.willhackforsushi.com/Asleap.html" license=('GPL') depends=('libpcap' 'openssl') source=(http://www.willhackforsushi.com/code/$pkgname/$pkgver/$pkgname-$pkgver.t...
Shell
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=magicrescue pkgver=1.1.6 pkgrel=1 pkgdesc="Find and recover deleted files on block devices." arch=('i686' 'x86_64') url="http://freshmeat.net/projects/magicrescue/" license=('GPL') source=(http://www.student.dtu.dk/~s042078/$pkgname/release/$pkgna...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=foremost pkgver=1.5.6 pkgrel=1 pkgdesc="A console program to recover files based on their headers, footers, and internal data structures." arch=('i686' 'x86_64') url="http://foremost.sourceforge.net/...
Shell
# Contributor: Jens Pranaitis <jens@chaox.net> pkgname=pymills pkgver=3.4 pkgrel=1 pkgdesc="James Mills general purpose Python library" arch=("i686") url="http://pypi.python.org/pymills/" license=('GPL') depends=("python" "setuptools") source=("http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> pkgname=aesfix pkgver=1.0.1 pkgrel=1 pkgdesc="A tool to find AES key in RAM" arch=("i686") url="http://citp.princeton.edu/memory/code/" license=('BSD') makedepends=("make") source=("http://citp.princeton.edu/memory-content/src/$pkgname-$pkgver.tar.gz") md5sums=('...
Shell
# Contributor: Ermak <ermak@email.it> pkgname=openvas-libnasl pkgver=2.0.1 pkgrel=1 pkgdesc="The OpenVAS NASL scripting language" arch=('i686' 'x86_64') url="http://www.openvas.org/" license=('GPL') depends=('bison' 'gpgme' 'openvas-libraries>=2.0.1') source=(http://wald.intevation.org/frs/download.php/561/$pkgname-$pk...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> # Contributor: Torin <jakub.laszczynski@gmail.com> pkgname=metasploit3-svn pkgver=6734 pkgrel=4 pkgdesc="The Metasploit Framework is an advanced open-source platform for developing, testing, and using exploit code" makedepends=("subversion") depends=('ruby' 'ruby...
Shell
export PATH=$PATH:/opt/metasploit3
Shell
# Contributor: Ermak <ermak@email.it> pkgname=openvas-libraries pkgver=2.0.2 pkgrel=1 pkgdesc="The OpenVAS libraries" arch=('i686' 'x86_64') url="http://www.openvas.org/" license=('GPL') depends=('gnutls' 'libpcap' 'gpgme' 'glib2') source=(http://wald.intevation.org/frs/download.php/572/$pkgname-$pkgver.tar.gz) md5sums...
Shell
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org> # Contributor: nofxx <x@nofxx.com> pkgname=airpwn pkgver=1.4 pkgrel=1 pkgdesc="Airpwn is a tool for generic packet injection on an 802.11 network." arch=('i686' 'x86_64') url="http://airpwn.sourceforge.net" license=('GPL') depends=('pcre' 'libpcap' 'openssl' 'lor...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgbase=linux-cjk pkgname=('linux-cjk' 'linux-headers' ) # 'linux-docs') # Build stock -ARCH kernel pkgname=linux-cjk # Build kernel with a different name _kernelname=${pkgname#linux} _basekernel=3.0 pkgver=${_basekernel}.1 pkgrel=1 arch=('i686' 'x86_64') url="http...
Shell
# Archlive <http://archlive-pkg.googlecode.com> # # Transfer unifiedkernel ubuntu package to Arch pkgname=unifiedkernel pkgver=0.2.4.1 pkgrel=1 ############################## # CUSTOMIZATION _base_kver=2.6.30 _kernver=${_base_kver}-uk-${pkgver} kver_file=unifiedkernel.kver preset_file=unifiedkernel.preset kernel_na...
Shell
#!/bin/sh # # wine Allow users to run Windows(tm) applications by just clicking on them # (or typing ./file.exe) # # chkconfig: 35 98 10 # description: Allow users to run Windows(tm) applications by just clicking \ # on them (or typing ./file.exe) . /etc/rc.conf . /etc/rc.d/functions RETVAL=0 KERNEL_VER=`unam...
Shell
# Archlive <http://archlive-pkg.googlecode.com> # # Transfer unifiedkernel wine for ubuntu package to Arch pkgname=wine-uk pkgver=0.2.4.1 pkgrel=1 url="http://www.longene.org/" pkgdesc="Wine with unifiedkernel patch" arch=('i686') license=('GPL2') depends=("unifiedkernel=$pkgver") makedepends=('binutils') provides=("...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=squashfs pkgver=4.0 pkgrel=1 pkgdesc="Squashfs kernel module with squashfs tools, squashfs is a highly compressed read-only filesystem for Linux." url="http://squashfs.sourceforge.net" license=("GPL") arch=('i686' 'x86_64') depends=('zlib' 'glibc') source=(http:/...
Shell
# Archlive <http://archlive-pkg.googlecode.com> _kernver=`uname -r` _xorg_ver=11 _max_org_ver=$((${_xorg_ver}+1)) pkgbase="virtualbox-guest-modules-cjk" pkgname=(virtualbox-guest-modules-cjk virtualbox-guest-additions) basever=4.0.6 _build=71344 pkgver=${basever}_${_build} #pkgver=$basever pkgrel=1 arch=('i686' 'x86_6...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=ndiswrapper _kernver=$(uname -r) pkgver=2723 pkgrel=1 pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For stock arch 2.6 kernel." license=('GPL') arch=(i686 x86_64) url="http://ndiswrapper.sourceforge.net" install="ndiswrapper.inst...
Shell
# Archlive <http://archlive-pkg.googlecode.com> _kernver=`uname -r` pkgname=(nvidia nvidia-build nvidia-utils) pkgver=260.19.36 pkgrel=${_kernver/-/_} arch=('i686' 'x86_64') url="http://www.nvidia.com/" makedepends=('kernel26-headers') license=('custom') if [ "$CARCH" = "i686" ]; then _arch='x86' _pkg="NVIDIA-Linux...
Shell
#!/bin/bash kernver=${KERNVER:-$(uname -r)} nvidia_ver=whatever LOG="/var/log/nvidia-install.log" install_module(){ echo "" echo -e '\E[37;44m'"\033[1mBuilding nvidia package for ${kernver} kernel ...\033[0m" echo "--------" if [ ! -d "/lib/modules/${kernver}/build" ]; then echo -e '\E[37;44m'"...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions LOG="/var/log/nvidia-install.log" kernel=$(uname -r) build_nvidia() { rmmod nvidia >/dev/null 2>&1 /usr/bin/nvidia_build_module "${kernel}" >/dev/null 2>&1 /usr/bin/nvidia_build_module remove &>> $LOG if [ $? -ne 0 ]; then stat_append "ERROR: see ${LOG} for de...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions ATID_PID=`pidof -o %PPID /usr/sbin/nvidia_eventsd` case "$1" in start) rc=0 stat_busy "Starting NVIDIA Events Daemon" [ -z "$ATID_PID" ] && /usr/sbin/nvidia_eventsd rc=$(($rc+$?)) if [ $rc -gt 0 ]; then stat_fail else add_daemon n...
Shell
pkgname=(madwifi madwifi-utils) pkgver=4118 pkgrel=1 _kernver=`uname -r` arch=(i686 x86_64) license=('GPL') url="http://www.madwifi-project.org/" makedepends=('sharutils') _svntrunk=http://svn.madwifi-project.org/madwifi/trunk _svnmod=madwifi build() { cd $startdir if [ -d $_svnmod/.svn ]; then (cd $_svnmod && sv...
Shell
# Archlive <http://archlive-pkg.googlecode.com> _kernver=$(uname -r) pkgname=aufs2-cjk #pkgname=aufs2 pkgver=20110815 pkgrel=1 pkgdesc="aufs2 kernel module" #pkgdesc="aufs2 kernel module and utils aufs2内核模块及工具,kernel官方内核无ARCH内核时使用" arch=("i686" "x86_64") url="http://aufs.sourceforge.net" license=('GPL') depends=("bas...
Shell
pkgname=sqlzma-2.6.34 _realname=squashfs pkgver=3.4 lzmaver=457 pkgrel=1 url="http://www.squashfs-lzma.org" pkgdesc="A highly compressed read-only filesystem for Linux. Utils included." depends=('kernel26' 'zlib') license=('GPL') provides=('squashfs-tools' 'sqlzma' 'sqlzma=2.6.34-ARCH') conflicts=('squashfs-tools') arc...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=oss-hg pkgver=894 pkgrel=1 pkgdesc="Open Sound System UNIX audio architecture" arch=('i686' 'x86_64') url="http://www.opensound.com/" license=('GPL2') depends=('module-init-tools' 'libtool' 'sed') makedepends=('pkgconfig' 'gawk' 'gtk2' 'mercurial' 'gcc' 'make') p...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) if [ "${msg_lang}" = "cn" ]; then stat_busy "正在启动 OSS 开源驱动" else stat_busy "Starting OSS/Open source driver" fi # start /usr/sbin/soundon if [ $? -gt 0 ]; then stat_fail else grep '^softoss' /proc/modules >/dev/null 2>/de...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=(open-vm-tools open-vm-tools-modules-cjk) pkgbase=open-vm-tools pkgver=2011.04.25 _pkgsubver=402641 pkgrel=1 arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" license=('LGPL') makedepends=('chrpath' 'doxygen' 'libdnet' 'icu' 'uriparser' 'kernel26...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions # source application-specific settings [ -f /etc/conf.d/open-vm-tools ] && . /etc/conf.d/open-vm-tools PID=`pidof -o %PPID /usr/bin/vmtoolsd` case "$1" in start) stat_busy "Starting Open Virtual Machine Tools" if [ "$VM_DRAG_AND_DROP" == "yes" ]; then VMBL...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=(catalyst catalyst-build-fglrx catalyst-utils) pkgbase=catalyst pkgver=11.5 _kernver=`uname -r` pkgrel=${_kernver/-/_} arch=('i686' 'x86_64') url="http://www.ati.amd.com" license=('custom') makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'patch') source=( http://w...
Shell
if [ $LIBGL_DRIVERS_PATH ] then if ! set | grep LIBGL_DRIVERS_PATH | grep /usr/lib/xorg/modules/dri/ > /dev/null then LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib/xorg/modules/dri/ export LIBGL_DRIVERS_PATH fi else LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri/ export LIBGL_DRIVERS_PATH f...
Shell
# vim: set ft=sh: install () { /usr/bin/catalyst_build_module "$KERNELVERSION" /usr/bin/catalyst_build_module remove } help () { cat<<HELPEOF This hook rebuilds fglrx module. It does nothing to the initrd image. HELPEOF }
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions ATID_PID=`pidof -o %PPID /usr/sbin/atieventsd` case "$1" in start) rc=0 stat_busy "Starting ATI Events Daemon" [ -z "$ATID_PID" ] && /usr/sbin/atieventsd rc=$(($rc+$?)) if [ $rc -gt 0 ]; then stat_fail else add_daemon atieventsd ...
Shell
#!/bin/bash ### Vi0L0: it is ati's code from their make.sh file, modified a bit to fit our arch linux system, used inside PKGBUILD # Copyright 1999-2005 ATI Technologies Inc., Markham, Ontario, CANADA. # All Rights Reserved. # ...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions LOG="/var/log/catalyst-install.log" kernel=$(uname -r) build_fglrx() { rmmod fglrx >/dev/null 2>&1 /usr/bin/catalyst_build_module "${kernel}" >/dev/null 2>&1 /usr/bin/catalyst_build_module remove &>> $LOG if [ $? -ne 0 ]; then stat_append "ERROR: see ${LOG} fo...
Shell
#!/bin/bash kernver=${KERNVER:-$(uname -r)} arch=${ARCH:-$(uname -m)} arch=${arch/i686/i386} catver=whatever LOG="/var/log/catalyst-install.log" #patch_files(){ # file_patch="${kernver:0:6}.patch" # if [[ -f "${file_patch}" ]]; then # patch -Np6 -i ${file_patch} || return 1 # fi #} ati_make(){ ###-...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgname=aufs2-git pkgver=20090820 pkgrel=1 pkgdesc="aufs2 kernel module and utils aufs2内核模块及工具,kernel官方内核无ARCH内核时使用" arch=("i686" "x86_64") url="http://aufs.sourceforge.net" license=('GPL') depends=("bash") optdepends=() conflicts=("aufs-utils") provides=('aufs2-standalo...
Shell
# Archlive <http://archlive-pkg.googlecode.com> _kernver=`uname -r` pkgname=(oss oss-build-mods oss-utils) pkgver=926 pkgrel=1 pkgdesc="Open Sound System UNIX audio architecture" arch=('i686' 'x86_64') url="http://www.opensound.com/" license=('GPL2') depends=('module-init-tools' 'libtool' 'sed') makedepends=('pkgconf...
Shell
#!/bin/bash kernver=${KERNVER:-$(uname -r)} oss_ver=923 if which ossvermagic 2>/dev/null; then OSSVERMAGIC="$(which ossvermagic)" else OSSVERMAGIC="$srcdir/oss/build/prototype/usr/sbin/ossvermagic" fi _compile_mods () { workdir=$1 target=$2 cd $workdir # Check if we should use REGPARM or non-REGPARM modules i...
Shell
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) if [ "${msg_lang}" = "cn" ]; then stat_busy "正在启动 OSS 开源驱动" else stat_busy "Starting OSS/Open source driver" fi # start /usr/sbin/soundon if [ $? -gt 0 ]; then stat_fail else grep '^softoss' /proc/modules >/dev/null 2>/de...
Shell
# Archlive <http://archlive-pkg.googlecode.com> pkgbase="kernel3-cjk" pkgname=('kernel3-cjk' 'kernel3-headers-cjk' 'linux-api-headers' #'kernel3-tools' #'kernel3-docs' ) _realpkgname=kernel3 _basekernel=3.0.0 pkgver=3.0.0_rc6 pkgrel=1 arch=(i686 x86_64) license=('GPL2') url="http://www.kernel.org" options=(!strip)...
Shell
#!/bin/sh cd sax_thrift/compiler/cpp make
Shell
#!/bin/bash if [ $# -eq 0 ]; then echo "usage: $0 reader_num writer_num count" exit 1 fi list=("SPIN_PURE" "SPIN_RWLOCK_PREFER_READER" "SPIN_RWLOCK_PREFER_WRITER" \ "PTHREAD_MUTEX" "PTHREAD_RWLOCK_PREFER_READER" "PTHREAD_RWLOCK_PREFER_WRITER" "PTHREAD_SPIN") for x in ${list[@]}; do echo "running ${x} version" t...
Shell
#!/bin/bash list=("SPIN_PURE" "SPIN_RWLOCK_PREFER_READER" "SPIN_RWLOCK_PREFER_WRITER" \ "PTHREAD_MUTEX" "PTHREAD_RWLOCK_PREFER_READER" "PTHREAD_RWLOCK_PREFER_WRITER" "PTHREAD_SPIN") for x in ${list[@]}; do g++ -Wall -g -o t_spin_${x}.exe t_spin.cpp -I.. -I/usr/local/include -L.. -lsax -lpthread -D${x} if [ "$?" !=...
Shell
#!/bin/sh qemu-system-x86_64 \ -hda ./obj/kern/bochs.img \ -smp 4 \ -m 256 \ -nographic
Shell
#!/bin/sh qemu-system-x86_64 \ -hda ./obj/kern/bochs.img \ -smp 4 \ -m 256 \ -nographic
Shell
#!/bin/sh qemu-system-x86_64 \ -hda ./obj/kern/bochs.img \ -smp 4 \ -m 256 \ -nographic
Shell
#!/bin/sh qemu-system-x86_64 \ -hda ./obj/kern/bochs.img \ -smp 4 \ -m 256 \ -nographic
Shell
clear #server rails rails server -p 80 -b 192.168.65.128 # Si instalas el servidor thin: gem install thin y se define en el archivo Gem del proyecto # para ejecutarlo seria: # thin -p 80 -a 192.168.48.1 start
Shell
APPNAME="XLine" # options buildexternalsfromsource= usage(){ cat << EOF usage: $0 [options] Build C/C++ code for $APPNAME using Android NDK OPTIONS: -s Build externals from source -h this help EOF } while getopts "sh" OPTION; do case "$OPTION" in s) buildexternalsfromsource=1 ;; h) usage exit 0 ;; esac done # pa...
Shell
#!/bin/bash TXTCOLOR_DEFAULT="\033[0;m" TXTCOLOR_RED="\033[0;31m" TXTCOLOR_GREEN="\033[0;32m" COCOS2DX20_TRUNK=`pwd`/../../.. OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/ OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/ check_make_result() { if [ 0 != $? ]; then exit 1 fi } DEPENDS='libx11-dev' DEPE...
Shell
#!/bin/bash TXTCOLOR_DEFAULT="\033[0;m" TXTCOLOR_RED="\033[0;31m" TXTCOLOR_GREEN="\033[0;32m" COCOS2DX20_TRUNK=`pwd`/../../.. OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/ OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/ check_make_result() { if [ 0 != $? ]; then exit 1 fi } DEPENDS='libx11-dev' DEPE...
Shell
#!/bin/sh -e # Script to create header files and links to configure # X-Loader for a specific board. # # Parameters: Target Architecture CPU Board # # (C) 2004 Texas Instruments # (C) 2002 DENX Software Engineering, Wolfgang Denk <wd@denx.de> # APPEND=no # Default: Create new config file while [ $# -gt 0 ] ; do ...
Shell
#!/bin/sh IMAGE1=x-load.bin.ift IMAGE2=x-load-signed.ift TMP=oneloader PAGESIZE=2048 size=`ls -la $IMAGE1 | awk -F' ' '{ printf $5}'` let remain=$PAGESIZE-$size dd if=/dev/zero of=$IMAGE2 bs=1 count=512 #dd if=/dev/zero of=zerofile bs=$remain count=1 > /dev/null 2> /dev/null cat $IMAGE1>>$IMAGE2 rm -f $IMAGE1 echo ...
Shell
#!/bin/sh IMAGE1=x-load.bin.ift IMAGE2=x-load-signed.ift TMP=oneloader PAGESIZE=2048 size=`ls -la $IMAGE1 | awk -F' ' '{ printf $5}'` let remain=$PAGESIZE-$size dd if=/dev/zero of=$IMAGE2 bs=1 count=512 #dd if=/dev/zero of=zerofile bs=$remain count=1 > /dev/null 2> /dev/null cat $IMAGE1>>$IMAGE2 rm -f $IMAGE1 echo ...
Shell
#!/bin/sh -e # Script to create header files and links to configure # X-Loader for a specific board. # # Parameters: Target Architecture CPU Board # # (C) 2004 Texas Instruments # (C) 2002 DENX Software Engineering, Wolfgang Denk <wd@denx.de> # APPEND=no # Default: Create new config file while [ $# -gt 0 ] ; do ...
Shell
p10=1; p20=5; p21=1; p30=7; p31=15; p32=1; m1s=6561; m2s=8281; m3s=6561; m4s=8281; #equNo in 75 equNo=75; dim=1; type=2 ./NPoint_build_run_1code.sh $equNo $dim $type $p10 $p20 $p21 $p30 $p31 $p32 $m1s $m2s $m3s $m4s
Shell
# 1. Get input range if test $1 then # input avaialable R1=$1; R2=$2; else # edit this to change the default limit range of the integral R1=-1000; R2=1000; fi # 2. Sset default output folder outputFolder="vegasresult/" # 3. The main loop (loop all equation) for equNo in 1 9 12 18 do # generate real part outp...
Shell
rm *~ rm *.backup rm *.o rm exec/* rm generatedcode/* rm plotdata/* rm vegasresult/*
Shell
# 1. Get input range if test $1 then # input avaialable firstNum=$1; step=$2; lastNum=$3; else # edit this to change the default range of plotting data firstNum=-100; step=1; lastNum=100; fi # 2. Sset default output folder outputFolder="plotdata/" # 3. The main loop (loop all dataplot) for equNo in 1 9 12 18 do...
Shell
p10=1; p20=5; p21=1; p30=7; p31=15; p32=1; m1s=6561; m2s=8281; m3s=6561; m4s=8281; #equNo in 1 9 12 18 30 39 equNo=1; dim=4; type=1 # ./build_run_1code.sh $equNo $dim $type $p10 $p20 $p21 $p30 $p31 $p32 $m1s $m2s $m3s $m4s equNo=9; dim=4; type=1 # ./build_run_1code.sh $equNo $dim $type $p10 $p20 $p21 $p30 $p31 $p32...
Shell
# 1. Get input range if test $1 then # input avaialable R1=$1; R2=$2; else # edit this to change the default limit range of the integral R1=-1000; R2=1000; fi # 2. Sset default output folder outputFolder="vegasresult/" # 3. The main loop (loop all equation) for equNo in 1 9 12 18 do # generate real part outp...
Shell
rm *~ rm *.backup rm *.o rm exec/* rm generatedcode/* rm plotdata/* rm vegasresult/*
Shell
# 1. Get input range if test $1 then # input avaialable firstNum=$1; step=$2; lastNum=$3; else # edit this to change the default range of plotting data firstNum=-100; step=1; lastNum=100; fi # 2. Sset default output folder outputFolder="plotdata/" # 3. The main loop (loop all dataplot) for equNo in 1 9 12 18 do...
Shell
p10=1; p20=5; p21=1; p30=7; p31=15; p32=1; m1s=6561; m2s=8281; m3s=6561; m4s=8281; #equNo in 1 9 12 18 30 39 equNo=1; dim=4; type=1 equNo=9; dim=4; type=1 equNo=12; dim=4; type=1 equNo=18; dim=3; type=2 equNo=48; dim=1; type=2 ./build_run_1code.sh $equNo $dim $type $p10 $p20 $p21 $p30 $p31 $p32 $m1s $m2s $m3s $m4s
Shell
for limit in 100 1000 10000 100000 1000000 do ./run_vegas.sh -$limit $limit done
Shell
# Build underly XLOOPS-GiNaC programs for fileName in "my_fns" "trmchk" "trm2F" "lev1" "lev2" "lev3" "lev4" "D0Integrand" "NPoint_Test" "logdecmp" do if ! [ -f "$fileName.o" ]; then echo "Building the object file $fileName.o" g++ `pkg-config --cflags --libs ginac` -c "$f...
Shell
# get inputs equNo=$1; dim=$2; type=$3; # type=1 means trivial case integrand like integrand 1. # type=2 means 2 cases like integrand 18 # type=4 means 4 cases like integrand 30 shift 3; p10=$1; p20=$2; p21=$3; p30=$4; p31=$5; p32=$6; shift 6; m1s=$1; m2s=$2; m3s=$3; m4s=$4; echo $equNo $dim $type $p10 $p20 $p21 $p3...
Shell
for limit in 100 1000 10000 100000 1000000 do ./run_vegas.sh -$limit $limit done
Shell
# Build underly XLOOPS-GiNaC programs for fileName in "my_fns" "trmchk" "trm2F" "lev1" "lev2" "lev3" "lev4" "D0Integrand" "NPoint_Test" "logdecmp" do if ! [ -f "$fileName.o" ]; then echo "Building the object file $fileName.o" g++ `pkg-config --cflags --libs ginac` -c "$f...
Shell
# get inputs equNo=$1; dim=$2; type=$3; # type=1 means trivial case integrand like integrand 1. # type=2 means 2 cases like integrand 18 # type=4 means 4 cases like integrand 30 shift 3; p10=$1; p20=$2; p21=$3; p30=$4; p31=$5; p32=$6; shift 6; m1s=$1; m2s=$2; m3s=$3; m4s=$4; echo $equNo $dim $type $p10 $p20 $p21 $p3...
Shell
# 1. Get input range if test $1 then # input avaialable firstNum=$1; step=$2; lastNum=$3; else # edit this to change the default range of plotting data firstNum=-3000; step=0.1; lastNum=3000; fi # 2. Sset default output folder outputFolder="plotdata/" # 3. The main loop (loop all dataplot) for equNo in 75 do #...
Shell
# 1. Get input range if test $1 then # input avaialable R1=$1; R2=$2; else # edit this to change the default limit range of the integral R1=-3000; R2=3000; # -3000..3000 will submerge the place with most anomalies in D0integral -> best practice fi # 2. Sset default output folder outputFolder="vegasresult/" # 3....
Shell
# get inputs equNo=$1; dim=$2; type=$3; # type=1 means trivial case integrand like integrand 1. # type=2 means 2 cases like integrand 18 # type=4 means 4 cases like integrand 30 shift 3; p10=$1; p20=$2; p21=$3; p30=$4; p31=$5; p32=$6; shift 6; m1s=$1; m2s=$2; m3s=$3; m4s=$4; echo $equNo $dim $type $p10 $p20 $p21 $p3...
Shell
rm *~ rm *.o
Shell
for fileName in "my_fns" "trmchk" "lev1" "lev2" "lev3" "lev4" "lev5" "RFunction" "ThetaG" "LogAG" "D0" do if ! [ -f "$fileName.o" ]; then echo "Building the object file $fileName.o" g++ `pkg-config --cflags --libs ginac` -c "$fileName".cpp else ...
Shell
echo "Start running at : " `date` ./test.exe echo "Finish running at : " `date`
Shell