DontPanic wrote:The script is not too long, only about 16k/544 lines. I could post the entire script here (if that isn't too long), or I wouldn't mind putting it up on my server.
I was thinking of renaming my adapted version as: yaocleaner (Yet Another Orphaned Cleaner)
I modified the original header as follows (but I wasn't sure how to update Gentoo's Copyright, and I don't know the full name of the forum user who provided the patch):
- Code: Select all
#!/bin/bash
#http://forums.gentoo.org/viewtopic-t-337074-postdays-0-postorder-asc-start-0.html
# Copyright 2003-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# Yet Another (Orphaned) Cleaner tool for Gentoo/Sabayon
#
# Adopted/Adapted from Gentoo's yacleaner
#
# Based on discussion in the above forum topic, this useful tool
# has been lacking attention by the original author, however,
# forum users have posted patches that continue to provide functionality
# for this script.
#
# Orignal Author:
# Octavio Ruiz (Ta^3) <tacvbo@tacvbo.net>
# Parts of Code by:
# Ed Catmur <ed@catmur.co.uk>
# Edited to incorporate user supplied patches by:
# Mitchell Harder <mmharder at gmail.com>
# Modifications/Patches to i_dist() function Provided by:
# GladRags (see above referenced forum discussion)
# Thanks:
# Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>
# Thomas de Grenier de Latour <degrenier@easyconnect.fr>
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY. YOU USE AT YOUR OWN RISK. THE AUTHOR
# WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY
# OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE.
# See the GNU General Public License for more details.
prog_name="yaocleaner"
prog_version="0.5beta-2"
Let me know what you think of this header, and I'll put this script out there for you to play with.
Actually, the copyright comment on the third line of your script above is where I get confused. Does the Gentoo Foundation own the copyright to the new parts of the script that you added? I think not. Perhaps you need to alter the third line to say sometihing along the lines of "The orginal script from the above-mentioned URL is copyright 2003-2005 Gentoo Foundation under the GNU GPL V2 licence", but probably even that also is not necessary and you could just delete that third line completely, having acknowledged the script's origin and the fact that it was released by the original author under the GNU GPL V2 licence.
