Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123139 - New ebuild: www-servers/webcit (for Citadel)
Summary: New ebuild: www-servers/webcit (for Citadel)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on: 62119 286323
Blocks:
  Show dependency tree
 
Reported: 2006-02-16 23:51 UTC by Christopher Hogan
Modified: 2016-06-08 16:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
WebCit 6.71 ebuild. Should be filed under www-apps (webcit-6.71.ebuild,1.05 KB, text/plain)
2006-02-16 23:54 UTC, Christopher Hogan
Details
Conf.d file to go under ./files (webcit.conf.d,1.04 KB, text/plain)
2006-02-17 00:08 UTC, Christopher Hogan
Details
Init.d file to go under ./files (webcit.init.d,496 bytes, text/plain)
2006-02-17 00:09 UTC, Christopher Hogan
Details
Patch to allow GNU standard install (gnu-install.patch,4.28 KB, patch)
2006-06-27 13:31 UTC, Christopher Hogan
Details | Diff
This ebuild updates WebCit to version 6.82 (webcit-6.82.ebuild,1.29 KB, text/plain)
2006-06-27 13:41 UTC, Christopher Hogan
Details
Init.d file to go under ./files (webcit.init.d,468 bytes, text/plain)
2006-06-27 13:45 UTC, Christopher Hogan
Details
WebCit www-servers ebuild version 7.65 (webcit-7.65.ebuild,1.55 KB, text/plain)
2009-09-24 22:18 UTC, the_mgt
Details
conf.d file for webcit >=7.65 (goes into /files) (webcit.conf.d,941 bytes, text/plain)
2009-09-24 23:07 UTC, the_mgt
Details
Init script for WebCit >=7.65 (goes into /files) (webcit.init.d,589 bytes, text/plain)
2009-09-24 23:07 UTC, the_mgt
Details
reworked and version bumped ebuild version 7.66, also committed to sunrise (webcit-7.66.ebuild,1.55 KB, text/plain)
2009-10-04 22:40 UTC, the_mgt
Details
as-needed patch for version 7.66 (goes into /files...) (as-needed.patch,1.12 KB, patch)
2009-10-04 22:43 UTC, the_mgt
Details | Diff
Live ebuild for git master (webcit-9999.ebuild,2.22 KB, text/plain)
2011-01-30 00:17 UTC, the_mgt
Details
recent /etc/init.d/webcit, save as files/webcit.conf.d (webcit.conf.d,1.33 KB, text/plain)
2011-07-04 20:28 UTC, the_mgt
Details
recent /etc/init.d/webcit, put save as files/webcit.init.d (webcit.init.d,810 bytes, text/plain)
2011-07-04 20:42 UTC, the_mgt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hogan 2006-02-16 23:51:13 UTC
WebCit is the web client for the Citadel communications server. This ebuild goes along with the ebuild I uploaded in bug: 62119
Comment 1 Christopher Hogan 2006-02-16 23:54:00 UTC
Created attachment 79983 [details]
WebCit 6.71 ebuild. Should be filed under www-apps
Comment 2 Christopher Hogan 2006-02-17 00:08:02 UTC
Created attachment 79984 [details]
Conf.d file to go under ./files
Comment 3 Christopher Hogan 2006-02-17 00:09:04 UTC
Created attachment 79985 [details]
Init.d file to go under ./files
Comment 4 Wilfried Goesgens 2006-03-24 02:30:42 UTC
the citadel webcit head branch has undergone major autoconf/automake rewrite. it's going to be in the next release. please see the readme and the debian/rules
Comment 5 Christopher Hogan 2006-06-27 12:53:27 UTC
At last! I finally get my chance to show both the Gentoo and Citadel communities that I really do not have any clue what I'm doing! :)

I've read the readme included in the tarball. I've also looked at the rules file under debian.

The readme says:

Comment 6 Christopher Hogan 2006-06-27 12:53:27 UTC
At last! I finally get my chance to show both the Gentoo and Citadel communities that I really do not have any clue what I'm doing! :)

I've read the readme included in the tarball. I've also looked at the rules file under debian.

The readme says:

--with-staticdir defines where webcit should locate and search its templates and images.
Also, there are possibilities to load the TinyMCE editor into a system-wide location. ...set --with-editordir for that

The rules file shows:

	CFLAGS="$(CFLAGS)" ./configure \
		--host=$(DEB_HOST_GNU_TYPE) \
		--build=$(DEB_BUILD_GNU_TYPE) \
		--prefix=/var/lib/citadel/www/ \
		--with-sysconfdir=/etc/citadel \
		--with-spooldir=/var/spool/citadel \
		--with-datadir=/var/lib/citadel \
		--with-rundir=/var/run/citadel \
		--with-ical --with-db --with-ldap --with-zlib --with-ssl --with-libiconf --with-newt with-included-gettext


However, the only with options in the configure script are:

--with-libical
--with-zlib
--with-newt
--with-ssl

In addition, the Makefile.in is written to ignore most of the standard GNU options.

I've spent the last little bit learning how autoconf works. The included patch is the result. My next step is to check the SVN version to see if any of the above is included in it. Yes, I should have checked it first. However, it was a good excuse to learn autoconf. Besides, the above problems have been in the last two releases (.81 and .82). There are still problems and bugs in the configure.in and makefile.in scripts. However, the package works for Gentoo. I want to work with upstream before I make many more changes. I'll document what I have changed with each attachment.
Comment 7 Christopher Hogan 2006-06-27 13:31:36 UTC
Created attachment 90308 [details, diff]
Patch to allow GNU standard install

gnu-install.patch patches configure.in and makefile.in.

In configure.in:

I added
Comment 8 Christopher Hogan 2006-06-27 13:31:36 UTC
Created attachment 90308 [details, diff]
Patch to allow GNU standard install

gnu-install.patch patches configure.in and makefile.in.

In configure.in:

I added ?with-gnustd to allow a standard GNU install. This switch sets all defaults to the locations specified by standards.info provided by www.gnu.org. However, the default install (--without-gnustd) still uses the locations provided by the WebCit authors. This was tricky! Please note that ?sbindir, --datadir, and most of the standard GNU options are ignored by the default install. This copies the original behavior of the provided configure script. Adding ?with-gnustd enables all of the GNU options.

I also updated the AC_INIT and AC_ OUTPUT functions. The provided configure.in used obsolete definitions.

In makefile.in:

I made a lot of changes to support both a standard GNU install and the default WebCit install. The install target was almost completely rewritten to use new variables and break data, executables, and locale files apart. -DLOCALEDIR=\"$(localedir) was added to allow custom locale locations. It was hard-coded to -DLOCALEDIR=\"$(prefix)/locale previously.

There are a few bugs still in these files. A bug in the autoconf.in prevents the location of autoconf from being passed to automake.in. This in turn prevents the clean target from functioning. I tried fixing the bug (AC_CHECK_PROG takes a minimum of three arguments, only two are provided for the autoconf check). However, the clean target dumps you into the configure script with this fixed. The makefile in po/ isn't portable at all. It uses [ for test and mkdir -p. I thought it best to leave these broken until I learn more about how automake works.
Comment 9 Christopher Hogan 2006-06-27 13:41:20 UTC
Created attachment 90310 [details]
This ebuild updates WebCit to version 6.82

This ebuild updates WebCit to version 6.82.

Data files are now installed to /usr/share/webcit. Currently, keys are under /usr/share/webcit/keys.

I've changed the name of the executable from webserver to webcit. It's installed under /usr/sbin. I've removed the setup program. It's not needed. All configuration is done under /etc/conf.d/webcit. Make sure to update /etc/init.d/webcit as the executable name/path change is included in it.
Comment 10 Christopher Hogan 2006-06-27 13:45:54 UTC
Created attachment 90312 [details]
Init.d file to go under ./files

Make sure to update /etc/init.d/webcit as the executable name/path change is included in it.
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-03 21:13:04 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 12 the_mgt 2009-09-24 22:18:18 UTC
Created attachment 205170 [details]
WebCit www-servers ebuild version 7.65

Version bumb to recent 7.65!

WebCit is the GUI for Citadel. See http://bugs.gentoo.org/show_bug.cgi?id=62119

Complete Howto and link to tarball with all needed ebuilds:
http://www.citadel.org/doku.php/installation:ebuild
Comment 13 the_mgt 2009-09-24 23:07:18 UTC
Created attachment 205174 [details]
conf.d file for webcit >=7.65 (goes into /files)
Comment 14 the_mgt 2009-09-24 23:07:53 UTC
Created attachment 205175 [details]
Init script for WebCit >=7.65 (goes into /files)
Comment 15 the_mgt 2009-10-04 22:40:46 UTC
Created attachment 206041 [details]
reworked and version bumped ebuild version 7.66, also committed to sunrise

needs the as-needed.patch
makes all earlier versions obsolete
Comment 16 the_mgt 2009-10-04 22:43:13 UTC
Created attachment 206042 [details, diff]
as-needed patch for version 7.66 (goes into /files...)

this file will be obsolete soon, patch was commited to and incorporated by upstream
(use only this patch, the other one in this bug is not needed)
Comment 17 the_mgt 2009-10-04 22:48:39 UTC
Version bumped to 7.66
This ebuild was commited into gentoo sunrise
https://overlays.gentoo.org/proj/sunrise/browser/sunrise/www-servers/webcit

Missed the review by a few minutes, should be in "reviewed" later this week
Comment 18 the_mgt 2011-01-30 00:17:57 UTC
Created attachment 261063 [details]
Live ebuild for git master

Git master version of WebCit is currently redesigned and under development for new features. It differs in lots of ways from the current stable releases and contains features you will find in the yet unreleased Citadel-8.
Please stick to Sunrise ebuilds until you want to check out the new features.
Comment 19 the_mgt 2011-07-04 20:28:47 UTC
Created attachment 279087 [details]
recent /etc/init.d/webcit, save as files/webcit.conf.d

Just added a few comment lines (webcit init script is now enabled to start multiple instances of webcit on different ports) and made the defaults sane.
Comment 20 the_mgt 2011-07-04 20:42:06 UTC
Created attachment 279089 [details]
recent /etc/init.d/webcit, put save as files/webcit.init.d

Can be used to run multiple webcit instances on one system (different port required). Basically like openvpn does, from which it was derived.
Create a symlink to webcit.yourservername and create a copy for the matching conf file, like /etc/conf.d/webcit.yourservername.
Comment 21 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:45:06 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/