19 Commits

Author SHA1 Message Date
Jakub Jirutka
c12380196d testing/gogs: improve abuild, make package() more readable 2016-08-01 13:38:09 +02:00
7heo
0524471dc9 testing/gogs: reuse the existing glide files 2016-08-01 12:08:18 +02:00
7heo
239c51d48e testing/gogs: fix the glide files path
As clandmeter noticed, the glide files should be copied from $srcdir and
not from $startdir.

Also reformatted the APKBUILD to fit in 80 cols when possible, and
removed the extra (buggy) indentation that was there to align the next
lines with the previous (but only when ts=8).
2016-07-29 14:04:39 +02:00
7heo
cf05f546a8 testing/gogs: New version 0.9.48 2016-07-29 12:00:37 +02:00
Carlo Landmeter
5238229364 testing/gogs: build with pie and enable sqlite 2016-07-07 10:25:23 +02:00
Carlo Landmeter
f726f79499 testing/gogs: disable sqlite for now
go will build sqlite with no-pie which needs to be fixed.
2016-07-07 08:38:41 +02:00
Carlo Landmeter
7fbc48adb9 Revert "Revert "testing/gogs: upgrade to 0.9.13""
This reverts commit 27b065aee488d02c98b91a49acad8c78ebe5bef9.

reverting previous commit does not fix anything.
2016-07-07 08:37:14 +02:00
Jakub Jirutka
27b065aee4 Revert "testing/gogs: upgrade to 0.9.13"
This reverts commit 2867d304f9c04812d4a029d518159411ecf944c2.

Fails on build server and blocks other packages.
2016-07-06 20:52:28 +02:00
Carlo Landmeter
2867d304f9 testing/gogs: upgrade to 0.9.13 2016-07-06 11:47:25 +02:00
7heo
34793a33c9 testing/gogs: multiple fixes
List of fixes:
- Do not fail to add the user 'gogs' to the group 'www-data',
  explicitely creates it first.
- Explicitely pass the path to the .ini file to the gogs binary.
- Use openrc-run instead of runscript.
- Patch the list.tmpl template not to cause a fatal error when gogs
  starts.
2016-07-04 15:30:22 +02:00
Przemyslaw Pawelczyk
26abb36b0d testing/[various]: bump pkgrel for pre-install fixes 2016-04-25 07:11:52 +00:00
Przemyslaw Pawelczyk
da4e96aace Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):

    addgroup -S -g ... GROUP
    adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
2016-04-25 06:56:47 +00:00
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.

Comments and line wrapping have been preserved.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00
Sören Tempel
b7d3b8f2eb testing/gogs: go binaries should not be stripped 2015-08-07 07:36:15 +00:00
Carlo Landmeter
99c477822a testing/gogs: gogs user needs a shell 2015-04-20 19:22:38 +02:00
Carlo Landmeter
619e4d8f01 testing/gogs: unlock system user 2015-04-20 19:13:18 +02:00
Carlo Landmeter
bd63786805 testing/gogs: update csums 2015-04-20 17:24:53 +02:00
Carlo Landmeter
a8c9452678 testing/gogs: new aport 2015-04-20 17:23:03 +02:00