FreeBSD Bugzilla – Attachment 187537 Details for
Bug 223283
[maintainer-update] www/gitea update to 1.2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gitea.diff
gitea.diff (text/plain), 1.44 KB, created by
Tobias Kortkamp
on 2017-10-28 14:31:42 UTC
(
hide
)
Description:
gitea.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2017-10-28 14:31:42 UTC
Size:
1.44 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 453057) >+++ Makefile (working copy) >@@ -4,6 +4,7 @@ > PORTNAME= gitea > PORTVERSION= 1.2.2 > DISTVERSIONPREFIX= v >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= stb@lassitu.de >@@ -32,7 +33,6 @@ > OPTIONS_DEFINE= CERT PAM SQLITE > CERT_DESC= Automatic creation of self-signed certificates > PAM_DESC= Authentication using PAM >-SQLITE= Add SQLite as database backend > > OPTIONS_DEFAULT= ${OPTIONS_DEFINE} > >@@ -40,6 +40,16 @@ > PAM_VARS= GO_TAGS+=pam > SQLITE_VARS= GO_TAGS+=sqlite > >+.include <bsd.port.options.mk> >+ >+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100513 >+DAEMONARGS= -S -l \$${gitea_facility} -s \$${gitea_priority} -t \$${name} >+.else >+DAEMONARGS= -f >+.endif >+ >+SUB_LIST+= DAEMONARGS="${DAEMONARGS}" >+ > post-patch: > # Gitea releases don't supply the release version number; the > # automatic method to obtain the version number in the Gitea build >Index: files/gitea.in >=================================================================== >--- files/gitea.in (revision 453057) >+++ files/gitea.in (working copy) >@@ -32,8 +32,8 @@ > start_cmd="${name}_start" > > gitea_start() { >- /usr/sbin/daemon -l ${gitea_facility} -s ${gitea_priority} \ >- -u ${gitea_user} -p ${pidfile} -t "${command}" \ >+ /usr/sbin/daemon %%DAEMONARGS%% \ >+ -u ${gitea_user} -p ${pidfile} \ > /usr/bin/env -i \ > "GITEA_WORK_DIR=${gitea_shared}" \ > "GITEA_CUSTOM=%%PREFIX%%/etc/${name}" \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
stb
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 223283
:
187528
|
187535
| 187537