aboutsummaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Add rowhelper type which will place add and delete row items on a form. ↵Scott Ullrich2004-12-221-51/+28
| | | | This can be used to group like items together on the web gui. First package employing this neat feature is pfStat
* Use <?xml version="1.0" encoding="utf-8" ?>Scott Ullrich2004-12-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <packagegui> <name>stunnel</name> <!-- Menu is where this packages menu will appear --> <menu> <name>STunnel</name> <tooltiptext>The stunnel program is designed to work as an SSL encryption wrapper between remote client and local (inetd-startable) or remote server. It can be used to add SSL functionality to commonly used inetd daemons like POP2, POP3, and IMAP servers without any changes in the programs' code. It will negotiate an SSL connection using the OpenSSL or SSLeay libraries. It calls the underlying crypto libraries, so stunnel supports whatever cryptographic algorithms you compiled into your crypto package.</tooltiptext> <section>Services</section> </menu> <!-- configpath gets expanded out automatically and config items will be stored in that location --> <configpath>['installedpackages']['package']['$packagename']['configuration']</configpath> <!-- adddeleteeditpagefields items will appear on the first page where you can add / delete or edit items. An example of this would be the nat page where you add new nat redirects --> <adddeleteeditpagefields> <columnitem> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> </columnitem> <columnitem> <fielddescr>Listen on IP</fielddescr> <fieldname>localip</fieldname> </columnitem> <columnitem> <fielddescr>Listen on Port</fielddescr> <fieldname>localport</fieldname> </columnitem> <columnitem> <fielddescr>Redirects to IP</fielddescr> <fieldname>redirectip</fieldname> </columnitem> <columnitem> <fielddescr>Redirects to Port</fielddescr> <fieldname>redirectport</fieldname> </columnitem> </adddeleteeditpagefields> <!-- fields gets invoked when the user adds or edits a item. the following items will be parsed and rendered for the user as a gui with input, and selectboxes. --> <fields> <field> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> <description>Enter a description for this redirection.</description> <type>input</type> </field> <field> <fielddescr>Listen on IP</fielddescr> <fieldname>localip</fieldname> <description>Enter the local IP address to bind this redirection to.</description> <type>input</type> </field> <field> <fielddescr>Listen on port</fielddescr> <fieldname>localport</fieldname> <description>Enter the local port to bind this redirection to.</description> <type>input</type> </field> <field> <fielddescr>Redirects to IP</fielddescr> <fieldname>redirectip</fieldname> <description>Enter the local IP address to redirect this to.</description> <type>input</type> </field> <field> <fielddescr>Redirects to Port</fielddescr> <fieldname>redirectport</fieldname> <description>Enter the local port to rediect to.</description> <type>input</type> </field> </fields> <custom_php_install_command> system("mkdir /var/tmp/stunnel 2>/dev/null"); system("/usr/bin/openssl req -new -x509 -days 365 -nodes -out /usr/local/etc/stunnel/stunnel.pem -keyout /usr/local/etc/stunnel/stunnel.pem"); system("chmod a-r /usr/local/etc/stunnel/stunnel.pem"); system("chmod u+r /usr/local/etc/stunnel/stunnel.pem"); system("mkdir -p /var/tmp/stunnel/var/tmp"); system("chmod a+rw /var/tmp/stunnel/var/tmp/."); </custom_php_install_command> <custom_php_deinstall_command> system("rm -rf /var/tmp/stunnel 2>/dev/null"); system("rm -rf /usr/local/etc/stunnel/stunnel.pem"); </custom_php_deinstall_command> <custom_add_php_command_late> $fout = fopen("/usr/local/etc/stunnel/stunnel.conf","w"); fwrite($fout, "cert = /usr/local/etc/stunnel/mail.pem \n"); fwrite($fout, "chroot = /var/tmp/stunnel \n"); fwrite($fout, "setuid = stunnel \n"); fwrite($fout, "setgid = stunnel \n"); foreach($config['installedpackages']['stunnel']['config'] as $pkgconfig) { fwrite($fout, "\n[" . $pkgconfig['description'] . "]\n"); fwrite($fout, "accept = " . $pkgconfig['localip'] . ":" . $pkgconfig['localport'] . "\n"); fwrite($fout, "connect = " . $pkgconfig['redirectip'] . ":" . $pkgconfig['redirectport'] . "\n"); fwrite($fout, "TIMEOUTclose = 0\n\n"); } fclose($fout); system("/usr/bin/killall stunnel 2>/dev/null"); system("/usr/local/sbin/stunnel 2>/dev/null"); </custom_add_php_command_late> </packagegui>
* Stunnel setup commands.Scott Ullrich2004-12-221-5/+10
|
* Add stunnel package!Scott Ullrich2004-12-221-0/+93
|
* Update nmap. Update pure-ftpdScott Ullrich2004-12-212-4/+5
|
* Add ntop package. And the crowd goes wild!Scott Ullrich2004-12-211-0/+49
|
* Correct couple minor pure-ftpd changes.Scott Ullrich2004-12-211-1/+0
|
* Add NMap package.Scott Ullrich2004-12-211-0/+60
| | | | And the crowd goes nuts..
* Move the "User has been added." save message to the XML file where it belongs.Scott Ullrich2004-12-181-4/+5
|
* Initial revisionScott Ullrich2004-12-171-0/+78
|
* Packages continued. New log file facility added.Scott Ullrich2004-12-161-1/+1
|
* add size, rows and cols flagsScott Ullrich2004-12-132-139/+143
|
* Update XML files to match current package manager feature setScott Ullrich2004-12-121-5/+7
|
* add ifgraph.xml gui and installation helper fileScott Ullrich2004-12-121-0/+137