mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Deal with the aftermath of sorting contrib
This basically amounts to grepping for every file that mentioned contrib and adjusting its references to refer to the right place.
This commit is contained in:
parent
9230bc7c65
commit
703ad69587
19
.gitignore
vendored
19
.gitignore
vendored
@ -26,6 +26,7 @@
|
||||
*.bak
|
||||
# Python droppings
|
||||
*.pyc
|
||||
*.pyo
|
||||
|
||||
# /
|
||||
/Makefile
|
||||
@ -60,20 +61,10 @@
|
||||
/tor-*-win32.exe
|
||||
|
||||
# /contrib/
|
||||
/contrib/Makefile
|
||||
/contrib/Makefile.in
|
||||
/contrib/tor.sh
|
||||
/contrib/torctl
|
||||
/contrib/torify
|
||||
/contrib/*.pyc
|
||||
/contrib/*.pyo
|
||||
/contrib/tor.logrotate
|
||||
/contrib/tor.wxs
|
||||
|
||||
# /contrib/suse/
|
||||
/contrib/suse/tor.sh
|
||||
/contrib/suse/Makefile.in
|
||||
/contrib/suse/Makefile
|
||||
/contrib/dist/tor.sh
|
||||
/contrib/dist/torctl
|
||||
/contrib/operator-tools/tor.logrotate
|
||||
/contrib/dist/suse/tor.sh
|
||||
|
||||
# /debian/
|
||||
/debian/files
|
||||
|
@ -77,7 +77,7 @@ reset-gcov:
|
||||
# Avoid strlcpy.c, strlcat.c, aes.c, OpenBSD_malloc_Linux.c, sha256.c,
|
||||
# eventdns.[hc], tinytest*.[ch]
|
||||
check-spaces:
|
||||
./contrib/checkSpace.pl -C \
|
||||
./scripts/maint/checkSpace.pl -C \
|
||||
src/common/*.[ch] \
|
||||
src/or/*.[ch] \
|
||||
src/test/*.[ch] \
|
||||
@ -85,10 +85,10 @@ check-spaces:
|
||||
src/tools/tor-fw-helper/*.[ch]
|
||||
|
||||
check-docs:
|
||||
./contrib/checkOptionDocs.pl
|
||||
./scripts/maint/checkOptionDocs.pl
|
||||
|
||||
check-logs:
|
||||
./contrib/checkLogs.pl \
|
||||
./scripts/maint/checkLogs.pl \
|
||||
src/*/*.[ch] | sort -n
|
||||
|
||||
version:
|
||||
|
7
changes/ticket8966
Normal file
7
changes/ticket8966
Normal file
@ -0,0 +1,7 @@
|
||||
o Package cleanup:
|
||||
- The contrib directory has been sorted and tidy. Before, it was an
|
||||
unsorted dumping ground for useful and not-so-useful things. Now,
|
||||
it has been divided based on functionality, and the items which
|
||||
seemed to be nonfunctional or useless have been removed. Resolves
|
||||
ticket 8966; based on patches from "rl1987".
|
||||
|
12
configure.ac
12
configure.ac
@ -1557,10 +1557,10 @@ CPPFLAGS="$CPPFLAGS $TOR_CPPFLAGS_libevent $TOR_CPPFLAGS_openssl $TOR_CPPFLAGS_z
|
||||
AC_CONFIG_FILES([
|
||||
Doxyfile
|
||||
Makefile
|
||||
contrib/suse/tor.sh
|
||||
contrib/tor.logrotate
|
||||
contrib/tor.sh
|
||||
contrib/torctl
|
||||
contrib/dist/suse/tor.sh
|
||||
contrib/operator-tools/tor.logrotate
|
||||
contrib/dist/tor.sh
|
||||
contrib/dist/torctl
|
||||
src/config/torrc.sample
|
||||
])
|
||||
|
||||
@ -1582,6 +1582,6 @@ fi
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
if test -x /usr/bin/perl && test -x ./contrib/updateVersions.pl ; then
|
||||
./contrib/updateVersions.pl
|
||||
if test -x /usr/bin/perl && test -x ./scripts/maint/updateVersions.pl ; then
|
||||
./scripts/maint/updateVersions.pl
|
||||
fi
|
||||
|
1
contrib/dist/suse/include.am
vendored
1
contrib/dist/suse/include.am
vendored
@ -1 +0,0 @@
|
||||
EXTRA_DIST+= contrib/suse/tor.sh
|
@ -1,18 +1,16 @@
|
||||
include contrib/suse/include.am
|
||||
|
||||
EXTRA_DIST+= \
|
||||
contrib/cross.sh \
|
||||
contrib/exitlist \
|
||||
contrib/linux-tor-prio.sh \
|
||||
contrib/package_nsis-mingw.sh \
|
||||
contrib/rc.subr \
|
||||
contrib/tor-ctrl.sh \
|
||||
contrib/tor-exit-notice.html \
|
||||
contrib/tor-mingw.nsi.in \
|
||||
contrib/tor.ico \
|
||||
contrib/tor.nsi.in \
|
||||
contrib/tor.sh \
|
||||
contrib/torify \
|
||||
contrib/torctl
|
||||
contrib/client-tools/torify \
|
||||
contrib/dist/rc.subr \
|
||||
contrib/dist/suse/tor.sh.in \
|
||||
contrib/dist/tor.sh \
|
||||
contrib/dist/torctl \
|
||||
contrib/operator-tools/linux-tor-prio.sh \
|
||||
contrib/operator-tools/tor-exit-notice.html \
|
||||
contrib/or-tools/exitlist \
|
||||
contrib/win32build/package_nsis-mingw.sh \
|
||||
contrib/win32build/tor-mingw.nsi.in \
|
||||
contrib/win32build/tor.ico \
|
||||
contrib/win32build/tor.nsi.in
|
||||
|
||||
bin_SCRIPTS+= contrib/torify
|
||||
bin_SCRIPTS+= contrib/client-tools/torify
|
||||
|
@ -40,7 +40,7 @@
|
||||
# you know what you are doing.
|
||||
|
||||
# Start in the tor source directory after you've compiled tor.exe
|
||||
# This means start as ./contrib/package_nsis-mingw.sh
|
||||
# This means start as ./contrib/win32build/package_nsis-mingw.sh
|
||||
|
||||
rm -rf win_tmp
|
||||
mkdir win_tmp
|
||||
@ -56,7 +56,7 @@ mkdir win_tmp/tmp
|
||||
|
||||
cp src/or/tor.exe win_tmp/bin/
|
||||
cp src/tools/tor-resolve.exe win_tmp/bin/
|
||||
cp contrib/tor.ico win_tmp/bin/
|
||||
cp contrib/win32build/tor.ico win_tmp/bin/
|
||||
cp src/config/geoip win_tmp/bin/
|
||||
strip win_tmp/bin/*.exe
|
||||
|
||||
@ -88,7 +88,7 @@ done
|
||||
|
||||
clean_localstatedir src/config/torrc.sample.in win_tmp/src/config/torrc.sample
|
||||
|
||||
cp contrib/tor-mingw.nsi.in win_tmp/contrib/
|
||||
cp contrib/win32build/tor-mingw.nsi.in win_tmp/contrib/
|
||||
|
||||
cd win_tmp
|
||||
makensis.exe contrib/tor-mingw.nsi.in
|
||||
|
@ -122,7 +122,7 @@ Running gcov for unit test coverage
|
||||
make
|
||||
make check
|
||||
mkdir coverage-output
|
||||
./contrib/coverage coverage-output
|
||||
./scripts/test/coverage coverage-output
|
||||
-----
|
||||
|
||||
(On OSX, you'll need to start with "--enable-coverage CC=clang".)
|
||||
@ -142,7 +142,7 @@ If you have two different "coverage-output" directories, and you want to see
|
||||
a meaningful diff between them, you can run:
|
||||
|
||||
-----
|
||||
./contrib/cov-diff coverage-output1 coverage-output2 | less
|
||||
./scripts/test/cov-diff coverage-output1 coverage-output2 | less
|
||||
-----
|
||||
|
||||
In this diff, any lines that were visited at least once will have coverage
|
||||
|
@ -1782,7 +1782,7 @@ if DirPort is non-zero):
|
||||
When this option is set, it takes an HTML file and publishes it as "/" on
|
||||
the DirPort. Now relay operators can provide a disclaimer without needing
|
||||
to set up a separate webserver. There's a sample disclaimer in
|
||||
contrib/tor-exit-notice.html.
|
||||
contrib/operator-tools/tor-exit-notice.html.
|
||||
|
||||
[[V3AuthoritativeDirectory]] **V3AuthoritativeDirectory** **0**|**1**::
|
||||
When this option is set in addition to **AuthoritativeDirectory**, Tor
|
||||
|
@ -10,7 +10,7 @@
|
||||
# to tell you where documentation should go!
|
||||
# To use me, edit the stuff below...
|
||||
# ...and run 'make doxygen 2>doxygen.stderr' ...
|
||||
# ...and run ./contrib/redox.py < doxygen.stderr !
|
||||
# ...and run ./scripts/maint/redox.py < doxygen.stderr !
|
||||
# I'll make a bunch of new files by adding missing DOCDOC comments to your
|
||||
# source. Those files will have names like ./src/common/util.c.newdoc.
|
||||
# You will want to look over the changes by hand before checking them in.
|
||||
@ -21,7 +21,7 @@
|
||||
# 1. make doxygen 1>doxygen.stdout 2>doxygen.stderr.
|
||||
# 2. grep Warning doxygen.stderr | grep -v 'is not documented' | less
|
||||
# [This will tell you about all the bogus doxygen output you have]
|
||||
# 3. python ./contrib/redox.py <doxygen.stderr
|
||||
# 3. python ./scripts/maint/redox.py <doxygen.stderr
|
||||
# [This will make lots of .newdoc files with DOCDOC comments for
|
||||
# whatever was missing documentation.]
|
||||
# 4. Look over those .newdoc files, and see which docdoc comments you
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
$CONFIGURE_IN = './configure.ac';
|
||||
$ORCONFIG_H = './src/win32/orconfig.h';
|
||||
$TOR_NSI = './contrib/tor-mingw.nsi.in';
|
||||
$TOR_NSI = './contrib/win32build/tor-mingw.nsi.in';
|
||||
|
||||
$quiet = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user