Opened 21 years ago

Closed 18 years ago

#596 closed defect (wontfix)

NEW: webmin-1.090

Reported by: allenwc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I have created a partial port candidate for webmin-1.090. I have some issues:

1) webmin is a set of perl scripts for adminstering servers via http connections. therefore, it cannot live in /opt/local/bin. How does /opt/local/share/webmin sound?

2) note the perl scripts above? How do I depend on a base product, and if not installed, then install the ports perl?

3) installation. webmin uses a shell script which must be run as root to install the hooks into the system and apache to allow it to run. Currently, I thought it best to take a page from openBSD here and have the install portion copy the working components to the final dest dir and just tell the user to run the setup.sh script from that dir as root. is that acceptable practice?

=============Portfile for webmin ================ # $Id: $ PortSystem 1.0 name webmin version 1.090 categories sysutils maintainers allenwc@… description a Web based server admin tool long_description webmin is a set of perl scripts for administering\

servers via an http connection.

homepage http://www.webmin.com/ master_sites http://aleron.dl.sourceforge.net/sourceforge/${name}/ \

http://unc.dl.sourceforge.net/sourceforge/${name}/ \ http://telia.dl.sourceforge.net/sourceforge/${name}/ \ http://easynews.dl.sourceforge.net/sourceforge/${name}/ \ http://umn.dl.sourceforge.net/sourceforge/${name}/ \ http://twtelecom.dl.sourceforge.net/sourceforge/${name}/ \ http://belnet.dl.sourceforge.net/sourceforge/${name}/ \ http://switch.dl.sourceforge.net/sourceforge/${name}/ \ http://cesnet.dl.sourceforge.net/sourceforge/${name}/

checksums md5 ad9cc428a3e5154aa43c0b19bf722f51

# depends_run path:\/usr\/bin\/perl:perl

configure {} build {}

install { system "mkdir ${destroot}/${prefix}/share/${name}" system "cp -R ${workpath}/webmin-1.090 ${destroot}/${prefix}/share/${name}" ui_msg "you must now change to ${prefix}/share/${name}/${worksrcdir} and run setup.sh as root"}

Change History (6)

comment:1 Changed 21 years ago by robert@…

Perhaps I am missing something, but I have had webmin installed on my Mac OS 10.1 box (serving as a file server) for quite some time without a hitch. Installation was a breeze.

comment:2 Changed 21 years ago by allenwc@…

Since I have received 3 emails and 1 bug report so far today I'd just like to say:

Yes, webmin is dead easy to install, somewhat harder to remove, and very easy to use. However, suppose someone was new to darwin? (or anyother OS that could use dports) and wasn't aware that there was a webmin? But they knew about dports. Look through dports and voila! Wow, a web based server admin tool! Gee I'd like to try that! Weehee, it works and it's easy :-) or Bleah, that's horrible! port uninstall webmin. Whew, glad that's gone!

Or suppose that you had to install webmin on 15 darwin or OS X Servers across "the city"? what could be easier than sitting down at a comfy location, logging in via ssh and port install webmin ?

I hope that answers the question.

comment:3 Changed 21 years ago by allenwc@…

Summary: RFC: webmin-1.090New: webmin-1.090

Okay. I haven't been able to make the port framework do the install with user feedback. Result: user will have to run the setup.sh on their own post install.

Please consider this a Port Submissin Now.

Portfile follows

================== Portfile for Webmin-1.090 ================ # $Id: $ PortSystem 1.0 name webmin version 1.090 categories sysutils maintainers allenwc@… description a Web based server admin tool long_description webmin is a set of perl scripts for administering\

servers via an http connection.

homepage http://www.webmin.com/ master_sites http://aleron.dl.sourceforge.net/sourceforge/${name}/ \

http://unc.dl.sourceforge.net/sourceforge/${name}/ \ http://telia.dl.sourceforge.net/sourceforge/${name}/ \ http://easynews.dl.sourceforge.net/sourceforge/${name}/ \ http://umn.dl.sourceforge.net/sourceforge/${name}/ \ http://twtelecom.dl.sourceforge.net/sourceforge/${name}/ \ http://belnet.dl.sourceforge.net/sourceforge/${name}/ \ http://switch.dl.sourceforge.net/sourceforge/${name}/ \ http://cesnet.dl.sourceforge.net/sourceforge/${name}/

checksums md5 ad9cc428a3e5154aa43c0b19bf722f51

depends_run path:/usr/bin/perl:perl5.8

configure {} build {}

install { system "mkdir ${destroot}/${prefix}/share/${name}" system "cp -R ${workpath}/webmin-1.090 ${destroot}/${prefix}/share/${name}" ui_msg "you must now change to ${prefix}/share/${name}/${worksrcdir} and run setup.sh as root"}

comment:4 Changed 19 years ago by snu@…

Summary: New: webmin-1.090NEW: webmin-1.090

comment:5 Changed 19 years ago by blb@…

This is an old bug, hence webmin has seen several version upgrades. If there's still interest, the version can be increased, and should be committable with only a couple changes:

master_sites can just be 'sourceforge' depends_run can just be 'bin:perl:perl5.8'

Also, attach the Portfile instead of inlining it, as that makes life easier for whoever commits it.

comment:6 Changed 18 years ago by olegb@…

Resolution: wontfix
Status: newclosed

closing this ancient bug, ELACKOFINTEREST - sorry.

please submit a newer version.

Note: See TracTickets for help on using tickets.