Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
devel/gogs/Makefile | ||
---|---|---|
37 ↗ | (On Diff #35399) | ^ add GOGS_DBDIR and GOGS_LOGDIR, see comment in gogs-rm-data.in |
devel/gogs/files/gogs-rm-data.in | ||
20 ↗ | (On Diff #35399) | %%GOGS_DBDIR%% and %%GOGS_LOGDIR%% https://www.freebsd.org/doc/en/books/porters-handbook/using-sub-files.html |
devel/gogs/pkg-plist | ||
3 ↗ | (On Diff #35399) | ^ Section 7.6.13.1. -- you can combine this to |
1725 ↗ | (On Diff #35399) | ^ should not be necessary as it is non-empty and in prefix |
devel/gogs/pkg-plist | ||
---|---|---|
1725 ↗ | (On Diff #35399) | It's needed because gogs user has to be able to create (temp) files in this dir when editing app settings from inside the app. |
devel/gogs/pkg-plist | ||
---|---|---|
1725 ↗ | (On Diff #35399) | sorry, I overloked the mode change operations on the directory |
devel/gogs/pkg-plist | ||
---|---|---|
3 ↗ | (On Diff #35417) | A typo, should be GOGS_USER |
devel/gogs/pkg-plist | ||
---|---|---|
3 ↗ | (On Diff #35417) | Good catch! Thanks! |
devel/gogs/Makefile | ||
---|---|---|
34 ↗ | (On Diff #35419) | This isn't right. This port installs into PREFIX, not LOCALBASE. LOCALBASE is where the dependencies have been installed. |
This breaks in pkg install:
@(%%GOGS_USER%%, %%GOGS_GROUP%%, 640) libexec/gogs/custom/conf/app.ini
with this error:
pkg-static: Malformed keyword (gogs,, expecting @keyword or @keyword(owner,group,mode)
The file work/.PLIST.mktmp has this line: @(gogs, gogs, 640) libexec/gogs/custom/conf/app.ini - it looks to be correctly expanded.
There is some bug which I didn't figure out yet.
The port devel/flyspray does a similar thing in pkg-plist, but it doesn't break like this.
The difference with devel/flyspray is that gogs creates the user/group combination, and flyspray doesn't. This might be a bug in pkg.
I suggest to roll this change back until it is figured out, so that gogs can be committed.
Bug for pkg can be created with gogs as an example once it is committed.
devel/gogs/Makefile | ||
---|---|---|
23 ↗ | (On Diff #35425) | ^ I'm a bit confused. The user is already present in the UIDs/GIDs -- are you sure this port is not already present somehwere? :D |
r408986 | pi | 2016-02-16 12:04:10 +0100 (Di., 16 Feb. 2016) | 5 lines devel/gogs (new port, not yet in the tree): reserve UIDs and GIDs
that clears that up nicely.
devel/gogs/Makefile | ||
---|---|---|
23 ↗ | (On Diff #35425) | I originally submitted this port with the suggestion of UID/GID addition. UID/GID must have been added back then. This port isn't yet present anywhere. -) |
head/devel/gogs/Makefile | ||
---|---|---|
69–71 | Both LN should probably be using ${RLN} instead. |
head/devel/gogs/Makefile | ||
---|---|---|
69–71 | GOGS_DBDIR and GOGS_LOGDIR are outside of PREFIX (by default). |
https://www.freebsd.org/doc/en/books/porters-handbook/special.html#staging-symlink
You can double check the above document ^ . If there _is_ something to fix, fix it :)
head/devel/gogs/Makefile | ||
---|---|---|
69–71 | No, I did not notice they were outside of PREFIX. |