code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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 zlib no-idea no-rc5" INSTALL_PREFIX=/tmp/install/INSTALL VERSION= SUBVERSION=$1 function cleanup() { rm -rf ${I...
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 || test "x$PLATFORM" = xmingw ; 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 # # A few very basic tests for the 'ts' time stamping authority command. # SH="/bin/sh" if test "$OSTYPE" = msdosdjgpp; then PATH="../apps\;$PATH" else PATH="../apps:$PATH" fi export SH PATH OPENSSL_CONF="../CAtsa.cnf" export OPENSSL_CONF # Because that's what ../apps/CA.sh really looks at SSLEAY_C...
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 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 PROG=$1 if [ -x $PROG ]; then if expr "x`$PROG version`" : "xOpenSSL" > /dev/null; then : else echo "$PROG is not OpenSSL executable" exit 1 fi else echo "$PROG is not executable" exit 1; fi if $PROG engine padlock | grep -v no-ACE; then HASH=`cat $PROG | $PROG dgst -hex` A...
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/bash # # Copyright 2010 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 by applicable law or agreed ...
Shell
#!/bin/bash if [ $# != 5 ] then echo "SYNTAX: $0 <wfst> <dict> <osyms> <hsyms> <hmmdefs>" exit 1; fi wfst=${1} dict=${2} osyms=${3} hsyms=${4} hmmdefs=${5} #Just run the decoder juicer \ -inputFormat htk \ -lmScaleFactor 13 \ -inputFName jtune/tune-ju-htk.scp \ -htkModelsFName ${hmmdefs} \ ...
Shell
#!/bin/bash # Same as make-cascade-clgt.sh, but does not build the silclass # transducer. Only generates a generic CLG cascade. echo "Support for this script has been removed. The last revision supporting this is:" echo "c9f755acf470" echo "See http://code.google.com/p/transducersaurus/source for details" exit if ...
Shell
#!/bin/bash echo "Support for this script has been removed. The last revision supporting this is:" echo "c9f755acf470" echo "See http://code.google.com/p/transducersaurus/source for details" exit if [ $# != 5 ] then echo "SYNTAX: ${0} <arpalm> <dictionary> <prefix> <hmmdefs> <tiedlist>" exit fi arpa=${1} dict...
Shell
#!/bin/bash # Same as make-cascade-clgt.sh, but does not build the silclass # transducer. Only generates a generic CLG cascade. #This version uses on-the-fly static composition. echo "Support for this script has been removed. The last revision supporting this is:" echo "c9f755acf470" echo "See http://code.google.com...
Shell
#!/bin/bash #Builds a sandbox environment for the # python prototype tools. if [ $# != 1 ] then echo "SYNTAX: ${0} path/to/sandbox/" exit fi if [ -d ${1} ] then echo "Directory \"${1}\" already exists. Using existing directory." else mkdir ${1} fi cp python/* ${1} echo "Copied python prototype build...
Shell
#!/bin/sh version=${1:?"no version number provided"} windows_version="$(printf -- '%s' "$version" | sed -e 's/[.]/,/g'),0" set -e set -x dch -m -v "$version" -c doc/changelog sed -i -r -e "s/(AC_INIT[(]\[pdf2djvu\],) \[[0-9.]+\]/\1 [$version]/" configure.ac sed -i -r -e "s/(VERSION) [0-9,]+/\1 $windows_version/" versio...
Shell
#!/bin/sh if [ $# -ne 1 ] then printf 'Usage: %s <poppler-source-directory>\n' "$0" >&2 exit 1 fi source_dir=$1 include_dir=$(pkg-config --cflags-only-I poppler-splash | sed -n -e '/^-I/ { s/^-I//; s/ .*//; p; q;}') if [ "x$include_dir" = "x" ] then printf 'Unable to determine destination directory\n' >&2 exit ...
Shell
#!/bin/sh # Copyright © 2009, 2013 Jakub Wilk # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 dated June, 1991. exec sed -e ' /<!--# *\(.*\) *#-->/ { s//\1/ b } /<!--.*-->/ { ...
Shell
#!/bin/sh # Copyright © 2009, 2011 Jakub Wilk # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 dated June, 1991. : "${CXX:=g++}" "$CXX" -MM *.cc \ | sed -n -e '/\\ *$/ { H; d; }; H;...
Shell
#!/bin/sh # Copyright © 2009, 2010, 2011, 2012, 2013 Jakub Wilk # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 dated June, 1991. set -e set -x pwd="$PWD" buildroot=$(mktemp -dt p...
Shell
#!/bin/sh # Copyright © 2009, 2010, 2011 Jakub Wilk # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 dated June, 1991. if ! command -v "$1" >/dev/null then printf 'Usage: %s xgett...
Shell
#!/bin/sh set -e -u set -x for file in install-sh config.sub config.guess do rm -f tools/$file cp $(ls -d /usr/share/automake*/$file | head -n1) tools/ done rm -f tools/config.rpath cp /usr/share/gettext/config.rpath tools/ ${ACLOCAL:-aclocal} -I m4 --install ${AUTOCONF:-autoconf} ${AUTOHEADER:-autoheader}
Shell
#!/bin/sh case "$1" in --cflags) echo "-I$(dirname "$0")/include/freetype2/";; --libs) echo "-lfreetype";; esac # vim:ts=4 sw=4 et
Shell
#!/bin/bash # TODO: check for mogenerator and warn we need to build mogenerator for release first. # TODO: check for the output paths and, if they don't exist, make them. ../../mogenerator/build/Release/mogenerator --template-path ../../mogenerator/templates --model ./demoApp.xcdatamodel -M ./ -H ./ || exit 1
Shell
#!/bin/bash # TODO: check for mogenerator and warn we need to build mogenerator for release first. mogenerator --template-path ../../../mogenerator/templates --model ../CoreDataBooks.xcdatamodel -M ./ -H ./ || exit 1
Shell
if [ ! -f "$MOGENERATOR_BIN" ] then echo "mogenerator binary doesn't exist at $MOGENERATOR_BIN" exit 1 fi echo "Generating Data Model Classes from $DATA_MODEL_FILE ..." if [ ! -d "$DATA_MODEL_FILE" ] then echo "Data model file doesn't exist at $DATA_MODEL_FILE" exit 1 fi mkdir -p "$DATA_MODEL_SOURCE_DIR" MOMC_...
Shell
#!/bin/sh cd "`dirname \"$0\"`" cd MOs mogenerator --model ../mogeneratorTestMule_DataModel.xcdatamodel --baseClass MyBaseClass --includem include.m
Shell
#!/bin/sh cd "`dirname \"$0\"`" sudo echo sudo rm -rf 'build' mkdir -p 'build/root/Library/Application Support/mogenerator' cd .. xcodebuild -configuration Release CONFIGURATION_BUILD_DIR="$PWD/installer/build/root/usr/bin/" cp templates/*.motemplate "$PWD/installer/build/root/Library/Application Support/mogenerator...
Shell
#!/bin/bash # (C) Copyright 2014, 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 by applicable law or agreed to in wr...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
#!/bin/bash # # Copyright (c) 2010 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 by applicable law or agreed t...
Shell
#!/bin/bash # Copyright 2009 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 by applicable law...
Shell
#!/bin/bash function dumplib() { LIB=$1 for arch in armeabi-v7a armeabi; do VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4) mkdir -p symbols/$LIB/$VER dump_syms obj/local/armeabi-v7a/$LIB > symbols/$LIB/$VER/$LIB.sym done } dumplib libopenvpn.so
Shell
#!/bin/bash #NDK_DEBUG=1 ndk-build -j8 # Quick and dirty from ndk-gdb . ${ANDROID_NDK_HOME}/build/tools/ndk-common.sh ANDROID_NDK_ROOT=${ANDROID_NDK_HOME} PROJECT=. APP_ABI=armeabi-v7a AWK_SCRIPTS=${ANDROID_NDK_ROOT}/build/awk PACKAGE_NAME=de.blinkt.openvpn DEBUG_PORT=5039 JDB_PORT=65534 ADB_CMD=adb AWK_CMD=awk ge...
Shell
#! /bin/zsh set -o shwordsplit if [ "$ICSCROWDAPIKEY" != "" ] then echo "Generating new translation archives" fetch -q -1 -o - "http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY" fi echo "Fetch translation archive" fetch -q http://crowdin.net/download/project/ics-openvpn.zip # Chinese lang...
Shell
#!/bin/bash # Exit on errors set -e # Generate git config if the openvpn directory is checked out from git if [ -d openvpn/.git ]; then GIT=git cd openvpn CONFIGURE_GIT_CHFILES=$($GIT diff-files --name-status -r --ignore-submodules --quiet -- || echo "+") CONFIGURE_GIT_UNCOMMITTED=$($GIT diff-index --cached...
Shell
export O3=$PWD/openvpn3 mkdir -p src/ovpn3/java/net/openvpn/ovpn3 swig -outdir src/ovpn3/java/net/openvpn/ovpn3/ -c++ -java -package net.openvpn.ovpn3 -I$O3/client -I$O3 $O3/javacli/ovpncli.i
Shell
#! /bin/bash # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU lzo 2.03) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 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 License as published by # ...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2014 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
#! /bin/sh # libtool (GNU libtool) 2.4.2.418 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996-2013 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even fo...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2013-12-25.23; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#!/bin/sh # Get modification time of a file or directory and pretty-print it. scriptversion=2010-08-21.06; # UTC # Copyright (C) 1995-2014 Free Software Foundation, Inc. # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995 # # This program is free software; you can redistribute it and/or modify # it under ...
Shell
#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it und...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@g...
Shell
#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General ...
Shell
#!/bin/sh # py-compile - Compile a Python program scriptversion=2011-06-08.12; # UTC # Copyright (C) 2000-2014 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 License as published by # the Free Software Foundation; e...
Shell
#! /bin/sh # ylwrap - wrapper for lex/yacc invocations. scriptversion=2013-01-12.17; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public Lic...
Shell
#! /bin/sh set -e # # usage: util/overlap.sh [directory] # # This script runs the overlap example program on a complete directory tree. # # Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer # OVERLAP="overlap" test -x ./examples/overlap && OVERLAP="./examples/overlap" test -x ./overlap.exe && OVERLAP="./o...
Shell