still not building but WIP end of night

master
Anonymous 1 year ago
parent 054b5c2e99
commit eeb9efd287

2
debian/control vendored

@ -1,7 +1,7 @@
Source: jtorctl
Section: java
Priority: optional
Maintainer: TBA
Maintainer: TBA <TBA@TBA.com>
Build-Depends: debhelper (>= 7), javahelper, default-jdk
Standards-Version: 3.9.1
Homepage: https://code.briarproject.org/briar/jtorctl

1
debian/javabuild vendored

@ -0,0 +1 @@
jtorctl.jar src

@ -1,12 +0,0 @@
Package: jtorctl-java
Source: jtorctl
Version: 0.5+devuan1
Architecture: all
Maintainer: TBA
Installed-Size: 7
Section: java
Priority: optional
Homepage: https://code.briarproject.org/briar/jtorctl
Description: tor control objects for java
Allows for java programas to interact with running tor system.
Used by Briar Instant Messenger to interact with Tor.

@ -1 +0,0 @@
6d096781a256fb9df16c8338de4c9812 usr/share/doc/jtorctl-java/changelog.gz

@ -0,0 +1 @@
jtorctl.jar usr/share/jtorctl

@ -0,0 +1 @@
usr/share/jtorctl/jtorctl.jar usr/bin

45
debian/rules vendored

@ -2,47 +2,6 @@
export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/csv.jar:/usr/share/java/debug-disable.jar:/usr/share/java/itext.jar
build: build-stamp
%:
dh $@ --with javahelper#!/usr/bin/make -f
build-stamp:
dh_testdir
jh_build jtorctl.jar src
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp jtorctl.jar
jh_build --clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
binary-arch: build install
# Java packages are arch: all, nothing to do here
binary-indep: build install
# Create the package here
dh_testdir
dh_testroot
dh_prep
dh_install -i
dh_installdocs -i
dh_installchangelogs -i
jh_manifest -i
dh_link -i
jh_exec -i
jh_depends -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

@ -1,3 +0,0 @@
Manifest-Version: 1.0
Created-By: 11.0.15 (Debian)

@ -145,8 +145,8 @@ public interface TorControlCommands {
"No such OR",
};
String HS_ADDRESS = "onionAddress";
String HS_PRIVKEY = "onionPrivKey";
// String HS_ADDRESS = "onionAddress";
// String HS_PRIVKEY = "onionPrivKey";
public static final String HS_ADDRESS = "onionAddress";
public static final String HS_PRIVKEY = "onionPrivKey";

@ -263,8 +263,8 @@ public class TorControlConnection implements TorControlCommands {
/**
* Sets <b>w</b> as the PrintWriter for debugging output, which writes out all messages passed
* between Tor and the controller. Outgoing messages are preceded by "\>\>" and incoming
* messages are preceded by "\<\<"
* between Tor and the controller. Outgoing messages are preceded by >> and incoming
* messages are preceded by << without spaces
*/
public void setDebugging(PrintWriter w) {
debugOutput = w;
@ -272,8 +272,8 @@ public class TorControlConnection implements TorControlCommands {
/**
* Sets <b>s</b> as the PrintStream for debugging output, which writes out all messages passed
* between Tor and the controller. Outgoing messages are preceded by "\>\>" and incoming
* messages are preceded by "\<\<"
* between Tor and the controller. Outgoing messages are preceded by >> and incoming
* messages are preceded by <<
*/
public void setDebugging(PrintStream s) {
debugOutput = new PrintWriter(s, true);

Loading…
Cancel
Save