code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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
#
# 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/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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 a... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2010-11-15.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it un... | 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 |
# Generated from ltmain.m4sh.
# libtool (GNU libtool) 2.2.10
# 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 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. T... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-04-16.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
scriptversion=2010-08-21.06; # UTC
# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009, 2010
# Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you ... | 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
# py-compile - Compile a Python program
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 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-2011 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
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2010-02-06.18; # UTC
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
# 2007, 2009, 2010 Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it a... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.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
set -e
#
# usage: util/overlap.sh [directory]
#
# This script runs the overlap example program on a complete directory tree.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
OVERLAP="overlap"
test -x ./examples/overlap && OVERLAP="./examples/overlap"
test -x ./overlap.exe && OVERLAP="./o... | Shell |
#! /bin/sh
set -e
#
# usage: util/checkasm.sh [directory]
#
# This script runs lzotest with all assembler decompressors
# on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST=... | Shell |
#! /bin/sh
set -e
#
# usage: util/check.sh [directory]
#
# This script runs lzotest with all algorithms on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest... | 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
# vi:ts=4:et
# Copyright (C) 1996-2011 Markus F.X.J. Oberhumer
rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out
true
| Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Using GNU C compiler."
echo "//"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
UNAME_MACHINE=unknown
CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
CFLAGS="-Wall -O2 -fomit-frame-pointer"
# delete the next line to disable assembler support
UNAME_MACHINE... | Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Copyright (C) 1996-2011 Markus F.X.J. Oberhumer"
echo "//"
echo "// Generic Posix/Unix system"
echo "// Generic C compiler"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
test "X${AR}" = X && AR="ar"
test "X${CC}" = X && CC="cc"
test "X${CFLAGS+... | Shell |
#! /bin/sh
# vi:ts=4:et
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
LZO_CFG_FREESTANDING=1
. $top_srcdir/B/generic/build.sh
| Shell |
#! /bin/sh
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
langtoinclude="ca cs de es et fr id ... | 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 |
#!/bin/sh
echo -n > table.tmp
for i in maps/* ; do
name=`basename $i`
case $name in
README | CVS)
;;
*)
cat $i | grep -v '^#' | sed -e 's/[:space:]*#.*$//' | awk "{ printf \"%s %s:%s\\n\", \$NF, \"$name\", \$1 }" >> table.tmp
;;
esac
done
sort table.tmp > table
rm table.tmp
| Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | 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
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois 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 General Public Licen... | Shell |
#!/bin/sh
sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
| Shell |
#! /bin/sh
LOGFILE=runtests.log
POTENTIAL_TESTS='testboundaries testcolor'
ECHO_C=''
ECHO_N='-n'
for I in $POTENTIAL_TESTS
do
GOOD=yes
test -f $I || {
echo "WARNING: test program $I not found, not running"
GOOD=no
}
if test x$GOOD = xyes; then
test -x $I || {
echo... | Shell |
#! @SHELL@
LOGFILE=runtests.log
POTENTIAL_TESTS='testboundaries testcolor'
ECHO_C='@ECHO_C@'
ECHO_N='@ECHO_N@'
for I in $POTENTIAL_TESTS
do
GOOD=yes
test -f $I || {
echo "WARNING: test program $I not found, not running"
GOOD=no
}
if test x$GOOD = xyes; then
test -x $I || {
... | 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
# Build zipfiles for Pango on Win32: separate runtime and developer packages
ZIP=/tmp/pango-1.2.4-`date +%Y%m%d`.zip
DEVZIP=/tmp/pango-dev-1.2.4-`date +%Y%m%d`.zip
cd /usr
DLLDIR=lib
[ -f bin/libpango-1.0-0.dll ] && DLLDIR=bin
rm $ZIP
zip $ZIP -@ <<EOF
bin/pango-querymodules.exe
etc/pango/pango.aliases
et... | Shell |
#!/bin/sh
# Build zipfiles for Pango on Win32: separate runtime and developer packages
ZIP=/tmp/pango-@PANGO_VERSION@-`date +%Y%m%d`.zip
DEVZIP=/tmp/pango-dev-@PANGO_VERSION@-`date +%Y%m%d`.zip
cd @prefix@
DLLDIR=lib
[ -f bin/libpango-@PANGO_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
rm $ZIP
zip $ZIP -... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#!/bin/sh
# Build zipfiles for GTK on Win32
ZIP=/tmp/gtk+-@GTK_VERSION@-`date +%Y%m%d`.zip
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@-`date +%Y%m%d`.zip
cd @prefix@
rm $ZIP
DLLDIR=lib
[ -f bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
etc/gtk-2.0
$DLLDIR/l... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois 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 General Public Licen... | Shell |
#!/bin/sh
sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
| Shell |
find . -name '*.[ch]' -print | xargs -n100 perl -pi -e 'if (/(^.*g_object_notify\s*\(\s*)(.*,\s*"[^"]*_[^"]*")/) { $pre = $1; $prop = $2; $rest = $'"'"'; $prop =~ s/_/-/g; $_ = "$pre$prop$rest"; }'
| Shell |
list='aa.c gtkcombo.c gtkimagemenuitem.c gtkoldeditable.c gtkstyle.c gtktreemodelsort.c
fnmatch.c gtkcontainer.c gtkimcontext.c gtkoptionmenu.c gtktable.c gtktreeselection.c
gtkaccelgroup.c gtkctree.c gtkimcontex... | Shell |
#!/bin/sh
copyright_glib ()
{
cat << EOF
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License a... | 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
VERSION=$1
if [ ! -f glib-$VERSION.tar.gz ]; then
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS README glib.spec docs/glib-config.1
do
echo -n "$file... "
if [ "x`grep $VERSION glib... | Shell |
#! /bin/sh
#
# Copyright (C) 1995-1998, 2000, 2001 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 version 2, or (at your option)
# any later version.
#
#... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois 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 General Public Licen... | Shell |
#!/bin/sh
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
ZIP=/tmp/glib-@GLIB_VERSION@.zip
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
cd @prefix@
rm $ZIP
DLLDIR=lib
[ -f bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
zip $ZIP -@ <<EOF
COPYIN... | 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
# Output a system dependent table of character encoding aliases.
#
# Copyright (C) 2000-2002 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
# by the Free Software Found... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//`
for i in localch... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//`
echo "# ... | 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-2003 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is ... | Shell |
#!/bin/bash
recode latin1..utf-8 </usr/share/i2e/i2e.dict >i2e.dict.utf
gcc -g `pkg-config --cflags --libs glib-2.0` i2e2dict.c -o i2e2dict
./i2e2dict
rm i2e.dict.utf
echo "Restart StarDict now!"
| Shell |
#!/bin/sh
# Create images for StarDict, like application icon, tray icons, Acrobat plugin icons
# StarDict icons may be created from a single multilayer image.
# Most layers are used only for specific icon types, but images of two books are present
# on all icons. This script deletes layers, resize image and change co... | Shell |
#!/bin/bash
gcc `pkg-config --cflags --libs glib-2.0` ooo2dict.c -o ooo2dict
echo |./ooo2dict 2>/dev/null
recode latin1..utf-8 </usr/share/myspell/dicts/th_de_DE_v2.dat >th_de_DE_v2.dat.utf
echo "OpenThesaurus.de_German" |./ooo2dict th_de_DE_v2.dat.utf 2>/dev/null
recode latin1..utf-8 </usr/share/myspell/dicts/th_it_... | Shell |
#!/bin/bash
# dictd2dic conversion script
#
# Usage: dictd2dic.sh mueller7
#
cd /usr/share/dictd
if test -e $1.dict.dz; then dictunzip $1.dict.dz; fi
if test -e $1.dict; then
echo "Please wait..."
touch $1.idxhead
echo "StarDict's dict ifo file" >dictd_www.mova.org_$1.ifo
echo version=2.4.2 >>dictd_www.mova.org_$1.ifo... | Shell |
#!/bin/bash
gcc exc2i2e.c -o exc2i2e
rename /usr/share/stardict/dic/i2e /usr/share/stardict/dic/temp /usr/share/stardict/dic/i2e.* 2>/dev/null
rename /usr/share/stardict/dic/e2i /usr/share/stardict/dic/temp2 /usr/share/stardict/dic/e2i.* 2>/dev/null
./exc2i2e >t
/usr/lib/stardict/i2e2dict t
rm t
rename /usr/share/sta... | Shell |
#!/bin/bash
gcc `pkg-config --cflags --libs glib-2.0` myspell2dic.c -o myspell2dic
echo "Please wait..."
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.dic >es_ES.dic.utf
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.aff >es_ES.aff.utf
echo |./myspell2dic es_ES.dic.utf es_ES.aff.utf 2>/dev/null
recode ko... | Shell |
#!/bin/sh
echo "Boostrapping StarDict tools..."
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have libtool installed to compile Stardict";
echo;
exit;
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile Stardict";
ech... | 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-2003 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is ... | Shell |
#!/bin/sh
# postrm script for stardict
set -e
case "$1" in
remove)
# if [ -x /usr/bin/scrollkeeper-update ]; then
# /usr/bin/scrollkeeper-update -q
# fi
;;
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'"... | Shell |
#!/bin/sh
# postinst script for stardict
set -e
case "$1" in
configure)
# if [ -e /etc/gconf/schemas/stardict.schemas ]; then
# HOME=/root \
# GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
# /usr/bin/gconftool-2 \
# --makefile-install-rule /etc/gconf/schemas/stardict.schemas ... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
echo "Boostrapping StarDict dictionary..."
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="stardict"
REQUIRED_AUTOMAKE_VERSION=1.9
(test -f $srcdir/configure.ac \
&& test -f $srcdir/ChangeLog \
&& test -d $srcdir/src) || {
echo -n ... | Shell |
#!/bin/sh
echo "Bootstrapping StarDict root..."
# (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
# echo;
# echo "You must have libtool installed to compile StarDict";
# echo;
# exit;
# }
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile Sta... | Shell |
#!/bin/sh
echo "Boostrapping common lib..."
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have libtool installed to compile common lib";
echo;
exit;
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile common lib";
ech... | Shell |
#!/bin/bash
NAME=Arity
SRCS=src/calculator/Calculator.java
LIBS=`find libs -name "*.jar"`
KEYSTORE=/home/preda/cheie/and
KEYALIAS=and
SDK=/home/preda/sdk
PLATFORM=$SDK/platforms/android-2.1/
AAPT=$PLATFORM/tools/aapt
DX=$PLATFORM/tools/dx
AJAR=$PLATFORM/android.jar
PKRES=bin/resource.ap_
PROGUARD=/home/preda/proguard... | Shell |
#!/bin/sh
cat toolbox.xml | \
sed 's/Left/XXXXX/g' | \
sed 's/Right/Left/g' | \
sed 's/XXXXX/Right/g' | \
sed 's/toolbox_undo/XXXXX/g' | \
sed 's/toolbox_redo/toolbox_undo/g' | \
sed 's/XXXXX/toolbox_redo/g' | \
sed 's/toolbox_next/XXXXX/g' | \
sed 's/toolbox_prev/toolbox_next/g' | \
... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ... | 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
eval `grep '^HPDF_EXTRA_VERSION=' configure.in`
case "$HPDF_EXTRA_VERSION" in
*-dev)
rebuildok=1
;;
*)
rebuildok=0
;;
esac
cvsclean=0
while test $# -gt 0; do
if test "$1" = "--force"; then
rebuildok=1
echo "Forcing buildconf"
fi
if test "$1" = "--clean"; then
cvsclean=... | 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
./configure --system-name=GCC
mv Makefile script/Makefile.gcc
./configure --system-name=GCC --shared
mv Makefile script/Makefile.gcc_so
./configure --system-name=CYGWIN
mv Makefile script/Makefile.cygwin
./configure --system-name=CYGWIN --shared
mv Makefile script/Makefile.cygwin_dll
./configure --system-name... | Shell |
#!/bin/sh
#
# make resource files for each platforms
#
_VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0"
_VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0"
_COMPILER=""
which windres
if [ $? -ne 0 ]; then
echo "windres does not exist."
... | 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
pushd /home/vbraun/Eclipse/workspace/Quill
javah -jni -d jni -classpath bin/classes org.libharu.Document
javah -jni -d jni -classpath bin/classes org.libharu.Page
javah -jni -d jni -classpath bin/classes org.libharu.Font
/home/vbraun/opt/android-ndk-r6b/ndk-build
popd
| Shell |
#!/bin/sh
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
# build_config.mk will set the following variables:
# - PORT_CFLAGS will either set:
# -DLEVELDB_PLATFORM_POSIX if cstatomic is present
# -DLEVELDB_PLATFORM_NOATOMI... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-10-14.15
# 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
sudo launchctl stop com.fsb.logKext
sudo launchctl unload /Library/LaunchDaemons/logKext.plist
sudo /Library/Application\ Support/logKext/logKextKeyGen remove
sudo rm -f /Library/LaunchDaemons/logKext.plist
sudo rm -rf /System/Library/Extensions/logKext.kext
sudo rm -rf /Library/Application\ Support/logKext
... | Shell |
#!/bin/sh
/usr/bin/find /System/Library/Extensions/logKext.kext -exec /bin/chmod -R g-w {} \;
/sbin/kextunload -b com.fsb.kext.logKext
/sbin/kextload /System/Library/Extensions/logKext.kext
/Library/Application\ Support/logKext/logKextKeyGen
/bin/launchctl load /Library/LaunchDaemons/logKext.plist
/usr/bin/open /LogKe... | 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 |
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@"
OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@"
OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@"
OPENVPN_PACKAGE_HOST="@host@"
| Shell |
#!@SHELL@
#
# run OpenVPN client against ``test reference'' server
# - check that ping, http, ... via tunnel works
# - check that interface config / routes are properly cleaned after test end
#
# prerequisites:
# - openvpn binary in current directory
# - writable current directory to create subdir for logs
# - t_client... | Shell |
#! /bin/sh
#
# t_lpback.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005 Matthias Andree
# Copyright (C) 2014 Steffan Karger
#
# 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;... | Shell |
#! /bin/sh
#
# t_cltsrv.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005, 2006, 2008 Matthias Andree
#
# 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 version 2
# of th... | Shell |
#! /bin/sh
echo "${role}:${signal}" >&3
| Shell |
#!/bin/sh
#
# Bring up vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# add the stuff that doesn't change if it's not already there
grep -q '^202 ' /etc/iproute2/rt_tables
if [ "$?" -ne 0 ]
then
echo 202 vpn.out >> /e... | Shell |
#!/bin/sh
#
# Bring down vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# clear routing via VPN
ip route del "$remote_network"/"$remote_netmask_bits" via "$5" table vpn.out
ip route del table vpnonly.out via "$5"
iptabl... | Shell |
#!/bin/sh
# Sample script to perform OCSP queries with OpenSSL
# given a certificate serial number.
# If you run your own CA, you can set up a very simple
# OCSP server using the -port option to "openssl ocsp".
# Full documentation and examples:
# http://www.openssl.org/docs/apps/ocsp.html
# Edit the following val... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically sets the proper /etc/resolv.conf entries
# as pulled down from an OpenVPN server.... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically removes the /etc/resolv.conf entries previously
# set by the companion script "cl... | Shell |
#!/bin/sh
####################################
# Tear Down Ethernet bridge on Linux
####################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged together
tap="tap0"
ifconfig $br down
brctl delbr $br
for t in $tap; do
openvpn --rmtun --dev $t
done
| Shell |
#!/bin/sh
#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged... | Shell |
#!/bin/sh
route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
| Shell |
#!/bin/sh
# stop all openvpn processes
killall -TERM openvpn
| Shell |
#!/bin/sh
# A Sample OpenVPN-aware firewall.
# eth0 is connected to the internet.
# eth1 is connected to a private subnet.
# Change this subnet to correspond to your private
# ethernet subnet. Home will use HOME_NET/24 and
# Office will use OFFICE_NET/24.
PRIVATE=10.0.0.0/24
# Loopback address
LOOP=127.0.0.1
# De... | Shell |
#!/bin/sh
# A sample OpenVPN startup script
# for Linux.
# openvpn config file directory
dir=/etc/openvpn
# load the firewall
$dir/firewall.sh
# load TUN/TAP kernel module
modprobe tun
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# Invoke openvpn for each VPN tunnel
# in daemon mode. Alternative... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.