Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112194 - New Ebuild: net-im/zephyr
Summary: New Ebuild: net-im/zephyr
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-11-11 09:00 UTC by Mike Kelly
Modified: 2006-08-04 22:14 UTC (History)
1 user (show)

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


Attachments
zephyr ebuild (zephyr-2.1.20010518-r13.ebuild,1.03 KB, text/plain)
2005-11-11 09:01 UTC, Mike Kelly
Details
conf.d file for zhm (zhm.confd,220 bytes, text/plain)
2005-11-11 09:01 UTC, Mike Kelly
Details
init.d file for zhm (zhm.initd,348 bytes, text/plain)
2005-11-11 09:02 UTC, Mike Kelly
Details
zephyr-2.1.20010518.15.ebuild (zephyr-2.1.20010518.15.ebuild,987 bytes, text/plain)
2006-02-06 22:42 UTC, Mike Kelly
Details
zephyr-2.1.20010518.15-r1.ebuild (zephyr-2.1.20010518.15-r1.ebuild,892 bytes, text/plain)
2006-02-16 01:22 UTC, Mike Kelly
Details
files/zephyr-2.1.20010518.15.patch (zephyr-2.1.20010518.15.patch,139.40 KB, patch)
2006-02-16 01:28 UTC, Mike Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kelly 2005-11-11 09:00:14 UTC
Attached is an early draft of an ebuild for zephyr. It makes use of the sources
and patches from Debian.

Also included are a sample init.d and conf.d file for zhm, the zephyr host
manager, a necessary service for client machines.  I have not had the
opportunity to make use of a zephyrd server, but I don't think there would
really be all that much to making an init.d file for it.

As I said, this is a rough draft. Any feedback would be greatly appreciated.
Comment 1 Mike Kelly 2005-11-11 09:01:04 UTC
Created attachment 72670 [details]
zephyr ebuild
Comment 2 Mike Kelly 2005-11-11 09:01:32 UTC
Created attachment 72671 [details]
conf.d file for zhm
Comment 3 Mike Kelly 2005-11-11 09:02:23 UTC
Created attachment 72672 [details]
init.d file for zhm
Comment 4 Mike Kelly 2006-02-06 22:42:35 UTC
Created attachment 79086 [details]
zephyr-2.1.20010518.15.ebuild

new zephyr ebuild, now at version 2.1.20010518.15
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 13:15:36 UTC
- the Debian patches usually include lots of other stuff we don't need, better to grab what's needed  and make it a smaller patch.
- einstall exists only for retarded install scripts, preferable  make DESTDIR=${D} install  should be used.
Comment 6 Mike Kelly 2006-02-12 22:19:11 UTC
Well, the vanilla sources don't build against current versions of Kerberos, I think that that is what most of the Debian patch does. Next weekend I'll look into cleaning it up a bit more.

Also, this package provides both the client and server software. How should that be handled in Gentoo? Debian provides separate packages [both built from the same source package]. Should I provide a "server" USE flag or something similar? Or should they be split into two separate packages?
Comment 7 Mike Kelly 2006-02-16 01:15:50 UTC
Okay, following the advice of comment #5, I'm attaching a new version of the ebuild, as well as the trimmed down patch (which, uncompressed, is about 2M smaller than the debian patch). The new patch just modifies the main distribution files, not adding the debian directory, or the .svn directories.

I'm not really sure how I should handle the versioning scheme for all this. How close should I be staying to the upstream versioning scheme? If it really is just being maintained as patch revisions (as I believe it is, since MIT abandoned active development on zephyr a while ago), can't we just come up with our own versioning scheme on our mirrors, since we'll really only need 1 tarball ever, and we'll just be adding new patch versions to the tree? [I really hate the versionator and bash string substition at top there.]

Also, the $(use_with krb4 krb4=/usr) seems like a major hack, is there some other way to achieve the same end in a more elegant manner?
Comment 8 Mike Kelly 2006-02-16 01:22:19 UTC
Created attachment 79912 [details]
zephyr-2.1.20010518.15-r1.ebuild
Comment 9 Mike Kelly 2006-02-16 01:28:54 UTC
Created attachment 79913 [details, diff]
files/zephyr-2.1.20010518.15.patch
Comment 10 Mike Kelly 2006-02-25 10:40:16 UTC
I played with ldd and a massively long bash pipe to get a list of the other packages that zephyr depends on that I didn't consciously think of at the time (specifically, the modular X dependencies).

DEPEND="krb4? app-crypt/mit-krb5
        sys-libs/readline
        X? || (
                virtual/x11 
                ( 
                        x11-libs/libSM
                        x11-libs/libXau
                        x11-libs/libXdmcp
                        x11-libs/libXmu
                        x11-libs/libXpm 
                )
        )"

Let me know if any of those need to be trimmed... I don't know which it requires to build upon and which it just builds against if present... Debian still uses a non-modular X. I also eliminated all packages that it builds against that are depended upon by one listed above.
Comment 11 Mike Kelly (RETIRED) gentoo-dev 2006-07-04 19:18:18 UTC
This is now in the sunrise overlay. You can find it at:
http://gentoo-sunrise.org/svn/reviewed/net-im/zephyr/
Comment 12 Mike Kelly 2006-08-04 22:14:03 UTC
Upstream is dead. I'm not using this package anymore. I've removed the ebuild from Sunrise, and am now closing this bug.