code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script,...
Shell
#!/bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Last modified: 1994-03-25 # Public domain errstatus=0 for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= fo...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops 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 fi...
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-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-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-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 # 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-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 # 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 # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops 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 fi...
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 # 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-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 # 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
rm -f error.txt for i in *.py; do name=`echo $i | sed 's/\.java//'`; echo ==================Running $name ================== if python $name; then echo $name run OK >> error.txt else echo $name run Error >> error.txt fi done
Shell
LD_LIBRARY_PATH=$PWD/lib export LD_LIBRARY_PATH rm -f error.txt for i in `egrep -l "public\s+static\s+void\s+main" *.java`; do name=`echo $i | sed 's/\.java//'`; echo ==================Running $name ================== if javac $i; then echo $i compiled >> error.txt if java $name; then echo $nam...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#!/bin/sh # Simple shell script to check kernel configuration sanity # for use with MIPL Mobile IPv6 # # Author: Antti Tuominen <anttit@tcs.hut.fi> # # $Id: chkconf_kernel.sh 1.3 05/05/16 12:15:16+03:00 vnuorval@tcs.hut.fi $ # # This program is free software; you can redistribute it and/or # modify it under the terms ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # Simple shell script to check kernel configuration sanity # for use with MIPL Mobile IPv6 # # Author: Antti Tuominen <anttit@tcs.hut.fi> # # $Id: chkconf_kernel.sh 1.3 05/05/16 12:15:16+03:00 vnuorval@tcs.hut.fi $ # # This program is free software; you can redistribute it and/or # modify it under the terms ...
Shell
#!/bin/sh ############################################################################### # # File: w2 # RCS: $Id: $ # Description: Launch WWWeasel-II. # Author: Niels P. Mayer # Created: Fri Oct 6 00:38:44 1995 # Modified: Sun Nov 23 21:40:23 1997 (Niels Mayer) npm@mayer.netcom.com # ...
Shell
#!/bin/sh ############################################################################### # # File: w2 # RCS: $Id: $ # Description: Launch WWWeasel-II. # Author: Niels P. Mayer # Created: Fri Oct 6 00:38:44 1995 # Modified: Sun Nov 23 21:40:23 1997 (Niels Mayer) npm@mayer.netcom.com # ...
Shell
#!/bin/sh ############################################################################### # # File: w2 # RCS: $Id: $ # Description: Launch WWWeasel-II. # Author: Niels P. Mayer # Created: Fri Oct 6 00:38:44 1995 # Modified: Sun Nov 23 21:40:56 1997 (Niels Mayer) npm@mayer.netcom.com # ...
Shell
#!/bin/sh ############################################################################### # # File: w2 # RCS: $Id: $ # Description: Launch WWWeasel-II. # Author: Niels P. Mayer # Created: Fri Oct 6 00:38:44 1995 # Modified: Sun Nov 23 21:40:56 1997 (Niels Mayer) npm@mayer.netcom.com # ...
Shell
#!/usr/local/bin/perl #set path = ($path /net/eitech/eitech/local/bin) if (! -d "bad") { mkdir(bad, 0777); } if (! -d "test") { mkdir(test, 0777); } open(DONE, "> test/files") || print "Couldn't open test/files\n"; close(DONE); open(DONE, ">> test/files") || print "Couldn't open test/files\n"; select(DONE);...
Shell
#!/usr/local/bin/perl #set path = ($path /net/eitech/eitech/local/bin) if (! -d "bad") { mkdir(bad, 0777); } if (! -d "test") { mkdir(test, 0777); } open(DONE, "> test/files") || print "Couldn't open test/files\n"; close(DONE); open(DONE, ">> test/files") || print "Couldn't open test/files\n"; select(DONE);...
Shell
#!/usr/local/bin/perl #set path = ($path /net/eitech/eitech/local/bin) if (! -d "bad") { mkdir(bad, 0777); } if (! -d "test") { mkdir(test, 0777); } open(DONE, "> test/files") || print "Couldn't open test/files\n"; close(DONE); open(DONE, ">> test/files") || print "Couldn't open test/files\n"; select(DONE);...
Shell
# a shell script to create a java documentation # for a processing library. # # make changes to the variables below so they # fit the structure of your library # the package name of your library package=template; # source folder location src=../src; # the destination folder of your documentation dest=../document...
Shell
MAVEN_OPTS="-server -Xms256m -Xmx256m -XX:NewSize=96m -XX:MaxNewSize=96m -XX:PermSize=128M -XX:MaxPermSize=128m"
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # 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 # ...
Shell
#!/bin/sh CHMOD_BPF_DIR="/Library/StartupItems/ChmodBPF" CHMOD_BPF="$CHMOD_BPF_DIR/ChmodBPF" BPF_GROUP="access_bpf" BPF_GROUP_NAME="BPF device access ACL" dseditgroup -q -o read "$BPF_GROUP" > /dev/null 2>&1 || \ dseditgroup -q -o create "$BPF_GROUP" dseditgroup -q -o edit -a "$USER" -t user "$BPF_GROUP" chmod -...
Shell
#!/bin/sh CHMOD_BPF_DIR="/Library/StartupItems/ChmodBPF" CHMOD_BPF="$CHMOD_BPF_DIR/ChmodBPF" BPF_GROUP="access_bpf" BPF_GROUP_NAME="BPF device access ACL" dseditgroup -q -o read "$BPF_GROUP" > /dev/null 2>&1 || \ dseditgroup -q -o create "$BPF_GROUP" dseditgroup -q -o edit -a "$USER" -t user "$BPF_GROUP" chmod -...
Shell
#!/bin/sh # This space intentionally left blank
Shell
#!/bin/sh CLI_PATH="$2" BINARIES=" capinfos dftest dumpcap editcap idl2wrs mergecap randpkt rawshark text2pcap tshark " cd "$CLI_PATH" rm -f ./wireshark mv utility-launcher wireshark chmod 755 wireshark for BIN in $BINARIES ; do rm -f ./"$BIN" ln -sn ./wireshark "$BIN...
Shell
#!/bin/sh # This space intentionally left blank
Shell
#!/bin/sh CLI_PATH="$2" BINARIES=" capinfos dftest dumpcap editcap idl2wrs mergecap randpkt rawshark text2pcap tshark " cd "$CLI_PATH" rm -f ./wireshark mv utility-launcher wireshark chmod 755 wireshark for BIN in $BINARIES ; do rm -f ./"$BIN" ln -sn ./wireshark "$BIN...
Shell
#!/bin/sh # # $Id: script 24640 2008-03-15 18:31:52Z gerald $ echo $1;
Shell
#!/bin/sh # # $Id: openDoc 24640 2008-03-15 18:31:52Z gerald $ echo $1;
Shell
#!/bin/sh # # $Id: script 24640 2008-03-15 18:31:52Z gerald $ echo $1;
Shell
#!/bin/sh # # $Id: openDoc 24640 2008-03-15 18:31:52Z gerald $ echo $1;
Shell
#!/bin/bash # # $Id: osx-build.sh 24709 2008-03-21 16:09:04Z gerald $ # # Wireshark compilation and packaging script for Mac OS X # # Copied from the Inkscape distribution. Please see # http://wiki.inkscape.org/wiki/index.php?title=CompilingMacOsX # for more complete information # # XXX - This script hasn't yet been ...
Shell
#!/bin/sh # # $Id: utility-launcher 26612 2008-10-28 21:53:39Z stig $ # # Wireshark CLI utility launcher if [ -z "$WIRESHARK_APP_DIR" ] ; then WIRESHARK_APP_DIR="/Applications/Wireshark.app" fi if [ ! -d "$WIRESHARK_APP_DIR" ] ; then echo "Wireshark doesn't appear to be located at $WIRESHARK_APP_DIR." echo "Please...
Shell
#!/bin/bash # # $Id: osx-build.sh 24709 2008-03-21 16:09:04Z gerald $ # # Wireshark compilation and packaging script for Mac OS X # # Copied from the Inkscape distribution. Please see # http://wiki.inkscape.org/wiki/index.php?title=CompilingMacOsX # for more complete information # # XXX - This script hasn't yet been ...
Shell
#!/bin/bash # # $Id: osx-dmg.sh 37105 2011-05-12 21:42:55Z gerald $ # # USAGE # osx-dmg [-s] -p /path/to/Wireshark.app # # The script creates a read-write disk image, # copies Wireshark into it, customizes its appearance using a # previously created .DS_Store file (wireshark.ds_store), # and then compresses the disk im...
Shell
#!/bin/bash # # $Id: osx-app.sh 38088 2011-07-18 16:21:42Z gerald $ # # USAGE # osx-app [-s] [-l /path/to/libraries] -bp /path/to/wireshark/bin -p /path/to/Info.plist # # This script attempts to build an Wireshark.app package for OS X, resolving # dynamic libraries, etc. # It strips the executable and libraries if '-s'...
Shell
#!/bin/sh # # $Id: build-gtk.sh 24640 2008-03-15 18:31:52Z gerald $ # # Based on the Imendio 'build-gtk.sh' script. # # Inkscape (Wireshark) build additions by Michael Wybrow <mjwybrow@users.sf.net> # # See the following page for build instructions: # http://developer.imendio.com/projects/gtk-macosx/build-instructions ...
Shell
#!/bin/sh # # $Id: build-gtk.sh 24640 2008-03-15 18:31:52Z gerald $ # # Based on the Imendio 'build-gtk.sh' script. # # Inkscape (Wireshark) build additions by Michael Wybrow <mjwybrow@users.sf.net> # # See the following page for build instructions: # http://developer.imendio.com/projects/gtk-macosx/build-instructions ...
Shell
#! /bin/sh # # $Id: ChmodBPF 37093 2011-05-12 18:02:00Z gerald $ . /etc/rc.common StartService () { # # Unfortunately, Mac OS X's devfs is based on the old FreeBSD # one, not the current one, so there's no way to configure it # to create BPF devices with particular owners or groups. # This startup item will make...
Shell
#! /bin/sh # # $Id: ChmodBPF 37093 2011-05-12 18:02:00Z gerald $ . /etc/rc.common StartService () { # # Unfortunately, Mac OS X's devfs is based on the old FreeBSD # one, not the current one, so there's no way to configure it # to create BPF devices with particular owners or groups. # This startup item will make...
Shell
#!/bin/sh # # $Id: utility-launcher 26612 2008-10-28 21:53:39Z stig $ # # Wireshark CLI utility launcher if [ -z "$WIRESHARK_APP_DIR" ] ; then WIRESHARK_APP_DIR="/Applications/Wireshark.app" fi if [ ! -d "$WIRESHARK_APP_DIR" ] ; then echo "Wireshark doesn't appear to be located at $WIRESHARK_APP_DIR." echo "Please...
Shell
#!/bin/bash # # $Id: osx-dmg.sh 37105 2011-05-12 21:42:55Z gerald $ # # USAGE # osx-dmg [-s] -p /path/to/Wireshark.app # # The script creates a read-write disk image, # copies Wireshark into it, customizes its appearance using a # previously created .DS_Store file (wireshark.ds_store), # and then compresses the disk im...
Shell
#!/bin/bash # # $Id: osx-app.sh 38088 2011-07-18 16:21:42Z gerald $ # # USAGE # osx-app [-s] [-l /path/to/libraries] -bp /path/to/wireshark/bin -p /path/to/Info.plist # # This script attempts to build an Wireshark.app package for OS X, resolving # dynamic libraries, etc. # It strips the executable and libraries if '-s'...
Shell
#!/bin/sh # # $Id: script 32449 2010-04-12 16:26:27Z morriss $ # # Author: Aaron Voisine <aaron@voisine.org> # Wireshark (Inkscape) Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> CWD="`dirname \"$0\"`" # System version: 3 for Panther, 4 for Tiger, 5 for Leopard export VERSION=`/usr/bin/sw_vers | grep ...
Shell
#!/bin/sh # # $Id: openDoc 24640 2008-03-15 18:31:52Z gerald $ # # Author: Aaron Voisine <aaron@voisine.org> # Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> CWD="`dirname \"$0\"`" # System version: 3 for Panther, 4 for Tiger, 5 for Leopard export VERSION=`/usr/bin/sw_vers | grep ProductVersi...
Shell
#!/bin/sh # # $Id: script 32449 2010-04-12 16:26:27Z morriss $ # # Author: Aaron Voisine <aaron@voisine.org> # Wireshark (Inkscape) Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> CWD="`dirname \"$0\"`" # System version: 3 for Panther, 4 for Tiger, 5 for Leopard export VERSION=`/usr/bin/sw_vers | grep ...
Shell
#!/bin/sh # # $Id: openDoc 24640 2008-03-15 18:31:52Z gerald $ # # Author: Aaron Voisine <aaron@voisine.org> # Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> CWD="`dirname \"$0\"`" # System version: 3 for Panther, 4 for Tiger, 5 for Leopard export VERSION=`/usr/bin/sw_vers | grep ProductVersi...
Shell
#!/bin/bash # # $Id: copy-slider.sh 24640 2008-03-15 18:31:52Z gerald $ cp -f slider-vert.png slider-vert-prelight.png cp -f slider-vert.png slider-horiz-prelight.png cp -f slider-vert.png slider-horiz.png convert -rotate 90 slider-horiz.png slider-horiz.png convert -rotate 90 slider-horiz-prelight.png slider-horiz-pr...
Shell
#!/bin/bash # # $Id: copy-slider.sh 24640 2008-03-15 18:31:52Z gerald $ cp -f slider-vert.png slider-vert-prelight.png cp -f slider-vert.png slider-horiz-prelight.png cp -f slider-vert.png slider-horiz.png convert -rotate 90 slider-horiz.png slider-horiz.png convert -rotate 90 slider-horiz-prelight.png slider-horiz-pr...
Shell
#!/bin/sh # # $Id: sync_osx_look.sh 24640 2008-03-15 18:31:52Z gerald $ # # Reads defaults from Apple preferences and modifies GTK accordingly # # (c) 2007 JiHO <jo.irisson@gmail.com> # GNU General Public License http://www.gnu.org/copyleft/gpl.html # # Appearance setting aquaStyle=`defaults read "Apple Global Domain"...
Shell
#!/bin/sh # # $Id: sync_osx_look.sh 24640 2008-03-15 18:31:52Z gerald $ # # Reads defaults from Apple preferences and modifies GTK accordingly # # (c) 2007 JiHO <jo.irisson@gmail.com> # GNU General Public License http://www.gnu.org/copyleft/gpl.html # # Appearance setting aquaStyle=`defaults read "Apple Global Domain"...
Shell
#!/bin/bash # # $Id: copy-slider.sh 24640 2008-03-15 18:31:52Z gerald $ cp -f slider-vert.png slider-vert-prelight.png cp -f slider-vert.png slider-horiz-prelight.png cp -f slider-vert.png slider-horiz.png convert -rotate 90 slider-horiz.png slider-horiz.png convert -rotate 90 slider-horiz-prelight.png slider-horiz-pr...
Shell
#!/bin/bash # # $Id: copy-slider.sh 24640 2008-03-15 18:31:52Z gerald $ cp -f slider-vert.png slider-vert-prelight.png cp -f slider-vert.png slider-horiz-prelight.png cp -f slider-vert.png slider-horiz.png convert -rotate 90 slider-horiz.png slider-horiz.png convert -rotate 90 slider-horiz-prelight.png slider-horiz-pr...
Shell
#!/bin/sh # # mkpkg - Builds a pkgadd-installable package from a listing of the contents in # a staging directory. # # This is a modified version of a script written by mark@metalab.unc.edu . # The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . # # $Id: mkpkg 3499...
Shell
#!/bin/sh # # Checkinstall - perform preinstallation install checks. # # This is a modified version of a script written by mark@metalab.unc.edu . # The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . # # $Id: checkinstall.in 34996 2010-11-21 19:03:17Z wmeier $ # P...
Shell
#!/bin/sh # # mkpkg - Builds a pkgadd-installable package from a listing of the contents in # a staging directory. # # This is a modified version of a script written by mark@metalab.unc.edu . # The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . # # $Id: mkpkg 3499...
Shell
#!/bin/sh # # Checkinstall - perform preinstallation install checks. # # This is a modified version of a script written by mark@metalab.unc.edu . # The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . # # $Id: checkinstall.in 34996 2010-11-21 19:03:17Z wmeier $ # P...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#!/bin/sh # # This script returns the flags to be fed to "aclocal" to ensure that # it finds GLib's aclocal macros (we assume GTK+ is installed in the # same place as GLib) and pkg-config's aclocal macros. # # aclocal will search, by default, only in a directory in the same # tree where it was installed - e.g., if inst...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-06-11' # This file is (in principle) common to ALL GNU software. # The presence o...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-06-10' # This file is free software; you can redistribute it and/or modify it # und...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#!/bin/sh # # Run this to generate all the initial makefiles. # # $Id: autogen.sh 26209 2008-09-15 19:57:56Z morriss $ DIE=true PROJECT="Wireshark" # If you are going to use the non-default name for automake becase your OS # installaion has multiple versions, you need to call both aclocal and automake # with that ver...
Shell
#! /bin/sh # # runlex.sh # Script to run Lex/Flex. # First argument is the (quoted) name of the command; if it's null, that # means that neither Flex nor Lex was found, so we report an error and # quit. # # $Id: runlex.sh 22450 2007-08-04 03:27:18Z guy $ # # Wireshark - Network traffic analyzer # By Gerald Combs <gera...
Shell
#!/bin/bash # # $Id: win64-setup.sh 37313 2011-05-19 21:10:26Z gerald $ # 64-bit wrapper for win-setup.sh. export DOWNLOAD_TAG="2011-05-19" export WIRESHARK_TARGET_PLATFORM="win64" WIN_SETUP=`echo $0 | sed -e s/win64/win/` exec $WIN_SETUP $@
Shell
#!/bin/bash # # $Id: win32-setup.sh 37313 2011-05-19 21:10:26Z gerald $ # 32-bit wrapper for win-setup.sh. export DOWNLOAD_TAG="2011-05-19" export WIRESHARK_TARGET_PLATFORM="win32" WIN_SETUP=`echo $0 | sed -e s/win32/win/` exec $WIN_SETUP $@
Shell
#!/bin/bash # # $Id: fuzz-test.sh 36622 2011-04-13 15:36:05Z morriss $ # Fuzz-testing script for TShark # # This script uses Editcap to add random errors ("fuzz") to a set of # capture files specified on the command line. It runs TShark on # each fuzzed file and checks for errors. The files are processed # repeatedl...
Shell
#!/bin/bash # # $Id: randpkt-test.sh 33468 2010-07-07 19:53:40Z gerald $ # Randpkt testing script for TShark # # This script uses Randpkt to generate capture files with randomized # content. It runs TShark on each generated file and checks for errors. # The files are processed repeatedly until an error is found. # T...
Shell
#!/bin/bash (set -o igncr) 2>/dev/null && set -o igncr; # hack to force this file to be processed by cygwin bash with -o igncr # needed when this file is exec'd from win32-setup.sh & win64-setup.sh # # $Id: win-setup.sh 35788 2011-02-03 19:33:48Z wmeier $ # This MUST be in...
Shell
#!/bin/bash (set -o igncr) 2>/dev/null && set -o igncr; # hack to force this file to be processed by cygwin bash with -o igncr # needed when this file is exec'd from win32-setup.sh & win64-setup.sh # # $Id: win-setup.sh 35788 2011-02-03 19:33:48Z wmeier $ # This MUST be in...
Shell
#!/bin/bash # # $Id: fuzz-test.sh 36622 2011-04-13 15:36:05Z morriss $ # Fuzz-testing script for TShark # # This script uses Editcap to add random errors ("fuzz") to a set of # capture files specified on the command line. It runs TShark on # each fuzzed file and checks for errors. The files are processed # repeatedl...
Shell
#!/bin/bash # # $Id: textify.sh 32440 2010-04-09 21:42:51Z gerald $ # # Text file conversion script for packaging on Windows # # This script copies a text file from a source to a destination, # converting line endings and adding a ".txt" filename extension # if needed. If the destination is a directory the source file ...
Shell
#!/bin/bash # # $Id: win64-setup.sh 37313 2011-05-19 21:10:26Z gerald $ # 64-bit wrapper for win-setup.sh. export DOWNLOAD_TAG="2011-05-19" export WIRESHARK_TARGET_PLATFORM="win64" WIN_SETUP=`echo $0 | sed -e s/win64/win/` exec $WIN_SETUP $@
Shell
#! /bin/sh # # $Id: make-tapreg-dotc 30297 2009-10-04 10:51:53Z krj $ # # # The first argument is the output filename. # outfile="$1" shift # # The second argument is the directory in which the source files live. # srcdir="$1" shift # # All subsequent arguments are the files to scan. # rm -f ${outfile}-tmp echo '/...
Shell
#! /bin/sh # # $Id: make-dissector-reg 21716 2007-05-07 17:55:42Z gal $ # # # The first argument is the directory in which the source files live. # srcdir="$1" shift # # The second argument is either "plugin" or "dissectors"; if it's # "plugin", we build a plugin.c for a plugin, and if it's # "dissectors", we build ...
Shell
#!/bin/bash # # $Id: test-fuzzed-cap.sh 36622 2011-04-13 15:36:05Z morriss $ # A little script to run tshark on a capture file that failed fuzz testing. # Useful because it sets up ulimits for you. (I'm writing this after having # my machine hang up for like 15 minutes because I wasn't paying attention # while tshark...
Shell
#! /bin/bash # # $Id: idl2wrs.sh.in 35944 2011-02-14 01:44:15Z cmaynard $ # # File : idl2wrs # # Author : Frank Singleton (frank.singleton@ericsson.com) # # Copyright (C) 2001 Frank Singleton, Ericsson Inc. # # This file is a simple shell script wrapper for the IDL to # Wireshark dissector code. # # i...
Shell