Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2051 Details for
Bug 2796
WEBMIN for gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
webmin ebuild
webmin-0.992.ebuild (text/plain), 1.68 KB, created by
Seemant Kulleen (RETIRED)
on 2002-07-08 21:29:22 UTC
(
hide
)
Description:
webmin ebuild
Filename:
MIME Type:
Creator:
Seemant Kulleen (RETIRED)
Created:
2002-07-08 21:29:22 UTC
Size:
1.68 KB
patch
obsolete
># Webmin's ebuild script > >DESCRIPTION="Webmin, a web-based system administration interface" >SRC_URI="http://www.webmin.com/download/webmin-0.992.tar.gz" >#SRC_URI="http://fudu.home/webmin/tarballs/webmin-0.992.tar.gz" >HOMEPAGE="http://www.webmin.com/" >DEPEND="sys-devel/perl" >LICENSE="BSD" > >src_install() { > rm -f mount/freebsd-mounts* > rm -f mount/openbsd-mounts* > rm -f mount/macos-mounts* > (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl - > mkdir -p ${D}/usr/libexec/webmin > mkdir -p ${D}/etc/init.d > mkdir -p ${D}/var > mkdir -p ${D}/etc/pam.d > cp -rp * ${D}/usr/libexec/webmin > cp webmin-gentoo-init ${D}/etc/init.d/webmin > cp webmin-pam ${D}/etc/pam.d/webmin > echo gentoo > ${D}/usr/libexec/webmin/install-type >} > >pkg_postinst() { > /etc/init.d/webmin stop >/dev/null 2>&1 > stopstatus=$? > cd /usr/libexec/webmin > config_dir=/etc/webmin > var_dir=/var/webmin > perl=/usr/bin/perl > autoos=1 > port=10000 > login=root > crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :` > host=`hostname` > ssl=0 > atboot=0 > nostart=1 > nochown=1 > autothird=1 > nouninstall=1 > noperlpath=1 > export config_dir var_dir perl autoos port login crypt host ssl nochown autothird nouninstall nostart noperlpath > perl /usr/libexec/webmin/maketemp.pl > ./setup.sh >/tmp/.webmin/webmin-setup.out 2>&1 > cat >/etc/webmin/uninstall.sh <<EOF >#!/bin/sh >printf "Are you sure you want to uninstall Webmin? (y/n) : " >read answer >printf "\\n" >if [ "\\\$answer" = "y" ]; then > echo "Removing webmin package .." > /etc/init.d/webmin stop >/dev/null 2>&1 > emerge unmerge webmin > echo "Done!" >fi >EOF > chmod +x /etc/webmin/uninstall.sh > if [ "$stopstatus" = "0" ]; then > # Start if it was running before > /etc/init.d/webmin start > fi >} > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2796
: 2051