Changeset 2fe1f97 for debian


Ignore:
Timestamp:
Apr 30, 2016 6:08:50 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
33629d0, 6bfd39d5
Parents:
30ecded
Message:

Debian: Add runtime dependency on libhttpclient-java,
link to /usr/share/java/httpclient.jar and httpcore.jar.
This is 2 MB of dependencies to replace 20 KB of copied code,
so may not be worth it, esp. for Tails.

Location:
debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • debian/control

    r30ecded r2fe1f97  
    1616 ,gettext
    1717 ,libgetopt-java
     18 ,libhttpclient-java, libhttpcore-java
    1819 ,libgmp-dev (>= 2:5.0.5)
    1920 ,libservice-wrapper-java
     
    7980 gettext-base,
    8081 libgetopt-java,
     82 libhttpclient-java, libhttpcore-java,
    8183 libjetty8-java, libservlet3.0-java,
    8284 glassfish-javaee
  • debian/i2p-router.links

    r30ecded r2fe1f97  
    9090# ubuntu and debian: everywhere
    9191usr/share/java/gnu-getopt.jar usr/share/i2p/lib/gnu-getopt.jar
     92
     93
     94# comment out if not building with libhttpclient-java and libhttpcore-java
     95# ubuntu and debian: everywhere
     96usr/share/java/httpclient.jar usr/share/i2p/lib/httpclient.jar
     97usr/share/java/httpcore.jar usr/share/i2p/lib/httpcore.jar
  • debian/rules

    r30ecded r2fe1f97  
    150150        ln -sf /usr/share/java/gnu-getopt.jar $(CURDIR)/core/java/build/gnu-getopt.jar
    151151
     152        @# debian and ubuntu: everywhere
     153        @/bin/echo -e "with-libhttpclient-java=true" >> $(CURDIR)/override.properties
     154        @mkdir -p $(CURDIR)/core/java/build
     155        ln -sf /usr/share/java/httpclient.jar $(CURDIR)/core/java/build/httpclient.jar
     156        ln -sf /usr/share/java/httpcore.jar $(CURDIR)/core/java/build/httpcore.jar
     157
    152158        TZ=UTC JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ant preppkg-unix javadoc
    153159        echo router.updateDisabled=true > $(I2P)/router.config
Note: See TracChangeset for help on using the changeset viewer.