code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash # Copyright (C) 2011 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...
Shell
#!/bin/bash set -e ./runant war third_party/appengine-sdk/sdk/bin/appcfg.sh update build/war
Shell
#!/bin/bash # Sample shell script for invoking ant. # Copy to a new file and fill in the values below. # To keep the secret secret, don't share your runant script. ant -Dapp-id='your-app-id' \ -Dapp-version='1' \ -Doauth-client-id='your-oauth-client-id' \ -Doauth-client-secret='your-oauth-client-secret' \...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash # Copyright (C) 2011 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...
Shell
#!/bin/bash set -e ./runant war third_party/appengine-sdk/sdk/bin/appcfg.sh update build/war
Shell
#!/bin/bash # Sample shell script for invoking ant. # Copy to a new file and fill in the values below. # To keep the secret secret, don't share your runant script. ant -Dapp-id='your-app-id' \ -Dapp-version='1' \ -Doauth-client-id='your-oauth-client-id' \ -Doauth-client-secret='your-oauth-client-secret' \...
Shell
#!/bin/sh java -cp "h2-1.3.153.jar;log4j.jar;watchdog.jar" com.freetools.watchdog.Console %*
Shell
#!/bin/sh java -cp "h2-1.3.153.jar;log4j.jar;watchdog.jar" com.freetools.watchdog.Console %*
Shell
#!/bin/sh echo " YOU MUST HAVE THE CORRECT SRID IN YOUR postgres database template1. Got it?" #In [1]: from django.contrib.gis.utils import add_postgis_srs as aps #In [2]: aps(99997) #In [3]: aps(99999) read gotit echo "dropdb" dropdb watersheds -U postgres echo "createdb" createdb watersheds -U postgres echo "selec...
Shell
/usr/local/apps/usfw/env/bin/python /usr/local/apps/usfw/watershed-priorities/wp/manage.py celeryd
Shell
python generate_fish_list.py > ../wp/arp/templates/wp/form.html
Shell
#!/bin/bash -e # ============================================ # celeryd - Starts the Celery worker daemon. # ============================================ # # :Usage: /etc/init.d/celeryd {start|stop|force-reload|restart|try-restart|status} # # :Configuration file: /etc/default/celeryd # # To configure celeryd you proba...
Shell
#!/bin/bash -e # ============================================ # celeryd - Starts the Celery worker daemon. # ============================================ # # :Usage: /etc/init.d/celeryd {start|stop|force-reload|restart|try-restart|status} # # :Configuration file: /etc/default/celeryd # # To configure celeryd you proba...
Shell
cython anneal.pyx gcc -c -fPIC -I/usr/include/python2.7/ anneal.c gcc -shared anneal.o -o anneal.so
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="watray" . gnome-autogen.sh
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/bash # Generate random files of sizes 128K, 256K, 512K, 1M, 2M, 5M, 10M, 20M `dd if=/dev/urandom of=test128KB.rand bs=1024 count=128` `dd if=/dev/urandom of=test256KB.rand bs=1024 count=256` `dd if=/dev/urandom of=test512KB.rand bs=1024 count=512` `dd if=/dev/urandom of=test1MB.rand bs=1048576 count=1` `dd if=/...
Shell
#!/bin/bash # Generate random files of sizes 128K, 256K, 512K, 1M, 2M, 5M, 10M, 20M `dd if=/dev/urandom of=test128KB.rand bs=1024 count=128` `dd if=/dev/urandom of=test256KB.rand bs=1024 count=256` `dd if=/dev/urandom of=test512KB.rand bs=1024 count=512` `dd if=/dev/urandom of=test1MB.rand bs=1048576 count=1` `dd if=/...
Shell
#!/bin/sh BINDIR=~/eclipse-workspace/watten/Watten/bin/ CLIENT=com/mpp/testing/ClientTest CLIENT2=com/mpp/network/ClientForConsole SERVER=com/mpp/ui/Server SERVERCMD="echo SERVER; cd $BINDIR; java.exe $SERVER; read -p 'Done. Press any key to close...' -n1 -s" CLIENTCMD="echo CLIENT; cd $BINDIR; java.exe $CLIENT; read ...
Shell
#!/bin/sh BINDIR=~/eclipse-workspace/watten/Watten/bin/ CLIENT=com/mpp/testing/ClientTest CLIENT2=com/mpp/network/ClientForConsole SERVER=com/mpp/network/Server SERVERCMD="echo SERVER; cd $BINDIR; java.exe $SERVER; read -p 'Done. Press any key to close...' -n1 -s" CLIENTCMD="echo CLIENT; cd $BINDIR; java.exe $CLIENT; ...
Shell
#!/bin/sh nosetests --with-coverage --cover-package=social --stop
Shell
#!/bin/sh # this script keeps the collector running if it stops for some reason # simple and inelegant but functional. # replace DIR with wherever you are installing this DIR=/var/www/html/energy/collector cd $DIR while true do ./read_watts_power.pl 2>&1 | logger -t watts sleep 2 done
Shell
#!/bin/sh # this script keeps the collector running if it stops for some reason # simple and inelegant but functional. # replace DIR with wherever you are installing this DIR=/var/www/html/energy/collector cd $DIR while true do ./read_watts_power.pl 2>&1 | logger -t watts sleep 2 done
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 REALAPPYAML="app.yaml.real"; VERSIONFILE=".version"; V=$( cat "${VERSIONFILE}" ); # NV=$(( ${V} + 1 )); NV=${V}; sed -e "s/APPVERSION/${NV}/" "${REALAPPYAML}" > app.yaml; appcfg.py update ./ && rm -f app.yaml; # echo "${NV}" > ${VERSIONFILE};
Shell
#!/bin/bash REALAPPYAML="app.yaml.real"; VERSIONFILE=".version"; V=$( cat "${VERSIONFILE}" ); # NV=$(( ${V} + 1 )); NV=${V}; sed -e "s/APPVERSION/${NV}/" "${REALAPPYAML}" > app.yaml; appcfg.py update ./ && rm -f app.yaml; # echo "${NV}" > ${VERSIONFILE};
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/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 ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Wattospm initscript # Description: Starts the wattospm daemon ### END INIT INFO # Author: Eric Trombly (etromb...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Wattospm initscript # Description: Starts the wattospm daemon ### END INIT INFO # Author: Eric Trombly (etromb...
Shell
t=`date +%s` echo $t static_dir='/usr/local/nginx/html/static-doubanxia/enabled/webroot/' find ./view -type f -name '*.css' | xargs cat > movie_packed_$t.css sed -i "s/movie_packed_.*\.css/movie_packed_$t.css/g" './view/default/conf.tpl' mv movie_packed_$t.css ${static_dir}css/ find ./view -type f -name '*.js' | xargs ...
Shell
t=`date +%s` echo $t find ./view -type f -name '*.css' | xargs cat > www_packed_$t.css sed -i "s/www_packed_.*\.css/www_packed_$t.css/g" './conf/static.conf' mv www_packed_$t.css /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/css/ find ./view -type f -name '*.js' | xargs cat > www_packed_$t.js sed -i "s/www_p...
Shell
t=`date +%s` echo $t find ./view -type f -name '*.css' | xargs cat > movie_packed_$t.css sed -i "s/movie_packed_.*\.css/movie_packed_$t.css/g" './conf/static.conf' mv movie_packed_$t.css /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/css/ find ./view -type f -name '*.js' | xargs cat > movie_packed_$t.js sed -...
Shell
t=`date +%s` echo $t find ./view -type f -name '*.css' | xargs cat > www_packed_$t.css sed -i "s/www_packed_.*\.css/www_packed_$t.css/g" './conf/static.conf' mv www_packed_$t.css /usr/local/nginx/html/static-doubanxia/enabled/webroot/css/ find ./view -type f -name '*.js' | xargs cat > www_packed_$t.js sed -i "s/www_pac...
Shell
t=`date +%s` echo $t find ./view -type f -name '*.css' | xargs cat > pt_packed_$t.css sed -i "s/pt_packed_.*\.css/pt_packed_$t.css/g" './conf/static.conf' mv pt_packed_$t.css /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/css/ find ./view -type f -name '*.js' | xargs cat > pt_packed_$t.js sed -i "s/pt_packed_...
Shell
t=`date +%s` echo $t find ./view -type f -name '*.css' | xargs cat > usercontent_packed_$t.css sed -i "s/packed_.*\.css/packed_$t.css/g" './conf/static.conf' mv usercontent_packed_$t.css /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/css/ find ./view -type f -name '*.js' | xargs cat > usercontent_packed_$t.js...
Shell
t=`date +%s` echo $t static_dir='/usr/local/nginx/html/static-doubanxia/enabled/webroot/' find ./view -type f -name '*.css' | xargs cat > movie_packed_$t.css sed -i "s/'\/static\/all.css'/\$static_server . '\/css\/movie_packed_$t.css'/g" './view/default/conf.tpl' sed -i "s/packed_.*\.css/packed_$t.css/g" './view/defaul...
Shell
#!/bin/sh if [ "$1" = "user" ]; then if [ "$2" = "--ssl" ]; then curl -v -k -X POST -H "Content-Type: application/json" -H "Accept: application/json" \ --sslv3 --data-binary @test_json.txt https://localhost:8443/igoat/user else curl -v -X POST -H "Content-Type: application/json" -H "Accept: applicati...
Shell
#!/bin/sh # # OpenSSL config: determine the operating system and run ./Configure # # "config -h" for usage information. # # this is a merge of minarch and GuessOS from the Apache Group. # Originally written by Tim Hudson <tjh@cryptsoft.com>. # Original Apache Group comments on GuessOS # Simple OS/Pl...
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