Skip to content

Commit

Permalink
* resolve this bug: openresty-debug deb package should not
Browse files Browse the repository at this point in the history
  produce resty and restydoc sub-packages.
  (happyaron#2)
  • Loading branch information
shell909090 committed Apr 30, 2017
1 parent 598724c commit 83a34f1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 57 deletions.
36 changes: 18 additions & 18 deletions deb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,59 @@
## X-URL:


download-zlib:
zlib-download:
wget 'http://www.zlib.net/fossils/zlib-1.2.11.tar.gz'
ln -s zlib-1.2.11.tar.gz openresty-zlib_1.2.11.dfsg.orig.tar.gz
-ln -s zlib-1.2.11.tar.gz openresty-zlib_1.2.11.dfsg.orig.tar.gz

build-zlib:
zlib-build:
tar xf openresty-zlib_1.2.11.dfsg.orig.tar.gz --strip-components=1 -C openresty-zlib
-cd openresty-zlib; debuild

clean-zlib:
zlib-clean:
cd openresty-zlib; debclean
find openresty-zlib -maxdepth 1 ! -name 'debian' ! -name 'openresty-zlib' -print | xargs rm -rf

download-openssl:
openssl-download:
wget 'https://www.openssl.org/source/openssl-1.0.2k.tar.gz'
ln -s openssl-1.0.2k.tar.gz openresty-openssl_1.0.2k.orig.tar.gz
ln -s openssl-1.0.2k.tar.gz openresty-openssl-debug_1.0.2k.orig.tar.gz
-ln -s openssl-1.0.2k.tar.gz openresty-openssl_1.0.2k.orig.tar.gz
-ln -s openssl-1.0.2k.tar.gz openresty-openssl-debug_1.0.2k.orig.tar.gz

build-openssl:
openssl-build:
tar xf openresty-openssl_1.0.2k.orig.tar.gz --strip-components=1 -C openresty-openssl
-cd openresty-openssl; debuild
tar xf openresty-openssl-debug_1.0.2k.orig.tar.gz --strip-components=1 -C openresty-openssl-debug
-cd openresty-openssl-debug; debuild

clean-openssl:
openssl-clean:
cd openresty-openssl; debclean
find openresty-openssl -maxdepth 1 ! -name 'debian' ! -name 'openresty-openssl' -print | xargs rm -rf
cd openresty-openssl-debug; debclean
find openresty-openssl-debug -maxdepth 1 ! -name 'debian' ! -name 'openresty-openssl-debug' -print | xargs rm -rf

download-pcre:
pcre-download:
wget 'https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2'
ln -s pcre-8.40.tar.bz2 openresty-pcre_8.40.orig.tar.bz2
-ln -s pcre-8.40.tar.bz2 openresty-pcre_8.40.orig.tar.bz2

build-pcre:
pcre-build:
tar xf openresty-pcre_8.40.orig.tar.bz2 --strip-components=1 -C openresty-pcre
-cd openresty-pcre; debuild

clean-pcre:
pcre-clean:
cd openresty-pcre; debclean
find openresty-pcre -maxdepth 1 ! -name 'debian' ! -name 'openresty-pcre' -print | xargs rm -rf

download-openresty:
openresty-download:
wget 'https://openresty.org/download/openresty-1.11.2.3.tar.gz'
ln -s openresty-1.11.2.3.tar.gz openresty_1.11.2.3.orig.tar.gz
ln -s openresty-1.11.2.3.tar.gz openresty-debug_1.11.2.3.orig.tar.gz
-ln -s openresty-1.11.2.3.tar.gz openresty_1.11.2.3.orig.tar.gz
-ln -s openresty-1.11.2.3.tar.gz openresty-debug_1.11.2.3.orig.tar.gz

build-openresty:
openresty-build:
tar xf openresty_1.11.2.3.orig.tar.gz --strip-components=1 -C openresty
-cd openresty; debuild
tar xf openresty-debug_1.11.2.3.orig.tar.gz --strip-components=1 -C openresty-debug
-cd openresty-debug; debuild

clean-openresty:
openresty-clean:
cd openresty; debclean
find openresty -maxdepth 1 ! -name 'debian' ! -name 'openresty' -print | xargs rm -rf
cd openresty-debug; debclean
Expand Down
30 changes: 0 additions & 30 deletions deb/openresty-debug/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ Build-Depends: debhelper (>= 9), autotools-dev, dh-systemd,
Standards-Version: 3.9.8
Homepage: http://openresty.org/

Package: openresty-debug-resty
Section: utils
Architecture: all
Suggests: openresty-debug
Depends: ${shlibs:Depends}, ${misc:Depends}, perl
Description: resty command-line utility for OpenResty - debug version
This package contains the "resty" command-line utility for OpenResty, which
runs OpenResty Lua scripts on the terminal using a headless NGINX behind the
scene.
.
OpenResty is a full-fledged web platform by integrating the standard Nginx
core, LuaJIT, many carefully written Lua libraries, lots of high quality
3rd-party Nginx modules, and most of their external dependencies. It is
designed to help developers easily build scalable web applications, web
services, and dynamic web gateways.

Package: openresty-debug
Architecture: any
Recommends: openresty-debug-resty
Expand All @@ -50,20 +34,6 @@ Description: debug version of OpenResty core server
web applications that are capable to handle 10K ~ 1000K+ connections in
a single box.

Package: openresty-debug-restydoc
Section: utils
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: OpenResty documentation tool, restydoc - debug version
This package contains the official OpenResty documentation index and
the "restydoc" command-line utility for viewing it.
.
OpenResty is a full-fledged web platform by integrating the standard Nginx
core, LuaJIT, many carefully written Lua libraries, lots of high quality
3rd-party Nginx modules, and most of their external dependencies. It is
designed to help developers easily build scalable web applications, web
services, and dynamic web gateways.

Package: openresty-debug-dbg
Section: debug
Architecture: any
Expand Down
2 changes: 0 additions & 2 deletions deb/openresty-debug/debian/openresty-debug-resty.install

This file was deleted.

7 changes: 0 additions & 7 deletions deb/openresty-debug/debian/openresty-debug-restydoc.install

This file was deleted.

0 comments on commit 83a34f1

Please sign in to comment.