aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-07-28 15:54:24 +0800
committertg <tg@FreeBSD.org>1999-07-28 15:54:24 +0800
commitdb83ddde5c41f1c9c23b12b132a367bbd67965bf (patch)
treebc268efa4d482afd4e860f20974f651a6965fef6 /lang
parent571ff12bdc83d7b9831588ce0e6c1e2b1a9066a3 (diff)
downloadfreebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.tar.gz
freebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.tar.zst
freebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.zip
Add the SHA module to the build.
Diffstat (limited to 'lang')
-rw-r--r--lang/python+ipv6/files/Setup8
-rw-r--r--lang/python+ipv6/pkg-plist1
-rw-r--r--lang/python-devel/files/Setup8
-rw-r--r--lang/python-devel/pkg-plist1
-rw-r--r--lang/python/files/Setup8
-rw-r--r--lang/python/pkg-plist1
-rw-r--r--lang/python15/files/Setup8
-rw-r--r--lang/python15/pkg-plist1
-rw-r--r--lang/python20/files/Setup8
-rw-r--r--lang/python20/pkg-plist1
-rw-r--r--lang/python21/files/Setup8
-rw-r--r--lang/python21/pkg-plist1
-rw-r--r--lang/python22/files/Setup8
-rw-r--r--lang/python22/pkg-plist1
-rw-r--r--lang/python23/files/Setup8
-rw-r--r--lang/python23/pkg-plist1
-rw-r--r--lang/python24/files/Setup8
-rw-r--r--lang/python24/pkg-plist1
-rw-r--r--lang/python25/files/Setup8
-rw-r--r--lang/python25/pkg-plist1
-rw-r--r--lang/python26/files/Setup8
-rw-r--r--lang/python26/pkg-plist1
-rw-r--r--lang/python27/files/Setup8
-rw-r--r--lang/python27/pkg-plist1
-rw-r--r--lang/python30/files/Setup8
-rw-r--r--lang/python30/pkg-plist1
-rw-r--r--lang/python31/files/Setup8
-rw-r--r--lang/python31/pkg-plist1
-rw-r--r--lang/python32/files/Setup8
-rw-r--r--lang/python32/pkg-plist1
30 files changed, 120 insertions, 15 deletions
diff --git a/lang/python+ipv6/files/Setup b/lang/python+ipv6/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python+ipv6/files/Setup
+++ b/lang/python+ipv6/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python+ipv6/pkg-plist b/lang/python+ipv6/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python+ipv6/pkg-plist
+++ b/lang/python+ipv6/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python-devel/files/Setup b/lang/python-devel/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python-devel/files/Setup
+++ b/lang/python-devel/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python-devel/pkg-plist b/lang/python-devel/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python-devel/pkg-plist
+++ b/lang/python-devel/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python/files/Setup b/lang/python/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python/files/Setup
+++ b/lang/python/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python/pkg-plist b/lang/python/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python/pkg-plist
+++ b/lang/python/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python15/files/Setup b/lang/python15/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python15/files/Setup
+++ b/lang/python15/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python15/pkg-plist b/lang/python15/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python15/pkg-plist
+++ b/lang/python15/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python20/files/Setup b/lang/python20/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python20/files/Setup
+++ b/lang/python20/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python20/pkg-plist b/lang/python20/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python20/pkg-plist
+++ b/lang/python20/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python21/files/Setup b/lang/python21/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python21/files/Setup
+++ b/lang/python21/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python21/pkg-plist b/lang/python21/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python21/pkg-plist
+++ b/lang/python21/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python22/files/Setup b/lang/python22/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python22/files/Setup
+++ b/lang/python22/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python22/pkg-plist b/lang/python22/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python22/pkg-plist
+++ b/lang/python22/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python23/files/Setup b/lang/python23/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python23/files/Setup
+++ b/lang/python23/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python23/pkg-plist b/lang/python23/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python23/pkg-plist
+++ b/lang/python23/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python24/files/Setup b/lang/python24/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python24/files/Setup
+++ b/lang/python24/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python24/pkg-plist b/lang/python24/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python24/pkg-plist
+++ b/lang/python24/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python25/files/Setup b/lang/python25/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python25/files/Setup
+++ b/lang/python25/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python25/pkg-plist b/lang/python25/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python25/pkg-plist
+++ b/lang/python25/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python26/files/Setup b/lang/python26/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python26/files/Setup
+++ b/lang/python26/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python26/pkg-plist b/lang/python26/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python26/pkg-plist
+++ b/lang/python26/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python27/files/Setup b/lang/python27/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python27/files/Setup
+++ b/lang/python27/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python30/files/Setup b/lang/python30/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python30/files/Setup
+++ b/lang/python30/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python30/pkg-plist b/lang/python30/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python30/pkg-plist
+++ b/lang/python30/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python31/files/Setup b/lang/python31/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python31/files/Setup
+++ b/lang/python31/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python31/pkg-plist b/lang/python31/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python31/pkg-plist
+++ b/lang/python31/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
diff --git a/lang/python32/files/Setup b/lang/python32/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python32/files/Setup
+++ b/lang/python32/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python32/pkg-plist b/lang/python32/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python32/pkg-plist
+++ b/lang/python32/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so