Browse Source

n/horde-groupware: Removed.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
3c49cad0dd
  1. 64
      n/horde-groupware/contact.schema
  2. 4
      n/horde-groupware/doinst.sh
  3. 85
      n/horde-groupware/horde-groupware-1.2.9-turba-ldap-backend.diff
  4. 1
      n/horde-groupware/horde-groupware-1.2.9.tar.gz.sha1
  5. 103
      n/horde-groupware/horde-groupware.SlackBuild
  6. 12
      n/horde-groupware/slack-desc

64
n/horde-groupware/contact.schema

@ -1,64 +0,0 @@
# Incenp.org's schema for contact informations
#
# OID arc: 1.3.6.1.4.1.35451.1.
# .1 Syntaxes
# .2 Attributes
# .3 Objectclasses
attributetype ( 1.3.6.1.4.1.35451.1.2.1
NAME 'x-incenp-homeStreet'
DESC 'Incenp.org: Home street address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
attributetype ( 1.3.6.1.4.1.35451.1.2.2
NAME 'x-incenp-homePostOfficeBox'
DESC 'Incenp.org: Home post office box'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
attributetype ( 1.3.6.1.4.1.35451.1.2.3
NAME 'x-incenp-homeLocalityName'
DESC 'Incenp.org: Home locality name'
SUP name )
attributetype ( 1.3.6.1.4.1.35451.1.2.4
NAME 'x-incenp-homeStateOrProvinceName'
DESC 'Incenp.org: Home state or province name'
SUP name )
attributetype ( 1.3.6.1.4.1.35451.1.2.5
NAME 'x-incenp-homePostalCode'
DESC 'Incenp.org: Home postal code'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
attributetype ( 1.3.6.1.4.1.35451.1.2.6
NAME 'x-incenp-homeCountry'
DESC 'Incenp.org: Home country'
SUP name SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.35451.1.2.7
NAME 'x-incenp-pgpPublicKey'
DESC 'Incenp.org: PGP Public Key'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.35451.1.3.1
NAME 'x-incenp-contact'
DESC 'Incenp.org: contact'
SUP inetOrgPerson
STRUCTURAL
MAY (
x-incenp-homeStreet $
x-incenp-homePostOfficeBox $
x-incenp-homeLocalityName $
x-incenp-homeStateOrProvinceName $
x-incenp-homePostalCode $
x-incenp-homeCountry $
x-incenp-pgpPublicKey $
c )
)

4
n/horde-groupware/doinst.sh

@ -1,4 +0,0 @@
#!/bin/sh
if grep ^ldap /etc/passwd > /dev/null ; then
chown ldap:ldap etc/openldap etc/openldap/schema etc/openldap/schema/contact.schema
fi

85
n/horde-groupware/horde-groupware-1.2.9-turba-ldap-backend.diff

@ -1,85 +0,0 @@
diff -Naur horde-groupware-1.2.9.orig/turba/config/sources.php horde-groupware-1.2.9/turba/config/sources.php
--- horde-groupware-1.2.9.orig/turba/config/sources.php 2010-11-23 02:06:27.000000000 +0100
+++ horde-groupware-1.2.9/turba/config/sources.php 2011-03-03 14:54:55.606880162 +0100
@@ -300,3 +300,81 @@
'list_name_field' => 'lastname',
'alternative_name' => 'company',
);
+
+/**
+ * Personal addressbook in LDAP backend.
+ */
+$cfgSources['personal_ldap'] = array(
+ 'title' => _("My Address Book"),
+ 'type' => 'ldap',
+ 'params' => array(
+ 'server' => 'localhost',
+ 'tls' => false,
+ 'root' => 'ou=rootdn,dc=example,dc=com',
+ 'bind_dn' => 'uid=' . Auth::getBareAuth() . ',dc=example,dc=com',
+ 'bind_password' => Auth::getCredential('password'),
+ 'dn' => array('cn'),
+ 'objectclass' => array(
+ 'top',
+ 'person',
+ 'organizationalPerson',
+ 'inetOrgPerson',
+ 'x-incenp-contact'
+ ),
+ 'scope' => 'one',
+ 'charset' => 'utf-8',
+ 'version' => 3
+ ),
+ 'map' => array(
+ '__key' => 'dn',
+ '__uid' => 'uid',
+ 'name' => 'cn',
+ 'lastname' => 'sn',
+ 'firstname' => 'givenname',
+ 'title' => 'title',
+ 'emails' => 'mail',
+ 'company' => 'o',
+ 'department' => 'ou',
+ 'office' => 'roomnumber',
+ 'worhPhone' => 'telephonenumber',
+ 'homePhone' => 'homePhone',
+ 'cellPhone' => 'mobile',
+ 'fax' => 'facsimiletelephonenumber',
+ 'businessCategory' => 'businesscategory',
+ 'workAddress' => 'postaladdress',
+ 'workStreet' => 'street',
+ 'workPOBox' => 'postofficebox',
+ 'workPostalCode' => 'postalcode',
+ 'workCity' => 'l',
+ 'workProvince' => 'st',
+ 'workCountry' => 'c',
+ 'homeAddress' => 'homepostaladdress',
+ 'homeStreet' => 'x-incenp-homestreet',
+ 'homePOBox' => 'x-incenp-homepostofficebox',
+ 'homePostalCode' => 'x-incenp-homepostalcode',
+ 'homeCity' => 'x-incenp-homelocalityname',
+ 'homeProvince' => 'x-incenp-homestateorprovincename',
+ 'homeCountry' => 'x-incenp-homecountry',
+ 'notes' => 'description',
+ 'nickname' => 'displayname',
+ 'website' => 'labeleduri',
+ 'pgpPublicKey' => 'x-incenp-pgppublickey'
+ ),
+ 'search' => array(
+ 'name',
+ 'email',
+ 'businessCategory',
+ 'title',
+ 'homePhone',
+ 'workPhone',
+ 'cellPhone'
+ ),
+ 'strict' => array(
+ 'dn'
+ ),
+ 'approximate' => array(
+ 'dn'
+ ),
+ 'export' => true,
+ 'browse' => true
+);

1
n/horde-groupware/horde-groupware-1.2.9.tar.gz.sha1

@ -1 +0,0 @@
d831a59398544b77164e1b23119c5fbd56f6fb53 horde-groupware-1.2.9.tar.gz

103
n/horde-groupware/horde-groupware.SlackBuild

@ -1,103 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest horde-groupware sourcecode is available at:
# <http://www.horde.org/groupware/>.
# Source package infos
NAMESRC=${NAMESRC:-horde-groupware}
VERSION=${VERSION:-1.2.9}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-ftp://ftp.horde.org/pub/horde-groupware/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-horde-groupware}
BUILD=${BUILD:-1GGD}
ARCH=noarch
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Extract and install
mkdir -p $PKG/usr/share $PKG/usr/doc
cd $PKG/usr/share
tar xf $CWD/$ARCHIVE
mv $NAME horde-groupware
cd horde-groupware
patch -p 1 < $CWD/horde-groupware-1.2.9-turba-ldap-backend.diff
# Moving docs to /usr/doc
mv docs $PKG/usr/doc/$NAME
mv COPYING README $PKG/usr/doc/$NAME
for app in kronolith mnemo nag turba ; do
mv $app/docs $PKG/usr/doc/$NAME/$app
[ -f $app/LICENSE ] && mv $app/LICENSE $PKG/usr/doc/$NAME/$app
[ -f $app/COPYING ] && mv $app/COPYING $PKG/usr/doc/$NAME/$app
done
# Install OpenLDAP extension schema
install -D -m 444 $CWD/contact.schema $PKG/etc/openldap/schema/contact.schema
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
n/horde-groupware/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler----------------------------------------------|
horde-groupware: horde-groupware (Web-based groupware suite)
horde-groupware:
horde-groupware: Horde Groupware is a free, enterprise ready, browser based
horde-groupware: collaboration suite. Users can manage and share calendars,
horde-groupware: contacts, tasks and notes with the standards compliant
horde-groupware: components from the Horde project. Horde Groupware bundles
horde-groupware: the separately available applications Kronolith, Turba, Nag
horde-groupware: and Mnemo.
horde-groupware:
horde-groupware:
horde-groupware:
Loading…
Cancel
Save