Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72131 - capi4hylafax-01.02.03 (version bump)
Summary: capi4hylafax-01.02.03 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 13:46 UTC by Stefan Schweizer (RETIRED)
Modified: 2004-12-02 14:52 UTC (History)
1 user (show)

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


Attachments
capi4hylafax-01.02.03.ebuild (capi4hylafax-01.02.03.ebuild,1.62 KB, text/plain)
2004-11-22 13:47 UTC, Stefan Schweizer (RETIRED)
Details
capi4hylafax-01.02.03.ebuild (capi4hylafax-01.02.03.ebuild,1.76 KB, text/plain)
2004-11-27 12:29 UTC, Stefan Schweizer (RETIRED)
Details
capi4hylafax-01.02.03.ebuild (enhanced) (capi4hylafax-01.02.03.ebuild,2.59 KB, text/plain)
2004-12-01 15:28 UTC, Stefan Briesenick (RETIRED)
Details
capi4hylafax (capi4hylafax,981 bytes, text/plain)
2004-12-02 12:31 UTC, Stefan Briesenick (RETIRED)
Details
capi4hylafax (init-script) (capi4hylafax,985 bytes, text/plain)
2004-12-02 12:35 UTC, Stefan Briesenick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer (RETIRED) gentoo-dev 2004-11-22 13:46:17 UTC
Hi,

I used the debian patch, because there package is maintained and tested and has all the patches applied, which are needed to make it work again.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-22 13:47:34 UTC
Created attachment 44498 [details]
capi4hylafax-01.02.03.ebuild
Comment 2 Mike Doty (RETIRED) gentoo-dev 2004-11-22 19:28:42 UTC
Compiles for me on both x86 and amd64, allthough I cannot test it.  Could someone test this for me?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-22 22:01:23 UTC
Oh I gorget to say that I did not test this either, because my hylafax system is not yet working. But it needs testing as debian has maybe changed some important paths.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-27 02:26:03 UTC
I added the following to avoid all path issues:


    mv ${S}.orig ${S}
    cd ${S}
    epatch ${WORKDIR}/capi4hylafax_${PV}-7.diff
+    for i in * debian/* src/scripts/setupconffile
+    do
+        if [ -f "${i}" ]; then
+            sed -si "s:/var/spool/hylafax:/var/spool/fax:" ${i}
+        fi
+    done
}

Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-27 12:29:04 UTC
Created attachment 44843 [details]
capi4hylafax-01.02.03.ebuild

This version seems to work(just my patch merged in), at least I get in gfax:

HylaFAX scheduler on butler.genstef.homelinux.org: Running

Modem faxCAPI (+49.89.67989331): Running and idle
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-01 13:29:27 UTC
oh, damn, I also made an ebuild for this.

I check this one attached here and if mine has some further/other enhancements, I try to merge them and attach the new ebuild. Gimme a few mins... ;-)
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-01 13:57:42 UTC
ok, almost finished.

But I'm not sure, if I should change the default "uucp" user to "fax" in all the config-files. SuSE enforces in their spec-files the user "fax" and group "uucp". The current ebuild also mention the user "fax". But all config-files are still using "uucp".

hmm... 
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-01 14:14:59 UTC
Ok, debian-changelog says this:

* Switched back FaxReceiveUser to uucp since hylafax-server
  runs also as uucp

and they're right.

Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-01 14:53:59 UTC
ok, last checks are running. Then I attach my ebuild.
Comment 10 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-01 15:28:26 UTC
Created attachment 45093 [details]
capi4hylafax-01.02.03.ebuild (enhanced)

the promised enhanced version. Please test it!
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-02 08:48:01 UTC
What do you think of DEPEND RDEPEND?

I think we should only have


RDEPEND="net-dialup/capi4k-utils
        net-misc/hylafax"


there. DEPEND defaults to RDEPEND if empty.
Comment 12 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 10:34:43 UTC
I agree with you. But I've taken this from your ebuild. So it's up to you. reduce it to a bare minimum.

btw: I'm writing a new/better init-script. The old one is, well ..., not really good. The new one will be fully compatible, so you can just overwrite it in the $FILESDIR.
Comment 13 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 10:36:00 UTC
btw: RDEPEND equals to DEPEND if empty. So you should define only DEPEND.
Comment 14 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 12:31:12 UTC
Created attachment 45164 [details]
capi4hylafax

new and better init-script. put it into $FILESDIR.

supports more than one config-file by just symlinking
it to capi4hylafax.<device>, where <device> is the name
of the config-file suffix (=modem).

it's fully compatible to the old one.
Comment 15 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 12:35:33 UTC
Created attachment 45165 [details]
capi4hylafax (init-script)

fixed typo.
Comment 16 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 12:39:59 UTC
@ Mike: it works. If it compiles for you, then it works (if CAPI works of course).
Comment 17 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-02 12:55:22 UTC
nerdboy allowed me to take this one :)
Where do you know the DEPEND/RDEPEND thing from? I want to set up a bookmark to prevent further mistakes.
Comment 18 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 13:03:35 UTC
[/usr/portage/skel.ebuild]

# Build-time dependencies, such as
#    ssl? ( >=dev-libs/openssl-0.9.6b )
#    >=dev-lang/perl-5.6.1-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package.  Then
# other users hopefully won't be caught without the right version of
# a dependency.
DEPEND=""

# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
#RDEPEND=""
Comment 19 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-02 13:29:08 UTC
in portage, with 

DEPEND="net-dialup/capi4k-utils
        net-misc/hylafax"

and all your changes :)
Comment 20 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-02 14:52:09 UTC
thanks. :)