Commit Graph
26 Commits
Author SHA1 Message Date
Max Prokhorov 3c10661d81 Use correct outdir 2018-05-14 09:59:43 +03:00
Max Prokhorov 999e0555c7 Fedora COPR support
- Support .copr/Makefile for 'SCM / make srpm' COPR package
- Use genrpm.sh to generate srpm and optionally build it
- Use generic substitution syntax in specfile
2018-05-14 09:38:07 +03:00
Max Lv 380cb81234 Revert "Create srpm and rpm targets to the Autotools build"
This reverts commit 395515d1f7.
2018-05-08 15:26:39 +08:00
Yuxiang Zhu 395515d1f7 Create srpm and rpm targets to the Autotools build
The new `srpm` target can be handled by Fedora Copr for
automated builds. A `rpm` target is also added for alignment.
2018-05-04 18:12:49 +08:00
Yuxiang Zhu feeaff85e1 Provides separated service files for RPM packages
As discussed with @librehat in #1604, maintaining a separate set of systemd
files for RPM distributions will be convenient to build on Copr.

This patch will also change some lines in rpm/genrpm.sh to archive the
source code using `git archive` because the old logic doesn't respect
`.gitignore`.
2017-08-22 08:53:56 +08:00
Rayson zhu a61e3e0f78 fix rpm SPEC file
1. add missing build and runtime dependencies
2. change minimal version requirement for libsodium to 1.0.4, which
should work fine with ss-libev and EPEL7 users will not have to compile a
later version.
3. add more entries to .gitignore
2017-03-03 16:32:17 +08:00
Rayson zhu 8194e91970 Rewrite genrpm.sh to build RPM from current Git workspace
Here are the problems existing in the old RPM packaging scripts:

1. The old `genrpm.sh` is designed to build RPMs for all versions of
shadowsocks-libev with an option '-v'.
This increases the complexity because we need to keep it compatible
with old versions.
2. I have to modify the script manually in order to build RPMs from
non-release commit or dirty workspace.

The new script will only build RPMs and SRPMs from current workspace,
not commit.
The version-release number will be determined automatically from the
`git describe` command.
2017-03-03 13:31:25 +08:00
cuckoo c1f443cc76 use system lib 2017-02-27 22:27:47 +08:00
was4444 48c9abe3a5 add closure? (#1294) 2017-02-22 17:26:45 +08:00
was4444 998cb109d3 pack submodules for genrpm (#1293)
* add option to run autogen before configure

* pack submodules for genrpm
2017-02-22 16:57:59 +08:00
was4444 eaefbe1e76 genrpm changes (#1292)
* auto select latest version

* bash-completion comes with version 2.6.0

* version greater than 2.6.2 need submodules packed

* adjust version check order
2017-02-22 12:19:52 +08:00
Max Lv 46fa5de9e4 Bump version 2017-02-13 09:13:16 +08:00
Max Lv fdb1f190f8 Bump version 2017-02-07 13:30:18 +08:00
Max Lv 4d25f176b6 Bump version 2017-02-01 19:18:12 +08:00
Max Lv 3f8cd982e5 Drop MinGW32 support 2017-01-24 20:10:31 +08:00
Max Lv 9c94e6792c Bump version 2017-01-16 10:23:01 +08:00
Max Lv 48b6a59df4 Bump version 2017-01-08 16:31:54 +08:00
Max Lv 8cb4f81eba Add HTTP/TLS obfuscating. [SIP001] (#1009)
Add experimental HTTP/TLS obfuscating as an **optional extension** of shadowsocks protocol.

More discussions can be found here: https://github.com/shadowsocks/shadowsocks-org/issues/26

As this feature is still a SIP (Shadowsocks Improvement Proposal), it's very unstable and experimental. So, 

1. Don't enable it unless you know what it is.
2. Be very careful when using it in production environment.
2016-12-27 02:53:25 -06:00
Max Lv d6c377df9c Bump version 2016-11-01 09:56:22 +08:00
Rayson Zhu 69a08675c4 Make genrpm.sh a little safer. (#895)
1. Remove function `get_att_val`:
That function uses `eval` to set default values for bash variables.
Because it is very dangerous to use `eval` (someone call it the plague of shell scripting), I'd like to use the bash builtin to do that.
2. Double quote all variables to avoid unexpected expansion when using it.
2016-10-21 11:05:50 +08:00
Max Lv 91b4e6ad6d Fix #887 2016-10-18 13:21:33 +08:00
Echizen Ryoma 0e1ca9c25d update version to 2.4.5 2016-02-18 09:56:48 +08:00
惠轶群 41b1146360 update Version to 2.4.1 2015-11-05 13:50:24 +08:00
惠轶群 bfbcd4dbb4 fix genrpm.sh 2015-11-05 13:49:33 +08:00
Symeon Huang 88b906328f update rpm spec file.
use files from debian directory if possible
2015-09-27 15:30:47 +01:00
cuckoo bf64d01a5f add `genrpm.sh' to build rpm easily 2015-03-25 21:16:54 +08:00