Bug 203071 - [NEW PORT] devel/apache-archiva: Extensible repository management software
Summary: [NEW PORT] devel/apache-archiva: Extensible repository management software
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords: feature, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-09-13 16:18 UTC by Dušan Vejnovič
Modified: 2018-07-07 10:40 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback? (freebsd)
freebsd: maintainer-feedback+


Attachments
shar file for devel/apache-archiva (40.01 KB, text/plain)
2015-09-13 16:18 UTC, Dušan Vejnovič
no flags Details
poudriere build log for devel/apache-archiva (21.22 KB, text/x-log)
2015-09-13 16:19 UTC, Dušan Vejnovič
no flags Details
new groups (304 bytes, patch)
2015-09-13 16:20 UTC, Dušan Vejnovič
no flags Details | Diff
new users (957 bytes, patch)
2015-09-13 16:20 UTC, Dušan Vejnovič
no flags Details | Diff
shar file for devel/apache-archiva (39.73 KB, text/plain)
2015-12-25 16:50 UTC, Dušan Vejnovič
no flags Details
poudriere build log for devel/apache-archiva (22.77 KB, text/plain)
2015-12-25 16:51 UTC, Dušan Vejnovič
no flags Details
WIP - clean up shar (37.95 KB, text/plain)
2017-08-07 19:28 UTC, Steve Wills
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dušan Vejnovič 2015-09-13 16:18:43 UTC
Created attachment 160975 [details]
shar file for devel/apache-archiva

Apache Archiva is an extensible repository management software that helps taking
care of your own personal or enterprise-wide build artifact repository. It is
the perfect companion for build tools such as Maven, Continuum, and ANT.

Archiva offers several capabilities, amongst which remote repository proxying,
security access management, build artifact storage, delivery, browsing, indexing
and usage reporting, extensible scanning functionality and many more!

WWW: https://archiva.apache.org
Comment 1 Dušan Vejnovič 2015-09-13 16:19:27 UTC
Created attachment 160976 [details]
poudriere build log for devel/apache-archiva
Comment 2 Dušan Vejnovič 2015-09-13 16:20:02 UTC
Created attachment 160977 [details]
new groups
Comment 3 Dušan Vejnovič 2015-09-13 16:20:21 UTC
Created attachment 160978 [details]
new users
Comment 4 Dušan Vejnovič 2015-12-25 16:50:19 UTC
Created attachment 164626 [details]
shar file for devel/apache-archiva

- remove archiva user and group
- using www user and group
- optimize re-inplace command in post-patch section
Comment 5 Dušan Vejnovič 2015-12-25 16:51:25 UTC
Created attachment 164627 [details]
poudriere build log for devel/apache-archiva
Comment 6 VK freebsd_triage 2015-12-26 11:07:12 UTC
Thanks for the submission.

Just a minor observation on the pkg-message, I'd reduce those two empty lines with one empty line between last three paragraphs.
Comment 7 Steve Wills freebsd_committer 2017-02-27 23:26:48 UTC
Haven't had time for this, back to the pool, sorry.
Comment 8 Richard Gallamore freebsd_committer 2017-06-12 19:59:57 UTC
Please fix portlint items.

portlint -AC:
WARN: /usr/local/poudriere/ports/test/devel/apache-archiva/pkg-plist: [470]: installing shared libraries, please define USE_LDCONFIG as appropriate                                                                                           
WARN: /usr/local/poudriere/ports/test/devel/apache-archiva/pkg-plist: [471]: installing shared libraries, please define USE_LDCONFIG as appropriate                                                                                           
WARN: /usr/local/poudriere/ports/test/devel/apache-archiva/pkg-plist: [474]: installing shared libraries, please define USE_LDCONFIG as appropriate                                                                                           
WARN: /usr/local/poudriere/ports/test/devel/apache-archiva/pkg-plist: [475]: installing shared libraries, please define USE_LDCONFIG as appropriate                                                                                           
WARN: /usr/local/poudriere/ports/test/devel/apache-archiva/pkg-plist: [476]: installing shared libraries, please define USE_LDCONFIG as appropriate                                                                                           
WARN: Makefile: [0]: possible direct use of command "find" found. use ${FIND} instead.                                                                                                                                                        
WARN: Makefile: [0]: possible direct use of command "cp" found. use ${CP} instead.                                                                                                                                                            
WARN: Makefile: [84]: possible use of "${MKDIR} -p" found. ${MKDIR} includes "-p" by default.                                                                                                                                                 
FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section.                                                                                                                                                                      
FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section.                                                                                                                                                                         
WARN: Makefile: use of DISTFILES with single file discouraged. distribution filename should be set by DISTNAME and EXTRACT_SUFX.                                                                                                              
FATAL: Makefile: extra item "LICENSE" placed in the MAINTAINER section.                                                                                                                                                                       
FATAL: Makefile: extra item "LICENSE_FILE" placed in the MAINTAINER section.                                                                                                                                                                  
WARN: Makefile: COMMENT is set externally to this port's Makefile, but this port is not configured as a slave port.                                                                                                                           
FATAL: Makefile: extra item "NO_ARCH" placed in the LICENSE section.                                                                                                                                                                          
FATAL: Makefile: extra item "NO_BUILD" placed in the LICENSE section.                                                                                                                                                                         
WARN: Makefile: "LIB_DEPENDS" has to appear earlier.                                                                                                                                                                                          
WARN: Makefile: "RUN_DEPENDS" has to appear earlier.                                                                                                                                                                                          
WARN: Makefile: no port directory /usr/ports//usr/ports/converters/iconv found, even though it is listed in LIB_DEPENDS.                                                                                                                      
WARN: Makefile: no port directory /usr/ports//usr/ports/devel/wrapper found, even though it is listed in RUN_DEPENDS.                                                                                                                         
WARN: Makefile: no port directory /usr/ports//usr/ports/www/lighttpd found, even though it is listed in RUN_DEPENDS.                                                                                                                          
WARN: Makefile: no port directory /usr/ports//usr/ports/www/hiawatha found, even though it is listed in RUN_DEPENDS.                                                                                                                          
WARN: Makefile: no port directory /usr/ports//usr/ports/www/nginx found, even though it is listed in RUN_DEPENDS.                                                                                                                             
WARN: Makefile: DISTFILES/DISTNAME affects WRKSRC. take caution when changing them.                                                                                                                                                           
6 fatal errors and 18 warnings found.
Comment 9 Steve Wills freebsd_committer 2017-08-07 19:28:28 UTC
Created attachment 185135 [details]
WIP - clean up shar

I happened to find some time an cleaned this up a bit, see attached. I changed it so that it doesn't include a copy of the service wrapper and many other cleanups. Now it passes portlint and seems to startup OK. Still needs to move the logs, pid files, etc to the proper places outside ${PREFIX}, but this is progress if anyone else wants it.
Comment 10 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-08 02:22:06 UTC
Comment on attachment 164626 [details]
shar file for devel/apache-archiva

Obsolete old version
Comment 11 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-08 02:22:32 UTC
Make it clearer existing patch is wip/needs more
Comment 12 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-08 02:23:11 UTC
Request feedback from reporter for additional changes/additions in comment 9
Comment 13 Dušan Vejnovič 2017-08-15 15:34:14 UTC
(In reply to Steve Wills from comment #9)
For me it is OK.
Comment 14 Dušan Vejnovič 2017-08-15 15:36:25 UTC
Comment on attachment 185135 [details]
WIP - clean up shar

For me it is OK.
Comment 15 commit-hook freebsd_committer 2018-07-07 10:38:13 UTC
A commit references this bug:

Author: joneum
Date: Sat Jul  7 10:37:54 UTC 2018
New revision: 474069
URL: https://svnweb.freebsd.org/changeset/ports/474069

Log:
  New Port: www/archiva

  Apache Archiva is an extensible repository management software that helps taking
  care of your own personal or enterprise-wide build artifact repository. It is
  the perfect companion for build tools such as Maven, Continuum, and ANT.

  Archiva offers several capabilities, amongst which remote repository proxying,
  security access management, build artifact storage, delivery, browsing, indexing
  and usage reporting, extensible scanning functionality and many more!

  WWW: https://archiva.apache.org

  PR:	203071
  Submitted by:	Du?an Vejnovi? <freebsd@dussan.org>
  Differential Revision:	https://reviews.freebsd.org/D15656

Changes:
  head/GIDs
  head/UIDs
  head/www/Makefile
  head/www/archiva/
  head/www/archiva/Makefile
  head/www/archiva/distinfo
  head/www/archiva/files/
  head/www/archiva/files/archiva.in
  head/www/archiva/files/patch-bin_archiva
  head/www/archiva/files/patch-conf_wrapper.conf
  head/www/archiva/pkg-descr
  head/www/archiva/pkg-plist