GithubHelp home page GithubHelp logo

unixninja92 / contrib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyphanet/contrib

0.0 2.0 0.0 34.48 MB

Stuff needed for freenet-ext.jar

Home Page: https://freenetproject.org/

Shell 6.70% C 17.63% Makefile 0.63% Java 73.82% C++ 0.27% Groff 0.95%

contrib's Introduction

## Overview

contrib contains the following libraries:

Upstream source
:	The build scripts get these from upstream. These are established projects
	and most OS distributions will have them in their package repository.

	- bdb-je
	- db4o
	- commons-compress

Modified upstream source
: The build scripts get these from upstream, but use a custom build script for
	64 bit windows. These are established projects and most OS distributions will
	have them in their package repository.

		- wrapper

Mirrored source
:	The build scripts get these from the freenet servers, but they have not
	been modified from upstream. These are smaller projects and are unlikely to
	have been packaged by an OS distribution.

	- lzma
	- lzmajio
	- mantissa
	- bitcollider-core

Locally maintained
:	These sources for these are included here in the repo, and we maintain it
	ourselves, because the original projects are no longer actively maintained.

	- jcpuid
	- NativeBigInteger
	- NativeThread
	- onion-common
	- onion-fec

## Build

For Debian Jessie:

    # apt-get install ant ant-contrib maven2
    $ cd freenet-ext
    $ ant

(TODO: detect dependencies; db4o requires maven 2 and commons compress 1.10
requires maven 3)

The build script compiles all the locally-maintained packages, and collects
them into freenet-ext.jar. It then retrieves all the remote source packages,
and builds those.

## Notes on modified upstream libraries

[wrapper]

A custom 64 bit Windows build script was added. Modifications are based on
https://www.krenger.ch/blog/java-service-wrapper-3-5-28-for-windows-x64/

## Notes on locally maintained libraries

[onion-common]

Version 20020926 was imported into contrib on 2006-11-10. You can verify that
this was a clean import by running:

  $ unzip fec-1.0.3/common-20020926.zip common-20020926/*
  $ git checkout 3ebd55031d69ebfd129a83e2433b6fcc20e88b6c fec/common
  $ diff -ru common-20020926 fec/common
  Only in common-20020926: classes
  Only in common-20020926: javadoc
  Only in common-20020926: lib
  [snip]
  $ rm -rf fec/common && git reset --hard HEAD

where fec-1.0.3 is where you extracted Onion FEC 1.0.3.

You can view the changes made since this time, by running

  $ git log -M -- fec/common

[onion-fec]

changes to be made to hg tip at http://bitbucket.org/onionnetworks/fec:

- sed -i -e 's/\n/\r\n/g' src/csrc/Makefile.nmake
- rm src/csrc/fec_win32.c # already empty
- rm src/csrc/w32 # already empty
- add src/csrc/fec8.def
- add src/csrc/fec16.def

contrib's People

Contributors

artefact2 avatar bombe avatar cjsab avatar indeyets avatar infinity0 avatar j16sdiz avatar nextgens avatar sanity avatar thynix avatar toad avatar tommyd avatar unixninja92 avatar xor-freenet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.