Browse Source

packager: update files (#4181)

* Fix packaging

* Fix macaron vendor sha

Revision 8be5635c28f40a85ce8e8f65c6118b4ee4e548e9 does not exist

* Add build dependency for centos
Cyril Rohr 2 years ago
parent
commit
3c0d162961
3 changed files with 6 additions and 4 deletions
  1. 4 2
      .pkgr.yml
  2. 1 1
      packager/Procfile
  3. 1 1
      vendor/vendor.json

+ 4 - 2
.pkgr.yml

@@ -19,6 +19,8 @@ targets:
   centos-6: &el
     build_dependencies:
       - pam-devel
+      # required for go buildpack
+      - perl-Digest-SHA
     dependencies:
       - pam
       - git
@@ -26,7 +28,7 @@ targets:
     <<: *el
 before:
   - mv packager/Procfile .
-  - mv packager/.godir .
 after:
-  - mv bin/main gogs
+  - mv bin/gogs gogs
 after_install: ./packager/hooks/postinst
+buildpack: https://github.com/heroku/heroku-buildpack-go.git#v62

+ 1 - 1
packager/Procfile

@@ -1 +1 @@
-web: ./gogs web
+web: ./gogs web -p ${PORT:=3000}

+ 1 - 1
vendor/vendor.json

@@ -557,7 +557,7 @@
 		{
 			"checksumSHA1": "qM9ubEa57g4oNa6JLFQ+e1TCMno=",
 			"path": "gopkg.in/macaron.v1",
-			"revision": "8be5635c28f40a85ce8e8f65c6118b4ee4e548e9",
+			"revision": "a325110f8b392bce3e5cdeb8c44bf98078ada3be",
 			"revisionTime": "2017-02-19T20:49:11Z"
 		},
 		{