code
stringlengths
1
1.96M
language
stringclasses
1 value
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= SHLIB_VERSION_NUMBER= SUBVERSION=$1 function cl...
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 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 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/sh # libtool - Provide generalized library-building support services. # Generated automatically by config.status () 3.7 # Libtool was configured on host Bulbasaur.local: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, ...
Shell
#!/bin/sh # # This script is used to compile SQLite and package everything up # so that it is ready to move to the SQLite website. # # Set srcdir to the name of the directory that contains the publish.sh # script. # srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'` # Get the makefile. # cp $srcdir/Makefile.linux-gc...
Shell
#!/bin/sh # # This script is used to compile SQLite into a shared library on Linux. # # Two separate shared libraries are generated. "sqlite3.so" is the core # library. "tclsqlite3.so" contains the TCL bindings and is the # library that is loaded into TCL in order to run SQLite. # CFLAGS=-O2 -Wall make fts2amal.c ech...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # w...
Shell
#!/bin/sh # # This script is used to compile SQLite extensions into DLLs. # make fts2amal.c PATH=$PATH:/opt/mingw/bin OPTS='-DTHREADSAFE=1 -DBUILD_sqlite=1 -DSQLITE_OS_WIN=1' CC="i386-mingw32msvc-gcc -O2 $OPTS -Itsrc" NM="i386-mingw32msvc-nm" CMD="$CC -c fts2amal.c" echo $CMD $CMD echo 'EXPORTS' >fts2.def echo 'sqlite3...
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 # # Run this script in a directory that contains a valid SQLite makefile in # order to verify that unintentionally exported symbols. # make sqlite3.c echo '****** Exported symbols from a build including RTREE && FTS4 ******' gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \ -DSQLITE_ENABLE_MEMORY_MANAGEM...
Shell
#/bin/sh # # Run this script in a directory with a working makefile to check for # compiler warnings in SQLite. # rm -f sqlite3.c make sqlite3.c-debug echo '********** No optimizations. Includes FTS4 and RTREE *********' gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ -ansi -DHAVE_STDIN...
Shell
#!/bin/sh # # Run this script in a directory that contains a valid SQLite makefile in # order to verify that unintentionally exported symbols. # make sqlite3.c echo '****** Exported symbols from a build including RTREE, FTS4 & ICU ******' gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \ -DSQLITE_ENABLE_MEMORY_MAN...
Shell
#/bin/sh # # Run this script in a directory with a working makefile to check for # compiler warnings in SQLite. # rm -f sqlite3.c make sqlite3.c echo '************* FTS4 and RTREE ****************' scan-build gcc -c -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \ -DSQLITE_DEBUG -DSQLITE_ENABLE_STAT3...
Shell
#!/bin/sh # # This script demonstrates how to do a full-featured build of the sqlite3 # command-line shell on Linux. # # SQLite source code should be in a sibling directory named "sqlite". For # example, put SQLite sources in ~/sqlite/sqlite and run this script from # ~/sqlite/bld. There should be an appropriate Make...
Shell
#!/bin/sh # # This script is used to compile SQLite and package everything up # so that it is ready to move to the SQLite website. # # Set srcdir to the name of the directory that contains the publish.sh # script. # srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'` # Get the makefile. # cp $srcdir/Makefile.linux-gc...
Shell
#!/bin/sh # # This script is used to compile SQLite into a shared library on Linux. # # Two separate shared libraries are generated. "sqlite3.so" is the core # library. "tclsqlite3.so" contains the TCL bindings and is the # library that is loaded into TCL in order to run SQLite. # make target_source cd tsrc rm shell....
Shell
#!/bin/sh # # This script is used to compile SQLite into a DLL. # # Two separate DLLs are generated. "sqlite3.dll" is the core # library. "tclsqlite3.dll" contains the TCL bindings and is the # library that is loaded into TCL in order to run SQLite. # make sqlite3.c PATH=$PATH:/opt/mingw/bin TCLDIR=/home/drh/tcltk/84...
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watrayuc" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watrayuc" . gnome-autogen.sh
Shell
#!/bin/sh # $Id: cron-lynx.sh,v 1.3 2006/08/22 07:38:24 dries Exp $ /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh # $Id: cron-curl.sh,v 1.3 2006/08/22 07:38:24 dries Exp $ curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh # $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $ find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | gre...
Shell
#!/bin/sh # $Id: cron-lynx.sh,v 1.3 2006/08/22 07:38:24 dries Exp $ /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh # $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $ find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | gre...
Shell
#!/bin/sh # $Id: cron-curl.sh,v 1.3 2006/08/22 07:38:24 dries Exp $ curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh -e ./test_bitstream ./test_estimatebit ./test_qrencode ./test_qrinput ./test_qrspec ./test_rs ./test_split ./test_mask ./test_mqrspec ./test_mmask ./test_monkey
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
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-2007 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
# libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; no...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # 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 # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-10-06.20; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 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 t...
Shell
#!/bin/sh set -e if [ `uname -s` = Darwin ]; then LIBTOOLIZE=glibtoolize else LIBTOOLIZE=libtoolize fi if [ -d /usr/local/share/aclocal ]; then ACLOCAL_DIR=/usr/local/share/aclocal elif [ -d /opt/local/share/aclocal ]; then ACLOCAL_DIR=/opt/local/share/aclocal elif [ -d /usr/share/aclocal ]; then ...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
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 | --help...
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 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program i...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 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; either ve...
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 | --help...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2004-01-05' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that S...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2004-01-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public L...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 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; either ve...
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 # # 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 if [ ! -d "resources" ]; then echo "Creating resources directory" mkdir -p resources/img/sipi mkdir -p resources/calgary echo "Downloading SIPI misc images dataset" wget http://sipi.usc.edu/database/misc.tar.gz echo "Downloading Calgary corpus" wget http://corpus.canterbury.ac.nz/resources/calgary.t...
Shell
#!/bin/sh valgrind --tool=memcheck --leak-check=yes --error-limit=yes --suppressions=suppress.valgrind --track-origins=yes ./waveletCompressor encoded.wcv reversed.avi 2> valgrind.log
Shell
#!/bin/sh COMPRESSOR='waveletCompressor' FILES=`find resources -name *.tiff` mkdir tmp for FILE in $FILES; do echo "Compressing file" $FILE FILE_SIMPLE=`basename $FILE .tiff` ./$COMPRESSOR -ratio 4 $FILE tmp/$FILE_SIMPLE.wci >> tmp/test.log if [ ! $? ]; then echo Compression FAIL fi ./$COMPRESSOR tmp/$FILE_S...
Shell
#!/bin/sh COMPRESSOR='waveletCompressor' FILES=`find resources -name *.tiff` mkdir tmp for FILE in $FILES; do echo "Compressing file" $FILE FILE_SIMPLE=`basename $FILE .tiff` ./$COMPRESSOR -ratio 4 $FILE tmp/$FILE_SIMPLE.wci >> tmp/test.log if [ ! $? ]; then echo Compression FAIL fi ./$COMPRESSOR tmp/$FILE_S...
Shell
#!/bin/sh valgrind --tool=memcheck --leak-check=yes --error-limit=yes --suppressions=suppress.valgrind --track-origins=yes ./waveletCompressor encoded.wcv reversed.avi 2> valgrind.log
Shell
#!/bin/bash export PATH=$PATH:`pwd` chmod +x wavevox.py
Shell
#!/bin/bash export PATH=$PATH:`pwd` chmod +x wavevox.py
Shell
#!/bin/sh svn add trunk/* svn add tags/* svn add build/* svn update svn ci # eof
Shell
#!/bin/sh svn add trunk/* svn add tags/* svn add build/* svn update svn ci # eof
Shell
#!/bin/bash set -e # Check if the jar has been built. if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then echo "Compiling WalletTool to a JAR" cd ../core mvn install -DskipTests cd ../tools [ -e target/bitcoinj-tools-*.jar ] && rm target/bitcoinj-tools-*.jar mvn package...
Shell
#!/bin/bash set -x LB=../WebContent/WEB-INF/lib java -cp $LB/mysql-connector-java-5.0.7-bin.jar -jar $LB/mybatis-generator-core-1.3.1.jar -configfile mbg.xml -overwrite
Shell
#!/bin/bash set -x LB=../WebContent/WEB-INF/lib java -cp $LB/mysql-connector-java-5.0.7-bin.jar -jar $LB/mybatis-generator-core-1.3.1.jar -configfile mbg.xml -overwrite
Shell
#!/bin/bash echo "Starting build"; mxmlc -load-config obj/WAVAPlayerConfigCustom.xml -debug=true -incremental=true -benchmark=false -external-library-path $HOME/SDK/flex/frameworks/libs/player/10.1/playerglobal.swc; echo "Build Ended"; cp bin/WAVAPlayer.swf /mnt/P/_mofos_v2/cdn/base/swf/WAVAPlayer.swf flashplayerd...
Shell
#!/bin/bash echo "Starting build"; mxmlc -load-config obj/WAVAPlayerConfigCustom.xml -debug=true -incremental=true -benchmark=false -external-library-path $HOME/SDK/flex/frameworks/libs/player/10.1/playerglobal.swc; echo "Build Ended"; cp bin/WAVAPlayer.swf /mnt/P/_mofos_v2/cdn/base/swf/WAVAPlayer.swf flashplayerd...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash cp -a waverelay /usr/share/ cp waverelay.sh /usr/bin/waverelay mkdir ~/.lplayer chmod +x waverelay.sh
Shell
#!/bin/bash cd /usr/share/waverelay/ python waverelay.py
Shell
#!/bin/bash rm -r /usr/share/waverelay/
Shell
#!/bin/bash find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';' find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
Shell
#!/bin/bash rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
Shell
#!/bin/bash mkdir -p org/apache/harmony/ mv javax org/apache/harmony/ find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';' find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';' find -name '*...
Shell