directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1197) Add Apache License headers to installer files with their specific syntax for comments
Date Thu, 10 Jul 2008 09:40:31 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612416#action_12612416
] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1197:
---------------------------------------------------

I've found a way to include the AL header in the control file for the Debian package (plugin/src/main/resources/org/apache/directory/daemon/installers/deb/control
).

The file would look like that:
#comment01:  Licensed to the Apache Software Foundation (ASF) under one
#comment02:  or more contributor license agreements.  See the NOTICE file
#comment03:  distributed with this work for additional information
#comment04:  regarding copyright ownership.  The ASF licenses this file
#comment05:  to you under the Apache License, Version 2.0 (the
#comment06:  "License"); you may not use this file except in compliance
#comment07:  with the License.  You may obtain a copy of the License at
#comment08:
#comment09:  http://www.apache.org/licenses/LICENSE-2.0
#comment10:
#comment11:  Unless required by applicable law or agreed to in writing,
#comment12:  software distributed under the License is distributed on an
#comment13:  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#comment14:  KIND, either express or implied.  See the License for the
#comment15:  specific language governing permissions and limitations
#comment16:  under the License.
Package: apacheds
Version: ${version.debian}
Section: devel
Priority: optional
Architecture: ${arch}
Depends: 
Installed-Size: 9318
Maintainer: Apache Directory Project <dev@directory.apache.org>
Description: LDAP Server
 ApacheDS is an embeddable directory server entirely written in Java, which 
 has been certified LDAPv3 compatible by the Open Group. Besides LDAP it 
 supports Kerberos 5 and the Change Password Protocol. It has been designed 
 to introduce triggers, stored procedures, queues and views to the world of 
 LDAP which has lacked these rich constructs.

It's really an ugly solution but it's the only one as the file does not allow comments.

It works and only produces a warning while generating the package:
[INFO] Generating Debian DEB Package
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment01'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment02'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment03'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment04'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment05'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment06'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment07'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment08'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment09'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment10'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment11'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment12'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment13'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment14'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment15'
warning, `apacheds-debian-amd64-deb/DEBIAN/control' contains user-defined field `#comment16'
dpkg-deb: ignoring 16 warnings about the control file(s)

Should I commit this or let it like it is right now ?

Thanks

> Add Apache License headers to installer files with their specific syntax for comments
> -------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1197
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1197
>             Project: Directory ApacheDS
>          Issue Type: Task
>    Affects Versions: 1.5.2
>            Reporter: Alex Karasulu
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 1.5.4, 1.5.3
>
>
> Some installer files I had no clue about their comment format.  Thought you might know
better than I Piere so I added this JIRA to you.  Hope you don't mind - if it's an issue I
can find out what the comment format is and add the headers.  here's are the files in daemon:
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/deb/control
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/deb/postinst
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/inno/install.iss
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/macosxpkg/License.rtf
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/spec.template
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/pkginfo
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/postinstall
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/postremove
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/preremove
> Emmanuel Lecharny: just create a JIRA for those guys
> akarasulu@gmail.com/Home: ./plugin/src/main/resources/org/apache/directory/daemon/installers/wrapper/conf/wrapper.conf
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message