Adding debian version 2.4.63-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
7263481e48
commit
f56986e2d9
1490 changed files with 80785 additions and 0 deletions
25
debian/perl-framework/scripts/fcgi.pl
vendored
Executable file
25
debian/perl-framework/scripts/fcgi.pl
vendored
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env perl
|
||||
use FCGI;
|
||||
use Socket;
|
||||
use FCGI::ProcManager;
|
||||
use Data::Dumper;
|
||||
|
||||
$num_args = $#ARGV + 1;
|
||||
if ($num_args != 1) {
|
||||
print "\nUsage: fcgi.pl <socket>\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
$proc_manager = FCGI::ProcManager->new( {n_processes => 1} );
|
||||
$socket = FCGI::OpenSocket( $ARGV[0], 10 );
|
||||
$request = FCGI::Request( \*STDIN, \*STDOUT, \*STDERR, \%req_params,
|
||||
$socket, &FCGI::FAIL_ACCEPT_ON_INTR );
|
||||
$proc_manager->pm_manage();
|
||||
if ($request) {
|
||||
while ( $request->Accept() >= 0 ) {
|
||||
$proc_manager->pm_pre_dispatch();
|
||||
print("Content-type: text/plain\r\n\r\n");
|
||||
print Dumper(\%req_params);
|
||||
}
|
||||
}
|
||||
FCGI::CloseSocket($socket);
|
1
debian/perl-framework/scripts/fpm.sh
vendored
Executable file
1
debian/perl-framework/scripts/fpm.sh
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
php-fpm70 -p /usr/local2/php-fpm
|
15
debian/perl-framework/scripts/httpd-sub.ldif
vendored
Normal file
15
debian/perl-framework/scripts/httpd-sub.ldif
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
dn: cn=httpd,dc=example,dc=com
|
||||
objectClass: applicationProcess
|
||||
objectClass: simpleSecurityObject
|
||||
cn: httpd
|
||||
description: Service Account for httpd
|
||||
userPassword: mod_authnz_ldap
|
||||
|
||||
dn: ou=dept,dc=example,dc=com
|
||||
ou: dept
|
||||
objectClass: organizationalUnit
|
||||
|
||||
# Group
|
||||
dn: cn=Subgroup,ou=dept,dc=example,dc=com
|
||||
objectClass: groupOfUniqueNames
|
||||
uniqueMember: uid=beta,dc=example,dc=com
|
56
debian/perl-framework/scripts/httpd.ldif
vendored
Normal file
56
debian/perl-framework/scripts/httpd.ldif
vendored
Normal file
|
@ -0,0 +1,56 @@
|
|||
dn: cn=httpd,dc=example,dc=com
|
||||
objectClass: applicationProcess
|
||||
objectClass: simpleSecurityObject
|
||||
cn: httpd
|
||||
description: Service Account for httpd
|
||||
userPassword: mod_authnz_ldap
|
||||
|
||||
dn: uid=alpha,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
cn: Alpha Person
|
||||
givenName: Alpha
|
||||
sn: Person
|
||||
uid: alpha
|
||||
roomnumber: 42
|
||||
userPassword: Alpha
|
||||
|
||||
dn: uid=beta,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
cn: Beta Person
|
||||
givenName: Beta
|
||||
sn: Person
|
||||
uid: beta
|
||||
roomnumber: 41
|
||||
userPassword: Beta
|
||||
|
||||
dn: uid=gamma,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
cn: Gamma Person
|
||||
givenName: Gamma
|
||||
sn: Person
|
||||
uid: gamma
|
||||
roomnumber: 101
|
||||
userPassword: Gamma
|
||||
|
||||
dn: uid=delta,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
cn: Delta Person
|
||||
givenName: Delta
|
||||
sn: Person
|
||||
uid: delta
|
||||
roomnumber: 43
|
||||
userPassword: Delta
|
||||
|
||||
# Group
|
||||
dn: cn=Group One, dc=example,dc=com
|
||||
objectClass: groupOfUniqueNames
|
||||
uniqueMember: uid=alpha,dc=example,dc=com
|
||||
uniqueMember: uid=beta,dc=example,dc=com
|
||||
uniqueMember: uid=delta,dc=example,dc=com
|
||||
|
||||
# Referral
|
||||
dn: ou=dept,dc=example,dc=com
|
||||
objectClass: referral
|
||||
objectClass: extensibleObject
|
||||
ou: dept
|
||||
ref: ldap://localhost:8390/ou=dept,dc=example,dc=com
|
28
debian/perl-framework/scripts/ldap-init.sh
vendored
Executable file
28
debian/perl-framework/scripts/ldap-init.sh
vendored
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash -ex
|
||||
DOCKER=${DOCKER:-`which docker 2>/dev/null || which podman 2>/dev/null`}
|
||||
cid1=`${DOCKER} run -d -p 8389:389 httpd_ldap`
|
||||
cid2=`${DOCKER} run -d -p 8390:389 httpd_ldap`
|
||||
sleep 5
|
||||
|
||||
# For the CentOS slapd configuration, load some default schema:
|
||||
if ${DOCKER} exec -i $cid1 test -f /etc/centos-release; then
|
||||
${DOCKER} exec -i $cid1 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// < scripts/slapd-config.ldif
|
||||
${DOCKER} exec -i $cid2 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// < scripts/slapd-config.ldif
|
||||
|
||||
for sc in cosine inetorgperson nis; do
|
||||
fn=/etc/openldap/schema/${sc}.ldif
|
||||
${DOCKER} exec -i $cid1 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// -f ${fn}
|
||||
${DOCKER} exec -i $cid2 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// -f ${fn}
|
||||
done
|
||||
|
||||
ldapadd -x -H ldap://localhost:8390 -D cn=admin,dc=example,dc=com -w travis < scripts/suffix.ldif
|
||||
ldapadd -x -H ldap://localhost:8389 -D cn=admin,dc=example,dc=com -w travis < scripts/suffix.ldif
|
||||
fi
|
||||
|
||||
# Disable anonymous bind; must be done as an authenticated local user
|
||||
# hence via ldapadd -Y EXTERNAL within the container.
|
||||
${DOCKER} exec -i $cid1 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// < scripts/non-anon.ldif
|
||||
${DOCKER} exec -i $cid2 /usr/bin/ldapadd -Y EXTERNAL -H ldapi:// < scripts/non-anon.ldif
|
||||
|
||||
ldapadd -x -H ldap://localhost:8389 -D cn=admin,dc=example,dc=com -w travis < scripts/httpd.ldif
|
||||
ldapadd -x -H ldap://localhost:8390 -D cn=admin,dc=example,dc=com -w travis < scripts/httpd-sub.ldif
|
8
debian/perl-framework/scripts/memcached-init.sh
vendored
Executable file
8
debian/perl-framework/scripts/memcached-init.sh
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -ex
|
||||
DOCKER=${DOCKER:-`which docker 2>/dev/null || which podman 2>/dev/null`}
|
||||
${DOCKER} build -t httpd_memcached - <<EOF
|
||||
FROM quay.io/centos/centos:stream8
|
||||
RUN yum install -y memcached
|
||||
CMD /usr/bin/memcached -u memcached -v
|
||||
EOF
|
||||
${DOCKER} run -d -p 11211:11211 httpd_memcached
|
14
debian/perl-framework/scripts/non-anon.ldif
vendored
Normal file
14
debian/perl-framework/scripts/non-anon.ldif
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
dn: cn=config
|
||||
changetype: modify
|
||||
add: olcDisallows
|
||||
olcDisallows: bind_anon
|
||||
|
||||
dn: cn=config
|
||||
changetype: modify
|
||||
add: olcRequires
|
||||
olcRequires: authc
|
||||
|
||||
dn: olcDatabase={-1}frontend,cn=config
|
||||
changetype: modify
|
||||
add: olcRequires
|
||||
olcRequires: authc
|
8
debian/perl-framework/scripts/redis-init.sh
vendored
Executable file
8
debian/perl-framework/scripts/redis-init.sh
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -ex
|
||||
DOCKER=${DOCKER:-`which docker 2>/dev/null || which podman 2>/dev/null`}
|
||||
${DOCKER} build -t httpd_redis - <<EOF
|
||||
FROM quay.io/centos/centos:stream8
|
||||
RUN yum install -y redis
|
||||
CMD /usr/bin/redis-server
|
||||
EOF
|
||||
${DOCKER} run -d -p 6379:6379 httpd_redis
|
10
debian/perl-framework/scripts/slapd-config.ldif
vendored
Normal file
10
debian/perl-framework/scripts/slapd-config.ldif
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
dn: olcDatabase={2}hdb,cn=config
|
||||
changetype: modify
|
||||
replace: olcSuffix
|
||||
olcSuffix: dc=example,dc=com
|
||||
-
|
||||
replace: olcRootDN
|
||||
olcRootDN: cn=admin,dc=example,dc=com
|
||||
-
|
||||
add: olcRootPW
|
||||
olcRootPW: travis
|
5
debian/perl-framework/scripts/suffix.ldif
vendored
Normal file
5
debian/perl-framework/scripts/suffix.ldif
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
dn: dc=example,dc=com
|
||||
objectClass: organization
|
||||
objectClass: dcObject
|
||||
dc: example
|
||||
o: Example Organization
|
Loading…
Add table
Add a link
Reference in a new issue