Results 1 to 4 of 4

Thread: GPL / General Licensing Question

  1. #1
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,027
    Thanks
    165
    Thanked 154 Times in 133 Posts
    Rep Power
    24

    Default GPL / General Licensing Question

    Hello,
    I was wondering about the correct way to license a shell script / program for public use. Let's say we write a script that may be useful to others. Can we just add the GPL license to the header?

    e.g:

    Code:
    #===================================================================#
    # This program is distributed 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 General Public License for more details.
    #===================================================================#
    Is this safe and legal?


    jaysunn
    Last edited by jaysunn; 29th May 2010 at 10:27 PM.

  2. #2
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    Default

    Llooks nice to me, from scripts posted at bash.cyberciti.biz

    Code:
    #!/bin/bash
    set -e
    # Use this script to copy shared (libs) files to nginx chrooted
    # jail server. This is tested on 64 bit Linux (Redhat and Friends only)
    # ----------------------------------------------------------------------------
    # Written by Vivek Gite <http://www.cyberciti.biz/>
    # (c) 2006 nixCraft under GNU GPL v2.0+
    # Last updated on: Apr/06/2010 by Vivek Gite
    # ----------------------------------------------------------------------------
    The official GNU GPL page says that the copying permission statement should come right after the copyright notices. For a one-file program, the statement (for the GPL) should look like this:

    Code:
     This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.
    
        This program is distributed 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 General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    Stolen from How to use GNU licenses for your own software - GNU Project - Free Software Foundation (FSF)

    I'd suggest you add your email id; so that any one can contact you with suggestions or improvements.
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  3. #3
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,027
    Thanks
    165
    Thanked 154 Times in 133 Posts
    Rep Power
    24

    Default

    Yeah,
    Adding a contact address makes sense.

    Thanks Rockdalinux.

    jaysunn

  4. #4
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    Default

    This may also increase spam so go for gmail address or use your own domain with strong spam protection; been there done that!
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. FTP Question
    By ZER0 in forum File Servers
    Replies: 4
    Last Post: 19th May 2010, 07:42 PM
  2. C question
    By TOP in forum Coding in General
    Replies: 1
    Last Post: 8th July 2006, 12:14 AM
  3. Replies: 7
    Last Post: 23rd June 2006, 12:15 PM
  4. C question
    By TOP in forum Coding in General
    Replies: 3
    Last Post: 10th March 2006, 11:08 PM
  5. question
    By TOPHUMAN in forum Shell scripting
    Replies: 1
    Last Post: 6th February 2006, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •