Re: [Fink-devel] Can I modify outside /sw?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, Jan 10, 2003, at 14:47 US/Eastern, Finlay Dobbie wrote: On Friday, January 10, 2003, at 03:17 pm, Jared wrote: What does Fink's daemonic package do? I'm not familiar with it. Last i checked, it managed a load of startupitem bundles in /Library/StartupItems (can you say, ick?). Hand massaging rc.local, that's icky. StartupItems are actually pretty elegant, IMO. jpb - -- Joe Block [EMAIL PROTECTED] Computers are like air conditioners, they stop working properly when you open Windows -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+IFPTyEXo8W2M9hsRAtZyAJsFFx0wgakxasnOXTgjMZGQvZ/jwgCgr4Cv iUhwZ6RZuLbmM6JrQoQxfDU= =BmlZ -END PGP SIGNATURE- --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Can I modify outside /sw?
Hi. I have a package which currently creates a file outside /sw. It adds a file to /etc/xinetd.d/ so your computer acts as a POP3 server so you can get Hotmail in any e-mail client. The person who is looking over my package isn't sure about my modifying outside /sw but in an effort to keep it as easy for the end user as possible, I wanted it to be automated. If I add a PostRmScript to remove the file, will this be acceptable? Also, what does make install do, or how can I find out what it does? I'm asking because to install the software I created the package for, I just need to copy the binary it makes somewhere. I don't know what a make install will do so my install script is simply a cp file target. I don't know how to guarantee it will be installed into the /sw/sbin/ folder as I want. My file I mentioned above needs to know the full path so it needs to be predictable. On an unrelated note (because I don't want to join another mailing list to ask this), I got an error while installing gimp (fink install gimp). I am using Apple's X11 so with the many choices at the beginning of installation, I chose to install system-xfree86. It stops compiling with this error: --- dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system- xfree86_4.2-1_darwin-powerpc.deb (Reading database ... 5951 files and directories currently installed.) Unpacking system-xfree86 (from .../system-xfree86_4.2-1_darwin-powerpc.deb) ... dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system- xfree86_4.2-1_darwin-powerpc.deb (--install): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system- xfree86_4.2-1_darwin-powerpc.deb ### execution of dpkg failed, exit code 1 Failed: can't install package system-xfree86-4.2-1 This happens right after it sets up libtiff. Thanks in advance. -Jared --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On Freitag, Januar 10, 2003, at 02:29 Uhr, Jared wrote: On an unrelated note (because I don't want to join another mailing list to ask this), I got an error while installing gimp (fink install gimp). I am using Apple's X11 so with the many choices at the beginning of installation, I chose to install system-xfree86. It stops compiling with this error: Did you read http://fink.sourceforge.net/doc/x11/inst-xfree86.php#apple-binary ? Follow the instructions there. Chris. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On Friday, January 10, 2003, at 08:59 AM, David R. Morrison wrote: Jared [EMAIL PROTECTED] wrote: Hi. I have a package which currently creates a file outside /sw. It adds a file to /etc/xinetd.d/ so your computer acts as a POP3 server so you can get Hotmail in any e-mail client. The person who is looking over my package isn't sure about my modifying outside /sw but in an effort to keep it as easy for the end user as possible, I wanted it to be automated. If I add a PostRmScript to remove the file, will this be acceptable? On my machine, inetd is running rather thatn xinetd. So are you sure that this would actually work? Well, when I did it on my machine, xinetd was running already. When I did it on my iBook, xinetd was not running so I manually started it (sudo xinetd). Now, after a restart, my iBook is still running xinetd. I have one more computer which is not running it yet and I didn't install hotway on it. I guess I well test on there and see what happens after I install hotway using my script and restart. There is a way to do it with inetd as well, but I have to modify an existing file (/etc/inetd.conf). It is easier to include and remove a separate file like I can do with xinetd. On a more general note, Fink's daemonic package is intended to help manage daemons that are needed for Fink packages. Could you possibly make use of it instead? Well, it doesn't run as a daemon. That is, it doesn't constantly run. It only runs when you make a connection on port 110 (the POP3 port and the port I use during installation) to your computer. This is where xinetd (or inetd) comes in, as it's the software which runs hotwayd. What does Fink's daemonic package do? I'm not familiar with it. Thanks. -Jared --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On Friday, January 10, 2003, at 03:17 pm, Jared wrote: What does Fink's daemonic package do? I'm not familiar with it. Last i checked, it managed a load of startupitem bundles in /Library/StartupItems (can you say, ick?). -- Finlay --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
At 19:47 Uhr + 10.01.2003, Finlay Dobbie wrote: On Friday, January 10, 2003, at 03:17 pm, Jared wrote: What does Fink's daemonic package do? I'm not familiar with it. Last i checked, it managed a load of startupitem bundles in /Library/StartupItems (can you say, ick?). I can say it, but I don't know why you would say it, how about elaborating? Anyway, Justin is working on a spiced up daemonic. Max -- --- Max Horn Software Developer --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
or create a startup item for xinetd, it seems to me I remember having to do this to test proftpd with xinetd. [EMAIL PROTECTED] writes: What do you mean by startup items are more preferred? Should I somehow create a startup item for hotway instead of using xinetd and if so, how would I do that? It would need to be a daemon running all the time then, yeah? The instructions from the creators of hotway use the inetd/xinetd method so I'm at a loss. -=[JFH] Justin F. Hallett Systems Analyst -=[JFH] Rendek Communications Inc. -=[JFH] [EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On my machine, inetd is running rather thatn xinetd. So are you sure that this would actually work? Because you have no services for it. It checks at boot time. (see your console.log) inetd is obsolete, xinetd comes with Jaguar and is preferred (though startup items are more preferred) The maintainer of xinetd happens to be Rob Braun, so you can bring your xinetd questions to #opendarwin. :) -Ben Now, if we could just figure out why Apple didn't remove the inetd line from /System/Library/IPServices/IPServices... :) -- JD --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
or create a startup item for xinetd, it seems to me I remember having to do this to test proftpd with xinetd. -=[JFH] Justin F. Hallett Systems Analyst xinetd is started by /System/Library/StartupItems/IPServices/IPServices. As long as it has an active service it will load at boot. inetd loads as well, but I can't figure out why since it doesn't appear to be being used by the OS at all (good, xinetd is so much better). Either the maintainer could stick a file in /etc/xinetd.d/ for the service or figure out how to daemonize the service and run it with a startup bundle in /Library/StartupItems. I'm curious, perhaps Fink could standardize a location in the /sw/etc directory, perhaps /sw/etc/xinetd.d and then just add a line to /etc/xinetd.conf that says IncludeDir /sw/etc/xinetd.d? This would allow package maintainers to easily add configuration files for xinetd, yet keep it fairly separate from the rest of the filesystem. The only modification to distribution files would be in /etc/xinetd.conf, which I don't expect Apple to modify directly (they would instead modify the individual service configuration files in /etc/xinetd.d). Thoughts? -- Jason Deraleau --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On Friday, January 10, 2003, at 01:01 PM, Jason Deraleau wrote: Now, if we could just figure out why Apple didn't remove the inetd line from /System/Library/IPServices/IPServices... Because, as i said, inetd is OBSOLETE. xinetd is its replacement. -Ben --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
tha tis it, looks very familiar :) [EMAIL PROTECTED] writes: Now, if we could just figure out why Apple didn't remove the inetd line from /System/Library/IPServices/IPServices... -=[JFH] Justin F. Hallett Systems Analyst -=[JFH] Rendek Communications Inc. -=[JFH] [EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
as max noted I'm working on adding xinetd support to daemonic. [EMAIL PROTECTED] writes: I'm curious, perhaps Fink could standardize a location in the /sw/etc directory, perhaps /sw/etc/xinetd.d and then just add a line to /etc/xinetd.conf that says IncludeDir /sw/etc/xinetd.d? This would allow package maintainers to easily add configuration files for xinetd, yet keep it fairly separate from the rest of the filesystem. The only modification to distribution files would be in /etc/xinetd.conf, which I don't expect Apple to modify directly (they would instead modify the individual service configuration files in /etc/xinetd.d). Thoughts? -=[JFH] Justin F. Hallett Systems Analyst -=[JFH] Rendek Communications Inc. -=[JFH] [EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Can I modify outside /sw?
On Friday, January 10, 2003, at 08:17 pm, Max Horn wrote: Last i checked, it managed a load of startupitem bundles in /Library/StartupItems (can you say, ick?). I can say it, but I don't know why you would say it, how about elaborating? Mixing daemonic-managed startup items with non-daemonic managed startup items in a directory people are aware of and don't normally associate with Fink doesn't strike me as a particularly elegant solution... In fact, I wouldn't be surprised if lots of people are confused by the presence of daemonic-blah in their StartupItems. -- Finlay --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel