diff options
Diffstat (limited to 'sandbox/sebastien/cpp/apr-2/etc')
-rw-r--r-- | sandbox/sebastien/cpp/apr-2/etc/Makefile.am | 21 | ||||
-rw-r--r-- | sandbox/sebastien/cpp/apr-2/etc/git-exclude | 115 | ||||
-rwxr-xr-x | sandbox/sebastien/cpp/apr-2/etc/httpd-ipcrm | 23 | ||||
-rwxr-xr-x | sandbox/sebastien/cpp/apr-2/etc/memgrind | 23 | ||||
-rw-r--r-- | sandbox/sebastien/cpp/apr-2/etc/svn-config | 136 | ||||
-rw-r--r-- | sandbox/sebastien/cpp/apr-2/etc/svn-ignore | 58 |
6 files changed, 376 insertions, 0 deletions
diff --git a/sandbox/sebastien/cpp/apr-2/etc/Makefile.am b/sandbox/sebastien/cpp/apr-2/etc/Makefile.am new file mode 100644 index 0000000000..c9ca6d854f --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/Makefile.am @@ -0,0 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +EXTRA_DIST = git-exclude svn-config svn-ignore + +dist_noinst_SCRIPTS = httpd-ipcrm memgrind + diff --git a/sandbox/sebastien/cpp/apr-2/etc/git-exclude b/sandbox/sebastien/cpp/apr-2/etc/git-exclude new file mode 100644 index 0000000000..77c26ac5f3 --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/git-exclude @@ -0,0 +1,115 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ + +# Generic ignores +target/ +work/ +tmp/ +build/ +*_build +.project +.cproject +.classpath +*.log +junit*.properties +surefire*.properties +.settings/ +.deployables/ +.wtpmodules/ +.pydevproject +.buildpath +.svn/ +.cvs/ +.dotest/ +*.la +*.lo +*.o +*.in +*.so +Makefile +.deps/ +.libs/ +m4/ +*.m4 +config.guess +config.sub +config.status +depcomp +install-sh +ltmain.sh +missing +stamp-h1 +autom4te.cache/ +deploy/ +libtool +configure +config.h +Doxyfile +*.tar +*.tar.gz +*-bin/ +*-src/ +*_Proxy.cpp +*_Proxy.h +*_Wrapper.cpp +*_Wrapper.h +gmon.out +*~ +tags +doxygen +*.pyc +*.class +*.stamp +*.jar +*.prefix +index.yaml +core +gen-cpp/ + +# Specific ignores +kernel-test +string-test +mem-test +hash-test +lambda-test +parallel-test +xml-test +xsd-test +atom-test +eval-test +eval-shell +json-test +client-test +memcache-test +curl-test +scdl-test +python-test +python-shell +jni-test +java-test +java-shell +script-test +axiom-test +axis2-test +qpid-test +xmpp-test +pgsql-test +pgsql-standby-test +tinycdb-test +curl-get +curl-connect +rss-test +scribe-cat +js-test +file-test +xml-value +value-xml +json-value +value-json +element-value +value-element + diff --git a/sandbox/sebastien/cpp/apr-2/etc/httpd-ipcrm b/sandbox/sebastien/cpp/apr-2/etc/httpd-ipcrm new file mode 100755 index 0000000000..b457e7385f --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/httpd-ipcrm @@ -0,0 +1,23 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Remove ipcs created by httpd + +ipcs -s | grep 0x | awk '{ print $2 }' | xargs -i -t ipcrm -s {} + diff --git a/sandbox/sebastien/cpp/apr-2/etc/memgrind b/sandbox/sebastien/cpp/apr-2/etc/memgrind new file mode 100755 index 0000000000..1a220cd5d2 --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/memgrind @@ -0,0 +1,23 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Run valgrind to analyze memory usage and track memory leaks + +valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes $* 2>&1 | tee memgrind.log + diff --git a/sandbox/sebastien/cpp/apr-2/etc/svn-config b/sandbox/sebastien/cpp/apr-2/etc/svn-config new file mode 100644 index 0000000000..4f8cb41685 --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/svn-config @@ -0,0 +1,136 @@ +### This file configures various client-side behaviors. +### +### The commented-out examples below are intended to demonstrate +### how to use this file. + +### Section for authentication and authorization customizations. +[auth] +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes'. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +# store-passwords = no +### Set store-auth-creds to 'no' to avoid storing any subversion +### credentials in the auth/ area of your config directory. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +# store-auth-creds = no + +### Section for configuring external helper applications. +[helpers] +### Set editor to the command used to invoke your text editor. +### This will override the environment variables that Subversion +### examines by default to find this information ($EDITOR, +### et al). +# editor-cmd = editor (vi, emacs, notepad, etc.) +### Set diff-cmd to the absolute path of your 'diff' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff implementation. +# diff-cmd = diff_program (diff, gdiff, etc.) +### Set diff3-cmd to the absolute path of your 'diff3' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff3 implementation. +# diff3-cmd = diff3_program (diff3, gdiff3, etc.) +### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' +### program accepts the '--diff-program' option. +# diff3-has-program-arg = [true | false] + +### Section for configuring tunnel agents. +[tunnels] +### Configure svn protocol tunnel schemes here. By default, only +### the 'ssh' scheme is defined. You can define other schemes to +### be used with 'svn+scheme://hostname/path' URLs. A scheme +### definition is simply a command, optionally prefixed by an +### environment variable name which can override the command if it +### is defined. The command (or environment variable) may contain +### arguments, using standard shell quoting for arguments with +### spaces. The command will be invoked as: +### <command> <hostname> svnserve -t +### (If the URL includes a username, then the hostname will be +### passed to the tunnel agent as <user>@<hostname>.) If the +### built-in ssh scheme were not predefined, it could be defined +### as: +# ssh = $SVN_SSH ssh +### If you wanted to define a new 'rsh' scheme, to be used with +### 'svn+rsh:' URLs, you could do so as follows: +# rsh = rsh +### Or, if you wanted to specify a full path and arguments: +# rsh = /path/to/rsh -l myusername +### On Windows, if you are specifying a full path to a command, +### use a forward slash (/) or a paired backslash (\\) as the +### path separator. A single backslash will be treated as an +### escape for the following character. + +### Section for configuring miscelleneous Subversion options. +[miscellany] +### Set global-ignores to a set of whitespace-delimited globs +### which Subversion will ignore in its 'status' output. +# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store +### Set log-encoding to the default encoding for log messages +# log-encoding = latin1 +### Set use-commit-times to make checkout/update/switch/revert +### put last-committed timestamps on every file touched. +# use-commit-times = yes +### Set no-unlock to prevent 'svn commit' from automatically +### releasing locks on files. +# no-unlock = yes +### Set enable-auto-props to 'yes' to enable automatic properties +### for 'svn add' and 'svn import', it defaults to 'no'. +### Automatic properties are defined in the section 'auto-props'. +enable-auto-props = yes + +### Section for configuring automatic properties. +[auto-props] +### The format of the entries is: +### file-name-pattern = propname[=value][;propname[=value]...] +### The file-name-pattern can contain wildcards (such as '*' and +### '?'). All entries which match will be applied to the file. +### Note that auto-props functionality must be enabled, which +### is typically done by setting the 'enable-auto-props' option. +# *.c = svn:eol-style=native +# *.cpp = svn:eol-style=native +# *.h = svn:eol-style=native +# *.dsp = svn:eol-style=CRLF +# *.dsw = svn:eol-style=CRLF +# *.sh = svn:eol-style=native;svn:executable +# *.txt = svn:eol-style=native +# *.png = svn:mime-type=image/png +# *.jpg = svn:mime-type=image/jpeg +# Makefile = svn:eol-style=native + +*.c = svn:eol-style=native;svn:keywords=Rev Date +*.cpp = svn:eol-style=native;svn:keywords=Rev Date +*.h = svn:eol-style=native;svn:keywords=Rev Date +*.dsp = svn:eol-style=CRLF +*.dsw = svn:eol-style=CRLF +*.sh = svn:eol-style=native;svn:executable;svn:keywords=Rev Date +*.bat = svn:eol-style=native;svn:keywords=Rev Date +*.txt = svn:eol-style=native;svn:keywords=Rev Date +*.png = svn:mime-type=image/png +*.jpg = svn:mime-type=image/jpeg +*.am = svn:eol-style=native;svn:keywords=Rev Date +*.ac = svn:eol-style=native;svn:keywords=Rev Date +*.xml = svn:eol-style=native;svn:keywords=Rev Date +*.xsd = svn:eol-style=native;svn:keywords=Rev Date +*.html = svn:eol-style=native;svn:keywords=Rev Date +*.wsdl = svn:eol-style=native;svn:keywords=Rev Date +*.xsd = svn:eol-style=native;svn:keywords=Rev Date +*.composite = svn:eol-style=native;svn:keywords=Rev Date +*.componentType = svn:eol-style=native;svn:keywords=Rev Date +*.rb = svn:eol-style=native;svn:keywords=Rev Date +*.py = svn:eol-style=native;svn:keywords=Rev Date +*.php = svn:eol-style=native;svn:keywords=Rev Date +*.js = svn:eol-style=native;svn:keywords=Rev Date +*.java = svn:eol-style=native;svn:keywords=Rev Date +*.properties = svn:eol-style=native;svn:keywords=Rev Date +*.jelly = svn:eol-style=native;svn:keywords=Rev Date +*.ipr = svn:eol-style=native +*.iml = svn:eol-style=native +*.project = svn:eol-style=native +*.classpath = svn:eol-style=native +README = svn:eol-style=native;svn:keywords=Rev Date +LICENSE = svn:eol-style=native +NOTICE = svn:eol-style=native + diff --git a/sandbox/sebastien/cpp/apr-2/etc/svn-ignore b/sandbox/sebastien/cpp/apr-2/etc/svn-ignore new file mode 100644 index 0000000000..e93f10efc4 --- /dev/null +++ b/sandbox/sebastien/cpp/apr-2/etc/svn-ignore @@ -0,0 +1,58 @@ +configure +Makefile.in +depcomp +config.guess +config.h +config.sub +ltmain.sh +Makefile +config.status +stamp-h1 +config.h.in +libtool +autom4te.cache +missing +aclocal.m4 +install-sh +.deps +*.dat +.libs +tmp +build +.project +.cdtproject +.settings +*_Proxy.cpp +*_Proxy.h +*_Wrapper.cpp +*_Wrapper.h +.pydevproject +.buildpath +*.lib +*.dll +*.exe +*.suo +*.ncb +*.user +*.pdb +Debug +Release +gmon.out +m4 +*.tar.gz +*.pyc +*.log +*-bin +*-src +Doxyfile +*~ +tags +doxygen +*.stamp +*.class +*.jar +*.prefix +target +index.yaml +core +gen-cpp |