Bug#814381: liblemonldap-ng-portal-perl: documentation recommend manager-apache2.conf which does not exist

2016-02-10 Thread Xavier
On 11/02/2016 02:45, Rosario Maddox wrote:
> Package: liblemonldap-ng-portal-perl
> Version: 1.3.3-1
> Severity: normal
> 
> Dear Maintainer,
> 
> The file:
> /usr/share/doc/liblemonldap-ng-portal-perl/README.Debian
> 
> says:
> 
> Enable the components you've installed:
> 
>   # Portal
>   a2ensite portal-apache2.conf
> 
>   # Manager
>   a2ensite manager-apache2.conf
> 
>   but manager-apache2.conf does not exist.
> 
>   # Handler
>   a2ensite handler-apache2.conf
> 
>   Neither this one exists.

Hi,

Today, the README.Debian is the same  for all binary package of
lemonldap-ng (that's why README says "components you've installed").
Other files are provided:
- by liblemonldap-ng-manager-perl for manager-apache2.conf
- by liblemonldap-ng-handler.conf for handler-apache2.conf

I can move this readme to lemonldap-ng meta package only.



Bug#814381: liblemonldap-ng-portal-perl: documentation recommend manager-apache2.conf which does not exist

2016-02-10 Thread Rosario Maddox
Package: liblemonldap-ng-portal-perl
Version: 1.3.3-1
Severity: normal

Dear Maintainer,

The file:
/usr/share/doc/liblemonldap-ng-portal-perl/README.Debian

says:

Enable the components you've installed:

  # Portal
  a2ensite portal-apache2.conf

  # Manager
  a2ensite manager-apache2.conf

  but manager-apache2.conf does not exist.

  # Handler
  a2ensite handler-apache2.conf

  Neither this one exists.

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages liblemonldap-ng-portal-perl depends on:
ii  debconf  1.5.56
ii  libcgi-pm-perl   4.09-1
ii  libclone-perl0.37-1+b1
ii  libhtml-template-perl2.95-1
ii  libjs-jquery 1.7.2+dfsg-3.2
ii  libjs-jquery-cookie  10-1
ii  liblemonldap-ng-common-perl  1.3.3-1
ii  libmime-lite-perl3.030-2
ii  libnet-ldap-perl 1:0.6400+dfsg-2
ii  libregexp-assemble-perl  0.35-8
ii  libstring-random-perl1:0.26-1
ii  libunicode-string-perl   2.09-5+b2
ii  perl 5.20.2-3+deb8u3

Versions of packages liblemonldap-ng-portal-perl recommends:
ii  libnet-facebook-oauth2-perl  0.08-1
ii  libwww-perl  6.08-1

Versions of packages liblemonldap-ng-portal-perl suggests:
pn  libauthcas-perl   
pn  libauthen-captcha-perl
ii  libdbi-perl   1.631-3+b1
ii  libglib-perl  3:1.305-2
ii  libhttp-message-perl  6.06-1
pn  liblasso-perl 
pn  liblemonldap-ng-handler-perl  
ii  liblwp-protocol-https-perl6.06-2
ii  libnet-facebook-oauth2-perl   0.08-1
pn  libnet-openid-consumer-perl   
pn  libnet-openid-server-perl 
pn  libnet-twitter-perl   
ii  libsoap-lite-perl 1.11-1
ii  liburi-perl   1.64-1
pn  libweb-id-perl
ii  libwww-perl   6.08-1
ii  libxml-libxml-perl2.0116+dfsg-1+deb8u1
ii  libxml-libxslt-perl   1.92-1+b1
ii  libxml-simple-perl2.20-1
pn  slapd 

-- Configuration Files:
/etc/lemonldap-ng/portal-apache2.conf changed:

ServerName auth.protected.rcdrun.com
# DocumentRoot
DocumentRoot /var/lib/lemonldap-ng/portal/


Order allow,deny
Allow from all

= 2.4>
Require all granted

Options +ExecCGI +FollowSymLinks

# Perl script

SetHandler perl-script
PerlResponseHandler ModPerl::Registry


DirectoryIndex index.pl index.html

# SOAP functions for sessions management (disabled by default)


Order deny,allow
Deny from all

= 2.4>
Require all denied


# SOAP functions for sessions access (disabled by default)


Order deny,allow
Deny from all

= 2.4>
Require all denied


# SOAP functions for configuration access (disabled by default)


Order deny,allow
Deny from all

= 2.4>
Require all denied


# SOAP functions for notification insertion (disabled by default)


Order deny,allow
Deny from all

= 2.4>
Require all denied


# SAML2 Issuer

RewriteEngine On
RewriteRule ^/saml/metadata /metadata.pl
RewriteRule ^/saml/.* /index.pl

# CAS Issuer

RewriteEngine On
RewriteRule ^/cas/.* /index.pl

# OpenID Issuer

RewriteEngine On
RewriteRule ^/openidserver/.* /index.pl



AddOutputFilterByType DEFLATE text/html text/plain text/xml 
text/javascript text/css
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip 
dont-vary


Header append Vary User-Agent env=!dont-vary




ExpiresActive On
ExpiresDefault "access plus 1 month"




#require Lemonldap::NG::Portal::SharedConf;
#Lemonldap::NG::Portal::SharedConf->compile(
#qw(delete header cache read_from_client cookie redirect unescapeHTML));
# Uncomment this line if you use Lemonldap::NG menu
#require Lemonldap::NG::Portal::Menu;
# Uncomment this line