pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www www/gitea: Add version 1.7.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/33c060d33319
branches: trunk
changeset: 393766:33c060d33319
user: nia <nia%pkgsrc.org@localhost>
date: Sun Mar 24 21:34:23 2019 +0000
description:
www/gitea: Add version 1.7.4
Mostly based on work by tuxillo in pkgsrc-wip with some changes and additions
by me.
Gitea is a community managed fork of Gogs, lightweight code hosting solution
written in Go and published under the MIT license.
diffstat:
www/Makefile | 3 +-
www/gitea/DESCR | 2 +
www/gitea/Makefile | 93 +
www/gitea/PLIST | 2213 ++++++++++
www/gitea/distinfo | 14 +
www/gitea/files/app.ini.sample | 85 +
www/gitea/files/gitea.sh | 25 +
www/gitea/files/smf/manifest.xml | 46 +
www/gitea/options.mk | 11 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go | 42 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go | 73 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go | 42 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go | 46 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go | 13 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go | 10 +
www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go | 22 +
www/gitea/patches/patch-vendor_gopkg.in_src-d_go-billy.v4_osfs_os__posix.go | 27 +
17 files changed, 2766 insertions(+), 1 deletions(-)
diffs (truncated from 2845 to 300 lines):
diff -r ebab8dc2b39d -r 33c060d33319 www/Makefile
--- a/www/Makefile Sun Mar 24 21:09:21 2019 +0000
+++ b/www/Makefile Sun Mar 24 21:34:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1378 2019/03/20 10:02:53 wiz Exp $
+# $NetBSD: Makefile,v 1.1379 2019/03/24 21:34:23 nia Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -112,6 +112,7 @@
SUBDIR+= ganglia-webfrontend
SUBDIR+= geckodriver
SUBDIR+= geeklog
+SUBDIR+= gitea
SUBDIR+= gitweb
SUBDIR+= gnurl
SUBDIR+= go-ace
diff -r ebab8dc2b39d -r 33c060d33319 www/gitea/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitea/DESCR Sun Mar 24 21:34:23 2019 +0000
@@ -0,0 +1,2 @@
+Gitea is a community managed fork of Gogs, lightweight code hosting solution
+written in Go and published under the MIT license.
diff -r ebab8dc2b39d -r 33c060d33319 www/gitea/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitea/Makefile Sun Mar 24 21:34:23 2019 +0000
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.1 2019/03/24 21:34:23 nia Exp $
+
+DISTNAME= gitea-1.7.4
+MASTER_SITES= ${MASTER_SITE_GITHUB:=go-gitea/}
+CATEGORIES= www
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= tuxillo%quantumachine.net@localhost
+HOMEPAGE= https://gitea.io/
+COMMENT= Compact self-hosted Git service
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= code.gitea.io/gitea
+
+.if !empty(GO_TAGS)
+GO_BUILD_PATTERN+= -tags ${GO_TAGS}
+.endif
+
+GO_BUILD_PATTERN+= ${GO_SRCPATH}
+
+BUILD_DEFS+= VARBASE GITEA_USER GITEA_GROUP
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= pax
+DEPENDS+= git-base-[0-9]*:../../devel/git-base
+
+EGDIR= ${PREFIX}/share/examples/gitea
+
+OWN_DIRS_PERMS+= ${VARBASE}/log/gitea ${GITEA_USER} ${GITEA_GROUP} 0755
+OWN_DIRS_PERMS+= ${VARBASE}/db/gitea ${GITEA_USER} ${GITEA_GROUP} 0755
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/conf ${GITEA_USER} ${GITEA_GROUP} 0755
+
+.include "../../mk/bsd.prefs.mk"
+
+GITEA_USER?= git
+GITEA_GROUP?= git
+
+PKG_GROUPS_VARS+= GITEA_GROUP
+PKG_USERS_VARS+= GITEA_USER
+
+PKG_SYSCONFSUBDIR= gitea
+
+INSTALLATION_DIRS+= sbin share/gitea share/examples/gitea
+
+PKG_GROUPS= ${GITEA_GROUP}
+PKG_USERS= ${GITEA_USER}:${GITEA_GROUP}
+
+PKG_SHELL.${GITEA_USER}= ${SH}
+PKG_HOME.${GITEA_USER}= ${VARBASE}/db/gitea
+
+SUBST_CLASSES+= fix-version
+SUBST_STAGE.fix-version= pre-configure
+SUBST_MESSAGE.fix-version= Fix the version number.
+SUBST_FILES.fix-version= ${WRKSRC}/main.go
+SUBST_SED.fix-version= -E 's\#^(var Version = )"[^"]+"\#\1"${PKGVERSION}"\#'
+
+SUBST_CLASSES+= fix-var
+SUBST_STAGE.fix-var= pre-configure
+SUBST_MESSAGE.fix-var= Replace some vars
+SUBST_FILES.fix-var= ${WRKDIR}/app.ini.sample
+SUBST_VARS.fix-var= VARBASE GITEA_USER
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/conf
+
+CONF_FILES+= ${EGDIR}/app.ini.sample ${PKG_SYSCONFDIR}/conf/app.ini
+
+.include "../../mk/bsd.prefs.mk"
+
+FILES_SUBST+= GITEA_USER=${GITEA_USER}
+FILES_SUBST+= GITEA_GROUP=${GITEA_GROUP}
+FILES_SUBST+= GITEA_USER_HOME=${VARBASE}/db/gitea
+FILES_SUBST+= GITEA_SHARE_DIR=${PREFIX}/share/gitea
+
+RCD_SCRIPTS+= gitea
+
+pre-patch:
+ ${CP} ${FILESDIR}/app.ini.sample ${WRKDIR}/
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/gitea ${DESTDIR}${PREFIX}/sbin
+ cd ${WRKSRC}/options && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/share/gitea/options/
+ cd ${WRKSRC}/templates && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/share/gitea/templates/
+ cd ${WRKSRC}/public && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/share/gitea/public/
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/app.ini.sample ${DESTDIR}${EGDIR}
+
+.include "options.mk"
+
+.include "../../www/go-gohtml/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ebab8dc2b39d -r 33c060d33319 www/gitea/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitea/PLIST Sun Mar 24 21:34:23 2019 +0000
@@ -0,0 +1,2213 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/24 21:34:23 nia Exp $
+sbin/gitea
+share/examples/gitea/app.ini.sample
+share/gitea/options/gitignore/Actionscript
+share/gitea/options/gitignore/Ada
+share/gitea/options/gitignore/Agda
+share/gitea/options/gitignore/Android
+share/gitea/options/gitignore/Anjuta
+share/gitea/options/gitignore/Ansible
+share/gitea/options/gitignore/AppEngine
+share/gitea/options/gitignore/AppceleratorTitanium
+share/gitea/options/gitignore/ArchLinuxPackages
+share/gitea/options/gitignore/Archives
+share/gitea/options/gitignore/Autotools
+share/gitea/options/gitignore/Backup
+share/gitea/options/gitignore/Bazaar
+share/gitea/options/gitignore/BricxCC
+share/gitea/options/gitignore/C
+share/gitea/options/gitignore/C++
+share/gitea/options/gitignore/CFWheels
+share/gitea/options/gitignore/CMake
+share/gitea/options/gitignore/CUDA
+share/gitea/options/gitignore/CVS
+share/gitea/options/gitignore/CakePHP
+share/gitea/options/gitignore/Calabash
+share/gitea/options/gitignore/ChefCookbook
+share/gitea/options/gitignore/Clojure
+share/gitea/options/gitignore/Cloud9
+share/gitea/options/gitignore/CodeIgniter
+share/gitea/options/gitignore/CodeKit
+share/gitea/options/gitignore/CommonLisp
+share/gitea/options/gitignore/Composer
+share/gitea/options/gitignore/Concrete5
+share/gitea/options/gitignore/Coq
+share/gitea/options/gitignore/CraftCMS
+share/gitea/options/gitignore/D
+share/gitea/options/gitignore/DM
+share/gitea/options/gitignore/Dart
+share/gitea/options/gitignore/DartEditor
+share/gitea/options/gitignore/Delphi
+share/gitea/options/gitignore/Diff
+share/gitea/options/gitignore/Dreamweaver
+share/gitea/options/gitignore/Dropbox
+share/gitea/options/gitignore/Drupal
+share/gitea/options/gitignore/EPiServer
+share/gitea/options/gitignore/Eagle
+share/gitea/options/gitignore/Eclipse
+share/gitea/options/gitignore/EiffelStudio
+share/gitea/options/gitignore/Elisp
+share/gitea/options/gitignore/Elixir
+share/gitea/options/gitignore/Elm
+share/gitea/options/gitignore/Emacs
+share/gitea/options/gitignore/Ensime
+share/gitea/options/gitignore/Erlang
+share/gitea/options/gitignore/Espresso
+share/gitea/options/gitignore/ExpressionEngine
+share/gitea/options/gitignore/ExtJs
+share/gitea/options/gitignore/Fancy
+share/gitea/options/gitignore/Finale
+share/gitea/options/gitignore/FlexBuilder
+share/gitea/options/gitignore/ForceDotCom
+share/gitea/options/gitignore/Fortran
+share/gitea/options/gitignore/FuelPHP
+share/gitea/options/gitignore/GPG
+share/gitea/options/gitignore/GWT
+share/gitea/options/gitignore/Gcov
+share/gitea/options/gitignore/GitBook
+share/gitea/options/gitignore/Go
+share/gitea/options/gitignore/Godot
+share/gitea/options/gitignore/Gradle
+share/gitea/options/gitignore/Grails
+share/gitea/options/gitignore/Haskell
+share/gitea/options/gitignore/IGORPro
+share/gitea/options/gitignore/Idris
+share/gitea/options/gitignore/Images
+share/gitea/options/gitignore/JDeveloper
+share/gitea/options/gitignore/JEnv
+share/gitea/options/gitignore/Java
+share/gitea/options/gitignore/Jboss
+share/gitea/options/gitignore/Jekyll
+share/gitea/options/gitignore/JetBrains
+share/gitea/options/gitignore/Joomla
+share/gitea/options/gitignore/Julia
+share/gitea/options/gitignore/KDevelop4
+share/gitea/options/gitignore/Kate
+share/gitea/options/gitignore/KiCad
+share/gitea/options/gitignore/Kohana
+share/gitea/options/gitignore/Kotlin
+share/gitea/options/gitignore/LabVIEW
+share/gitea/options/gitignore/Laravel
+share/gitea/options/gitignore/Lazarus
+share/gitea/options/gitignore/Leiningen
+share/gitea/options/gitignore/LemonStand
+share/gitea/options/gitignore/LibreOffice
+share/gitea/options/gitignore/Lilypond
+share/gitea/options/gitignore/Linux
+share/gitea/options/gitignore/Lithium
+share/gitea/options/gitignore/Lua
+share/gitea/options/gitignore/LyX
+share/gitea/options/gitignore/Magento
+share/gitea/options/gitignore/Matlab
+share/gitea/options/gitignore/Maven
+share/gitea/options/gitignore/Mercurial
+share/gitea/options/gitignore/Mercury
+share/gitea/options/gitignore/MetaProgrammingSystem
+share/gitea/options/gitignore/MicrosoftOffice
+share/gitea/options/gitignore/ModelSim
+share/gitea/options/gitignore/Momentics
+share/gitea/options/gitignore/MonoDevelop
+share/gitea/options/gitignore/Nanoc
+share/gitea/options/gitignore/NetBeans
+share/gitea/options/gitignore/Nim
+share/gitea/options/gitignore/Ninja
+share/gitea/options/gitignore/Node
+share/gitea/options/gitignore/NotepadPP
+share/gitea/options/gitignore/OCaml
+share/gitea/options/gitignore/Objective-C
+share/gitea/options/gitignore/Opa
+share/gitea/options/gitignore/OpenCart
+share/gitea/options/gitignore/OracleForms
+share/gitea/options/gitignore/Otto
+share/gitea/options/gitignore/PSoCCreator
+share/gitea/options/gitignore/Packer
+share/gitea/options/gitignore/Patch
+share/gitea/options/gitignore/Perl
+share/gitea/options/gitignore/Perl6
+share/gitea/options/gitignore/Phalcon
+share/gitea/options/gitignore/PlayFramework
+share/gitea/options/gitignore/Plone
+share/gitea/options/gitignore/Prestashop
+share/gitea/options/gitignore/Processing
+share/gitea/options/gitignore/PureScript
+share/gitea/options/gitignore/Python
+share/gitea/options/gitignore/Qooxdoo
+share/gitea/options/gitignore/Qt
+share/gitea/options/gitignore/R
+share/gitea/options/gitignore/ROS
+share/gitea/options/gitignore/Rails
+share/gitea/options/gitignore/Redcar
+share/gitea/options/gitignore/Redis
+share/gitea/options/gitignore/RhodesRhomobile
+share/gitea/options/gitignore/Ruby
+share/gitea/options/gitignore/Rust
+share/gitea/options/gitignore/SBT
+share/gitea/options/gitignore/SCons
+share/gitea/options/gitignore/SVN
+share/gitea/options/gitignore/Sass
+share/gitea/options/gitignore/Scala
+share/gitea/options/gitignore/Scheme
+share/gitea/options/gitignore/Scrivener
+share/gitea/options/gitignore/Sdcc
+share/gitea/options/gitignore/SeamGen
+share/gitea/options/gitignore/SketchUp
+share/gitea/options/gitignore/SlickEdit
+share/gitea/options/gitignore/Smalltalk
+share/gitea/options/gitignore/Stata
+share/gitea/options/gitignore/Stella
+share/gitea/options/gitignore/SublimeText
+share/gitea/options/gitignore/SugarCRM
+share/gitea/options/gitignore/Swift
+share/gitea/options/gitignore/Symfony
+share/gitea/options/gitignore/SymphonyCMS
+share/gitea/options/gitignore/SynopsysVCS
+share/gitea/options/gitignore/Tags
+share/gitea/options/gitignore/TeX
+share/gitea/options/gitignore/Terraform
+share/gitea/options/gitignore/TextMate
+share/gitea/options/gitignore/Textpattern
+share/gitea/options/gitignore/TortoiseGit
+share/gitea/options/gitignore/TurboGears2
+share/gitea/options/gitignore/Typo3
+share/gitea/options/gitignore/Umbraco
+share/gitea/options/gitignore/Unity
+share/gitea/options/gitignore/UnrealEngine
+share/gitea/options/gitignore/VVVV
+share/gitea/options/gitignore/Vagrant
Home |
Main Index |
Thread Index |
Old Index