Projects
Kolab:3.4:Updates
kolab-schema
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 7
View file
kolab-schema.spec
Changed
@@ -1,6 +1,6 @@ Name: kolab-schema -Version: 3.0 -Release: 0.1%{?dist} +Version: 3.1 +Release: 1%{?dist} Summary: LDAP Schema Extensions for Kolab Groupware Group: Applications/System @@ -29,8 +29,11 @@ %files %defattr(-,root,root,-) -%doc kolab2.schema kolab2.ldif +%doc kolab3.schema kolab3.ldif %changelog +* Wed Feb 12 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1-1 +- Version compatible with UCS + * Thu Jun 21 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0-0.1 - First package
View file
debian.changelog
Changed
@@ -1,3 +1,11 @@ +kolab-schema (3.1-3) unstable; urgency=low + + * Fresh version of UCS compatibility + * Remove the schema copy we create upon removal of the package + * Obsolete univention-legacy-kolab-schema + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 12 Feb 2014 14:32:35 +0200 + kolab-schema (3.0-4) unstable; urgency=low [ Paul Klos ]
View file
debian.control
Changed
@@ -3,7 +3,8 @@ Priority: extra Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 8), + univention-config-dev | bash Standards-Version: 3.9.3 Homepage: http://www.kolab.org Vcs-Git: git://git.kolabsys.com/git/apt/kolab-schema @@ -12,6 +13,9 @@ Package: kolab-schema Architecture: all Depends: ${misc:Depends} +Conflicts: ${ucs:Conflicts} +Provides: ${ucs:Provides} +Replaces: ${ucs:Replaces} Description: LDAP schema files for Kolab Groupware Two LDAP schema extension files needed for Kolab Groupware. .
View file
debian.rules
Changed
@@ -7,10 +7,29 @@ # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 +export DH_OPTIONS=-v + +override_dh_auto_install: + # Test to see if we are building for a UCS platform + if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \ + patch -p1 < $(CURDIR)/debian/kolab-schema-3.1-for-ucs.patch ; \ + echo "debian/univention-kolab3-wrapper.schema" >> $(CURDIR)/debian/docs ; \ + echo "ucs:Conflicts=univention-legacy-kolab-schema" >> $(CURDIR)/debian/kolab-schema.substvars ; \ + echo "ucs:Provides=univention-legacy-kolab-schema" >> $(CURDIR)/debian/kolab-schema.substvars ; \ + echo "ucs:Replaces=univention-legacy-kolab-schema" >> $(CURDIR)/debian/kolab-schema.substvars ; \ + fi + + dh_auto_install + +override_dh_compress: + # Test to see if we are building for a UCS platform + if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \ + dh_compress -Xkolab3.ldif -Xkolab3.schema -Xunivention-kolab3-wrapper.schema ; \ + else \ + dh_compress -Xkolab3.ldif -Xkolab3.schema ; \ + fi %: dh $@ -override_dh_compress: - dh_compress -Xkolab2.ldif -Xkolab2.schema
View file
debian.tar.gz/docs
Changed
@@ -1,2 +1,2 @@ -kolab2.ldif -kolab2.schema +kolab3.ldif +kolab3.schema
View file
debian.tar.gz/kolab-schema-3.1-for-ucs.patch
Added
@@ -0,0 +1,53 @@ +diff -ur kolab-schema-3.1.orig/kolab3.schema kolab-schema-3.1/kolab3.schema +--- kolab-schema-3.1.orig/kolab3.schema 2012-09-12 11:45:00.000000000 +0200 ++++ kolab-schema-3.1/kolab3.schema 2014-02-12 11:53:58.967583797 +0100 +@@ -43,7 +43,6 @@ + # Prefix for objectclasses: 1.3.6.1.4.1.19414.3 + # nameprefix: kolab + # +-dn: cn=schema + #################### + # kolab attributes # + #################### +@@ -166,6 +165,17 @@ + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) ++# Forward all incoming emails except UCE if kolabForwardUCE ++# is not set to this email address. ++# There can be multiple kolabForwardAddress entries for ++# each kolabInetOrgPerson. ++# Currently this attribute is not used in Kolab. ++attributetype ( 1.3.6.1.4.1.19414.1.1.1.14 ++ NAME 'kolabForwardAddress' ++ DESC 'Forward email to this address' ++ EQUALITY caseIgnoreIA5Match ++ SUBSTR caseIgnoreIA5SubstringsMatch ++ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) + # Keep local copy when forwarding emails to list of + # kolabForwardAddress. + # Default is no. +@@ -316,7 +326,6 @@ + MUST cn + MAY ( acl $ + alias $ +- mailHost $ + kolabFolderType $ + kolabDeleteflag $ + kolabDelegate $ +@@ -334,7 +343,6 @@ + DESC 'Kolab Internet Organizational Person' + SUP top AUXILIARY + MAY ( alias $ +- mailHost $ + kolabHomeServerOnly $ + kolabDelegate $ + kolabInvitationPolicy $ +@@ -344,6 +352,7 @@ + kolabVacationAddress $ + kolabVacationReplyToUCE $ + kolabVacationReactDomain $ ++ kolabForwardAddress $ + kolabForwardKeepCopy $ + kolabForwardUCE $ + kolabAllowSMTPRecipient $
View file
debian.tar.gz/postinst
Added
@@ -0,0 +1,32 @@ +#!/bin/bash +# + +filter_csv() { + echo -n "$1" | tr "," "\n" | egrep -v "^($2)\$" | egrep -v '^$' | tr "\n" "," | sed -e 's/,$//' +} + +if [ -f "/usr/share/univention-lib/all.sh" ]; then + . /usr/share/univention-lib/all.sh + eval "$(ucr shell)" + + if [ "$1" = "remove" ] ; then + if is_ucr_true "ldap/index/autorebuild" ; then + filtered_ldap_index_eq="$(filter_csv "$ldap_index_eq" "kolabHomeServer")" + filtered_ldap_index_pres="$(filter_csv "$ldap_index_pres" "kolabHomeServer")" + filtered_ldap_index_approx="$(filter_csv "$ldap_index_approx" "kolabHomeServer")" + + /etc/init.d/slapd stop + univention-config-registry set ldap/index/eq="$filtered_ldap_index_eq" \ + ldap/index/pres="$filtered_ldap_index_pres" \ + ldap/index/approx="$filtered_ldap_index_approx" + # run slapindex and selectively filter out this unsettling warning from stderr + { /usr/sbin/slapindex 2>&1 >&3 | sed -e "/Runnig as root\!/,/There's a fair chance slapd will fail to start./d" >&2; } 3>&1 + /etc/init.d/slapd start + else + grep -q crestart /etc/init.d/slapd && /etc/init.d/slapd crestart || true + fi + fi + +fi +exit 0 +
View file
debian.tar.gz/prerm
Added
@@ -0,0 +1,42 @@ +#!/bin/bash +# + +filter_csv() { + echo -n "$1" | tr "," "\n" | egrep -v "^($2)\$" | egrep -v '^$' | tr "\n" "," | sed -e 's/,$//' +} + +if [ -f "/usr/share/univention-lib/all.sh" ]; then + . /usr/share/univention-lib/all.sh + eval "$(ucr shell)" + + if [ "$1" = "remove" ] ; then + + # Remove the kolab3.schema copy + if [ -f "/etc/ldap/schema/kolab3.schema" ]; then + rm -rvf /etc/ldap/schema/kolab3.schema + fi + if [ -f "/etc/ldap/schema/univention-kolab3-wrapper.schema" ]; then + rm -rvf /etc/ldap/schema/univention-kolab3-wrapper.schema + fi + + if is_ucr_true "ldap/index/autorebuild" ; then + filtered_ldap_index_eq="$(filter_csv "$ldap_index_eq" "alias")" + filtered_ldap_index_pres="$(filter_csv "$ldap_index_pres" "alias")" + filtered_ldap_index_approx="$(filter_csv "$ldap_index_approx" "alias")" + + /etc/init.d/slapd stop + univention-config-registry set ldap/index/eq="$filtered_ldap_index_eq" \ + ldap/index/pres="$filtered_ldap_index_pres" \ + ldap/index/approx="$filtered_ldap_index_approx" + # run slapindex and selectively filter out this unsettling warning from stderr + { /usr/sbin/slapindex 2>&1 >&3 | sed -e "/Runnig as root\!/,/There's a fair chance slapd will fail to start./d" >&2; } 3>&1 + + /etc/init.d/slapd start + else + grep -q crestart /etc/init.d/slapd && /etc/init.d/slapd crestart || true + fi + fi + +fi +exit 0 +
View file
debian.tar.gz/univention-kolab3-wrapper.schema
Added
@@ -0,0 +1,144 @@ +# Copyright 2004-2013 Univention GmbH +# +# http://www.univention.de/ +# +# All rights reserved. +# +# The source code of this program is made available +# under the terms of the GNU Affero General Public License version 3 +# (GNU AGPL V3) as published by the Free Software Foundation. +# +# Binary versions of this program provided by Univention to you as +# well as other copyrighted, protected or trademarked materials like +# Logos, graphics, fonts, specific documentations and configurations, +# cryptographic keys etc. are subject to a license agreement between +# you and Univention and not subject to the GNU AGPL V3. +# +# In the case you use this program under the terms of the GNU AGPL V3, +# the program is provided in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public +# License with the Debian GNU/Linux or Univention distribution in file +# /usr/share/common-licenses/AGPL-3; if not, see +# <http://www.gnu.org/licenses/>. + +# Univention-specific extensions for kolab2-schema +# using OIDs starting with 1.3.6.1.4.1.10176.1011 + +# Enable vacation mails +attributetype ( 1.3.6.1.4.1.10176.1011.1.1 + NAME 'univentionKolabForwardActive' + DESC 'Enable forwarding of mails' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE) + +# Text which is send in a vacation-email +attributetype ( 1.3.6.1.4.1.10176.1011.1.2 + NAME 'univentionKolabVacationText' + DESC 'Text used in vacation mails' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) + +# Enable vacation mails +attributetype ( 1.3.6.1.4.1.10176.1011.1.3 + NAME 'univentionKolabVacationActive' + DESC 'Enable vacation mails' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE) + +# Email recipient domains which are not handled by the +# vacation script. There can be multiple kolabVacationNoReactDomain +# entries for each kolabInetOrgPerson +# Default is empty. +attributetype ( 1.3.6.1.4.1.10176.1011.1.4 + NAME 'univentionKolabVacationNoReactDomain' + DESC 'Multivalued -- Email domain for vacation not to response upon' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) + +# Deliver incomming mails into this folder instead of INBOX +# The folder given relative to INBOX +attributetype ( 1.3.6.1.4.1.10176.1011.1.5 + NAME 'univentionKolabDeliveryToFolderName' + DESC 'Folder new mails will be delivered into' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE) + +# Enable delivery into folder +attributetype ( 1.3.6.1.4.1.10176.1011.1.6 + NAME 'univentionKolabDeliveryToFolderActive' + DESC 'Enable delivery of mails into folder' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE) + +# Disable sieve script by kolab +attributetype ( 1.3.6.1.4.1.10176.1011.1.7 + NAME 'univentionKolabDisableSieve' + DESC 'Do not write any sieve script by kolab' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE) + + +# univention-kolab2 account +objectclass ( 1.3.6.1.4.1.10176.1011.2.1 + NAME 'univentionKolabInetOrgPerson' + DESC 'Univention Extensions to Kolab Internet Organizational Person' + SUP top AUXILIARY + MAY ( univentionKolabVacationActive $ + univentionKolabVacationText $ + univentionKolabVacationNoReactDomain $ + univentionKolabForwardActive $ + univentionKolabDeliveryToFolderName $ + univentionKolabDisableSieve $ + univentionKolabDeliveryToFolderActive ) ) + +# mailinglist member +attributetype ( 1.3.6.1.4.1.10176.1013.1.1 + NAME 'univentionKolabMember' + DESC 'Mailinglist member' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}) + +# univention mail group +objectclass ( 1.3.6.1.4.1.10176.1013.2.1 + NAME 'univentionKolabGroup' + DESC 'Univention mailinglist' + SUP top STRUCTURAL + MUST ( cn ) + MAY (mailPrimaryAddress $ description $ univentionKolabMember $ univentionAllowedEmailGroups $ univentionAllowedEmailUsers) ) + +# use namespace 'user' for shared folders +attributetype ( 1.3.6.1.4.1.10176.1014.1.1 + NAME 'univentionKolabUserNamespace' + DESC 'use namespace "user" instead of "shared" for shared folders' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE) + +# use namespace 'user' for shared folders +attributetype ( 1.3.6.1.4.1.10176.1014.1.2 + NAME 'univentionKolabSharedFolderDeliveryAddress' + DESC 'use given mailaddress for mail delivery to shared folder' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE) + +# use namespace 'user' for shared folders +attributetype ( 1.3.6.1.4.1.10176.1014.1.3 + NAME 'univentionKolabSharedFolderType' + DESC 'type of IMAP groupware folder (e.g. mail, event, contact, ...)' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE) + +# univention shared folder +objectclass ( 1.3.6.1.4.1.10176.1014.2.1 + NAME 'univentionKolabSharedFolder' + DESC 'Univention shared folder' + SUP top AUXILIARY + MAY ( mailPrimaryAddress $ mailAlternativeAddress $ univentionKolabUserNamespace $ univentionKolabSharedFolderDeliveryAddress $ univentionKolabSharedFolderType ) )
View file
kolab-schema-3.0.tar.gz/rootDSE.ldif
Deleted
@@ -1,2 +0,0 @@ -dn: -objectClass: kolab
View file
kolab-schema-3.1.tar.gz/kolab3.ldif
Changed
(renamed from kolab2.ldif)
View file
kolab-schema-3.1.tar.gz/kolab3.schema
Changed
(renamed from kolab2.schema)
View file
kolab-schema.dsc
Changed
@@ -2,16 +2,17 @@ Source: kolab-schema Binary: kolab-schema Architecture: all -Version: 3.0-4 +Version: 3.1-3 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org Standards-Version: 3.9.3 Vcs-Browser: http://git.kolabsys.com/apt/kolab-schema Vcs-Git: git://git.kolabsys.com/git/apt/kolab-schema -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 8), + univention-config-dev | bash Package-List: kolab-schema deb mail extra Files: - 00000000000000000000000000000000 0 kolab-schema-3.0.tar.gz + 00000000000000000000000000000000 0 kolab-schema-3.1.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.