BSD Ports

mail/sgwi 1.1.8_1 FreeBSD

PHP web interface to SQLGrey

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
mail, www
Package size
18.1 KiB, 56.0 KiB installed

Description

sgwi is a web interface to SQLGrey written in PHP. It allows you to edit the white- and blacklists as well as the current state of the greylist.

In the other systems

SystemPortVersion
FreeBSDmail/sgwi1.1.8_1
DragonFlymail/sgwi1.1.8_1

Install

Binary package:

pkg install sgwi

From the ports tree:

cd /usr/ports/mail/sgwi/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sgwi>0:mail/sgwi

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.8_11.1.8_11.1.8_11.1.8_11.1.8_1
FreeBSD:14:quarterly1.1.8_11.1.8_1n/a1.1.8_11.1.8_1
FreeBSD:15:latest1.1.8_11.1.8_1n/a1.1.8_11.1.8_1
FreeBSD:15:quarterly1.1.8_11.1.8_1n/an/an/a
FreeBSD:16:latest1.1.8_11.1.8_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 7

No port depends on this one.

Configuration

Options name: mail_sgwi

OptionDefaultDescription
MYSQLonMySQL back-end (use mysql PHP extension)
PGSQLoffPostgreSQL back-end (use pgsql PHP extension)
SQLITE3offSQLite3 back-end (use pgsql PHP extension)
USES
tar:tgz php:web
Service scripts
none

Message after installing

1. Configure sgwi
-----------------
Edit the /usr/local/www/sgwi/includes/config.inc.php file to reflect your
setup.

The default password for sgwi is admin/admin. It's specified in
the .htpasswd file in /usr/local/www/sgwi/ directory. Change it
with:

htpasswd /usr/local/www/sgwi/.htpasswd admin

Also make sure that the location of the .htpasswd file specified
in .htaccess file matches your path.

2. Configure Apache
-------------------
Add a line in your httpd.conf to allow the use of .htaccess file.

<Directory "/usr/local/www/sgwi/">
        Options Indexes
        AllowOverride AuthConfig
</Directory>

Files

pkg-plist 15
  • @sample www/sgwi/.htaccess.sample
  • @sample www/sgwi/.htpasswd.sample
  • www/sgwi/awl.php
  • www/sgwi/connect.php
  • www/sgwi/includes/awl.inc.php
  • @sample www/sgwi/includes/config.inc.php.sample
  • www/sgwi/includes/connect.inc.php
  • www/sgwi/includes/copyright.inc.php
  • www/sgwi/includes/functions.inc.php
  • www/sgwi/includes/opt_in_out.inc.php
  • www/sgwi/index.php
  • www/sgwi/license.txt
  • www/sgwi/main.css
  • www/sgwi/opt_in_out.php
  • www/sgwi/readme.txt
distinfo 1
FileSizeSHA256
sqlgreywebinterface-1.1.8.tgz1425733685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08
Master sites 2
  • http://www.vanheusden.com/sgwi/
  • https://www.freebsd.systems/files/

Commit history 0

No commits in the history this site was built from.