code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh -e # # Copyright (c) 2005-2007 The OpenSSL Project. # # Depending on output file name, the script either embeds fingerprint # into libcrypto.so or static application. "Static" refers to static # libcrypto.a, not [necessarily] application per se. # # Even though this script is called fipsld, it expects C compi...
Shell
#!/bin/sh # # Check the library fingerprint and generate an executable fingerprint, or # return an error lib=$1 exe=$2 ext=${HMAC_EXT:-sha1} # deal with the case where we're run from within the build and OpenSSL is # not yet installed. Also, make sure LD_LIBRARY_PATH is properly set in # case shared libraries are bu...
Shell
#!/bin/sh # # print the subject # for i in $* do n=`openssl x509 -subject -issuer -enddate -noout -in $i` echo "$i" echo "$n" echo "--------" done
Shell
#!/bin/sh # print out the hash values # for i in $* do h=`openssl x509 -hash -noout -in $i` echo "$h.0 => $i" done
Shell
#!/bin/sh -k # # Re-order arguments so that -L comes first # opts="" lopts="" for arg in $* ; do case $arg in -L*) lopts="$lopts $arg" ;; *) opts="$opts $arg" ;; esac done c89 $lopts $opts
Shell
#!/bin/sh # # print the subject # for i in $* do n=`openssl x509 -subject -noout -in $i` echo "$i $n" done
Shell
#!/bin/sh # # print out the issuer # for i in $* do n=`openssl x509 -issuer -noout -in $i` echo "$i $n" done
Shell
#!/bin/sh HTTP="localhost:8080" CLIENT_PORT="9020" SERVER_PORT="9021" sub_test () { echo "STARTING - $VER $CIPHER" ./tunala -listen localhost:$CLIENT_PORT -proxy localhost:$SERVER_PORT \ -cacert CA.pem -cert A-client.pem -server 0 \ -dh_special standard -v_peer -v_strict \ $VER -cipher $CIPHER 1> tc1.txt 2> t...
Shell
#!/bin/sh # This script tries to clean up as much as is possible from whatever diabolical # mess has been left in the directory thanks to autoconf, automake, and their # friends. if test -f Makefile.plain; then if test -f Makefile; then make distclean fi mv Makefile.plain Makefile else make clean fi rm -f aclo...
Shell
#!/bin/sh # This script tries to follow the "GNU way" w.r.t. the autobits. # This does of course generate a number of irritating files. # Try to get over it (I am getting there myself). # This should generate any missing crud, and then run autoconf which should turn # configure.in into a "./configure" script and "Mak...
Shell
#! /bin/sh # Tests ECC cipher suites using ssltest. Requires one argument which could # be aecdh or ecdh-ecdsa or ecdhe-ecdsa or ecdh-rsa or ecdhe-rsa. # A second optional argument can be one of ssl2 ssl3 or tls1 if [ "$1" = "" ]; then (echo "Usage: $0 test [ protocol ]" echo " where test is one of aecdh, ecdh-...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#!/bin/sh # # CA - wrapper around ca to make it easier to use ... basically ca requires # some setup stuff to be done before you can use it and this makes # things easier between now and when Eric is convinced to fix it :-) # # CA -newca ... will setup the right stuff # CA -newreq ... will generate a certific...
Shell
#!/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor FLAGS="-O3 -fomit-frame-pointer" SHFLAGS="-DPIC -fPIC" touch $sh_clib touch $sh_slib echo collecting all object files for $clib.so OBJS= find . -name \*.o -print > allobjs for obj in `ar t lib...
Shell
#!/usr/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor FLAGS="-O -DFILIO_H -Kalloca -Kthread" SHFLAGS="-Kpic -DPIC" touch $sh_clib touch $sh_slib echo collecting all object files for $clib.so OBJS= find . -name \*.o -print > allobjs for obj in...
Shell
#!/bin/sh major="1" slib=libssl sh_slib=$slib.so.$major clib=libcrypto sh_clib=$clib.so.$major echo collecting all object files for $clib.so OBJS= find . -name \*.o -print > allobjs for obj in `ar t libcrypto.a` do OBJS="$OBJS `grep $obj allobjs`" done echo linking $clib.so cc -G -o $sh_clib -h $sh_clib $OBJS -ln...
Shell
#!/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor FLAGS="-O -DFILIO_H -Kalloca" SHFLAGS="-Kpic -DPIC" touch $sh_clib touch $sh_slib echo collecting all object files for $clib.so OBJS= find . -name \*.o -print > allobjs for obj in `ar t libcry...
Shell
#!/usr/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor FLAGS="-O3 -DFILIO_H -fomit-frame-pointer -pthread" SHFLAGS="-DPIC -fPIC" touch $sh_clib touch $sh_slib echo collecting all object files for $clib.so OBJS= find . -name \*.o -print > allob...
Shell
#!/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor # If you want them in /usr/local/lib then change INSTALLTOP to point there. #INSTALLTOP=/usr/local/ssl/lib INSTALLTOP=/usr/local/lib cp -p $sh_clib $INSTALLTOP cp -p $sh_slib $INSTALLTOP PWD=`...
Shell
#!/usr/bin/sh # # Run this script from the OpenSSL root directory: # sh shlib/hpux10-cc.sh # # HP-UX (10.20) shared library installation: # Compile and install OpenSSL with best possible optimization: # - shared libraries are compiled and installed with +O4 optimization # - executable(s) are compiled and installed wit...
Shell
#!/bin/sh echo "#define DATE \"`date`\"" >crypto/date.h major="0" minor="8.0" slib=libssl clib=libcrypto CC=gcc CPP='gcc -E' AS=as #FLAGS='-DTERMIO -O3 -DL_ENDIAN -fomit-frame-pointer -mv8 -Wall' FLAGS='-DTERMIO -g2 -ggdb -DL_ENDIAN -Wall -DREF_CHECK -DCRYPTO_MDEBUG' INCLUDE='-Iinclude -Icrypto -Issl' SHFLAGS='-...
Shell
#!/usr/bin/sh major="0" minor="9.7b" slib=libssl sh_slib=$slib.so.$major.$minor clib=libcrypto sh_clib=$clib.so.$major.$minor # If you want them in /usr/local/lib then change INSTALLTOP to point there. #INSTALLTOP=/usr/local/ssl/lib INSTALLTOP=/usr/local/lib cp -p $sh_clib $INSTALLTOP cp -p $sh_slib $INSTALLTOP P...
Shell
FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude" SHFLAGS="-DPIC -fpic" gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c ld -G -z text -o libcrypto.so crypto.o gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c ld -G -z text -o libssl.so ssl.o
Shell
FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude" SHFLAGS="-DPIC -fpic" gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c ld -shared -o libcrypto.so crypto.o gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c ld -shared -o libssl.so ssl.o
Shell
#!/bin/sh # # build using pthreads where it's already built into the system # /bin/rm -f mttest gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
Shell
#!/bin/sh # # build using pthreads # # http://www.mit.edu:8001/people/proven/pthreads.html # /bin/rm -f mttest pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
Shell
#!/bin/sh /bin/rm -f mttest cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh # This script will re-make all the required certs. # cd apps # sh ../util/mkcerts.sh # mv ca-cert.pem pca-cert.pem ../certs # cd .. # cat certs/*.pem >>apps/server.pem # cat certs/*.pem >>apps/server2.pem # SSLEAY=`pwd`/apps/ssleay; export SSLEAY # sh tools/c_rehash certs # CAbits=1024 SSLEAY="../apps/open...
Shell
#!/bin/sh # Do a makedepend, only leave out the standard headers # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999 TOP=$1 shift if [ "$1" = "-MD" ]; then shift MAKEDEPEND=$1 shift fi if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi cp Makefile Makefile.save # fake the presence of Kerberos t...
Shell
#!/bin/sh HERE="`echo $0 | sed -e 's|[^/]*$||'`" OPENSSL="${HERE}../apps/openssl" if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES fi if [ -x "${OPENSSL}.exe" ]; then # The original reason for this script existence is to work around # cer...
Shell
#!/bin/sh [ $# -ne 0 ] || set -x # debug mode without arguments:-) THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.." [ -d "${THERE}" ] || exec "$@" # should never happen... # Alternative to this is to parse ${THERE}/Makefile... LIBCRYPTOSO="${THERE}/libcrypto.so" if [ -f "$LIBCRYPTOSO" ]; then while [ -h "$...
Shell
#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5; it is not part of GNU. # # $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $ # # This script is compatible with the BSD install script, but was written # from scratch. # # set DOITPROG to echo to test this script doit="$...
Shell
#!/usr/local/bin/perl $infile="/home/eay/ssl/SSLeay/MINFO"; open(IN,"<$infile") || die "unable to open $infile:$!\n"; $_=<IN>; for (;;) { chop; ($key,$val)=/^([^=]+)=(.*)/; if ($key eq "RELATIVE_DIRECTORY") { if ($lib ne "") { $uc=$lib; $uc =~ s/^lib(.*)\.a/$1/; $uc =~ tr/a-z/A-Z/; $lib_nam{$u...
Shell
#!/bin/sh # # generate the Microsoft makefiles and .def files # PATH=util:../util:$PATH # perl util/mk1mf.pl no-sock VC-MSDOS >ms/msdos.mak # perl util/mk1mf.pl VC-W31-32 >ms/w31.mak perl util/mk1mf.pl dll VC-WIN16 >ms/w31dll.mak # perl util/mk1mf.pl VC-WIN32 >ms/nt.mak perl util/mk1mf.pl dll VC-WIN32 >ms/ntdll.mak p...
Shell
#!/bin/sh # # This is a ugly script use, in conjuction with editing the 'b' # configuration in the $(TOP)/Configure script which will # output when finished a file called speed.log which is the # timings of SSLeay with various options turned on or off. # # from the $(TOP) directory # Edit Configure, modifying things t...
Shell
#!/bin/bash # # This script configures, builds and packs the binary package for # the Cygwin net distribution version of OpenSSL # # Uncomment when debugging #set -x CONFIG_OPTIONS="--prefix=/usr shared no-idea no-rc5 no-mdc2" INSTALL_PREFIX=/tmp/install VERSION= SUBVERSION=$1 function cleanup() { rm -rf ${INSTAL...
Shell
#!/bin/sh # This script is used by test/Makefile to check whether a sane 'pod2man' # is installed. # ('make install' should not try to run 'pod2man' if it does not exist or if # it is a broken 'pod2man' version that is known to cause trouble. if we find # the system 'pod2man' to be broken, we use our own copy instead)...
Shell
#!/bin/sh perl util/perlpath.pl /usr/bin perl util/ssldir.pl /usr/local perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD perl Configure FreeBSD
Shell
#!/bin/sh # # clean up the mess that NT makes of my source tree # if [ -f makefile -a ! -f Makefile ]; then /bin/mv makefile Makefile fi chmod +x Configure util/* echo cleaning /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null echo 'removing those damn ^M' perl -pi -e 's/\015//' `find . -type 'f' -print...
Shell
#!/bin/sh rm -f "$2" if test "$OSTYPE" = msdosdjgpp; then cp "$1" "$2" else ln -s "$1" "$2" fi echo "$2 => $1"
Shell
#!/bin/sh echo Generating x86 assember echo Bignum (cd crypto/bn/asm; perl x86.pl cpp > bn86unix.cpp) (cd crypto/bn/asm; perl x86.pl win32 > bn-win32.asm) echo DES (cd crypto/des/asm; perl des-586.pl cpp > dx86unix.cpp) (cd crypto/des/asm; perl des-586.pl win32 > d-win32.asm) echo "crypt(3)" (cd crypto/des/asm; perl...
Shell
#!/bin/sh # This script is used by test/Makefile.ssl to check whether a sane 'bc' # is installed. # ('make test_bn' should not try to run 'bc' if it does not exist or if # it is a broken 'bc' version that is known to cause trouble.) # # If 'bc' works, we also test if it knows the 'print' command. # # In any case, outp...
Shell
#!/bin/sh digest='-sha1' reqcmd="../util/shlib_wrap.sh ../apps/openssl req" x509cmd="../util/shlib_wrap.sh ../apps/openssl x509 $digest" verifycmd="../util/shlib_wrap.sh ../apps/openssl verify" dummycnf="../apps/openssl.cnf" CAkey="keyCA.ss" CAcert="certCA.ss" CAreq="reqCA.ss" CAconf="CAss.cnf" CAreq2="req2CA.ss" # t...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl x509' if [ "$1"x != "x" ]; then t=$1 else t=testx509.pem fi echo testing X509 conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> n" $cmd -in fff.p -inform p -outform n >f.n if [ $? != 0 ]; t...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ciphers="DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:EXP1024-DH...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' if [ "$1"x != "x" ]; then t=$1 else t=pkcs7-1.pem fi echo "testing pkcs7 conversions (2)" cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> p" $cmd -in fff.p -inform p -outform p >f.p if [ $? !=...
Shell
#! /bin/sh echo 'Testing a lot of proxy conditions.' echo 'Some of them may turn out being invalid, which is fine.' for auth in A B C BC; do for cond in A B C 'A|B&!C'; do sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond" if [ $? = 3 ]; then exit 1; fi done done
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' if [ "$1"x != "x" ]; then t=$1 else t=testp7.pem fi echo testing pkcs7 conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> p" $cmd -in fff.p -inform p -outform p >f.p if [ $? != 0 ]; t...
Shell
#!/bin/sh SH="/bin/sh" if test "$OSTYPE" = msdosdjgpp; then PATH="../apps\;$PATH" else PATH="../apps:$PATH" fi export SH PATH SSLEAY_CONFIG="-config CAss.cnf" export SSLEAY_CONFIG OPENSSL="`pwd`/../util/opensslwrap.sh" export OPENSSL /bin/rm -fr demoCA $SH ../apps/CA.sh -newca <<EOF EOF if [ $? != 0 ]; the...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ssltest="../util/shlib_wrap.sh ./ssltest -key $key -cert $cert -c_key $key -c_cert $cert" if ../util/shlib_wrap.sh ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA ...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl sess_id' if [ "$1"x != "x" ]; then t=$1 else t=testsid.pem fi echo testing session-id conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi #echo "p -> t" #$cmd -in fff.p -inform p -outform t >f.t #if [ $...
Shell
#!/bin/sh T=testcert KEY=512 CA=../certs/testca.pem /bin/rm -f $T.1 $T.2 $T.key if test "$OSTYPE" = msdosdjgpp; then PATH=../apps\;$PATH; else PATH=../apps:$PATH; fi export PATH echo "generating certificate request" echo "string to make the random number generator think it has entropy" >> ./.rnd if ../uti...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl crl' if [ "$1"x != "x" ]; then t=$1 else t=testcrl.pem fi echo testing crl conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi #echo "p -> t" #$cmd -in fff.p -inform p -outform t >f.t #if [ $? != 0 ]; t...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl req -config ../apps/openssl.cnf' if [ "$1"x != "x" ]; then t=$1 else t=testreq.pem fi if $cmd -in $t -inform p -noout -text 2>&1 | fgrep -i 'Unknown Public Key'; then echo "skipping req conversion test for $t" exit 0 fi echo testing req conversions cp $t ff...
Shell
#!/bin/sh if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then echo skipping rsa conversion test exit 0 fi cmd='../util/shlib_wrap.sh ../apps/openssl rsa' if [ "$1"x != "x" ]; then t=$1 else t=testrsa.pem fi echo testing rsa conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [...
Shell
#!/bin/sh testsrc=Makefile test=./p cmd="../util/shlib_wrap.sh ../apps/openssl" cat $testsrc >$test; echo cat $cmd enc < $test > $test.cipher $cmd enc < $test.cipher >$test.clear cmp $test $test.clear if [ $? != 0 ] then exit 1 else /bin/rm $test.cipher $test.clear fi echo base64 $cmd enc -a -e < $test > $test.cip...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2006-10-15.18 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public Licens...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>...
Shell
# # Configuration file for using the XML library in GNOME applications # XML2_LIBDIR="@XML_LIBDIR@" XML2_LIBS="@XML_LIBS@" XML2_INCLUDEDIR="@XML_INCLUDEDIR@" MODULE_VERSION="xml2-@VERSION@"
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
Shell
#! /bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ libdir=@libdir@ usage() { cat <<EOF Usage: xml2-config [OPTION] Known values for OPTION are: --prefix=DIR change libxml prefix [default $prefix] --exec-prefix=DIR change libxml exec prefix [default $exec_prefix] --libs print li...
Shell
#!/bin/sh # a u t o g e n . s h # # Copyright (c) 2005-2007 United States Government as represented by # the U.S. Army Research Laboratory. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1....
Shell
#!/bin/bash echo "trycompile 0.1" echo "" echo "This script tries to compile Haggle with different configurations to see" echo "to it that Haggle does compile. Each test will take a while. Please be" echo "patient." echo "" echo "WARNING: THIS TEST WILL DELETE MANY FILES IN THE HAGGLE DIRECTORY, AND" echo "YOU WILL NE...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh export CLASSPATH=cliq.jar:../*:lib/miglayout-3.7.1.jar:. java -Xmx256m com.salesforce.cliq.DataLoaderCliq $@ exit
Shell
#!/bin/bash # # Version 0.3.0 # # # # debug mode # set -u set -o nounset # options FLAC_SEEK=5s NICE_PRIORITY=15 TEST_AFTER_ENCODING=0 CUE_ENCODING="WINDOWS-1251" # executable FLAC_BIN=`which flac` METAFLAC_BIN=`which metaflac` MAC_BIN=`which mac` WVUNPACK_BIN=`which wvunpack` SHNTOOL_BIN=`which shntool` CUEPRINT_...
Shell
#!/bin/bash # # Version 0.3.0 # # # # debug mode # set -u set -o nounset # options FLAC_SEEK=5s NICE_PRIORITY=15 TEST_AFTER_ENCODING=0 CUE_ENCODING="WINDOWS-1251" # executable FLAC_BIN=`which flac` METAFLAC_BIN=`which metaflac` MAC_BIN=`which mac` WVUNPACK_BIN=`which wvunpack` SHNTOOL_BIN=`which shntool` CUEPRINT_...
Shell
#!/bin/bash # # Version 0.3.0 # # # # debug mode # set -u set -o nounset # options FLAC_SEEK=5s NICE_PRIORITY=15 TEST_AFTER_ENCODING=0 CUE_ENCODING="WINDOWS-1251" # executable FLAC_BIN=`which flac` METAFLAC_BIN=`which metaflac` MAC_BIN=`which mac` WVUNPACK_BIN=`which wvunpack` SHNTOOL_BIN=`which shntool` CUEPRINT_...
Shell
#!/bin/bash # # Version 0.3.0 # # # # debug mode # set -u set -o nounset # options FLAC_SEEK=5s NICE_PRIORITY=15 TEST_AFTER_ENCODING=0 CUE_ENCODING="WINDOWS-1251" # executable FLAC_BIN=`which flac` METAFLAC_BIN=`which metaflac` MAC_BIN=`which mac` WVUNPACK_BIN=`which wvunpack` SHNTOOL_BIN=`which shntool` CUEPRINT_...
Shell
#!/bin/sh # BuildAllSDKs.sh # # This script builds both the Tiger and Leopard versions of the requested # target in the current basic config (debug, release, debug-gcov). This script # should be run from the same directory as the GTM Xcode project file. # # Copyright 2006-2008 Google Inc. # # Licensed under the Apache ...
Shell
#!/bin/bash # # RunMacOSUnitTests.sh # Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
Shell
#!/bin/bash # RunIPhoneUnitTest.sh # Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
Shell
#!/bin/bash mkdir -p Library/SDKs/CorePlotSDK mkdir -p Library/Frameworks mkdir -p Library/Developer/Shared/Documentation/DocSets mkdir -p CorePlot/Binaries/iOS/CorePlot unzip CorePlot/Binaries/iOS/CorePlot.zip -d CorePlot/Binaries/iOS/CorePlot cp -r CorePlot/Binaries/iOS/CorePlot/CorePlotSDK/* Library/SDKs/CorePlotS...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Test exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Demo1Main exit 0
Shell
#!/bin/sh javac Util.java javac Registry.java javac Properties.java exit 0
Shell
#!/bin/sh javac -cp ../orig: Demo1Main.java exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: TCMain exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain exit 0
Shell
#!/bin/bash lib/build/apache-ant-1.8.0/bin/ant $@
Shell
# aliases alias a=alias a f='find . |grep -i' a ls='ls --color=auto' a grep='grep -i --color=auto' a ll='ls -alF' a la='ls -A' a lt='ls -ltr' a l='ls -CF' a cx='chmod +x' a tarz='tar -xzvf' #misc export repo='https://600913@code.google.com/p/anykao/'
Shell
#!/bin/bash CP=`ls lib/*.jar|tr '\n' ':'` # Tatoeba indexing uses quite a lot of memory on Linux 64bit JAVA_OPTS=-Xmx1024m java $JAVA_OPTS -cp $CP sk.baka.aedict.indexer.Main "$@"
Shell
#!/bin/bash cd .. # Index Edict # We need edict.gz to be present locally, for Tanaka/Tatoeba parsing wget http://ftp.monash.edu.au/pub/nihongo/edict.gz || exit 1 ./ai.sh -f edict.gz -g --upload || exit 1 # Index Kanjidic ./ai.sh -d -k --upload || exit 1 # Index Tanaka ./ai.sh -d -t --upload || exit 1 # Index Tatoeb...
Shell
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
Shell
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
Shell
#! /bin/sh # installman.sh --- install or uninstall manpages for Vim # # arguments: # 1 what: "install", "uninstall" or "xxd" # 2 target directory e.g., "/usr/local/man/it/man1" # 3 language addition e.g., "" or "-it" # 4 vim location as used in manual pages e.g., "/usr/local/share/vim" # 5 runtime dir ...
Shell
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done
Shell
#! /bin/sh # # link.sh -- try linking Vim with different sets of libraries, finding the # minimal set for fastest startup. The problem is that configure adds a few # libraries when they exist, but this doesn't mean they are needed for Vim. # # Author: Bram Moolenaar # Last change: 2010 Nov 03 # License: Publi...
Shell
#! /bin/sh # # osdef.sh -- copy osdef.h.in to osdef.h while removing declarations # found in the system header files. Caution: weird sed magic going on here. # Warnings are printed if sed did not survive. # # (C) Michael Schroeder, Juergen Weigert # # osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" ...
Shell
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et:
Shell
#!/bin/sh # toolcheck -- check for tools that have severe bugs. Good that all the buggy # tools identify by version numbers. This is the spirit of GNU :-) # # 24.7.95 jw. retval=0 reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; echo " CAUTION: This she...
Shell