Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
added debian packaging info
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jun 9, 2016
1 parent aed6a2c commit c56cc8e
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ endif(USE_JAVA_PLUGIN)
# generate config file
add_definitions(-DHAVE_CONFIG_H)
configure_file ("config.h.in" "config.h")
include_directories (".")
include_directories("." "..")


# wrap-up message
Expand Down
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
proxenet (0.4) stable; urgency=low

* Initial release.

-- hugsy <hugsy@blah.cat> Sun, 05 Jun 2016 12:34:48 +0000
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
37 changes: 37 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Source: proxenet
Maintainer: hugsy <hugsy@blah.cat>
Homepage: https://github.com/hugsy/proxenet
Standards-Version: 3.9.3
Section: net
Priority: optional
Architecture: any
Build-Depends:
debhelper (>= 8.0.0),
cmake, pkg-config,
debhelper (>= 9),
dh-exec,
cmake, pkg-config,
python-dev, libpython2.7-dev,
libruby2.3, ruby-dev,
libperl-dev,
liblua5.1-0-dev,
tcl8.6-dev,
openjdk-8-jre-headless,
libmbedtls-dev (>= 2.2.0)

Package: proxenet
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lightweight, fast, hacker-friendly proxy tool for penetration tests
Plugin driven proxy for web application penetration tests, or Man-In-The-Middle attacks.
proxenet is a multi-threaded proxy which allows you to manipulate HTTP requests and responses
using your favorite scripting language (currently supports Python, Ruby, Java, Tcl, Lua, Perl).

Package: proxenet-dbg
Section: debug
Priority: extra
Architecture: amd64
Depends: ${misc:Depends}, proxenet (= ${binary:Version})
Description: The debug information for proxenet package
This package contains GDB debugging symbols for the proxenet packages.

1 change: 1 addition & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyleft 2016, enjoy it -- hugsy
26 changes: 26 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/make -f

BUILDDIR = .

$(BUILDDIR)/Makefile:
cmake . \
-DDEBUG=ON \
-DUSE_C_PLUGIN=ON \
-DUSE_PYTHON_PLUGIN=ON \
-DUSE_JAVA_PLUGIN=ON \
-DUSE_PERL_PLUGIN=ON \
-DUSE_LUA_PLUGIN=ON \
-DUSE_RUBY_PLUGIN=ON

override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build

override_dh_auto_configure:
echo

override_dh_strip:
dh_strip --dbg-package=proxenet-dbg

%:
dh $@ --parallel --builddirectory=$(BUILDDIR)

2 changes: 1 addition & 1 deletion proxenet-plugins

0 comments on commit c56cc8e

Please sign in to comment.