ports/51290: Update devel/sip: patchout license confirmation
Kirill Ponomarew
ponomarew at oberon.net
Tue Apr 22 18:40:11 UTC 2003
>Number: 51290
>Category: ports
>Synopsis: Update devel/sip: patchout license confirmation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 22 11:40:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Oberon.net
>Environment:
>Description:
Update devel/sip: Patchout license confirmation
Fix license issue
Build port without license confirmation
>How-To-Repeat:
>Fix:
diff -ruN sip.orig/files/patch-build.py sip/files/patch-build.py
--- sip.orig/files/patch-build.py Thu Jan 1 01:00:00 1970
+++ sip/files/patch-build.py Tue Apr 22 20:04:14 2003
@@ -0,0 +1,60 @@
+--- build.py.orig Tue Apr 22 20:02:14 2003
++++ build.py Tue Apr 22 20:03:56 2003
+@@ -444,15 +444,6 @@
+
+ inform("Qt %s %sis being used." % (qtversstr,qteditionstr))
+
+- # Check the licenses are compatible.
+- if qtedition:
+- global licType
+-
+- if (qtedition == "free" and licType != "GPL") or \
+- (qtedition != "free" and licType == "GPL"):
+- error("This version of SIP and the %s edition of Qt have incompatible licenses." % (qtedition))
+-
+-
+ def checkQtLibrary():
+ """Check which Qt library is to be used.
+ """
+@@ -529,41 +520,6 @@
+
+ if not os.access(progName,os.F_OK):
+ error("This program must be run from the top level directory of the package, ie. the directory containing this program.")
+-
+- global licType
+-
+- try:
+- import license
+- licType = license.LicenseType
+- licname = license.LicenseName
+- except:
+- licType = "GPL"
+- licname = "GNU General Public License"
+-
+- inform("This is the %s version of SIP and is licensed under the %s." % (licType,licname),0)
+-
+- print
+- print "Type 'L' to view the license."
+- print "Type 'yes' to accept the terms of the license."
+- print "Type 'no' to decline the terms of the license."
+- print
+-
+- while 1:
+- try:
+- resp = raw_input("Do you accept the terms of the license? ")
+- except:
+- resp = ""
+-
+- resp = resp.strip().lower()
+-
+- if resp == "yes":
+- break
+-
+- if resp == "no":
+- sys.exit(0)
+-
+- if resp == "l":
+- os.system("more LICENSE")
+
+ inform("Building the %s version of SIP 3.5 for Python %s on %s." % (licType,pyFullVers,sys.platform))
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list