Skip to content

Commit

Permalink
3.0.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gdestuynder committed Oct 26, 2016
1 parent e663586 commit cd42129
Show file tree
Hide file tree
Showing 3 changed files with 5,976 additions and 4,316 deletions.
16 changes: 10 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
#@maintainer [email protected]
#@update 2016-08-02
#@update 2016-10-20

# Required RPM packaes:
# fpm
# rpm-build
# mono-devel
# nodejs

#If you change the PKGVER ensure the module list in npm_modules.sha256sum
#To regenerate it: find ad-ldap-connector-2.28.0/node_modules/ -type f -exec sha256sum {} \; > npm_modules.sha256sum for example (you can also do this for single modules instead)
#If you change the PKGVER ensure the module list in npm_modules.sha256sum is accurate

#This is the ad-ldap-connector version
PKGVER:=2.28.0
PKGVER:= 3.0.1
#This is the packaging sub-release version
PKGREL:=3
PKGREL:= 1
PKGNAME:=ad-ldap-connector
PKGPATH:=https://github.com/auth0/ad-ldap-connector/archive/
PKGSHA256:=8a5fb7582737386000885a1d210632dc8a6fa0104e1d5f5efa5d1c69010ce4dc
PKGSHA256:=8300ef10a3931606961df619f8de4537e4e9fa6f78965114d8353e3f1a60575b
NPMS=npm_modules.sha256sum

PKGTARBALL:=v$(PKGVER).tar.gz
Expand All @@ -41,6 +40,7 @@ fpm: extract npm_verify
--before-install pre-install.sh \
--config-files opt/$(PKGNAME)/environ \
--iteration $(PKGREL) \
--exclude opt/$(PKGNAME)/$(PKGNAME)-$(PKGVER) \
-n $(PKGNAME) -v $(PKGVER) -C target

npm_download: extract
Expand All @@ -49,6 +49,10 @@ npm_download: extract
npm_verify: npm_download
cat $(NPMS) | sha256sum -c

regenerate_sums: $(PKGTARBALL)
@echo Generating NEW checksums...
find $(PKGDIRNAME)/node_modules/ -type f -exec sha256sum {} \; > npm_modules.sha256sum

extract: $(PKGDIRNAME)
$(PKGDIRNAME): verify
tar xvzf $(PKGTARBALL)
Expand Down
Loading

0 comments on commit cd42129

Please sign in to comment.